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>