Service Fabric のアプリケーションの種類の作成

Service Fabric アプリケーションの種類名リソースを作成または更新します。

指定した名前で Service Fabric アプリケーションの種類の名前リソースを作成または更新します。

Request

Method 要求 URI
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabric/clusters/{clusterName}/applicationTypes/{applicationTypeName}?api-version=2017-07-01-preview

パラメーター

名前 Type 必須 場所
subscriptionId string はい パス
resourceGroupName string はい パス
clusterName string はい パス
applicationTypeName string はい パス
api-version string はい クエリ
parameters ApplicationTypeResource はい Body

subscriptionId

: string
必須: はい

顧客サブスクリプション識別子。


resourceGroupName

: string
必須: はい

リソース グループの名前。


clusterName

: string
必須: はい

クラスター リソースの名前。


applicationTypeName

: string
必須: はい

アプリケーションの種類名リソースの名前。


api-version

: string
必須: はい
既定値: 2017-07-01-preview

Service Fabric リソース プロバイダー API のバージョン。 これは必須のパラメーターであり、この仕様の値は "2017-07-01-preview" である必要があります。


parameters

種類: ApplicationTypeResource
必須: はい

アプリケーションの種類の名前リソース。

応答

HTTP 状態コード 説明 応答スキーマ
200 (OK) 操作は正常に完了しました。
ApplicationTypeResource
その他すべての状態コード 詳細なエラー応答。
ErrorModel

使用例

アプリケーションの種類を配置する

要求

PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType?api-version=2017-07-01-preview
本文
{
  "type": "applicationTypes",
  "location": "eastus",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType",
  "name": "myCluster",
  "tags": {}
}

200 応答

本文
{
  "type": "applicationTypes",
  "location": "eastus",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resRg/providers/Microsoft.ServiceFabric/clusters/myCluster/applicationTypes/myAppType",
  "name": "myCluster",
  "tags": {},
  "etag": "W/\"636462502174844831\"",
  "properties": {
    "provisioningState": "Succeeded"
  }
}