ManagementAssociations class

Class representing a ManagementAssociations.

Constructors

ManagementAssociations(OperationsManagementClientContext)

Create a ManagementAssociations.

Methods

createOrUpdate(string, string, ManagementAssociation, RequestOptionsBase)

Creates or updates the ManagementAssociation.

createOrUpdate(string, string, ManagementAssociation, RequestOptionsBase, ServiceCallback<ManagementAssociation>)
createOrUpdate(string, string, ManagementAssociation, ServiceCallback<ManagementAssociation>)
deleteMethod(string, string, RequestOptionsBase)

Deletes the ManagementAssociation in the subscription.

deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, ServiceCallback<void>)
get(string, string, RequestOptionsBase)

Retrieves the user ManagementAssociation.

get(string, string, RequestOptionsBase, ServiceCallback<ManagementAssociation>)
get(string, string, ServiceCallback<ManagementAssociation>)
listBySubscription(RequestOptionsBase)

Retrieves the ManagementAssociations list.

listBySubscription(RequestOptionsBase, ServiceCallback<ManagementAssociationPropertiesList>)
listBySubscription(ServiceCallback<ManagementAssociationPropertiesList>)

Constructor Details

ManagementAssociations(OperationsManagementClientContext)

Create a ManagementAssociations.

new ManagementAssociations(client: OperationsManagementClientContext)

Parameters

client
OperationsManagementClientContext

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

ServiceCallback<ManagementAssociation>

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

ServiceCallback<ManagementAssociation>

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<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

ServiceCallback<ManagementAssociation>

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

ServiceCallback<ManagementAssociation>

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

listBySubscription(ServiceCallback<ManagementAssociationPropertiesList>)

function listBySubscription(callback: ServiceCallback<ManagementAssociationPropertiesList>)

Parameters