次の方法で共有


Services class

サービスを表すクラス。

コンストラクター

Services(AzureDeploymentManagerContext)

サービスを作成します。

メソッド

createOrUpdate(string, string, string, ServiceResource, RequestOptionsBase)

同期的に新しいサービスを作成するか、既存のサービスを更新します。

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

コンストラクターの詳細

Services(AzureDeploymentManagerContext)

サービスを作成します。

new Services(client: AzureDeploymentManagerContext)

パラメーター

client
AzureDeploymentManagerContext

サービス クライアントへの参照。

メソッドの詳細

createOrUpdate(string, string, string, ServiceResource, RequestOptionsBase)

同期的に新しいサービスを作成するか、既存のサービスを更新します。

function createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceInfo: ServiceResource, options?: RequestOptionsBase): Promise<ServicesCreateOrUpdateResponse>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

serviceName

string

サービス リソースの名前。

serviceInfo
ServiceResource

サービス オブジェクト

options
RequestOptionsBase

省略可能なパラメーター

戻り値

Promise<Models.ServicesCreateOrUpdateResponse>

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

function createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceInfo: ServiceResource, options: RequestOptionsBase, callback: ServiceCallback<ServiceResource>)

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

serviceName

string

サービス リソースの名前。

serviceInfo
ServiceResource

サービス オブジェクト

options
RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<ServiceResource>

コールバック。

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

function createOrUpdate(resourceGroupName: string, serviceTopologyName: string, serviceName: string, serviceInfo: ServiceResource, callback: ServiceCallback<ServiceResource>)

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

serviceName

string

サービス リソースの名前。

serviceInfo
ServiceResource

サービス オブジェクト

callback

ServiceCallback<ServiceResource>

コールバック。

deleteMethod(string, string, string, RequestOptionsBase)

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

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

serviceName

string

サービス リソースの名前。

options
RequestOptionsBase

省略可能なパラメーター

戻り値

Promise<RestResponse>

Promise<msRest.RestResponse>

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

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

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

serviceName

string

サービス リソースの名前。

options
RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<void>

コールバック。

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

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

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

serviceName

string

サービス リソースの名前。

callback

ServiceCallback<void>

コールバック。

get(string, string, string, RequestOptionsBase)

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

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

serviceName

string

サービス リソースの名前。

options
RequestOptionsBase

省略可能なパラメーター

戻り値

Promise<Models.ServicesGetResponse>

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

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

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

serviceName

string

サービス リソースの名前。

options
RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<ServiceResource>

コールバック。

get(string, string, string, ServiceCallback<ServiceResource>)

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

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

serviceName

string

サービス リソースの名前。

callback

ServiceCallback<ServiceResource>

コールバック。

list(string, string, RequestOptionsBase)

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

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

options
RequestOptionsBase

省略可能なパラメーター

戻り値

Promise<Models.ServicesListResponse>

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

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

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

options
RequestOptionsBase

省略可能なパラメーター

callback

ServiceCallback<ServiceResource[]>

コールバック。

list(string, string, ServiceCallback<ServiceResource[]>)

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

パラメーター

resourceGroupName

string

リソース グループの名前。 名前の大文字と小文字は区別されます。

serviceTopologyName

string

サービス トポロジの名前。

callback

ServiceCallback<ServiceResource[]>

コールバック。