Service interface
サービスを表すインターフェイス。
メソッド
begin |
サービスを作成します。 |
begin |
サービスを作成します。 |
begin |
指定された serviceName を使用してサービスを削除します。 |
begin |
指定された serviceName を使用してサービスを削除します。 |
get(string, string, string, Service |
サービスの状態を取得します。 |
list(string, string, Service |
サービスの状態を取得します。 |
メソッドの詳細
beginCreate(string, string, string, ServiceResourceCreateUpdateParameters, ServiceCreateOptionalParams)
サービスを作成します。
function beginCreate(resourceGroupName: string, accountName: string, serviceName: string, createUpdateParameters: ServiceResourceCreateUpdateParameters, options?: ServiceCreateOptionalParams): Promise<SimplePollerLike<OperationState<ServiceResource>, ServiceResource>>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cosmos DB データベース アカウント名。
- serviceName
-
string
Cosmos DB サービス名。
- createUpdateParameters
- ServiceResourceCreateUpdateParameters
サービス リソース パラメーター。
- options
- ServiceCreateOptionalParams
options パラメーター。
戻り値
Promise<@azure/core-lro.SimplePollerLike<OperationState<ServiceResource>, ServiceResource>>
beginCreateAndWait(string, string, string, ServiceResourceCreateUpdateParameters, ServiceCreateOptionalParams)
サービスを作成します。
function beginCreateAndWait(resourceGroupName: string, accountName: string, serviceName: string, createUpdateParameters: ServiceResourceCreateUpdateParameters, options?: ServiceCreateOptionalParams): Promise<ServiceResource>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cosmos DB データベース アカウント名。
- serviceName
-
string
Cosmos DB サービス名。
- createUpdateParameters
- ServiceResourceCreateUpdateParameters
サービス リソース パラメーター。
- options
- ServiceCreateOptionalParams
options パラメーター。
戻り値
Promise<ServiceResource>
beginDelete(string, string, string, ServiceDeleteOptionalParams)
指定された serviceName を使用してサービスを削除します。
function beginDelete(resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cosmos DB データベース アカウント名。
- serviceName
-
string
Cosmos DB サービス名。
- options
- ServiceDeleteOptionalParams
options パラメーター。
戻り値
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, ServiceDeleteOptionalParams)
指定された serviceName を使用してサービスを削除します。
function beginDeleteAndWait(resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams): Promise<void>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cosmos DB データベース アカウント名。
- serviceName
-
string
Cosmos DB サービス名。
- options
- ServiceDeleteOptionalParams
options パラメーター。
戻り値
Promise<void>
get(string, string, string, ServiceGetOptionalParams)
サービスの状態を取得します。
function get(resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceGetOptionalParams): Promise<ServiceResource>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cosmos DB データベース アカウント名。
- serviceName
-
string
Cosmos DB サービス名。
- options
- ServiceGetOptionalParams
options パラメーター。
戻り値
Promise<ServiceResource>
list(string, string, ServiceListOptionalParams)
サービスの状態を取得します。
function list(resourceGroupName: string, accountName: string, options?: ServiceListOptionalParams): PagedAsyncIterableIterator<ServiceResource, ServiceResource[], PageSettings>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。 名前の大文字と小文字は区別されます。
- accountName
-
string
Cosmos DB データベース アカウント名。
- options
- ServiceListOptionalParams
options パラメーター。