ServiceTopologies class

Class representing a ServiceTopologies.

Constructors

ServiceTopologies(AzureDeploymentManagerContext)

Create a ServiceTopologies.

Methods

createOrUpdate(ServiceTopologyResource, string, string, RequestOptionsBase)

Synchronously creates a new service topology or updates an existing service topology.

createOrUpdate(ServiceTopologyResource, string, string, RequestOptionsBase, ServiceCallback<ServiceTopologyResource>)
createOrUpdate(ServiceTopologyResource, string, string, ServiceCallback<ServiceTopologyResource>)
deleteMethod(string, string, RequestOptionsBase)
deleteMethod(string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, ServiceCallback<void>)
get(string, string, RequestOptionsBase)
get(string, string, RequestOptionsBase, ServiceCallback<ServiceTopologyResource>)
get(string, string, ServiceCallback<ServiceTopologyResource>)
list(string, RequestOptionsBase)
list(string, RequestOptionsBase, ServiceCallback<ServiceTopologyResource[]>)
list(string, ServiceCallback<ServiceTopologyResource[]>)

Constructor Details

ServiceTopologies(AzureDeploymentManagerContext)

Create a ServiceTopologies.

new ServiceTopologies(client: AzureDeploymentManagerContext)

Parameters

client
AzureDeploymentManagerContext

Reference to the service client.

Method Details

createOrUpdate(ServiceTopologyResource, string, string, RequestOptionsBase)

Synchronously creates a new service topology or updates an existing service topology.

function createOrUpdate(serviceTopologyInfo: ServiceTopologyResource, resourceGroupName: string, serviceTopologyName: string, options?: RequestOptionsBase): Promise<ServiceTopologiesCreateOrUpdateResponse>

Parameters

serviceTopologyInfo
ServiceTopologyResource

Source topology object defines the resource.

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceTopologyName

string

The name of the service topology .

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ServiceTopologiesCreateOrUpdateResponse>

createOrUpdate(ServiceTopologyResource, string, string, RequestOptionsBase, ServiceCallback<ServiceTopologyResource>)

function createOrUpdate(serviceTopologyInfo: ServiceTopologyResource, resourceGroupName: string, serviceTopologyName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceTopologyResource>)

Parameters

serviceTopologyInfo
ServiceTopologyResource

Source topology object defines the resource.

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceTopologyName

string

The name of the service topology .

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ServiceTopologyResource>

The callback

createOrUpdate(ServiceTopologyResource, string, string, ServiceCallback<ServiceTopologyResource>)

function createOrUpdate(serviceTopologyInfo: ServiceTopologyResource, resourceGroupName: string, serviceTopologyName: string, callback: ServiceCallback<ServiceTopologyResource>)

Parameters

serviceTopologyInfo
ServiceTopologyResource

Source topology object defines the resource.

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceTopologyName

string

The name of the service topology .

callback

ServiceCallback<ServiceTopologyResource>

The callback

deleteMethod(string, string, RequestOptionsBase)

function deleteMethod(resourceGroupName: string, serviceTopologyName: string, options?: RequestOptionsBase): Promise<RestResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceTopologyName

string

The name of the service topology .

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

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

function deleteMethod(resourceGroupName: string, serviceTopologyName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceTopologyName

string

The name of the service topology .

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

deleteMethod(string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, serviceTopologyName: string, callback: ServiceCallback<void>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceTopologyName

string

The name of the service topology .

callback

ServiceCallback<void>

The callback

get(string, string, RequestOptionsBase)

function get(resourceGroupName: string, serviceTopologyName: string, options?: RequestOptionsBase): Promise<ServiceTopologiesGetResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceTopologyName

string

The name of the service topology .

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ServiceTopologiesGetResponse>

get(string, string, RequestOptionsBase, ServiceCallback<ServiceTopologyResource>)

function get(resourceGroupName: string, serviceTopologyName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceTopologyResource>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceTopologyName

string

The name of the service topology .

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ServiceTopologyResource>

The callback

get(string, string, ServiceCallback<ServiceTopologyResource>)

function get(resourceGroupName: string, serviceTopologyName: string, callback: ServiceCallback<ServiceTopologyResource>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

serviceTopologyName

string

The name of the service topology .

callback

ServiceCallback<ServiceTopologyResource>

The callback

list(string, RequestOptionsBase)

function list(resourceGroupName: string, options?: RequestOptionsBase): Promise<ServiceTopologiesListResponse>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.ServiceTopologiesListResponse>

list(string, RequestOptionsBase, ServiceCallback<ServiceTopologyResource[]>)

function list(resourceGroupName: string, options: RequestOptionsBase, callback: ServiceCallback<ServiceTopologyResource[]>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<ServiceTopologyResource[]>

The callback

list(string, ServiceCallback<ServiceTopologyResource[]>)

function list(resourceGroupName: string, callback: ServiceCallback<ServiceTopologyResource[]>)

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

callback

ServiceCallback<ServiceTopologyResource[]>

The callback