ManagementAssociations class
Class representing a ManagementAssociations.
Constructors
Management |
Create a ManagementAssociations. |
Methods
Constructor Details
ManagementAssociations(OperationsManagementClientContext)
Create a ManagementAssociations.
new ManagementAssociations(client: OperationsManagementClientContext)
Parameters
Reference to the service client.
Method Details
createOrUpdate(string, string, ManagementAssociation, RequestOptionsBase)
Creates or updates the ManagementAssociation.
function createOrUpdate(resourceGroupName: string, managementAssociationName: string, parameters: ManagementAssociation, options?: RequestOptionsBase): Promise<ManagementAssociationsCreateOrUpdateResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group to get. The name is case insensitive.
- managementAssociationName
-
string
User ManagementAssociation Name.
- parameters
- ManagementAssociation
The parameters required to create ManagementAssociation extension.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ManagementAssociationsCreateOrUpdateResponse>
createOrUpdate(string, string, ManagementAssociation, RequestOptionsBase, ServiceCallback<ManagementAssociation>)
function createOrUpdate(resourceGroupName: string, managementAssociationName: string, parameters: ManagementAssociation, options: RequestOptionsBase, callback: ServiceCallback<ManagementAssociation>)
Parameters
- resourceGroupName
-
string
The name of the resource group to get. The name is case insensitive.
- managementAssociationName
-
string
User ManagementAssociation Name.
- parameters
- ManagementAssociation
The parameters required to create ManagementAssociation extension.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
createOrUpdate(string, string, ManagementAssociation, ServiceCallback<ManagementAssociation>)
function createOrUpdate(resourceGroupName: string, managementAssociationName: string, parameters: ManagementAssociation, callback: ServiceCallback<ManagementAssociation>)
Parameters
- resourceGroupName
-
string
The name of the resource group to get. The name is case insensitive.
- managementAssociationName
-
string
User ManagementAssociation Name.
- parameters
- ManagementAssociation
The parameters required to create ManagementAssociation extension.
- callback
The callback
deleteMethod(string, string, RequestOptionsBase)
Deletes the ManagementAssociation in the subscription.
function deleteMethod(resourceGroupName: string, managementAssociationName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group to get. The name is case insensitive.
- managementAssociationName
-
string
User ManagementAssociation Name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, managementAssociationName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
The name of the resource group to get. The name is case insensitive.
- managementAssociationName
-
string
User ManagementAssociation Name.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
deleteMethod(string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, managementAssociationName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
The name of the resource group to get. The name is case insensitive.
- managementAssociationName
-
string
User ManagementAssociation Name.
- callback
-
ServiceCallback<void>
The callback
get(string, string, RequestOptionsBase)
Retrieves the user ManagementAssociation.
function get(resourceGroupName: string, managementAssociationName: string, options?: RequestOptionsBase): Promise<ManagementAssociationsGetResponse>
Parameters
- resourceGroupName
-
string
The name of the resource group to get. The name is case insensitive.
- managementAssociationName
-
string
User ManagementAssociation Name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<ManagementAssociationsGetResponse>
Promise<Models.ManagementAssociationsGetResponse>
get(string, string, RequestOptionsBase, ServiceCallback<ManagementAssociation>)
function get(resourceGroupName: string, managementAssociationName: string, options: RequestOptionsBase, callback: ServiceCallback<ManagementAssociation>)
Parameters
- resourceGroupName
-
string
The name of the resource group to get. The name is case insensitive.
- managementAssociationName
-
string
User ManagementAssociation Name.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, string, ServiceCallback<ManagementAssociation>)
function get(resourceGroupName: string, managementAssociationName: string, callback: ServiceCallback<ManagementAssociation>)
Parameters
- resourceGroupName
-
string
The name of the resource group to get. The name is case insensitive.
- managementAssociationName
-
string
User ManagementAssociation Name.
- callback
The callback
listBySubscription(RequestOptionsBase)
Retrieves the ManagementAssociations list.
function listBySubscription(options?: RequestOptionsBase): Promise<ManagementAssociationsListBySubscriptionResponse>
Parameters
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ManagementAssociationsListBySubscriptionResponse>
listBySubscription(RequestOptionsBase, ServiceCallback<ManagementAssociationPropertiesList>)
function listBySubscription(options: RequestOptionsBase, callback: ServiceCallback<ManagementAssociationPropertiesList>)
Parameters
- options
- RequestOptionsBase
The optional parameters
The callback
listBySubscription(ServiceCallback<ManagementAssociationPropertiesList>)
function listBySubscription(callback: ServiceCallback<ManagementAssociationPropertiesList>)
Parameters
The callback