你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ManagementAssociations interface
表示 ManagementAssociations 的接口。
方法
create |
创建或更新 ManagementAssociation。 |
delete(string, string, string, string, string, Management |
删除订阅中的 ManagementAssociation。 |
get(string, string, string, string, string, Management |
检索用户 ManagementAssociation。 |
list |
检索 ManagementAssociations 列表。 |
方法详细信息
createOrUpdate(string, string, string, string, string, ManagementAssociation, ManagementAssociationsCreateOrUpdateOptionalParams)
创建或更新 ManagementAssociation。
function createOrUpdate(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, managementAssociationName: string, parameters: ManagementAssociation, options?: ManagementAssociationsCreateOrUpdateOptionalParams): Promise<ManagementAssociation>
参数
- resourceGroupName
-
string
要获取的资源组名称。 此名称不区分大小写。
- providerName
-
string
父资源的提供程序名称。
- resourceType
-
string
父资源的资源类型
- resourceName
-
string
父资源名称。
- managementAssociationName
-
string
用户管理关联名称。
- parameters
- ManagementAssociation
创建 ManagementAssociation 扩展所需的参数。
选项参数。
返回
Promise<ManagementAssociation>
delete(string, string, string, string, string, ManagementAssociationsDeleteOptionalParams)
删除订阅中的 ManagementAssociation。
function delete(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, managementAssociationName: string, options?: ManagementAssociationsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
要获取的资源组名称。 此名称不区分大小写。
- providerName
-
string
父资源的提供程序名称。
- resourceType
-
string
父资源的资源类型
- resourceName
-
string
父资源名称。
- managementAssociationName
-
string
用户管理关联名称。
选项参数。
返回
Promise<void>
get(string, string, string, string, string, ManagementAssociationsGetOptionalParams)
检索用户 ManagementAssociation。
function get(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, managementAssociationName: string, options?: ManagementAssociationsGetOptionalParams): Promise<ManagementAssociation>
参数
- resourceGroupName
-
string
要获取的资源组名称。 此名称不区分大小写。
- providerName
-
string
父资源的提供程序名称。
- resourceType
-
string
父资源的资源类型
- resourceName
-
string
父资源名称。
- managementAssociationName
-
string
用户管理关联名称。
选项参数。
返回
Promise<ManagementAssociation>
listBySubscription(ManagementAssociationsListBySubscriptionOptionalParams)
检索 ManagementAssociations 列表。
function listBySubscription(options?: ManagementAssociationsListBySubscriptionOptionalParams): Promise<ManagementAssociationPropertiesList>
参数
选项参数。
返回
Promise<ManagementAssociationPropertiesList>