PrivateLinkResourceOperations interface
表示 PrivateLinkResourceOperations 的接口。
方法
| get(string, string, string, Private |
获取与项目中特定专用链接资源相关的信息。 返回模型节中指定的类型为“privateLinkResources”的 json 对象。 |
| list |
获取在项目中创建的所有专用链接资源。 返回在 Models 节中指定的类型为“privateLinkResources”的对象 json 数组。 |
方法详细信息
get(string, string, string, PrivateLinkResourceGetOptionalParams)
获取与项目中特定专用链接资源相关的信息。 返回模型节中指定的类型为“privateLinkResources”的 json 对象。
function get(resourceGroupName: string, projectName: string, privateLinkResourceName: string, options?: PrivateLinkResourceGetOptionalParams): Promise<PrivateLinkResourceGetResponse>
参数
- resourceGroupName
-
string
项目所属的 Azure 资源组的名称。
- projectName
-
string
Azure Migrate 项目的名称。
- privateLinkResourceName
-
string
项目中专用链接资源的唯一名称。
选项参数。
返回
Promise<PrivateLinkResourceGetResponse>
listByProject(string, string, PrivateLinkResourceListByProjectOptionalParams)
获取在项目中创建的所有专用链接资源。 返回在 Models 节中指定的类型为“privateLinkResources”的对象 json 数组。
function listByProject(resourceGroupName: string, projectName: string, options?: PrivateLinkResourceListByProjectOptionalParams): Promise<PrivateLinkResourceListByProjectResponse>
参数
- resourceGroupName
-
string
项目所属的 Azure 资源组的名称。
- projectName
-
string
Azure Migrate 项目的名称。
选项参数。