**Ultra**",
+ "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
"enum": [
"Standard",
"Ultra"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json
index 2869a69e2b87..cae7a6e72447 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/ListAvailableVmSizes_VirtualMachines.json
@@ -10,23 +10,23 @@
"body": {
"value": [
{
- "name": "Standard_A1_V2",
- "numberOfCores": 1,
- "osDiskSizeInMB": 1047552,
- "resourceDiskSizeInMB": 10240,
- "memoryInMB": 2048,
- "maxDataDiskCount": 2
+ "name": "Standard_A1_V2",
+ "numberOfCores": 1,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 10240,
+ "memoryInMB": 2048,
+ "maxDataDiskCount": 2
},
{
- "name": "Standard_A2_V2",
- "numberOfCores": 2,
- "osDiskSizeInMB": 1047552,
- "resourceDiskSizeInMB": 20480,
- "memoryInMB": 4096,
- "maxDataDiskCount": 4
+ "name": "Standard_A2_V2",
+ "numberOfCores": 2,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 20480,
+ "memoryInMB": 4096,
+ "maxDataDiskCount": 4
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/LogAnalyticsRequestRateByInterval.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/LogAnalyticsRequestRateByInterval.json
index 6a8ec46f8b21..ab4598b144ab 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/LogAnalyticsRequestRateByInterval.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/LogAnalyticsRequestRateByInterval.json
@@ -19,8 +19,6 @@
}
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/LogAnalyticsThrottledRequests.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/LogAnalyticsThrottledRequests.json
index ca5f9bec8d1e..a09dc14189fa 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/LogAnalyticsThrottledRequests.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/LogAnalyticsThrottledRequests.json
@@ -19,8 +19,6 @@
}
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommand.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommand.json
index f0400897c0dd..541bf267e627 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommand.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2018-10-01/examples/VirtualMachineRunCommand.json
@@ -29,8 +29,6 @@
]
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json
index fab6b534f1e8..272dbe6db8c3 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/compute.json
@@ -601,6 +601,527 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}": {
+ "put": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_CreateOrUpdate",
+ "description": "Create or update a dedicated host group. For details of Dedicated Host and Dedicated Host Groups please see [Dedicated Host Documentation] (https://go.microsoft.com/fwlink/?linkid=2082596)",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ },
+ "description": "Parameters supplied to the Create Dedicated Host Group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update a dedicated host group.": {
+ "$ref": "./examples/CreateOrUpdateADedicatedHostGroup.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_Update",
+ "description": "Update an dedicated host group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroupUpdate"
+ },
+ "description": "Parameters supplied to the Update Dedicated Host Group operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_Delete",
+ "description": "Delete a dedicated host group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_Get",
+ "description": "Retrieves information about a dedicated host group.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a dedicated host group.": {
+ "$ref": "./examples/GetADedicatedHostGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups": {
+ "get": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_ListByResourceGroup",
+ "description": "Lists all of the dedicated host groups in the specified resource group. Use the nextLink property in the response to get the next page of dedicated host groups.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroupListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups": {
+ "get": {
+ "tags": [
+ "DedicatedHostGroups"
+ ],
+ "operationId": "DedicatedHostGroups_ListBySubscription",
+ "description": "Lists all of the dedicated host groups in the subscription. Use the nextLink property in the response to get the next page of dedicated host groups.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostGroupListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}": {
+ "put": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_CreateOrUpdate",
+ "description": "Create or update a dedicated host .",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host ."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ },
+ "description": "Parameters supplied to the Create Dedicated Host."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update a dedicated host .": {
+ "$ref": "./examples/CreateOrUpdateADedicatedHost.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_Update",
+ "description": "Update an dedicated host .",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host ."
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostUpdate"
+ },
+ "description": "Parameters supplied to the Update Dedicated Host operation."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_Delete",
+ "description": "Delete a dedicated host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "DedicatedHosts"
+ ],
+ "operationId": "DedicatedHosts_Get",
+ "description": "Retrieves information about a dedicated host.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "name": "hostName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation.",
+ "enum": [
+ "instanceView"
+ ],
+ "x-ms-enum": {
+ "name": "InstanceViewTypes",
+ "modelAsString": false
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHost"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a dedicated host.": {
+ "$ref": "./examples/GetADedicatedHost.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts": {
+ "get": {
+ "tags": [
+ "DedicatedHost"
+ ],
+ "operationId": "DedicatedHosts_ListByHostGroup",
+ "description": "Lists all of the dedicated hosts in the specified dedicated host group. Use the nextLink property in the response to get the next page of dedicated hosts.",
+ "parameters": [
+ {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group."
+ },
+ {
+ "name": "hostGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the dedicated host group."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DedicatedHostListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}": {
"get": {
"tags": [
@@ -2605,6 +3126,9 @@
},
"Create a scale set with ephemeral os disks.": {
"$ref": "./examples/CreateAScaleSetWithDiffOsDisk.json"
+ },
+ "Create a scale set with terminate scheduled events enabled.": {
+ "$ref": "./examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json"
}
}
},
@@ -4160,6 +4684,20 @@
"type": "string",
"description": "The instance ID of the virtual machine."
},
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation.",
+ "enum": [
+ "instanceView"
+ ],
+ "x-ms-enum": {
+ "name": "InstanceViewTypes",
+ "modelAsString": false
+ }
+ },
{
"$ref": "#/parameters/ApiVersionParameter"
},
@@ -4699,7 +5237,7 @@
},
"HyperVGenerationType": {
"type": "string",
- "description": "Specifies the HyperVGeneration Type for the Virtual Machine created from the image",
+ "description": "Specifies the HyperVGeneration Type",
"enum": [
"V1",
"V2"
@@ -4849,7 +5387,7 @@
"properties": {
"proximityPlacementGroupType": {
"type": "string",
- "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard**
**Ultra**",
+ "description": "Specifies the type of the proximity placement group.
Possible values are:
**Standard** : Co-locate resources within an Azure region or Availability Zone.
**Ultra** : For future use.",
"enum": [
"Standard",
"Ultra"
@@ -4928,6 +5466,253 @@
],
"description": "The List Proximity Placement Group operation response."
},
+ "DedicatedHostGroupProperties": {
+ "properties": {
+ "platformFaultDomainCount": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 1,
+ "maximum": 3,
+ "description": "Number of fault domains that the host group can span."
+ },
+ "hosts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResourceReadOnly"
+ },
+ "readOnly": true,
+ "description": "A list of references to all dedicated hosts in the dedicated host group."
+ }
+ },
+ "required": [
+ "platformFaultDomainCount"
+ ],
+ "description": "Dedicated Host Group Properties."
+ },
+ "DedicatedHostGroup": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostGroupProperties"
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the dedicated host group that the dedicated hosts should be assigned to.
Currently, a dedicated host can only be added to a dedicated host group at creation time. An existing dedicated host cannot be added to another dedicated host group."
+ },
+ "DedicatedHostGroupUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostGroupProperties"
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "Availability Zone to use for this host group. Only single zone is supported. The zone can be assigned only during creation. If not provided, the group supports all zones in the region. If provided, enforces each host in the group to be in the same zone."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Specifies information about the dedicated host group that the dedicated host should be assigned to. Only tags may be updated."
+ },
+ "DedicatedHostGroupListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DedicatedHostGroup"
+ },
+ "description": "The list of dedicated host groups"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of Dedicated Host Groups. Call ListNext() with this URI to fetch the next page of Dedicated Host Groups."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Dedicated Host Group with resource group response."
+ },
+ "DedicatedHostLicenseType": {
+ "type": "string",
+ "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**",
+ "enum": [
+ "None",
+ "Windows_Server_Hybrid",
+ "Windows_Server_Perpetual"
+ ],
+ "x-ms-enum": {
+ "name": "DedicatedHostLicenseTypes",
+ "modelAsString": false
+ }
+ },
+ "DedicatedHostAllocatableVM": {
+ "properties": {
+ "vmSize": {
+ "type": "string",
+ "description": "VM size in terms of which the unutilized capacity is represented."
+ },
+ "count": {
+ "type": "number",
+ "format": "double",
+ "description": "Maximum number of VMs of size vmSize that can fit in the dedicated host's remaining capacity."
+ }
+ },
+ "description": "Represents the dedicated host unutilized capacity in terms of a specific VM size."
+ },
+ "DedicatedHostAvailableCapacity": {
+ "properties": {
+ "allocatableVMs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DedicatedHostAllocatableVM"
+ },
+ "description": "The unutilized capacity of the dedicated host represented in terms of each VM size that is allowed to be deployed to the dedicated host."
+ }
+ },
+ "description": "Dedicated host unutilized capacity."
+ },
+ "DedicatedHostInstanceView": {
+ "properties": {
+ "assetId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Specifies the unique id of the dedicated physical machine on which the dedicated host resides."
+ },
+ "availableCapacity": {
+ "$ref": "#/definitions/DedicatedHostAvailableCapacity",
+ "description": "Unutilized capacity of the dedicated host."
+ },
+ "statuses": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InstanceViewStatus"
+ },
+ "description": "The resource status information."
+ }
+ },
+ "description": "The instance view of a dedicated host."
+ },
+ "DedicatedHostProperties": {
+ "properties": {
+ "platformFaultDomain": {
+ "type": "integer",
+ "format": "int32",
+ "minimum": 0,
+ "maximum": 2,
+ "description": "Fault domain of the dedicated host within a dedicated host group."
+ },
+ "autoReplaceOnFailure": {
+ "type": "boolean",
+ "description": "Specifies whether the dedicated host should be replaced automatically in case of a failure. The value is defaulted to 'true' when not provided."
+ },
+ "hostId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A unique id generated and assigned to the dedicated host by the platform.
Does not change throughout the lifetime of the host."
+ },
+ "virtualMachines": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SubResourceReadOnly"
+ },
+ "readOnly": true,
+ "description": "A list of references to all virtual machines in the Dedicated Host."
+ },
+ "licenseType": {
+ "$ref": "#/definitions/DedicatedHostLicenseType",
+ "description": "Specifies the software license type that will be applied to the VMs deployed on the dedicated host.
Possible values are:
**None**
**Windows_Server_Hybrid**
**Windows_Server_Perpetual**
Default: **None**"
+ },
+ "provisioningTime": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The date when the host was first provisioned."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The provisioning state, which only appears in the response."
+ },
+ "instanceView": {
+ "$ref": "#/definitions/DedicatedHostInstanceView",
+ "readOnly": true,
+ "description": "The dedicated host instance view."
+ }
+ },
+ "description": "Properties of the dedicated host."
+ },
+ "DedicatedHost": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostProperties"
+ },
+ "sku": {
+ "$ref": "#/definitions/Sku",
+ "description": "SKU of the dedicated host for Hardware Generation and VM family. Only name is required to be set. List Microsoft.Compute SKUs for a list of possible values."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "sku"
+ ],
+ "description": "Specifies information about the Dedicated host."
+ },
+ "DedicatedHostUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DedicatedHostProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/UpdateResource"
+ }
+ ],
+ "description": "Specifies information about the dedicated host. Only tags, autoReplaceOnFailure and licenseType may be updated."
+ },
+ "DedicatedHostListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DedicatedHost"
+ },
+ "description": "The list of dedicated hosts"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URI to fetch the next page of dedicated hosts. Call ListNext() with this URI to fetch the next page of dedicated hosts."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The list dedicated host operation response."
+ },
"VirtualMachineSize": {
"properties": {
"name": {
@@ -5278,6 +6063,9 @@
},
"automaticOSUpgradeProperties": {
"$ref": "#/definitions/AutomaticOSUpgradeProperties"
+ },
+ "hyperVGeneration": {
+ "$ref": "#/definitions/HyperVGenerationType"
}
},
"description": "Describes the properties of a Virtual Machine Image."
@@ -6490,12 +7278,20 @@
},
"availabilitySet": {
"$ref": "#/definitions/SubResource",
- "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set."
+ "description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json).
For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.
This property cannot exist along with a non-null properties.virtualMachineScaleSet reference."
+ },
+ "virtualMachineScaleSet": {
+ "$ref": "#/definitions/SubResource",
+ "description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set.
This property cannot exist along with a non-null properties.availabilitySet reference.
Minimum api‐version: 2019‐03‐01"
},
"proximityPlacementGroup": {
"$ref": "#/definitions/SubResource",
"description": "Specifies information about the proximity placement group that the virtual machine should be assigned to.
Minimum api-version: 2018-04-01."
},
+ "host": {
+ "$ref": "#/definitions/SubResource",
+ "description": "Specifies information about the dedicated host that the virtual machine resides in.
Minimum api-version: 2018-10-01."
+ },
"provisioningState": {
"readOnly": true,
"type": "string",
@@ -7726,6 +8522,10 @@
"name": "VirtualMachineEvictionPolicyTypes",
"modelAsString": true
}
+ },
+ "scheduledEventsProfile": {
+ "$ref": "#/definitions/ScheduledEventsProfile",
+ "description": "Specifies Scheduled Event related configurations."
}
},
"description": "Describes a virtual machine scale set virtual machine profile."
@@ -7755,6 +8555,10 @@
"licenseType": {
"type": "string",
"description": "The license type, which is for bring your own license scenario."
+ },
+ "scheduledEventsProfile": {
+ "$ref": "#/definitions/ScheduledEventsProfile",
+ "description": "Specifies Scheduled Event related configurations."
}
},
"description": "Describes a virtual machine scale set virtual machine profile."
@@ -8469,6 +9273,28 @@
},
"description": "The protection policy of a virtual machine scale set VM."
},
+ "ScheduledEventsProfile": {
+ "type": "object",
+ "properties": {
+ "terminateNotificationProfile": {
+ "$ref": "#/definitions/TerminateNotificationProfile",
+ "description": "Specifies Terminate Scheduled Event related configurations."
+ }
+ }
+ },
+ "TerminateNotificationProfile": {
+ "type": "object",
+ "properties": {
+ "notBeforeTimeout": {
+ "type": "string",
+ "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)"
+ },
+ "enable": {
+ "type": "boolean",
+ "description": "Specifies whether the Terminate Scheduled event is enabled or disabled."
+ }
+ }
+ },
"VirtualMachineHealthStatus": {
"properties": {
"status": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/disk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/disk.json
new file mode 100644
index 000000000000..eb4686849f5d
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/disk.json
@@ -0,0 +1,1441 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "DiskResourceProviderClient",
+ "description": "The Disk Resource Provider Client.",
+ "version": "2019-03-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}": {
+ "put": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_CreateOrUpdate",
+ "description": "Creates or updates a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "disk",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ },
+ "description": "Disk object supplied in the body of the Put disk operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create an empty managed disk.": {
+ "$ref": "./examples/CreateAnEmptyManagedDisk.json"
+ },
+ "Create a managed disk from a platform image.": {
+ "$ref": "./examples/CreateAManagedDiskFromAPlatformImage.json"
+ },
+ "Create a managed disk from an existing managed disk in the same or different subscription.": {
+ "$ref": "./examples/CreateAManagedDiskFromAnExistingManagedDisk.json"
+ },
+ "Create a managed disk by importing an unmanaged blob from the same subscription.": {
+ "$ref": "./examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json"
+ },
+ "Create a managed disk by importing an unmanaged blob from a different subscription.": {
+ "$ref": "./examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json"
+ },
+ "Create a managed disk by copying a snapshot.": {
+ "$ref": "./examples/CreateAManagedDiskByCopyingASnapshot.json"
+ },
+ "Create a managed upload disk.": {
+ "$ref": "./examples/CreateAManagedUploadDisk.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_Update",
+ "description": "Updates (patches) a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "disk",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/DiskUpdate"
+ },
+ "description": "Disk object supplied in the body of the Patch disk operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_Get",
+ "description": "Gets information about a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Disk"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get information about a managed disk.": {
+ "$ref": "./examples/GetInformationAboutAManagedDisk.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_Delete",
+ "description": "Deletes a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "If the disk is deleted, this is an expected error code."
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks": {
+ "get": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_ListByResourceGroup",
+ "description": "Lists all the disks under a resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DiskList"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all managed disks in a resource group.": {
+ "$ref": "./examples/ListManagedDisksInAResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks": {
+ "get": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_List",
+ "description": "Lists all the disks under a subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DiskList"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all managed disks in a subscription.": {
+ "$ref": "./examples/ListManagedDisksInASubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess": {
+ "post": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_GrantAccess",
+ "description": "Grants access to a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "grantAccessData",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GrantAccessData"
+ },
+ "description": "Access data object supplied in the body of the get disk access operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AccessUri"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess": {
+ "post": {
+ "tags": [
+ "Disks"
+ ],
+ "operationId": "Disks_RevokeAccess",
+ "description": "Revokes access to a disk.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiskNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}": {
+ "put": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_CreateOrUpdate",
+ "description": "Creates or updates a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "snapshot",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ },
+ "description": "Snapshot object supplied in the body of the Put disk operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a snapshot from an existing snapshot in the same or a different subscription.": {
+ "$ref": "./examples/CreateASnapshotFromAnExistingSnapshot.json"
+ },
+ "Create a snapshot by importing an unmanaged blob from the same subscription.": {
+ "$ref": "./examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json"
+ },
+ "Create a snapshot by importing an unmanaged blob from a different subscription.": {
+ "$ref": "./examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "patch": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Update",
+ "description": "Updates (patches) a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "snapshot",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SnapshotUpdate"
+ },
+ "description": "Snapshot object supplied in the body of the Patch snapshot operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Get",
+ "description": "Gets information about a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Snapshot"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get information about a snapshot.": {
+ "$ref": "./examples/GetInformationAboutASnapshot.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_Delete",
+ "description": "Deletes a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "If the snapshot is deleted, this is an expected error code."
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_ListByResourceGroup",
+ "description": "Lists snapshots under a resource group.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SnapshotList"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all snapshots in a resource group.": {
+ "$ref": "./examples/ListSnapshotsInAResourceGroup.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots": {
+ "get": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_List",
+ "description": "Lists snapshots under a subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SnapshotList"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List all snapshots in a subscription.": {
+ "$ref": "./examples/ListSnapshotsInASubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess": {
+ "post": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_GrantAccess",
+ "description": "Grants access to a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "grantAccessData",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GrantAccessData"
+ },
+ "description": "Access data object supplied in the body of the get snapshot access operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AccessUri"
+ }
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess": {
+ "post": {
+ "tags": [
+ "Snapshots"
+ ],
+ "operationId": "Snapshots_RevokeAccess",
+ "description": "Revokes access to a snapshot.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SnapshotNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true
+ },
+ "Disk": {
+ "properties": {
+ "managedBy": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A relative URI containing the ID of the VM that has the disk attached."
+ },
+ "sku": {
+ "$ref": "#/definitions/DiskSku"
+ },
+ "zones": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "The Logical zone list for Disk."
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DiskProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Disk resource."
+ },
+ "DiskUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DiskUpdateProperties"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "sku": {
+ "$ref": "#/definitions/DiskSku"
+ }
+ },
+ "description": "Disk update resource."
+ },
+ "DiskList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Disk"
+ },
+ "description": "A list of disks."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of disks. Call ListNext() with this to fetch the next page of disks."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Disks operation response."
+ },
+ "DiskSku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "StandardSSD_LRS",
+ "UltraSSD_LRS"
+ ],
+ "x-ms-enum": {
+ "name": "DiskStorageAccountTypes",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard_LRS",
+ "description": "Standard HDD locally redundant storage. Best for backup, non-critical, and infrequent access."
+ },
+ {
+ "value": "Premium_LRS",
+ "description": "Premium SSD locally redundant storage. Best for production and performance sensitive workloads."
+ },
+ {
+ "value": "StandardSSD_LRS",
+ "description": "Standard SSD locally redundant storage. Best for web servers, lightly used enterprise applications and dev/test."
+ },
+ {
+ "value": "UltraSSD_LRS",
+ "description": "Ultra SSD locally redundant storage. Best for IO-intensive workloads such as SAP HANA, top tier databases (for example, SQL, Oracle), and other transaction-heavy workloads."
+ }
+ ]
+ },
+ "description": "The sku name."
+ },
+ "tier": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The sku tier."
+ }
+ },
+ "description": "The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS."
+ },
+ "SnapshotSku": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "Standard_ZRS"
+ ],
+ "x-ms-enum": {
+ "name": "SnapshotStorageAccountTypes",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Standard_LRS",
+ "description": "Standard HDD locally redundant storage"
+ },
+ {
+ "value": "Premium_LRS",
+ "description": "Premium SSD locally redundant storage"
+ },
+ {
+ "value": "Standard_ZRS",
+ "description": "Standard zone redundant storage"
+ }
+ ]
+ },
+ "description": "The sku name."
+ },
+ "tier": {
+ "type": "string",
+ "readOnly": true,
+ "description": "The sku tier."
+ }
+ },
+ "description": "The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS."
+ },
+ "DiskProperties": {
+ "properties": {
+ "timeCreated": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the disk was created."
+ },
+ "osType": {
+ "type": "string",
+ "description": "The Operating System type.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGeneration",
+ "modelAsString": true
+ }
+ },
+ "creationData": {
+ "$ref": "#/definitions/CreationData",
+ "description": "Disk source information. CreationData information cannot be changed after the disk has been created."
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
+ },
+ "diskSizeBytes": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The size of the disk in bytes. This field is read only."
+ },
+ "uniqueId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique Guid identifying the resource."
+ },
+ "encryptionSettingsCollection": {
+ "$ref": "#/definitions/EncryptionSettingsCollection",
+ "description": "Encryption settings collection used for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The disk provisioning state."
+ },
+ "diskIOPSReadWrite": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes."
+ },
+ "diskMBpsReadWrite": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10."
+ },
+ "diskState": {
+ "type": "string",
+ "description": "The state of the disk.",
+ "readOnly": true,
+ "enum": [
+ "Unattached",
+ "Attached",
+ "Reserved",
+ "ActiveSAS",
+ "ReadyToUpload",
+ "ActiveUpload"
+ ],
+ "x-ms-enum": {
+ "name": "DiskState",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Unattached",
+ "description": "The disk is not being used and can be attached to a VM."
+ },
+ {
+ "value": "Attached",
+ "description": "The disk is currently mounted to a running VM."
+ },
+ {
+ "value": "Reserved",
+ "description": "The disk is mounted to a stopped-deallocated VM"
+ },
+ {
+ "value": "ActiveSAS",
+ "description": "The disk currently has an Active SAS Uri associated with it."
+ },
+ {
+ "value": "ReadyToUpload",
+ "description": "A disk is ready to be created by upload by requesting a write token."
+ },
+ {
+ "value": "ActiveUpload",
+ "description": "A disk is created for upload and a write token has been issued for uploading to it."
+ }
+ ]
+ }
+ }
+ },
+ "required": [
+ "creationData"
+ ],
+ "description": "Disk resource properties."
+ },
+ "SnapshotProperties": {
+ "properties": {
+ "timeCreated": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The time when the disk was created."
+ },
+ "osType": {
+ "type": "string",
+ "description": "The Operating System type.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGeneration",
+ "modelAsString": true
+ }
+ },
+ "creationData": {
+ "$ref": "#/definitions/CreationData",
+ "description": "Disk source information. CreationData information cannot be changed after the disk has been created."
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
+ },
+ "diskSizeBytes": {
+ "type": "integer",
+ "format": "int64",
+ "readOnly": true,
+ "description": "The size of the disk in bytes. This field is read only."
+ },
+ "uniqueId": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique Guid identifying the resource."
+ },
+ "encryptionSettingsCollection": {
+ "$ref": "#/definitions/EncryptionSettingsCollection",
+ "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The disk provisioning state."
+ },
+ "incremental": {
+ "type": "boolean",
+ "description": "Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed."
+ }
+ },
+ "required": [
+ "creationData"
+ ],
+ "description": "Snapshot resource properties."
+ },
+ "EncryptionSettingsCollection": {
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "description": "Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged."
+ },
+ "encryptionSettings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EncryptionSettingsElement"
+ },
+ "description": "A collection of encryption settings, one for each disk volume."
+ },
+ "encryptionSettingsVersion": {
+ "type": "string",
+ "description": "Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption."
+ }
+ },
+ "required": [
+ "enabled"
+ ],
+ "description": "Encryption settings for disk or snapshot"
+ },
+ "EncryptionSettingsElement": {
+ "properties": {
+ "diskEncryptionKey": {
+ "$ref": "#/definitions/KeyVaultAndSecretReference",
+ "description": "Key Vault Secret Url and vault id of the disk encryption key"
+ },
+ "keyEncryptionKey": {
+ "$ref": "#/definitions/KeyVaultAndKeyReference",
+ "description": "Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key."
+ }
+ },
+ "description": "Encryption settings for one disk volume."
+ },
+ "KeyVaultAndSecretReference": {
+ "properties": {
+ "sourceVault": {
+ "$ref": "#/definitions/SourceVault",
+ "description": "Resource id of the KeyVault containing the key or secret"
+ },
+ "secretUrl": {
+ "type": "string",
+ "description": "Url pointing to a key or secret in KeyVault"
+ }
+ },
+ "required": [
+ "secretUrl",
+ "sourceVault"
+ ],
+ "description": "Key Vault Secret Url and vault id of the encryption key "
+ },
+ "KeyVaultAndKeyReference": {
+ "properties": {
+ "sourceVault": {
+ "$ref": "#/definitions/SourceVault",
+ "description": "Resource id of the KeyVault containing the key or secret"
+ },
+ "keyUrl": {
+ "type": "string",
+ "description": "Url pointing to a key or secret in KeyVault"
+ }
+ },
+ "required": [
+ "keyUrl",
+ "sourceVault"
+ ],
+ "description": "Key Vault Key Url and vault id of KeK, KeK is optional and when provided is used to unwrap the encryptionKey"
+ },
+ "SourceVault": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource Id"
+ }
+ },
+ "description": "The vault id is an Azure Resource Manager Resource id in the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}"
+ },
+ "DiskUpdateProperties": {
+ "properties": {
+ "osType": {
+ "type": "string",
+ "description": "the Operating System type.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
+ },
+ "encryptionSettingsCollection": {
+ "$ref": "#/definitions/EncryptionSettingsCollection",
+ "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
+ },
+ "diskIOPSReadWrite": {
+ "type": "integer",
+ "format": "int64",
+ "description": "The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes."
+ },
+ "diskMBpsReadWrite": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10."
+ }
+ },
+ "description": "Disk resource update properties."
+ },
+ "SnapshotUpdateProperties": {
+ "properties": {
+ "osType": {
+ "type": "string",
+ "description": "the Operating System type.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "diskSizeGB": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size."
+ },
+ "encryptionSettingsCollection": {
+ "$ref": "#/definitions/EncryptionSettingsCollection",
+ "description": "Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot."
+ }
+ },
+ "description": "Snapshot resource update properties."
+ },
+ "CreationData": {
+ "properties": {
+ "createOption": {
+ "type": "string",
+ "enum": [
+ "Empty",
+ "Attach",
+ "FromImage",
+ "Import",
+ "Copy",
+ "Restore",
+ "Upload"
+ ],
+ "x-ms-enum": {
+ "name": "DiskCreateOption",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "Empty",
+ "description": "Create an empty data disk of a size given by diskSizeGB."
+ },
+ {
+ "value": "Attach",
+ "description": "Disk will be attached to a VM."
+ },
+ {
+ "value": "FromImage",
+ "description": "Create a new disk from a platform image specified by the given imageReference."
+ },
+ {
+ "value": "Import",
+ "description": "Create a disk by importing from a blob specified by a sourceUri in a storage account specified by storageAccountId."
+ },
+ {
+ "value": "Copy",
+ "description": "Create a new disk or snapshot by copying from a disk or snapshot specified by the given sourceResourceId."
+ },
+ {
+ "value": "Restore",
+ "description": "Create a new disk by copying from a backup recovery point."
+ },
+ {
+ "value": "Upload",
+ "description": "Create a new disk by obtaining a write token and using it to directly upload the contents of the disk."
+ }
+ ]
+ },
+ "description": "This enumerates the possible sources of a disk's creation."
+ },
+ "storageAccountId": {
+ "type": "string",
+ "description": "If createOption is Import, the Azure Resource Manager identifier of the storage account containing the blob to import as a disk. Required only if the blob is in a different subscription"
+ },
+ "imageReference": {
+ "$ref": "#/definitions/ImageDiskReference",
+ "description": "Disk source information."
+ },
+ "sourceUri": {
+ "type": "string",
+ "description": "If createOption is Import, this is the URI of a blob to be imported into a managed disk."
+ },
+ "sourceResourceId": {
+ "type": "string",
+ "description": "If createOption is Copy, this is the ARM id of the source snapshot or disk."
+ },
+ "sourceUniqueId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "If this field is set, this is the unique id identifying the source of this resource."
+ },
+ "uploadSizeBytes": {
+ "type": "integer",
+ "format": "int64",
+ "description": "If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 1073741824 (1 GiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer)."
+ }
+ },
+ "required": [
+ "createOption"
+ ],
+ "description": "Data used when creating a disk."
+ },
+ "ImageDiskReference": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "A relative uri containing either a Platform Image Repository or user image reference."
+ },
+ "lun": {
+ "type": "integer",
+ "format": "int32",
+ "description": "If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null."
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "The source image used for creating the disk."
+ },
+ "GrantAccessData": {
+ "properties": {
+ "access": {
+ "type": "string",
+ "enum": [
+ "None",
+ "Read",
+ "Write"
+ ],
+ "x-ms-enum": {
+ "name": "AccessLevel",
+ "modelAsString": true
+ }
+ },
+ "durationInSeconds": {
+ "type": "integer",
+ "format": "int32",
+ "description": "Time duration in seconds until the SAS access expires."
+ }
+ },
+ "required": [
+ "access",
+ "durationInSeconds"
+ ],
+ "description": "Data used for requesting a SAS."
+ },
+ "AccessUri": {
+ "properties": {
+ "accessSAS": {
+ "readOnly": true,
+ "type": "string",
+ "description": "A SAS uri for accessing a disk."
+ }
+ },
+ "description": "A disk access SAS uri."
+ },
+ "Snapshot": {
+ "properties": {
+ "managedBy": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Unused. Always Null."
+ },
+ "sku": {
+ "$ref": "#/definitions/SnapshotSku"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SnapshotProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Snapshot resource."
+ },
+ "SnapshotUpdate": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SnapshotUpdateProperties"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "sku": {
+ "$ref": "#/definitions/SnapshotSku"
+ }
+ },
+ "description": "Snapshot update resource."
+ },
+ "SnapshotList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Snapshot"
+ },
+ "description": "A list of snapshots."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Snapshots operation response."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "DiskNameParameter": {
+ "name": "diskName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.",
+ "x-ms-parameter-location": "method"
+ },
+ "SnapshotNameParameter": {
+ "name": "snapshotName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskByCopyingASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskByCopyingASnapshot.json
new file mode 100644
index 000000000000..7ed820a1226c
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskByCopyingASnapshot.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json
new file mode 100644
index 000000000000..a7e3bc7fa91d
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromADifferentSubscription.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Import",
+ "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Import",
+ "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Import",
+ "storageAccountId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json
new file mode 100644
index 000000000000..22a92edbe4fa
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskByImportingAnUnmanagedBlobFromTheSameSubscription.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Import",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Import",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "creationData": {
+ "createOption": "Import",
+ "sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskFromAPlatformImage.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskFromAPlatformImage.json
new file mode 100644
index 000000000000..50a6f0c757d4
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskFromAPlatformImage.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "FromImage",
+ "imageReference": {
+ "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "FromImage",
+ "imageReference": {
+ "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "name": "myDisk",
+ "location": "West US",
+ "properties": {
+ "provisioningState": "Updating",
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "FromImage",
+ "imageReference": {
+ "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskFromAnExistingManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskFromAnExistingManagedDisk.json
new file mode 100644
index 000000000000..f6b53b2b5458
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedDiskFromAnExistingManagedDisk.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "diskName": "myDisk2",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk2"
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myDisk1"
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk2"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedUploadDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedUploadDisk.json
new file mode 100644
index 000000000000..6c0c126b4fac
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAManagedUploadDisk.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Upload",
+ "uploadSizeBytes": 10737418752
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Upload",
+ "uploadSizeBytes": 10737418752
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk"
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Upload",
+ "uploadSizeBytes": 10737418752
+ },
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json
new file mode 100644
index 000000000000..87e6b25d2c87
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAScaleSetWithTerminateScheduledEventEnabled.json
@@ -0,0 +1,233 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "vmScaleSetName": "{vmss-name}",
+ "api-version": "2019-03-01",
+ "parameters": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "location": "westus",
+ "properties": {
+ "overprovision": true,
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "adminPassword": "{your-password}"
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/{existing-virtual-network-name}/subnets/{existing-subnet-name}"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "scheduledEventsProfile": {
+ "terminateNotificationProfile": {
+ "enable": true,
+ "notBeforeTimeout": "PT5M"
+ }
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ },
+ "scheduledEventsProfile": {
+ "terminateNotificationProfile": {
+ "enable": true,
+ "notBeforeTimeout": "PT5M"
+ }
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ },
+ "201": {
+ "body": {
+ "sku": {
+ "tier": "Standard",
+ "capacity": 3,
+ "name": "Standard_D1_v2"
+ },
+ "name": "{vmss-name}",
+ "properties": {
+ "singlePlacementGroup": true,
+ "overprovision": true,
+ "uniqueId": "d053ec5a-8da6-495f-ab13-38216503c6d7",
+ "virtualMachineProfile": {
+ "storageProfile": {
+ "imageReference": {
+ "sku": "2016-Datacenter",
+ "publisher": "MicrosoftWindowsServer",
+ "version": "latest",
+ "offer": "WindowsServer"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "managedDisk": {
+ "storageAccountType": "Standard_LRS"
+ },
+ "createOption": "FromImage"
+ }
+ },
+ "osProfile": {
+ "computerNamePrefix": "{vmss-name}",
+ "adminUsername": "{your-username}",
+ "secrets": [],
+ "windowsConfiguration": {
+ "provisionVMAgent": true,
+ "enableAutomaticUpdates": true
+ }
+ },
+ "networkProfile": {
+ "networkInterfaceConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "dnsSettings": {
+ "dnsServers": []
+ },
+ "primary": true,
+ "enableIPForwarding": true,
+ "ipConfigurations": [
+ {
+ "name": "{vmss-name}",
+ "properties": {
+ "subnet": {
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/nsgExistingVnet/subnets/nsgExistingSubnet"
+ },
+ "privateIPAddressVersion": "IPv4"
+ }
+ }
+ ],
+ "enableAcceleratedNetworking": false
+ }
+ }
+ ]
+ },
+ "scheduledEventsProfile": {
+ "terminateNotificationProfile": {
+ "enable": true,
+ "notBeforeTimeout": "PT5M"
+ }
+ }
+ },
+ "upgradePolicy": {
+ "mode": "Manual"
+ },
+ "provisioningState": "Creating"
+ },
+ "location": "westus",
+ "type": "Microsoft.Compute/virtualMachineScaleSets",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{vmss-name}"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json
index 1ea6c5bd022c..ac1676ea844d 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromADifferentSubscription.json
@@ -5,7 +5,6 @@
"api-version": "2019-03-01",
"snapshotName": "mySnapshot1",
"snapshot": {
- "name": "mySnapshot1",
"location": "West US",
"properties": {
"creationData": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json
index 051f1355d167..f9624c059273 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotByImportingAnUnmanagedBlobFromTheSameSubscription.json
@@ -5,7 +5,6 @@
"api-version": "2019-03-01",
"snapshotName": "mySnapshot1",
"snapshot": {
- "name": "mySnapshot1",
"location": "West US",
"properties": {
"creationData": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotFromAnExistingSnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotFromAnExistingSnapshot.json
index 80b14028c83f..8ad3baf76972 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotFromAnExistingSnapshot.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateASnapshotFromAnExistingSnapshot.json
@@ -5,7 +5,6 @@
"api-version": "2019-03-01",
"snapshotName": "mySnapshot2",
"snapshot": {
- "name": "mySnapshot2",
"location": "West US",
"properties": {
"creationData": {
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnEmptyManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnEmptyManagedDisk.json
new file mode 100644
index 000000000000..cc89b4a11e20
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateAnEmptyManagedDisk.json
@@ -0,0 +1,45 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "diskName": "myDisk",
+ "disk": {
+ "location": "West US",
+ "properties": {
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 200
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 200,
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk"
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 200,
+ "provisioningState": "Updating"
+ },
+ "location": "West US",
+ "name": "myDisk"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json
new file mode 100644
index 000000000000..be99526847e4
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHost.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "parameters": {
+ "location": "westus",
+ "tags": {
+ "department": "HR"
+ },
+ "properties": {
+ "platformFaultDomain": 1
+ },
+ "sku": {
+ "name": "DSv3-Type1"
+ }
+ },
+ "hostGroupName": "myDedicatedHostGroup",
+ "hostName": "myDedicatedHost"
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myDedicatedHost",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup/hosts/myDedicatedHost",
+ "tags": {
+ "department": "HR"
+ },
+ "sku": {
+ "name": "DSv3-Type1"
+ },
+ "properties": {
+ "platformFaultDomain": 1,
+ "autoReplaceOnFailure": true,
+ "hostId": "{GUID}"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomain": 1,
+ "autoReplaceOnFailure": false,
+ "licenseType": "Windows_Server_Hybrid",
+ "hostId": "{GUID}"
+ },
+ "location": "westus",
+ "tags": {
+ "department": "HR"
+ },
+ "name": "myDedicatedHost",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup/hosts/myDedicatedHost",
+ "sku": {
+ "name": "DSv3-Type1"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json
new file mode 100644
index 000000000000..3d4ec8a42903
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateADedicatedHostGroup.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "hostGroupName": "myDedicatedHostGroup",
+ "parameters": {
+ "location": "westus",
+ "tags": {
+ "department": "finance"
+ },
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "platformFaultDomainCount": 3
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "name": "myDedicatedHostGroup",
+ "location": "westus",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup",
+ "tags": {
+ "department": "finance"
+ },
+ "zones": [
+ "1"
+ ],
+ "properties": {
+ "platformFaultDomainCount": 3,
+ "hosts": []
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomainCount": 3,
+ "hosts": []
+ },
+ "location": "westus",
+ "tags": {
+ "department": "finance",
+ "owner": "myCompany"
+ },
+ "name": "myDedicatedHostGroup",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/HostGroups/myDedicatedHostGroup",
+ "zones": [
+ "1"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json
new file mode 100644
index 000000000000..8354364631a0
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplication.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName",
+ "galleryApplication": {
+ "location": "West US",
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ },
+ "location": "West US",
+ "name": "myGalleryApplicationName",
+ "type": "Microsoft.Compute/galleries",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ },
+ "location": "West US",
+ "name": "myGalleryApplicationName",
+ "type": "Microsoft.Compute/galleries",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName"
+ }
+ },
+ "202": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ },
+ "location": "West US",
+ "name": "myGalleryApplicationName",
+ "type": "Microsoft.Compute/galleries",
+ "id": "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json
new file mode 100644
index 000000000000..bf1184f95048
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/CreateOrUpdateASimpleGalleryApplicationVersion.json
@@ -0,0 +1,123 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName",
+ "galleryApplicationVersionName": "1.0.0",
+ "galleryApplicationVersion": {
+ "location": "West US",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "endOfLifeDate": "2019-07-01T07:00:00Z",
+ "storageAccountType": "Standard_LRS"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "West US",
+ "name": "1.0.0",
+ "type": "Microsoft.Compute/galleries/applications/versions",
+ "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "provisioningState": "Updating"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "location": "West US",
+ "name": "1.0.0",
+ "type": "Microsoft.Compute/galleries/applications/versions",
+ "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "provisioningState": "Creating"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "location": "West US",
+ "name": "1.0.0",
+ "type": "Microsoft.Compute/galleries/applications/versions",
+ "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json
new file mode 100644
index 000000000000..d5d4629a4917
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplication.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json
new file mode 100644
index 000000000000..7a1d3aec5113
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/DeleteAGalleryApplicationVersion.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName",
+ "galleryApplicationVersionName": "1.0.0"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json
new file mode 100644
index 000000000000..0da47da294d4
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHost.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "hostGroupName": "myDedicatedHostGroup",
+ "hostName": "myHost"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomain": 1,
+ "autoReplaceOnFailure": true,
+ "hostId": "{GUID}",
+ "provisioningTime": "2019-06-27T01:02:38.3138469+00:00",
+ "virtualMachines": [
+ {
+ "id": "/subscriptions/subId/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/vm1"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "instanceView": {
+ "assetId": "eb3f58b8-b4e8-4882-b69f-301a01812407",
+ "availableCapacity": {
+ "allocatableVMs": [
+ {
+ "vmSize": "Standard_A1",
+ "count": 10
+ }
+ ]
+ },
+ "statuses": [
+ {
+ "code": "ProvisioningState/succeeded",
+ "level": "Info",
+ "displayStatus": "Provisioning succeeded"
+ },
+ {
+ "code": "HealthState/available",
+ "level": "Info",
+ "displayStatus": "Host available"
+ }
+ ]
+ }
+ },
+ "location": "westus",
+ "tags": {
+ "department": "HR"
+ },
+ "sku": {
+ "name": "DSv3-Type1"
+ },
+ "name": "myHost"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json
new file mode 100644
index 000000000000..f383d65e8771
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetADedicatedHostGroup.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-10-01",
+ "hostGroupName": "myDedicatedHostGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "platformFaultDomainCount": 3,
+ "hosts": [
+ {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/myDedicatedHostGroup/myHostGroup/Hosts/myHost1"
+ },
+ {
+ "id": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/myDedicatedHostGroup/myHostGroup/Hosts/myHost2"
+ }
+ ]
+ },
+ "location": "westus",
+ "tags": {
+ "{tagName}": "{tagValue}"
+ },
+ "name": "myDedicatedHostGroup",
+ "zones": [
+ "3"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json
new file mode 100644
index 000000000000..94e1cd7e7f8e
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplication.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ },
+ "location": "West US",
+ "name": "myGalleryApplicationName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json
new file mode 100644
index 000000000000..8b9c1fe5a139
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersion.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName",
+ "galleryApplicationVersionName": "1.0.0"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "location": "West US",
+ "name": "1.0.0",
+ "type": "Microsoft.Compute/galleries/applications/versions",
+ "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json
new file mode 100644
index 000000000000..12bfa07e8838
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetAGalleryApplicationVersionWithReplicationStatus.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName",
+ "galleryApplicationVersionName": "1.0.0",
+ "$expand": "ReplicationStatus"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "replicationStatus": {
+ "aggregatedState": "Completed",
+ "summary": [
+ {
+ "region": "West US",
+ "state": "Completed",
+ "details": "",
+ "progress": 100
+ }
+ ]
+ },
+ "provisioningState": "Succeeded"
+ },
+ "location": "West US",
+ "name": "1.0.0"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetInformationAboutAManagedDisk.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetInformationAboutAManagedDisk.json
new file mode 100644
index 000000000000..db5b5b0b7674
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetInformationAboutAManagedDisk.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "diskName": "myManagedDisk"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "managedBy": "/subscriptions/123caaa-123v-v211-a49f-f88ccac5bf88/resourceGroups/ResourceGroupName/providers/Microsoft.Compute/virtualMachines/TestVM414689371c88843d65ec",
+ "sku": {
+ "name": "Standard_LRS"
+ },
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 10,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "timeCreated": "2016-12-28T04:41:35.079872+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "ManagedDisks"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
+ "name": "myManagedDisk"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetInformationAboutASnapshot.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetInformationAboutASnapshot.json
index ba15a0355b35..8342655dd2e1 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetInformationAboutASnapshot.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/GetInformationAboutASnapshot.json
@@ -14,20 +14,24 @@
"createOption": "Empty"
},
"diskSizeGB": 100,
- "encryptionSettings": {
+ "encryptionSettingsCollection": {
"enabled": true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
},
"timeCreated": "2016-12-28T04:41:35.079872+00:00",
"provisioningState": "Succeeded"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json
index fc3729903061..150d4cd85b61 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListAvailableVmSizes_VirtualMachines.json
@@ -10,23 +10,23 @@
"body": {
"value": [
{
- "name": "Standard_A1_V2",
- "numberOfCores": 1,
- "osDiskSizeInMB": 1047552,
- "resourceDiskSizeInMB": 10240,
- "memoryInMB": 2048,
- "maxDataDiskCount": 2
+ "name": "Standard_A1_V2",
+ "numberOfCores": 1,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 10240,
+ "memoryInMB": 2048,
+ "maxDataDiskCount": 2
},
{
- "name": "Standard_A2_V2",
- "numberOfCores": 2,
- "osDiskSizeInMB": 1047552,
- "resourceDiskSizeInMB": 20480,
- "memoryInMB": 4096,
- "maxDataDiskCount": 4
+ "name": "Standard_A2_V2",
+ "numberOfCores": 2,
+ "osDiskSizeInMB": 1047552,
+ "resourceDiskSizeInMB": 20480,
+ "memoryInMB": 4096,
+ "maxDataDiskCount": 4
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json
new file mode 100644
index 000000000000..4396c3195f78
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationVersionsInAGalleryApplication.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName",
+ "galleryApplicationName": "myGalleryApplicationName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "location": "West US",
+ "name": "1.0.0",
+ "type": "Microsoft.Compute/galleries/applications/versions",
+ "id": "/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0",
+ "properties": {
+ "publishingProfile": {
+ "source": {
+ "fileName": "package.zip",
+ "mediaLink": "https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"
+ },
+ "enableHealthCheck": false,
+ "targetRegions": [
+ {
+ "name": "West US",
+ "regionalReplicaCount": 1,
+ "storageAccountType": "Standard_LRS"
+ }
+ ],
+ "replicaCount": 1,
+ "excludeFromLatest": false,
+ "publishedDate": "2019-06-21T17:13:57.5972568+00:00",
+ "endOfLifeDate": "2019-07-01T07:00:00+00:00",
+ "storageAccountType": "Standard_LRS"
+ },
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName/versions/myGalleryApplicationVersionName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json
new file mode 100644
index 000000000000..73500729155b
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListGalleryApplicationsInAGallery.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01",
+ "galleryName": "myGalleryName"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "This is the gallery application description.",
+ "eula": "This is the gallery application EULA.",
+ "privacyStatementUri": "myPrivacyStatementUri}",
+ "releaseNoteUri": "myReleaseNoteUri",
+ "supportedOSType": "Windows"
+ },
+ "location": "West US",
+ "name": "myGalleryApplicationName"
+ }
+ ],
+ "nextLink": "http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListManagedDisksInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListManagedDisksInAResourceGroup.json
new file mode 100644
index 000000000000..34c4bedb2fde
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListManagedDisksInAResourceGroup.json
@@ -0,0 +1,111 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2019-03-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk"
+ },
+ "diskSizeGB": 200,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "timeCreated": "2016-12-28T04:41:35.9278721+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "ManagedDisks"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
+ "name": "myManagedDisk"
+ },
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 10,
+ "timeCreated": "2016-12-28T04:41:36.872242+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
+ "name": "myManagedDisk"
+ },
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "FromImage",
+ "imageReference": {
+ "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
+ }
+ },
+ "diskSizeGB": 200,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "timeCreated": "2016-12-28T04:41:36.3973934+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "ManagedDisks"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk",
+ "name": "myManagedDisk"
+ }
+ ],
+ "nextLink": "http://disksvchost:99/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/Disks/myManagedDisk"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListManagedDisksInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListManagedDisksInASubscription.json
new file mode 100644
index 000000000000..a41b163eb3ee
--- /dev/null
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListManagedDisksInASubscription.json
@@ -0,0 +1,110 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscription-id}",
+ "api-version": "2019-03-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Copy",
+ "sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1"
+ },
+ "diskSizeGB": 200,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "timeCreated": "2016-12-28T04:41:35.9278721+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "ManagedDisks"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk1",
+ "name": "myManagedDisk1"
+ },
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "Empty"
+ },
+ "diskSizeGB": 10,
+ "timeCreated": "2016-12-28T04:41:36.872242+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk2",
+ "name": "myManagedDisk2"
+ },
+ {
+ "properties": {
+ "osType": "Windows",
+ "creationData": {
+ "createOption": "FromImage",
+ "imageReference": {
+ "id": "/Subscriptions/{subscriptionId}/Providers/Microsoft.Compute/Locations/uswest/Publishers/Microsoft/ArtifactTypes/VMImage/Offers/{offer}"
+ }
+ },
+ "diskSizeGB": 200,
+ "encryptionSettingsCollection": {
+ "enabled": true,
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
+ },
+ "timeCreated": "2016-12-28T04:41:36.3973934+00:00",
+ "provisioningState": "Succeeded"
+ },
+ "type": "Microsoft.Compute/disks",
+ "location": "westus",
+ "tags": {
+ "department": "Development",
+ "project": "ManagedDisks"
+ },
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/myManagedDisk3",
+ "name": "myManagedDisk3"
+ }
+ ],
+ "nextLink": "http://disksvchost:99/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/Disks/myManagedDisk"
+ }
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListSnapshotsInAResourceGroup.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListSnapshotsInAResourceGroup.json
index f8707ac42962..16db4e118fb1 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListSnapshotsInAResourceGroup.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListSnapshotsInAResourceGroup.json
@@ -16,20 +16,24 @@
"sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
},
"diskSizeGB": 200,
- "encryptionSettings": {
+ "encryptionSettingsCollection": {
"enabled": true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
},
"timeCreated": "2016-12-28T04:41:35.9278721+00:00",
"provisioningState": "Succeeded"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListSnapshotsInASubscription.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListSnapshotsInASubscription.json
index 631da8b04aa3..56e7ab7a494b 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListSnapshotsInASubscription.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/ListSnapshotsInASubscription.json
@@ -15,20 +15,24 @@
"sourceResourceId": "subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot"
},
"diskSizeGB": 200,
- "encryptionSettings": {
+ "encryptionSettingsCollection": {
"enabled": true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
},
"timeCreated": "2016-12-28T04:47:30.6630569+00:00",
"provisioningState": "Succeeded"
@@ -51,20 +55,24 @@
"sourceUri": "https://mystorageaccount.blob.core.windows.net/osimages/osimage.vhd"
},
"diskSizeGB": 200,
- "encryptionSettings": {
+ "encryptionSettingsCollection": {
"enabled": true,
- "diskEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
- },
- "keyEncryptionKey": {
- "sourceVault": {
- "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
- },
- "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
- }
+ "encryptionSettings": [
+ {
+ "diskEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "secretUrl": "https://myvmvault.vault-int.azure-int.net/secrets/{secret}"
+ },
+ "keyEncryptionKey": {
+ "sourceVault": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.KeyVault/vaults/myVMVault"
+ },
+ "keyUrl": "https://myvmvault.vault-int.azure-int.net/keys/{key}"
+ }
+ }
+ ]
},
"timeCreated": "2016-12-28T04:47:30.3247198+00:00",
"provisioningState": "Succeeded"
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json
index cabcb6fb61de..72970a8e1337 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsRequestRateByInterval.json
@@ -19,8 +19,6 @@
}
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json
index 774bacfdb1c7..545f5ac0db08 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/LogAnalyticsThrottledRequests.json
@@ -19,8 +19,6 @@
}
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommand.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommand.json
index f3bc0ccfbe29..465e1fa418d8 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommand.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/examples/VirtualMachineRunCommand.json
@@ -29,8 +29,6 @@
]
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json
index 6cda8efb547c..5e478800029a 100644
--- a/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json
+++ b/specification/compute/resource-manager/Microsoft.Compute/stable/2019-03-01/gallery.json
@@ -451,7 +451,7 @@
},
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "Create or update a simple gallery Image Version.": {
+ "Create or update a simple Gallery Image Version.": {
"$ref": "./examples/CreateOrUpdateASimpleGalleryImageVersion.json"
}
}
@@ -594,6 +594,406 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}": {
+ "put": {
+ "tags": [
+ "GalleryApplications"
+ ],
+ "operationId": "GalleryApplications_CreateOrUpdate",
+ "description": "Create or update a gallery Application Definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery in which the Application Definition is to be created."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryApplication",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GalleryApplication"
+ },
+ "description": "Parameters supplied to the create or update gallery Application operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplication"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplication"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplication"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create or update a simple gallery Application.": {
+ "$ref": "./examples/CreateOrUpdateASimpleGalleryApplication.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "GalleryApplications"
+ ],
+ "operationId": "GalleryApplications_Get",
+ "description": "Retrieves information about a gallery Application Definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery from which the Application Definitions are to be retrieved."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition to be retrieved."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplication"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a gallery Application.": {
+ "$ref": "./examples/GetAGalleryApplication.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "GalleryApplications"
+ ],
+ "operationId": "GalleryApplications_Delete",
+ "description": "Delete a gallery Application.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery in which the Application Definition is to be deleted."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition to be deleted."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a gallery Application.": {
+ "$ref": "./examples/DeleteAGalleryApplication.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}": {
+ "put": {
+ "tags": [
+ "GalleryApplicationVersions"
+ ],
+ "operationId": "GalleryApplicationVersions_CreateOrUpdate",
+ "description": "Create or update a gallery Application Version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery in which the Application Definition resides."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition in which the Application Version is to be created."
+ },
+ {
+ "name": "galleryApplicationVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: .."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "galleryApplicationVersion",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ },
+ "description": "Parameters supplied to the create or update gallery Application Version operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ }
+ },
+ "202": {
+ "description": "Accepted",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create or update a simple gallery Application Version.": {
+ "$ref": "./examples/CreateOrUpdateASimpleGalleryApplicationVersion.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "GalleryApplicationVersions"
+ ],
+ "operationId": "GalleryApplicationVersions_Get",
+ "description": "Retrieves information about a gallery Application Version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery in which the Application Definition resides."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition in which the Application Version resides."
+ },
+ {
+ "name": "galleryApplicationVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Version to be retrieved."
+ },
+ {
+ "name": "$expand",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The expand expression to apply on the operation.",
+ "enum": [
+ "ReplicationStatus"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicationStatusTypes",
+ "modelAsString": true
+ }
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get a gallery Application Version.": {
+ "$ref": "./examples/GetAGalleryApplicationVersion.json"
+ },
+ "Get a gallery Application Version with replication status.": {
+ "$ref": "./examples/GetAGalleryApplicationVersionWithReplicationStatus.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "GalleryApplicationVersions"
+ ],
+ "operationId": "GalleryApplicationVersions_Delete",
+ "description": "Delete a gallery Application Version.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Application Gallery in which the Application Definition resides."
+ },
+ {
+ "name": "galleryApplicationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Definition in which the Application Version resides."
+ },
+ {
+ "name": "galleryApplicationVersionName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the gallery Application Version to be deleted."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "204": {
+ "description": "No Content"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Delete a gallery Application Version.": {
+ "$ref": "./examples/DeleteAGalleryApplicationVersion.json"
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries": {
"get": {
"tags": [
@@ -639,14 +1039,119 @@
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries": {
"get": {
"tags": [
- "Galleries"
+ "Galleries"
+ ],
+ "operationId": "Galleries_List",
+ "description": "List galleries under a subscription.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List galleries in a subscription.": {
+ "$ref": "./examples/ListGalleriesInASubscription.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images": {
+ "get": {
+ "tags": [
+ "GalleryImages"
+ ],
+ "operationId": "GalleryImages_ListByGallery",
+ "description": "List gallery Image Definitions in a gallery.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery from which Image Definitions are to be listed."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryImageList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "List gallery images in a gallery.": {
+ "$ref": "./examples/ListGalleryImagesInAGallery.json"
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions": {
+ "get": {
+ "tags": [
+ "GalleryImageVersions"
],
- "operationId": "Galleries_List",
- "description": "List galleries under a subscription.",
+ "operationId": "GalleryImageVersions_ListByGalleryImage",
+ "description": "List gallery Image Versions in a gallery Image Definition.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "name": "galleryName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery in which the Image Definition resides."
+ },
+ {
+ "name": "galleryImageName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed."
+ },
{
"$ref": "#/parameters/ApiVersionParameter"
}
@@ -655,7 +1160,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/GalleryList"
+ "$ref": "#/definitions/GalleryImageVersionList"
}
},
"default": {
@@ -666,8 +1171,8 @@
}
},
"x-ms-examples": {
- "List galleries in a subscription.": {
- "$ref": "./examples/ListGalleriesInASubscription.json"
+ "List gallery Image Versions in a gallery Image Definition.": {
+ "$ref": "./examples/ListGalleryImageVersionsInAGalleryImage.json"
}
},
"x-ms-pageable": {
@@ -675,13 +1180,13 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications": {
"get": {
"tags": [
- "GalleryImages"
+ "GalleryApplications"
],
- "operationId": "GalleryImages_ListByGallery",
- "description": "List gallery Image Definitions in a gallery.",
+ "operationId": "GalleryApplications_ListByGallery",
+ "description": "List gallery Application Definitions in a gallery.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -694,7 +1199,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The name of the Shared Image Gallery from which Image Definitions are to be listed."
+ "description": "The name of the Shared Application Gallery from which Application Definitions are to be listed."
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -704,7 +1209,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/GalleryImageList"
+ "$ref": "#/definitions/GalleryApplicationList"
}
},
"default": {
@@ -715,8 +1220,8 @@
}
},
"x-ms-examples": {
- "List gallery images in a gallery.": {
- "$ref": "./examples/ListGalleryImagesInAGallery.json"
+ "List gallery Applications in a gallery.": {
+ "$ref": "./examples/ListGalleryApplicationsInAGallery.json"
}
},
"x-ms-pageable": {
@@ -724,13 +1229,13 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions": {
"get": {
"tags": [
- "GalleryImageVersions"
+ "GalleryApplicationVersions"
],
- "operationId": "GalleryImageVersions_ListByGalleryImage",
- "description": "List gallery Image Versions in a gallery Image Definition.",
+ "operationId": "GalleryApplicationVersions_ListByGalleryApplication",
+ "description": "List gallery Application Versions in a gallery Application Definition.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
@@ -743,14 +1248,14 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The name of the Shared Image Gallery in which the Image Definition resides."
+ "description": "The name of the Shared Application Gallery in which the Application Definition resides."
},
{
- "name": "galleryImageName",
+ "name": "galleryApplicationName",
"in": "path",
"required": true,
"type": "string",
- "description": "The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed."
+ "description": "The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed."
},
{
"$ref": "#/parameters/ApiVersionParameter"
@@ -760,7 +1265,7 @@
"200": {
"description": "OK",
"schema": {
- "$ref": "#/definitions/GalleryImageVersionList"
+ "$ref": "#/definitions/GalleryApplicationVersionList"
}
},
"default": {
@@ -771,8 +1276,8 @@
}
},
"x-ms-examples": {
- "List gallery Image Versions in a gallery Image Definition.": {
- "$ref": "./examples/ListGalleryImageVersionsInAGalleryImage.json"
+ "List gallery Application Versions in a gallery Application Definition.": {
+ "$ref": "./examples/ListGalleryApplicationVersionsInAGalleryApplication.json"
}
},
"x-ms-pageable": {
@@ -832,6 +1337,145 @@
},
"description": "Describes the gallery unique name."
},
+ "GalleryApplication": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryApplicationProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the gallery Application Definition that you want to create or update."
+ },
+ "GalleryApplicationProperties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The description of this gallery Application Definition resource. This property is updatable."
+ },
+ "eula": {
+ "type": "string",
+ "description": "The Eula agreement for the gallery Application Definition."
+ },
+ "privacyStatementUri": {
+ "type": "string",
+ "description": "The privacy statement uri."
+ },
+ "releaseNoteUri": {
+ "type": "string",
+ "description": "The release note uri."
+ },
+ "endOfLifeDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable."
+ },
+ "supportedOSType": {
+ "type": "string",
+ "description": "This property allows you to specify the supported type of the OS that application is built for.
**Linux**",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ }
+ },
+ "required": [
+ "supportedOSType"
+ ],
+ "description": "Describes the properties of a gallery Application Definition."
+ },
+ "GalleryApplicationVersion": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryApplicationVersionProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the gallery Application Version that you want to create or update."
+ },
+ "GalleryApplicationVersionProperties": {
+ "properties": {
+ "publishingProfile": {
+ "$ref": "#/definitions/GalleryApplicationVersionPublishingProfile"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "title": "The current state of the gallery Application Version.",
+ "description": "The provisioning state, which only appears in the response.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ]
+ },
+ "replicationStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReplicationStatus"
+ }
+ },
+ "required": [
+ "publishingProfile"
+ ],
+ "description": "Describes the properties of a gallery Image Version."
+ },
+ "GalleryApplicationVersionPublishingProfile": {
+ "properties": {
+ "source": {
+ "$ref": "#/definitions/UserArtifactSource"
+ },
+ "contentType": {
+ "type": "string",
+ "description": "Optional. May be used to help process this file. The type of file contained in the source, e.g. zip, json, etc."
+ },
+ "enableHealthCheck": {
+ "type": "boolean",
+ "description": "Optional. Whether or not this application reports health."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryArtifactPublishingProfileBase"
+ }
+ ],
+ "required": [
+ "source"
+ ],
+ "description": "The publishing profile of a gallery Image Version."
+ },
+ "UserArtifactSource": {
+ "properties": {
+ "fileName": {
+ "type": "string",
+ "description": "Required. The fileName of the artifact."
+ },
+ "mediaLink": {
+ "type": "string",
+ "description": "Required. The mediaLink of the artifact, must be a readable storage blob."
+ }
+ },
+ "required": [
+ "fileName",
+ "mediaLink"
+ ],
+ "description": "The source image from which the Image Version is going to be created."
+ },
+ "GalleryImage": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryImageProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the gallery Image Definition that you want to create or update."
+ },
+ "GalleryImageProperties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "The description of this gallery Image Definition resource. This property is updatable."
+ },
+ "eula": {
+ "type": "string",
+ "description": "The Eula agreement for the gallery Image Definition."
+ },
+ "privacyStatementUri": {
+ "type": "string",
+ "description": "The privacy statement uri."
+ },
+ "releaseNoteUri": {
+ "type": "string",
+ "description": "The release note uri."
+ },
+ "osType": {
+ "type": "string",
+ "description": "This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image.
Possible values are:
**Windows**
**Linux**",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemTypes",
+ "modelAsString": false
+ }
+ },
+ "osState": {
+ "type": "string",
+ "description": "This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.",
+ "enum": [
+ "Generalized",
+ "Specialized"
+ ],
+ "x-ms-enum": {
+ "name": "OperatingSystemStateTypes",
+ "modelAsString": false
+ }
+ },
+ "hyperVGeneration": {
+ "type": "string",
+ "description": "The hypervisor generation of the Virtual Machine. Applicable to OS disks only.",
+ "enum": [
+ "V1",
+ "V2"
+ ],
+ "x-ms-enum": {
+ "name": "HyperVGeneration",
+ "modelAsString": true
+ }
+ },
+ "endOfLifeDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable."
+ },
+ "identifier": {
+ "$ref": "#/definitions/GalleryImageIdentifier"
+ },
+ "recommended": {
+ "$ref": "#/definitions/RecommendedMachineConfiguration"
+ },
+ "disallowed": {
+ "$ref": "#/definitions/Disallowed"
+ },
+ "purchasePlan": {
+ "$ref": "#/definitions/ImagePurchasePlan"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "title": "The current state of the gallery Image Definition.",
+ "description": "The provisioning state, which only appears in the response.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ]
+ }
+ },
+ "required": [
+ "osType",
+ "osState",
+ "identifier"
+ ],
+ "description": "Describes the properties of a gallery Image Definition."
+ },
+ "GalleryImageIdentifier": {
+ "properties": {
+ "publisher": {
+ "type": "string",
+ "description": "The name of the gallery Image Definition publisher."
+ },
+ "offer": {
+ "type": "string",
+ "description": "The name of the gallery Image Definition offer."
+ },
+ "sku": {
+ "type": "string",
+ "description": "The name of the gallery Image Definition SKU."
+ }
+ },
+ "required": [
+ "publisher",
+ "offer",
+ "sku"
+ ],
+ "description": "This is the gallery Image Definition identifier."
+ },
+ "RecommendedMachineConfiguration": {
+ "properties": {
+ "vCPUs": {
+ "$ref": "#/definitions/ResourceRange"
+ },
+ "memory": {
+ "$ref": "#/definitions/ResourceRange"
+ }
+ },
+ "description": "The properties describe the recommended machine configuration for this Image Definition. These properties are updatable."
+ },
+ "ResourceRange": {
+ "properties": {
+ "min": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The minimum number of the resource."
+ },
+ "max": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum number of the resource."
+ }
+ },
+ "description": "Describes the resource range."
+ },
+ "Disallowed": {
+ "properties": {
+ "diskTypes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of disk types."
+ }
+ },
+ "description": "Describes the disallowed disk types."
+ },
+ "ImagePurchasePlan": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The plan ID."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "The product ID."
+ }
+ },
+ "description": "Describes the gallery Image Definition purchase plan. This is used by marketplace images."
+ },
+ "GalleryImageVersion": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GalleryImageVersionProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "Specifies information about the gallery Image Version that you want to create or update."
+ },
+ "GalleryImageVersionProperties": {
+ "properties": {
+ "publishingProfile": {
+ "$ref": "#/definitions/GalleryImageVersionPublishingProfile"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "title": "The current state of the gallery Image Version.",
+ "description": "The provisioning state, which only appears in the response.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ]
+ },
+ "storageProfile": {
+ "$ref": "#/definitions/GalleryImageVersionStorageProfile"
+ },
+ "replicationStatus": {
+ "readOnly": true,
+ "$ref": "#/definitions/ReplicationStatus"
+ }
+ },
+ "required": [
+ "storageProfile"
+ ],
+ "description": "Describes the properties of a gallery Image Version."
+ },
+ "GalleryArtifactPublishingProfileBase": {
+ "properties": {
+ "targetRegions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TargetRegion"
+ },
+ "description": "The target regions where the Image Version is going to be replicated to. This property is updatable."
+ },
+ "replicaCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable."
+ },
+ "excludeFromLatest": {
+ "type": "boolean",
+ "description": "If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version."
+ },
+ "publishedDate": {
+ "readOnly": true,
+ "type": "string",
+ "format": "date-time",
+ "description": "The timestamp for when the gallery Image Version is published."
+ },
+ "endOfLifeDate": {
+ "type": "string",
+ "format": "date-time",
+ "description": "The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable."
+ },
+ "storageAccountType": {
+ "type": "string",
+ "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
+ "enum": [
+ "Standard_LRS",
+ "Standard_ZRS"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "modelAsString": true
+ }
+ }
+ },
+ "description": "Describes the basic gallery artifact publishing profile."
+ },
+ "TargetRegion": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The name of the region."
+ },
+ "regionalReplicaCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The number of replicas of the Image Version to be created per region. This property is updatable."
+ },
+ "storageAccountType": {
+ "type": "string",
+ "description": "Specifies the storage account type to be used to store the image. This property is not updatable.",
+ "enum": [
+ "Standard_LRS",
+ "Standard_ZRS"
+ ],
+ "x-ms-enum": {
+ "name": "StorageAccountType",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "description": "Describes the target region information."
+ },
+ "GalleryArtifactSource": {
+ "properties": {
+ "managedImage": {
+ "$ref": "#/definitions/ManagedArtifact"
+ }
+ },
+ "required": [
+ "managedImage"
+ ],
+ "description": "The source image from which the Image Version is going to be created."
+ },
+ "ManagedArtifact": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The managed artifact id."
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "The managed artifact."
+ },
+ "GalleryImageVersionPublishingProfile": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryArtifactPublishingProfileBase"
+ }
+ ],
+ "description": "The publishing profile of a gallery Image Version."
+ },
+ "GalleryImageVersionStorageProfile": {
+ "properties": {
+ "source": {
+ "$ref": "#/definitions/GalleryArtifactVersionSource"
+ },
+ "osDiskImage": {
+ "$ref": "#/definitions/GalleryOSDiskImage"
+ },
+ "dataDiskImages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryDataDiskImage"
+ },
+ "description": "A list of data disk images."
+ }
+ },
+ "description": "This is the storage profile of a Gallery Image Version."
+ },
+ "GalleryArtifactVersionSource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user image."
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "description": "The gallery artifact version source."
+ },
+ "GalleryOSDiskImage": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryDiskImage"
+ }
+ ],
+ "description": "This is the OS disk image."
+ },
+ "GalleryDataDiskImage": {
+ "properties": {
+ "lun": {
+ "type": "integer",
+ "format": "int32",
+ "description": "This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/GalleryDiskImage"
+ }
+ ],
+ "required": [
+ "lun"
+ ],
+ "description": "This is the data disk image."
+ },
+ "GalleryDiskImage": {
+ "properties": {
+ "sizeInGB": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "This property indicates the size of the VHD to be created."
+ },
+ "hostCaching": {
+ "type": "string",
+ "description": "The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'",
+ "enum": [
+ "None",
+ "ReadOnly",
+ "ReadWrite"
+ ],
+ "x-ms-enum": {
+ "name": "HostCaching",
+ "modelAsString": false
+ }
+ },
+ "source": {
+ "$ref": "#/definitions/GalleryArtifactVersionSource"
+ }
+ },
+ "description": "This is the disk image base class."
+ },
+ "ReplicationStatus": {
+ "properties": {
+ "aggregatedState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "This is the aggregated replication status based on all the regional replication status flags.",
+ "enum": [
+ "Unknown",
+ "InProgress",
+ "Completed",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "AggregatedReplicationState",
+ "modelAsString": true
+ }
+ },
+ "summary": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegionalReplicationStatus"
+ },
+ "description": "This is a summary of replication status for each region."
+ }
+ },
+ "description": "This is the replication status of the gallery Image Version."
+ },
+ "RegionalReplicationStatus": {
+ "properties": {
+ "region": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The region to which the gallery Image Version is being replicated to."
+ },
+ "state": {
+ "readOnly": true,
+ "type": "string",
+ "description": "This is the regional replication state.",
+ "enum": [
+ "Unknown",
+ "Replicating",
+ "Completed",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "ReplicationState",
+ "modelAsString": true
+ }
+ },
+ "details": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The details of the replication status."
+ },
+ "progress": {
+ "readOnly": true,
+ "type": "integer",
+ "format": "int32",
+ "description": "It indicates progress of the replication job."
+ }
+ },
+ "description": "This is the regional replication status."
+ },
+ "GalleryList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Gallery"
+ },
+ "description": "A list of galleries."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Galleries operation response."
+ },
+ "GalleryImageList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryImage"
+ },
+ "description": "A list of Shared Image Gallery images."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call ListNext() with this to fetch the next page of gallery Image Definitions."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery Images operation response."
+ },
+ "GalleryImageVersionList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryImageVersion"
+ },
+ "description": "A list of gallery Image Versions."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of gallery Image Versions. Call ListNext() with this to fetch the next page of gallery Image Versions."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery Image version operation response."
+ },
+ "GalleryApplicationList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryApplication"
+ },
+ "description": "A list of Gallery Applications."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery Applications operation response."
+ },
+ "GalleryApplicationVersionList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GalleryApplicationVersion"
+ },
+ "description": "A list of gallery Application Versions."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions."
+ }
+ },
+ "required": [
+ "value"
+ ],
+ "description": "The List Gallery Application version operation response."
+ },
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/ApiError"
+ }
+ },
+ "description": "An error response from the Gallery service."
+ },
+ "ApiError": {
+ "properties": {
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ApiErrorBase"
+ },
+ "description": "The Api error details"
+ },
+ "innererror": {
+ "$ref": "#/definitions/InnerError",
+ "description": "The Api inner error"
+ },
+ "code": {
+ "type": "string",
+ "description": "The error code."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ }
+ },
+ "description": "Api error."
+ },
+ "ApiErrorBase": {
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "The error code."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error."
+ },
+ "message": {
+ "type": "string",
+ "description": "The error message."
+ }
+ },
+ "description": "Api error base."
+ },
+ "InnerError": {
+ "properties": {
+ "exceptiontype": {
+ "type": "string",
+ "description": "The exception type."
+ },
+ "errordetail": {
+ "type": "string",
+ "description": "The internal error message or exception dump."
+ }
+ },
+ "description": "Inner error details."
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "description": "The name of the resource group."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ }
+ }
+}
diff --git a/specification/compute/resource-manager/readme.csharp.md b/specification/compute/resource-manager/readme.csharp.md
index 3e124e82fb59..a3fe8bb4dac8 100644
--- a/specification/compute/resource-manager/readme.csharp.md
+++ b/specification/compute/resource-manager/readme.csharp.md
@@ -19,7 +19,7 @@ csharp:
``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile)
namespace: Microsoft.Azure.Management.Compute
-output-folder: $(csharp-sdks-folder)/Compute/Management.Compute/Generated
+output-folder: $(csharp-sdks-folder)/compute/Microsoft.Azure.Management.Compute/src/Generated
```
## Batch settings
@@ -74,4 +74,4 @@ output-folder: $(csharp-sdks-folder)/$(csharp-profile)/Compute/Management.Comput
batch:
- tag: profile-hybrid-2019-03-01
- ```
\ No newline at end of file
+ ```
diff --git a/specification/compute/resource-manager/readme.go.md b/specification/compute/resource-manager/readme.go.md
index 998dc934c02c..2cd48aec7d6a 100644
--- a/specification/compute/resource-manager/readme.go.md
+++ b/specification/compute/resource-manager/readme.go.md
@@ -12,6 +12,7 @@ go:
```yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-07-01
- tag: package-2019-03-01
- tag: package-2018-10-01
- tag: package-2018-06
@@ -28,6 +29,16 @@ batch:
- tag: package-container-service-2015-11-preview
```
+### Tag: package-2019-07-01 and go
+
+These settings apply only when `--tag=package-2019-07-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag)=='package-2019-07-01' && $(go)
+namespace: compute
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-07-01/$(namespace)
+```
+
### Tag: package-2019-03-01 and go
These settings apply only when `--tag=package-2019-03-01 --go` is specified on the command line.
diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md
index f50fd8354c0e..c1b299be432b 100644
--- a/specification/compute/resource-manager/readme.md
+++ b/specification/compute/resource-manager/readme.md
@@ -34,7 +34,7 @@ These are the global settings for the Compute API.
title: ComputeManagementClient
description: Compute Client
openapi-type: arm
-tag: package-2019-03-01
+tag: package-2019-07-01
directive:
- where:
@@ -126,7 +126,14 @@ directive:
- $.definitions.ImageUpdate
suppress:
- RequiredPropertiesMissingInResourceModel
-
+ - where:
+ - $.definitions.DedicatedHostGroupUpdate
+ suppress:
+ - RequiredPropertiesMissingInResourceModel
+ - where:
+ - $.definitions.DedicatedHostUpdate
+ suppress:
+ - RequiredPropertiesMissingInResourceModel
- where:
- $.definitions.VirtualMachineScaleSetVM
@@ -189,6 +196,20 @@ directive:
- ACS service is deprecated so a PATCH endpoint won't be implemented
```
+### Tag: package-2019-07-01
+
+These settings apply only when `--tag=package-2019-07-01` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-07-01'
+input-file:
+- Microsoft.Compute/stable/2019-03-01/compute.json
+- Microsoft.Compute/stable/2019-03-01/runCommands.json
+- Microsoft.Compute/stable/2019-04-01/skus.json
+- Microsoft.Compute/stable/2019-03-01/disk.json
+- Microsoft.Compute/stable/2019-07-01/gallery.json
+- Microsoft.ContainerService/stable/2017-01-31/containerService.json
+```
+
### Tag: package-2019-03-01
These settings apply only when `--tag=package-2019-03-01` is specified on the command line.
@@ -198,7 +219,7 @@ input-file:
- Microsoft.Compute/stable/2019-03-01/compute.json
- Microsoft.Compute/stable/2019-03-01/runCommands.json
- Microsoft.Compute/stable/2019-04-01/skus.json
-- Microsoft.Compute/stable/2018-09-30/disk.json
+- Microsoft.Compute/stable/2019-03-01/disk.json
- Microsoft.Compute/stable/2019-03-01/gallery.json
- Microsoft.ContainerService/stable/2017-01-31/containerService.json
```
@@ -543,6 +564,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
after_scripts:
- python ./scripts/multiapi_init_gen.py azure-mgmt-compute
@@ -645,3 +667,57 @@ input-file:
- Microsoft.Compute/stable/2017-12-01/compute.json
- Microsoft.Compute/stable/2017-03-30/disk.json
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Compute/stable/2019-03-01/compute.json
+ - $(this-folder)/Microsoft.Compute/stable/2019-03-01/runCommands.json
+ - $(this-folder)/Microsoft.Compute/stable/2019-04-01/skus.json
+ - $(this-folder)/Microsoft.Compute/stable/2019-03-01/disk.json
+ - $(this-folder)/Microsoft.Compute/stable/2019-07-01/gallery.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2017-01-31/containerService.json
+ - $(this-folder)/Microsoft.Compute/stable/2019-03-01/gallery.json
+ - $(this-folder)/Microsoft.Compute/stable/2018-10-01/compute.json
+ - $(this-folder)/Microsoft.Compute/stable/2018-10-01/runCommands.json
+ - $(this-folder)/Microsoft.Compute/stable/2017-09-01/skus.json
+ - $(this-folder)/Microsoft.Compute/stable/2018-09-30/disk.json
+ - $(this-folder)/Microsoft.Compute/stable/2018-06-01/gallery.json
+ - $(this-folder)/Microsoft.Compute/stable/2018-06-01/disk.json
+ - $(this-folder)/Microsoft.Compute/stable/2018-06-01/compute.json
+ - $(this-folder)/Microsoft.Compute/stable/2018-06-01/runCommands.json
+ - $(this-folder)/Microsoft.Compute/stable/2018-04-01/compute.json
+ - $(this-folder)/Microsoft.Compute/stable/2018-04-01/runCommands.json
+ - $(this-folder)/Microsoft.Compute/stable/2018-04-01/disk.json
+ - $(this-folder)/Microsoft.Compute/stable/2017-12-01/compute.json
+ - $(this-folder)/Microsoft.Compute/stable/2017-12-01/runCommands.json
+ - $(this-folder)/Microsoft.Compute/stable/2017-03-30/disk.json
+ - $(this-folder)/Microsoft.Compute/stable/2017-03-30/compute.json
+ - $(this-folder)/Microsoft.Compute/stable/2017-03-30/runCommands.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2016-09-30/containerService.json
+ - $(this-folder)/Microsoft.Compute/preview/2016-04-30-preview/compute.json
+ - $(this-folder)/Microsoft.Compute/preview/2016-04-30-preview/disk.json
+ - $(this-folder)/Microsoft.Compute/stable/2016-03-30/compute.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2016-03-30/containerService.json
+ - $(this-folder)/Microsoft.ContainerService/preview/2015-11-01-preview/containerService.json
+ - $(this-folder)/Microsoft.Compute/stable/2015-06-15/compute.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json
new file mode 100644
index 000000000000..5bc21e118986
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json
@@ -0,0 +1,3175 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-05-01-preview",
+ "title": "ConsumptionManagementClient",
+ "description": "Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/{scope}/providers/Microsoft.Consumption/usageDetails": {
+ "get": {
+ "tags": [
+ "UsageDetails"
+ ],
+ "operationId": "UsageDetails_List",
+ "description": "Lists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "UsageDetailsList": {
+ "$ref": "./examples/UsageDetailsList.json"
+ },
+ "UsageDetailsListFilterByTag": {
+ "$ref": "./examples/UsageDetailsListFilterByTag.json"
+ },
+ "UsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriod.json"
+ },
+ "UsageDetailsExpand": {
+ "$ref": "./examples/UsageDetailsExpand.json"
+ },
+ "UsageDetailsListByMetricActualCost": {
+ "$ref": "./examples/UsageDetailsListByMetricActualCost.json"
+ },
+ "UsageDetailsListByMetricAmortizedCost": {
+ "$ref": "./examples/UsageDetailsListByMetricAmortizedCost.json"
+ },
+ "UsageDetailsListByMetricUsage": {
+ "$ref": "./examples/UsageDetailsListByMetricUsage.json"
+ },
+ "BillingAccountUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByBillingAccount.json"
+ },
+ "BillingAccountUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByBillingAccount.json"
+ },
+ "DepartmentUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByDepartment.json"
+ },
+ "DepartmentUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByDepartment.json"
+ },
+ "EnrollmentAccountUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByEnrollmentAccount.json"
+ },
+ "EnrollmentAccountUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json"
+ },
+ "ManagementGroupUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByManagementGroup.json"
+ },
+ "ManagementGroupUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeUsageDetailsParameter"
+ },
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/additionalInfo or properties/meterDetails within a list of usage details. By default, these fields are not included when listing usage details.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter usageDetails by properties/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId, properties/publisherType or tags. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:). PublisherType Filter accepts two values azure and marketplace and it is currently supported for Web Direct Offer Type",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N usageDetails.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/metricParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/UsageDetailsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/usageDetails/download": {
+ "post": {
+ "tags": [
+ "UsageDetails"
+ ],
+ "x-ms-examples": {
+ "UsageDetailsDownload": {
+ "$ref": "./examples/UsageDetailsDownload.json"
+ },
+ "UsageDetailsDownloadByMetricUsage": {
+ "$ref": "./examples/UsageDetailsDownloadByMetricUsage.json"
+ }
+ },
+ "operationId": "UsageDetails_Download",
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "location"
+ },
+ "description": "Download usage details data.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeUsageDetailsParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/metricParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter usageDetails by properties/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId, properties/publisherType or tags. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:). PublisherType Filter accepts two values azure and marketplace and it is currently supported for Web Direct Offer Type",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/UsageDetailsDownloadResponse"
+ }
+ },
+ "202": {
+ "description": "Accepted.",
+ "headers": {
+ "Location": {
+ "description": "GET this URL to retrieve the status of the asynchronous operation.",
+ "type": "string"
+ },
+ "Retry-After": {
+ "description": "The amount of delay to use while the status of the operation is checked. The value is expressed in seconds.",
+ "type": "string"
+ },
+ "Azure-AsyncOperation": {
+ "description": "To get the progress of the operation, call GET operation on the URL in Azure-AsyncOperation header field.",
+ "type": "string"
+ }
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/marketplaces": {
+ "get": {
+ "tags": [
+ "Marketplaces"
+ ],
+ "x-ms-odata": "#/definitions/Marketplace",
+ "operationId": "Marketplaces_List",
+ "description": "Lists the marketplaces for a scope at the defined scope. Marketplaces are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "SubscriptionMarketplacesList": {
+ "$ref": "./examples/MarketplacesList.json"
+ },
+ "SubscriptionMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesListForBillingPeriod.json"
+ },
+ "BillingAccountMarketplacesList": {
+ "$ref": "./examples/MarketplacesByBillingAccountList.json"
+ },
+ "BillingAccountMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByBillingAccountListForBillingPeriod.json"
+ },
+ "DepartmentMarketplacesList": {
+ "$ref": "./examples/MarketplacesByDepartmentList.json"
+ },
+ "DepartmentMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByDepartment_ListByBillingPeriod.json"
+ },
+ "EnrollmentAccountMarketplacesList": {
+ "$ref": "./examples/MarketplacesByEnrollmentAccountList.json"
+ },
+ "EnrollmentAccountMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json"
+ },
+ "ManagementGroupMarketplacesList": {
+ "$ref": "./examples/MarketplacesByManagementGroupList.json"
+ },
+ "ManagementGroupMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByManagementGroup_ListForBillingPeriod.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "description": "May be used to filter marketplaces by properties/usageEnd (Utc time), properties/usageStart (Utc time), properties/resourceGroup, properties/instanceName or properties/instanceId. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N marketplaces.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/scopeMarketplaceParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/MarketplacesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/budgets": {
+ "get": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_List",
+ "description": "Lists all budgets for the defined scope.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "BudgetsList": {
+ "$ref": "./examples/BudgetsList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/BudgetsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/budgets/{budgetName}": {
+ "get": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_Get",
+ "description": "Gets the budget for the scope by budget name.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Budget": {
+ "$ref": "./examples/Budget.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/budgetNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_CreateOrUpdate",
+ "description": "The operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "CreateOrUpdateBudget": {
+ "$ref": "./examples/CreateOrUpdateBudget.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/budgetNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ },
+ "description": "Parameters supplied to the Create Budget operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "201": {
+ "description": "Created.",
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_Delete",
+ "description": "The operation to delete a budget.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "DeleteBudget": {
+ "$ref": "./examples/DeleteBudget.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/budgetNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/tags": {
+ "get": {
+ "tags": [
+ "Tags"
+ ],
+ "operationId": "Tags_Get",
+ "description": "Get all available tag keys for the defined scope",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Tags_Get": {
+ "$ref": "./examples/Tags.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeTagsParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/TagsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/charges": {
+ "get": {
+ "tags": [
+ "Charges"
+ ],
+ "operationId": "Charges_ListByScope",
+ "description": "Lists the charges based for the defined scope.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ChangesForBillingPeriodByEnrollmentAccount": {
+ "$ref": "./examples/ChargesForBillingPeriodByEnrollmentAccount.json"
+ },
+ "ChangesForBillingPeriodByDepartment": {
+ "$ref": "./examples/ChargesForBillingPeriodByDepartment.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeChargesParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter charges by properties/usageEnd (Utc time), properties/usageStart (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ChargeSummary"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/balances": {
+ "get": {
+ "tags": [
+ "Balances"
+ ],
+ "operationId": "Balances_GetByBillingAccount",
+ "description": "Gets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Balances": {
+ "$ref": "./examples/BalancesByBillingAccount.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Balance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/balances": {
+ "get": {
+ "tags": [
+ "Balances"
+ ],
+ "operationId": "Balances_GetForBillingPeriodByBillingAccount",
+ "description": "Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Balances": {
+ "$ref": "./examples/BalancesByBillingAccountForBillingPeriod.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/billingPeriodNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Balance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationSummaries": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsSummaries_ListByReservationOrder",
+ "description": "Lists the reservations summaries for daily or monthly grain.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationSummariesDaily": {
+ "$ref": "./examples/ReservationSummariesDaily.json"
+ },
+ "ReservationSummariesMonthly": {
+ "$ref": "./examples/ReservationSummariesMonthly.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "$ref": "#/parameters/grainParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationSummariesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationSummaries": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsSummaries_ListByReservationOrderAndReservation",
+ "description": "Lists the reservations summaries for daily or monthly grain.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationSummariesDailyWithReservationId": {
+ "$ref": "./examples/ReservationSummariesDailyWithReservationId.json"
+ },
+ "ReservationSummariesMonthlyWithReservationId": {
+ "$ref": "./examples/ReservationSummariesMonthlyWithReservationId.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "$ref": "#/parameters/reservationIdParameter"
+ },
+ {
+ "$ref": "#/parameters/grainParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationSummariesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationDetails": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsDetails_ListByReservationOrder",
+ "description": "Lists the reservations details for provided date range.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationDetails": {
+ "$ref": "./examples/ReservationDetails.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ",
+ "in": "query",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationDetailsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationDetails": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsDetails_ListByReservationOrderAndReservation",
+ "description": "Lists the reservations details for provided date range.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationDetailsWithReservationId": {
+ "$ref": "./examples/ReservationDetailsWithReservationId.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "$ref": "#/parameters/reservationIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ",
+ "in": "query",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationDetailsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/reservationRecommendations": {
+ "get": {
+ "tags": [
+ "ReservationRecommendations"
+ ],
+ "operationId": "ReservationRecommendations_List",
+ "description": "List of recommendations for purchasing reserved instances.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationRecommendations": {
+ "$ref": "./examples/ReservationRecommendationsList.json"
+ },
+ "ReservationRecommendationsFilterByScopeLookBackPeriod": {
+ "$ref": "./examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "description": "May be used to filter reservationRecommendations by properties/scope and properties/lookBackPeriod.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationRecommendationsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/pricesheets/default": {
+ "get": {
+ "tags": [
+ "PriceSheet"
+ ],
+ "operationId": "PriceSheet_Get",
+ "description": "Gets the price sheet for a scope by subscriptionId. Price sheet is available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "PriceSheet": {
+ "$ref": "./examples/PriceSheet.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the top N results.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/PriceSheetResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default": {
+ "get": {
+ "tags": [
+ "PriceSheet"
+ ],
+ "operationId": "PriceSheet_GetByBillingPeriod",
+ "description": "Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "PriceSheetForBillingPeriod": {
+ "$ref": "./examples/PriceSheetForBillingPeriod.json"
+ },
+ "PriceSheetExpand": {
+ "$ref": "./examples/PriceSheetExpand.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the top N results.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingPeriodNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/PriceSheetResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/forecasts": {
+ "get": {
+ "tags": [
+ "Forecasts"
+ ],
+ "x-ms-odata": "#/definitions/Forecast",
+ "operationId": "Forecasts_List",
+ "description": "Lists the forecast charges by subscriptionId.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ForecastsList": {
+ "$ref": "./examples/ForecastsList.json"
+ },
+ "ForecastsListFilterByGrain": {
+ "$ref": "./examples/ForecastsListFilterByGrain.json"
+ },
+ "ForecastsListFilterByDates": {
+ "$ref": "./examples/ForecastsListFilterByDates.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "description": "May be used to filter forecasts by properties/usageDate (Utc time), properties/chargeType or properties/grain. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ForecastsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Consumption/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Lists all of the available consumption REST API operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Consumption/aggregatedcost": {
+ "get": {
+ "tags": [
+ "AggregatedCost"
+ ],
+ "operationId": "AggregatedCost_GetByManagementGroup",
+ "description": "Provides the aggregate cost of a management group and all child management groups by current billing period.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "AggregatedCostByManagementGroup": {
+ "$ref": "./examples/AggregatedCostByManagementGroup.json"
+ },
+ "AggregatedCostByManagementGroupFilterByDate": {
+ "$ref": "./examples/AggregatedCostByManagementGroupFilterByDate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter aggregated cost by properties/usageStart (Utc time), properties/usageEnd (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ManagementGroupAggregatedCostResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/Microsoft.Consumption/aggregatedcost": {
+ "get": {
+ "tags": [
+ "AggregatedCost"
+ ],
+ "operationId": "AggregatedCost_GetForBillingPeriodByManagementGroup",
+ "description": "Provides the aggregate cost of a management group and all child management groups by specified billing period",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "AggregatedCostListForBillingPeriodByManagementGroup": {
+ "$ref": "./examples/AggregatedCostForBillingPeriodByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/billingPeriodNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ManagementGroupAggregatedCostResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "MeterDetails": {
+ "description": "The properties of the meter detail.",
+ "properties": {
+ "meterName": {
+ "description": "The name of the meter, within the given meter category",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterCategory": {
+ "description": "The category of the meter, for example, 'Cloud services', 'Networking', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterSubCategory": {
+ "description": "The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterLocation": {
+ "description": "The location in which the Azure service is available.",
+ "type": "string",
+ "readOnly": true
+ },
+ "totalIncludedQuantity": {
+ "description": "The total included quantity associated with the offer.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "pretaxStandardRate": {
+ "description": "The pretax listing price.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "serviceName": {
+ "description": "The name of the service.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceTier": {
+ "description": "The service tier.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UsageDetail": {
+ "description": "An usage detail resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/UsageDetailProperties",
+ "title": "Usage detail properties"
+ }
+ }
+ },
+ "UsageDetailsListResult": {
+ "description": "Result of listing usage details. It contains a list of available usage details in reverse chronological order by billing period.",
+ "properties": {
+ "value": {
+ "description": "The list of usage details.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/UsageDetail"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UsageDetailProperties": {
+ "description": "The properties of the usage detail.",
+ "properties": {
+ "billingAccountId": {
+ "description": "Billing Account identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "billingAccountName": {
+ "description": "Billing Account Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "billingPeriodStartDate": {
+ "description": "The billing period start date.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "billingPeriodEndDate": {
+ "description": "The billing period end date.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "billingProfileId": {
+ "description": "Billing Profile identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "billingProfileName": {
+ "description": "Billing Profile Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "accountOwnerId": {
+ "description": "Account Owner Id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "accountName": {
+ "description": "Account Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "subscriptionId": {
+ "description": "Subscription guid.",
+ "type": "string",
+ "readOnly": true
+ },
+ "subscriptionName": {
+ "description": "Subscription name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "date": {
+ "description": "Date for the usage record.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "product": {
+ "description": "Product name for the consumed service or purchase. Not available for Marketplace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "partNumber": {
+ "description": "Part Number of the service used. Can be used to join with the price sheet. Not available for marketplace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "meterDetails": {
+ "description": "The details about the meter. By default this is not populated, unless it's specified in $expand.",
+ "$ref": "#/definitions/MeterDetailsResponse",
+ "readOnly": true
+ },
+ "quantity": {
+ "description": "The usage quantity.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "effectivePrice": {
+ "description": "Effective Price that’s charged for the usage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "cost": {
+ "description": "The amount of cost before tax.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "unitPrice": {
+ "description": "Unit Price is the price applicable to you. (your EA or other contract price).",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "billingCurrency": {
+ "description": "Billing Currency.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceLocation": {
+ "description": "Resource Location.",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumedService": {
+ "description": "Consumed service name. Name of the azure resource provider that emits the usage or was purchased. This value is not provided for marketplace usage.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceId": {
+ "description": "Azure resource manager resource identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceName": {
+ "description": "Resource Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceInfo1": {
+ "description": "Service Info 1.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceInfo2": {
+ "description": "Service Info 2.",
+ "type": "string",
+ "readOnly": true
+ },
+ "additionalInfo": {
+ "description": "Additional details of this usage item. By default this is not populated, unless it's specified in $expand. Use this field to get usage line item specific details such as the actual VM Size (ServiceType) or the ratio in which the reservation discount is applied.",
+ "type": "string",
+ "readOnly": true
+ },
+ "invoiceSection": {
+ "description": "Invoice Section Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "costCenter": {
+ "description": "The cost center of this department if it is a department and a cost center is provided.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceGroup": {
+ "description": "Resource Group Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationId": {
+ "description": "ARM resource id of the reservation. Only applies to records relevant to reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationName": {
+ "description": "User provided display name of the reservation. Last known name for a particular day is populated in the daily data. Only applies to records relevant to reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "productOrderId": {
+ "description": "Product Order Id. For reservations this is the Reservation Order ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "productOrderName": {
+ "description": "Product Order Name. For reservations this is the SKU that was purchased.",
+ "type": "string",
+ "readOnly": true
+ },
+ "offerId": {
+ "description": "Offer Id. Ex: MS-AZR-0017P, MS-AZR-0148P.",
+ "type": "string",
+ "readOnly": true
+ },
+ "isAzureCreditEligible": {
+ "description": "Is Azure Credit Eligible.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "term": {
+ "description": "Term (in months). 1 month for monthly recurring purchase. 12 months for a 1 year reservation. 36 months for a 3 year reservation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publisherName": {
+ "description": "Publisher Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publisherType": {
+ "description": "Publisher Type.",
+ "type": "string",
+ "readOnly": true
+ },
+ "planName": {
+ "description": "Plan Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "chargeType": {
+ "description": "Indicates a charge represents credits, usage, a Marketplace purchase, a reservation fee, or a refund.",
+ "type": "string",
+ "readOnly": true
+ },
+ "frequency": {
+ "description": "Indicates how frequently this charge will occur. OneTime for purchases which only happen once, Monthly for fees which recur every month, and UsageBased for charges based on how much a service is used.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UsageDetailsDownloadResponse": {
+ "description": "Download response of Usage Details.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DownloadUrl",
+ "title": "Download url properties."
+ }
+ }
+ },
+ "DownloadUrl": {
+ "description": "A secure URL that can be used to download a an entity until the URL expires.",
+ "properties": {
+ "downloadUrl": {
+ "description": "The URL to the csv file.",
+ "type": "string",
+ "readOnly": true
+ },
+ "validTill": {
+ "description": "The time in UTC at which this download URL will expire.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Marketplace": {
+ "description": "An marketplace resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MarketplaceProperties",
+ "title": "Marketplace properties"
+ }
+ }
+ },
+ "MarketplacesListResult": {
+ "description": "Result of listing marketplaces. It contains a list of available marketplaces in reverse chronological order by billing period.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of marketplaces.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Marketplace"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "MarketplaceProperties": {
+ "description": "The properties of the marketplace usage detail.",
+ "type": "object",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the usage belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageStart": {
+ "description": "The start of the date time range covered by the usage detail.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usageEnd": {
+ "description": "The end of the date time range covered by the usage detail.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "resourceRate": {
+ "description": "The marketplace resource rate.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "offerName": {
+ "description": "The type of offer.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceGroup": {
+ "description": "The name of resource group.",
+ "type": "string",
+ "readOnly": true
+ },
+ "orderNumber": {
+ "description": "The order number.",
+ "type": "string",
+ "readOnly": true
+ },
+ "instanceName": {
+ "description": "The name of the resource instance that the usage is about.",
+ "type": "string",
+ "readOnly": true
+ },
+ "instanceId": {
+ "description": "The uri of the resource instance that the usage is about.",
+ "type": "string",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumedQuantity": {
+ "description": "The quantity of usage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "unitOfMeasure": {
+ "description": "The unit of measure.",
+ "type": "string",
+ "readOnly": true
+ },
+ "pretaxCost": {
+ "description": "The amount of cost before tax.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "isEstimated": {
+ "description": "The estimated usage is subject to change.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID).",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "subscriptionGuid": {
+ "description": "Subscription guid.",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "subscriptionName": {
+ "description": "Subscription name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "accountName": {
+ "description": "Account name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "departmentName": {
+ "description": "Department name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumedService": {
+ "description": "Consumed service name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "costCenter": {
+ "description": "The cost center of this department if it is a department and a costcenter exists",
+ "type": "string",
+ "readOnly": true
+ },
+ "additionalProperties": {
+ "description": "Additional details of this usage item. By default this is not populated, unless it's specified in $expand.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publisherName": {
+ "description": "The name of publisher.",
+ "type": "string",
+ "readOnly": true
+ },
+ "planName": {
+ "description": "The name of plan.",
+ "type": "string",
+ "readOnly": true
+ },
+ "isRecurringCharge": {
+ "description": "Flag indicating whether this is a recurring charge or not.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "Balance": {
+ "description": "A balance resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BalanceProperties",
+ "title": "Balance properties"
+ }
+ }
+ },
+ "BalanceProperties": {
+ "description": "The properties of the balance.",
+ "type": "object",
+ "properties": {
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "beginningBalance": {
+ "description": "The beginning balance for the billing period.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "endingBalance": {
+ "description": "The ending balance for the billing period (for open periods this will be updated daily).",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "newPurchases": {
+ "description": "Total new purchase amount.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "adjustments": {
+ "description": "Total adjustment amount.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "utilized": {
+ "description": "Total Commitment usage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "serviceOverage": {
+ "description": "Overage for Azure services.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "chargesBilledSeparately": {
+ "description": "Charges Billed separately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "totalOverage": {
+ "description": "serviceOverage + chargesBilledSeparately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "totalUsage": {
+ "description": "Azure service commitment + total Overage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "azureMarketplaceServiceCharges": {
+ "description": "Total charges for Azure Marketplace.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "billingFrequency": {
+ "description": "The billing frequency.",
+ "type": "string",
+ "enum": [
+ "Month",
+ "Quarter",
+ "Year"
+ ],
+ "x-ms-enum": {
+ "name": "BillingFrequency",
+ "modelAsString": true
+ }
+ },
+ "priceHidden": {
+ "description": "Price is hidden or not.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "newPurchasesDetails": {
+ "description": "List of new purchases.",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "the name of new purchase.",
+ "type": "string",
+ "readOnly": true
+ },
+ "value": {
+ "description": "the value of new purchase.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "readOnly": true
+ },
+ "adjustmentDetails": {
+ "description": "List of Adjustments (Promo credit, SIE credit etc.).",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "the name of new adjustment.",
+ "type": "string",
+ "readOnly": true
+ },
+ "value": {
+ "description": "the value of new adjustment.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationSummary": {
+ "description": "reservation summary resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ReservationSummaryProperties",
+ "title": "Reservation Summary properties"
+ }
+ }
+ },
+ "ReservationSummariesListResult": {
+ "description": "Result of listing reservation summaries.",
+ "properties": {
+ "value": {
+ "description": "The list of reservation summaries.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ReservationSummary"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationSummaryProperties": {
+ "description": "The properties of the reservation summary.",
+ "properties": {
+ "reservationOrderId": {
+ "description": "The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationId": {
+ "description": "The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "skuName": {
+ "description": "This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservedHours": {
+ "description": "This is the total hours reserved. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "usageDate": {
+ "description": "Data corresponding to the utilization record. If the grain of data is monthly, it will be first day of month.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usedHours": {
+ "description": "Total used hours by the reservation",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "minUtilizationPercentage": {
+ "description": "This is the minimum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 10%, this field will return 10% for that day",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "avgUtilizationPercentage": {
+ "description": "This is average utilization for the entire time range. (day or month depending on the grain)",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "maxUtilizationPercentage": {
+ "description": "This is the maximum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 100%, this field will return 100% for that day.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationDetail": {
+ "description": "reservation detail resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ReservationDetailProperties",
+ "title": "Reservation Detail properties"
+ }
+ }
+ },
+ "ReservationDetailsListResult": {
+ "description": "Result of listing reservation details.",
+ "properties": {
+ "value": {
+ "description": "The list of reservation details.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ReservationDetail"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationDetailProperties": {
+ "description": "The properties of the reservation detail.",
+ "properties": {
+ "reservationOrderId": {
+ "description": "The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationId": {
+ "description": "The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "skuName": {
+ "description": "This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservedHours": {
+ "description": "This is the total hours reserved for the day. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "usageDate": {
+ "description": "The date on which consumption occurred.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usedHours": {
+ "description": "This is the total hours used by the instance.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "instanceId": {
+ "description": "This identifier is the name of the resource or the fully qualified Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "totalReservedQuantity": {
+ "description": "This is the total count of instances that are reserved for the reservationId.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationRecommendation": {
+ "description": "Reservation recommendation resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "$ref": "#/definitions/ResourceAttributes"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ReservationRecommendationProperties",
+ "title": "Reservation Recommendation properties"
+ }
+ }
+ },
+ "ReservationRecommendationsListResult": {
+ "description": "Result of listing reservation recommendations.",
+ "properties": {
+ "value": {
+ "description": "The list of reservation recommendations.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ReservationRecommendation"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationRecommendationProperties": {
+ "description": "The properties of the reservation recommendation.",
+ "properties": {
+ "lookBackPeriod": {
+ "description": "The number of days of usage to look back for recommendation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID)",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "term": {
+ "description": "RI recommendations in one or three year terms.",
+ "type": "string",
+ "readOnly": true
+ },
+ "costWithNoReservedInstances": {
+ "description": "The total amount of cost without reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "recommendedQuantity": {
+ "description": "Recommended quality for reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "totalCostWithReservedInstances": {
+ "description": "The total amount of cost with reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "netSavings": {
+ "description": "Total estimated savings with reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "firstUsageDate": {
+ "description": "The usage date for looking back.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "scope": {
+ "description": "Shared or single recommendation.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "TagsResult": {
+ "description": "A resource listing all tags.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/TagProperties",
+ "title": "Tag properties"
+ }
+ }
+ },
+ "TagProperties": {
+ "description": "The properties of the tag.",
+ "properties": {
+ "tags": {
+ "description": "A list of Tag.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Tag"
+ }
+ }
+ }
+ },
+ "Tag": {
+ "description": "The tag resource.",
+ "properties": {
+ "key": {
+ "description": "Tag key.",
+ "type": "string"
+ }
+ }
+ },
+ "BudgetsListResult": {
+ "description": "Result of listing budgets. It contains a list of available budgets in the scope provided.",
+ "properties": {
+ "value": {
+ "description": "The list of budgets.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Budget": {
+ "description": "A budget resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BudgetProperties",
+ "title": "Budget properties"
+ }
+ }
+ },
+ "BudgetProperties": {
+ "description": "The properties of the budget.",
+ "properties": {
+ "category": {
+ "description": "The category of the budget, whether the budget tracks cost or usage.",
+ "type": "string",
+ "enum": [
+ "Cost",
+ "Usage"
+ ],
+ "x-ms-enum": {
+ "name": "CategoryType",
+ "modelAsString": true
+ }
+ },
+ "amount": {
+ "description": "The total amount of cost to track with the budget",
+ "type": "number",
+ "format": "decimal"
+ },
+ "timeGrain": {
+ "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain.",
+ "type": "string",
+ "enum": [
+ "Monthly",
+ "Quarterly",
+ "Annually"
+ ],
+ "x-ms-enum": {
+ "name": "TimeGrainType",
+ "modelAsString": true
+ }
+ },
+ "timePeriod": {
+ "description": "Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.",
+ "$ref": "#/definitions/BudgetTimePeriod"
+ },
+ "filters": {
+ "description": "May be used to filter budgets by resource group, resource, or meter.",
+ "type": "object",
+ "$ref": "#/definitions/Filters"
+ },
+ "currentSpend": {
+ "description": "The current amount of cost which is being tracked for a budget.",
+ "$ref": "#/definitions/CurrentSpend",
+ "readOnly": true
+ },
+ "notifications": {
+ "type": "object",
+ "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications.",
+ "additionalProperties": {
+ "type": "object",
+ "$ref": "#/definitions/Notification"
+ },
+ "maxItems": 5
+ }
+ },
+ "required": [
+ "category",
+ "amount",
+ "timeGrain",
+ "timePeriod"
+ ]
+ },
+ "BudgetTimePeriod": {
+ "description": "The start and end date for a budget.",
+ "properties": {
+ "startDate": {
+ "description": "The start date for the budget.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "endDate": {
+ "description": "The end date for the budget. If not provided, we default this to 10 years from the start date.",
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "required": [
+ "startDate"
+ ]
+ },
+ "Filters": {
+ "description": "May be used to filter budgets by resource group, resource, or meter.",
+ "properties": {
+ "resourceGroups": {
+ "description": "The list of filters on resource groups, allowed at subscription level only.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "maxItems": 10
+ },
+ "resources": {
+ "description": "The list of filters on resources.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "maxItems": 10
+ },
+ "meters": {
+ "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. ",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "minItems": 0,
+ "maxItems": 10
+ },
+ "tags": {
+ "type": "object",
+ "description": "The dictionary of filters on tags.",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "minItems": 0,
+ "maxItems": 10
+ }
+ }
+ },
+ "CurrentSpend": {
+ "description": "The current amount of cost which is being tracked for a budget.",
+ "properties": {
+ "amount": {
+ "description": "The total amount of cost which is being tracked by the budget.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "The unit of measure for the budget amount.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Notification": {
+ "description": "The notification associated with a budget.",
+ "properties": {
+ "enabled": {
+ "description": "The notification is enabled or not.",
+ "type": "boolean"
+ },
+ "operator": {
+ "description": "The comparison operator.",
+ "type": "string",
+ "enum": [
+ "EqualTo",
+ "GreaterThan",
+ "GreaterThanOrEqualTo"
+ ],
+ "x-ms-enum": {
+ "name": "OperatorType",
+ "modelAsString": true
+ }
+ },
+ "threshold": {
+ "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.",
+ "type": "number",
+ "format": "decimal"
+ },
+ "contactEmails": {
+ "description": "Email addresses to send the budget notification to when the threshold is exceeded.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "maxItems": 50
+ },
+ "contactRoles": {
+ "description": "Contact roles to send the budget notification to when the threshold is exceeded.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "contactGroups": {
+ "description": "Action groups to send the budget notification to when the threshold is exceeded.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "maxItems": 50
+ }
+ },
+ "required": [
+ "enabled",
+ "operator",
+ "threshold",
+ "contactEmails"
+ ]
+ },
+ "PriceSheetResult": {
+ "description": "An pricesheet resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PriceSheetModel",
+ "title": "Price sheet properties"
+ }
+ }
+ },
+ "PriceSheetModel": {
+ "description": "price sheet result. It contains the pricesheet associated with billing period",
+ "properties": {
+ "pricesheets": {
+ "description": "Price sheet",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/PriceSheetProperties"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PriceSheetProperties": {
+ "description": "The properties of the price sheet.",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the usage belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID)",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "meterDetails": {
+ "description": "The details about the meter. By default this is not populated, unless it's specified in $expand.",
+ "$ref": "#/definitions/MeterDetails",
+ "readOnly": true
+ },
+ "unitOfMeasure": {
+ "description": "Unit of measure",
+ "type": "string",
+ "readOnly": true
+ },
+ "includedQuantity": {
+ "description": "Included quality for an offer",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "partNumber": {
+ "description": "Part Number",
+ "type": "string",
+ "readOnly": true
+ },
+ "unitPrice": {
+ "description": "Unit Price",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currencyCode": {
+ "description": "Currency Code",
+ "type": "string",
+ "readOnly": true
+ },
+ "offerId": {
+ "description": "Offer Id",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Forecast": {
+ "description": "A forecast resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ForecastProperties",
+ "title": "Forecast properties"
+ }
+ }
+ },
+ "ForecastsListResult": {
+ "description": "Result of listing forecasts. It contains a list of available forecasts.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of forecasts.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Forecast"
+ }
+ }
+ }
+ },
+ "ForecastProperties": {
+ "description": "The properties of the forecast charge.",
+ "type": "object",
+ "properties": {
+ "usageDate": {
+ "description": "The usage date of the forecast.",
+ "type": "string",
+ "readOnly": true
+ },
+ "grain": {
+ "description": "The granularity of forecast.",
+ "type": "string",
+ "enum": [
+ "Daily",
+ "Monthly",
+ "Yearly"
+ ],
+ "x-ms-enum": {
+ "name": "Grain",
+ "modelAsString": true
+ }
+ },
+ "charge": {
+ "description": "The amount of charge",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "chargeType": {
+ "description": "The type of the charge. Could be actual or forecast",
+ "type": "string",
+ "enum": [
+ "Actual",
+ "Forecast"
+ ],
+ "x-ms-enum": {
+ "name": "ChargeType",
+ "modelAsString": true
+ }
+ },
+ "confidenceLevels": {
+ "description": "The details about the forecast confidence levels. This is populated only when chargeType is Forecast.",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "percentage": {
+ "description": "The percentage level of the confidence",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "bound": {
+ "description": "The boundary of the percentage, values could be 'Upper' or 'Lower'",
+ "type": "string",
+ "enum": [
+ "Upper",
+ "Lower"
+ ],
+ "x-ms-enum": {
+ "name": "Bound",
+ "modelAsString": true
+ }
+ },
+ "value": {
+ "description": "The amount of forecast within the percentage level",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ManagementGroupAggregatedCostResult": {
+ "description": "A management group aggregated cost resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ManagementGroupAggregatedCostProperties",
+ "title": "Management Group Aggregated Cost properties"
+ }
+ }
+ },
+ "ManagementGroupAggregatedCostProperties": {
+ "description": "The properties of the Management Group Aggregated Cost.",
+ "type": "object",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the aggregated cost belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageStart": {
+ "description": "The start of the date time range covered by aggregated cost.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usageEnd": {
+ "description": "The end of the date time range covered by the aggregated cost.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "azureCharges": {
+ "description": "Azure Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "marketplaceCharges": {
+ "description": "Marketplace Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "chargesBilledSeparately": {
+ "description": "Charges Billed Separately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "children": {
+ "description": "Children of a management group",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagementGroupAggregatedCostResult"
+ }
+ },
+ "includedSubscriptions": {
+ "description": "List of subscription Guids included in the calculation of aggregated cost",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "excludedSubscriptions": {
+ "description": "List of subscription Guids excluded from the calculation of aggregated cost",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ChargesListResult": {
+ "description": "Result of listing charge summary.",
+ "properties": {
+ "value": {
+ "description": "The list of charge summary",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ChargeSummary"
+ }
+ }
+ }
+ },
+ "ChargeSummary": {
+ "description": "A charge summary resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ChargeSummaryProperties",
+ "title": "Charge summary properties"
+ }
+ }
+ },
+ "ChargeSummaryProperties": {
+ "description": "The properties of the charge summary.",
+ "type": "object",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the charge belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageStart": {
+ "description": "Usage start date.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageEnd": {
+ "description": " Usage end date.",
+ "type": "string",
+ "readOnly": true
+ },
+ "azureCharges": {
+ "description": "Azure Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "chargesBilledSeparately": {
+ "description": "Charges Billed separately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "marketplaceCharges": {
+ "description": "Marketplace Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "Currency Code",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "MeterDetailsResponse": {
+ "description": "The properties of the meter detail.",
+ "properties": {
+ "meterName": {
+ "description": "The name of the meter, within the given meter category",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterCategory": {
+ "description": "The category of the meter, for example, 'Cloud services', 'Networking', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterSubCategory": {
+ "description": "The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "unitOfMeasure": {
+ "description": "The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceFamily": {
+ "description": "The service family.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorDetails": {
+ "description": "The details of the error.",
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The details of the error.",
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "Operation": {
+ "description": "A Consumption REST API operation.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}.",
+ "type": "string",
+ "readOnly": true
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft.Consumption.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: UsageDetail, etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of listing consumption operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "description": "List of consumption operations supported by the Microsoft.Consumption resource provider.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ },
+ "tags": {
+ "readOnly": true,
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ResourceAttributes": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "location": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource location"
+ },
+ "sku": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource sku"
+ }
+ }
+ },
+ "ProxyResource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ },
+ "eTag": {
+ "type": "string",
+ "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not."
+ }
+ },
+ "x-ms-azure-resource": true
+ }
+ },
+ "parameters": {
+ "scopeChargesParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with usage details operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope. For department and enrollment accounts, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeUsageDetailsParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeMarketplaceParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with marketplace operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and ManagementGroup, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeBudgetParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeTagsParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with tags operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope..",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "apiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Version of the API to be used with the client request. The current version is 2019-05-01-preview."
+ },
+ "billingAccountIdParameter": {
+ "name": "billingAccountId",
+ "in": "path",
+ "description": "BillingAccount ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "departmentIdParameter": {
+ "name": "departmentId",
+ "in": "path",
+ "description": "Department ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "enrollmentAccountIdParameter": {
+ "name": "enrollmentAccountId",
+ "in": "path",
+ "description": "EnrollmentAccount ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Azure Subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "Azure Resource Group Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "budgetNameParameter": {
+ "name": "budgetName",
+ "in": "path",
+ "description": "Budget Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "billingPeriodNameParameter": {
+ "name": "billingPeriodName",
+ "in": "path",
+ "description": "Billing Period Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "reservationOrderIdParameter": {
+ "name": "reservationOrderId",
+ "in": "path",
+ "description": "Order Id of the reservation",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "reservationIdParameter": {
+ "name": "reservationId",
+ "in": "path",
+ "description": "Id of the reservation",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "grainParameter": {
+ "name": "grain",
+ "description": "Can be daily or monthly",
+ "x-ms-parameter-location": "method",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "daily",
+ "monthly"
+ ],
+ "x-ms-enum": {
+ "name": "datagrain",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "daily",
+ "description": "Daily grain of data",
+ "name": "DailyGrain"
+ },
+ {
+ "value": "monthly",
+ "description": "Monthly grain of data",
+ "name": "MonthlyGrain"
+ }
+ ]
+ }
+ },
+ "managementGroupIdParameter": {
+ "name": "managementGroupId",
+ "in": "path",
+ "description": "Azure Management Group ID.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "billingProfileIdParameter": {
+ "name": "billingProfileId",
+ "in": "path",
+ "description": "Azure Billing Profile ID.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "invoiceSectionIdParameter": {
+ "name": "invoiceSectionId",
+ "in": "path",
+ "description": "Azure Invoice Section ID.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "metricParameter": {
+ "name": "metric",
+ "in": "query",
+ "description": "Allows to select different type of cost/usage records.",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "enum": [
+ "actualcost",
+ "amortizedcost",
+ "usage"
+ ],
+ "x-ms-enum": {
+ "name": "metrictype",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "actualcost",
+ "description": "Actual cost data.",
+ "name": "ActualCostMetricType"
+ },
+ {
+ "value": "amortizedcost",
+ "description": "Amortized cost data.",
+ "name": "AmortizedCostMetricType"
+ },
+ {
+ "value": "usage",
+ "description": "Usage data.",
+ "name": "UsageMetricType"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroup.json
new file mode 100644
index 000000000000..9f9c465f48e3
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroup.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1",
+ "name": "aggregatedcostId1",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "1caaa5a3-2b66-438e-8ab4-bce37d518c5d"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2019-04-01T00:00:00.0000000Z",
+ "usageEnd": "2018-10-31T00:00:00.0000000Z",
+ "azureCharges": 250.9876,
+ "marketplaceCharges": 150.786,
+ "chargesBilledSeparately": 120.345,
+ "currency": "USD",
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2",
+ "name": "aggregatedcostId2",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "c349567d-c83a-48c9-ab0e-578c69dc97a4"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2019-04-01T00:00:00.0000000Z",
+ "usageEnd": "2018-10-31T00:00:00.0000000Z",
+ "azureCharges": 150.0,
+ "marketplaceCharges": 50.786,
+ "chargesBilledSeparately": 30.345,
+ "currency": "USD",
+ "children": []
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroupFilterByDate.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroupFilterByDate.json
new file mode 100644
index 000000000000..0f971f3d8cc3
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostByManagementGroupFilterByDate.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "$filter": "usageStart ge '2018-08-15' and properties/usageStart le '2018-08-31'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1",
+ "name": "aggregatedcostId1",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "1caaa5a3-2b66-438e-8ab4-bce37d518c5d"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2018-08-15T00:00:00.0000000Z",
+ "usageEnd": "2018-08-31T00:00:00.0000000Z",
+ "azureCharges": 150.9876,
+ "marketplaceCharges": 80.786,
+ "chargesBilledSeparately": 90.345,
+ "currency": "USD",
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2",
+ "name": "aggregatedcostId2",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "c349567d-c83a-48c9-ab0e-578c69dc97a4"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2018-08-15T00:00:00.0000000Z",
+ "usageEnd": "2018-08-31T00:00:00.0000000Z",
+ "azureCharges": 50.0,
+ "marketplaceCharges": 10.786,
+ "chargesBilledSeparately": 30.345,
+ "currency": "USD",
+ "children": []
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostForBillingPeriodByManagementGroup.json
new file mode 100644
index 000000000000..c68f3cfd81ab
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/AggregatedCostForBillingPeriodByManagementGroup.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201807"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1",
+ "name": "aggregatedcostId1",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "usageStart": "2018-07-01T00:00:00.0000000Z",
+ "usageEnd": "2018-07-31T00:00:00.0000000Z",
+ "azureCharges": 250.9876,
+ "marketplaceCharges": 150.786,
+ "chargesBilledSeparately": 120.345,
+ "currency": "USD",
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2",
+ "name": "aggregatedcostId2",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "usageStart": "2018-07-01T00:00:00.0000000Z",
+ "usageEnd": "2018-07-31T00:00:00.0000000Z",
+ "azureCharges": 150.0,
+ "marketplaceCharges": 50.786,
+ "chargesBilledSeparately": 30.345,
+ "currency": "USD",
+ "children": []
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccount.json
new file mode 100644
index 000000000000..ab76190c11f9
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccount.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/balances/balanceId1",
+ "name": "balanceId1",
+ "type": "Microsoft.Consumption/balances",
+ "properties": {
+ "currency": "USD ",
+ "beginningBalance": 3396469.19,
+ "endingBalance": 2922371.02,
+ "newPurchases": 0,
+ "adjustments": 0,
+ "utilized": 474098.17,
+ "serviceOverage": 0,
+ "chargesBilledSeparately": 0,
+ "totalOverage": 0,
+ "totalUsage": 474098.17,
+ "azureMarketplaceServiceCharges": 609.82,
+ "billingFrequency": "Month",
+ "priceHidden": false,
+ "newPurchasesDetails": [
+ {
+ "name": "Promo Purchase",
+ "value": 1
+ }
+ ],
+ "adjustmentDetails": [
+ {
+ "name": "Promo Credit",
+ "value": 1.1
+ },
+ {
+ "name": "SIE Credit",
+ "value": 1.0
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccountForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccountForBillingPeriod.json
new file mode 100644
index 000000000000..d27546e238e7
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BalancesByBillingAccountForBillingPeriod.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "123456",
+ "billingPeriodName": "201702"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/balances/balanceId1",
+ "name": "balanceId1",
+ "type": "Microsoft.Consumption/balances",
+ "properties": {
+ "currency": "USD ",
+ "beginningBalance": 3396469.19,
+ "endingBalance": 2922371.02,
+ "newPurchases": 0,
+ "adjustments": 0,
+ "utilized": 474098.17,
+ "serviceOverage": 0,
+ "chargesBilledSeparately": 0,
+ "totalOverage": 0,
+ "totalUsage": 474098.17,
+ "azureMarketplaceServiceCharges": 609.82,
+ "billingFrequency": "Month",
+ "priceHidden": false,
+ "newPurchasesDetails": [
+ {
+ "name": "Promo Purchase",
+ "value": 1
+ }
+ ],
+ "adjustmentDetails": [
+ {
+ "name": "Promo Credit",
+ "value": 1.1
+ },
+ {
+ "name": "SIE Credit",
+ "value": 1.0
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Budget.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Budget.json
new file mode 100644
index 000000000000..9d4ee2f7731b
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Budget.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "budgetName": "TestBudget",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MPDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MSVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BudgetsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BudgetsList.json
new file mode 100644
index 000000000000..a3434af41381
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/BudgetsList.json
@@ -0,0 +1,160 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MYDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ]
+ },
+ "Actual_GreaterThanOrEqualTo_90_Percent": {
+ "enabled": true,
+ "operator": "GreaterThanOrEqualTo",
+ "threshold": 90,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 600.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MYDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 120.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_40_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 40,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ]
+ },
+ "Actual_GreaterThanOrEqualTo_60_Percent": {
+ "enabled": true,
+ "operator": "GreaterThanOrEqualTo",
+ "threshold": 60,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByDepartment.json
new file mode 100644
index 000000000000..1eb2d5ecaab5
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByDepartment.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "1234",
+ "departmentId": "42425",
+ "billingPeriodName": "201804",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
+ "name": "chargeSummaryId1",
+ "type": "Microsoft.Consumption/charges",
+ "properties": {
+ "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
+ "usageStart": "2018-04-01",
+ "usageEnd": "2018-04-30",
+ "azureCharges": 5000.00,
+ "chargesBilledSeparately": 60.90,
+ "marketplaceCharges": 100.00,
+ "currency": "USD"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByEnrollmentAccount.json
new file mode 100644
index 000000000000..f9b47775197a
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ChargesForBillingPeriodByEnrollmentAccount.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "1234",
+ "enrollmentAccountId": "42425",
+ "billingPeriodName": "201804",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
+ "name": "chargeSummaryId1",
+ "type": "Microsoft.Consumption/charges",
+ "properties": {
+ "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
+ "usageStart": "2018-04-01",
+ "usageEnd": "2018-04-30",
+ "azureCharges": 5000.00,
+ "chargesBilledSeparately": 60.90,
+ "marketplaceCharges": 100.00,
+ "currency": "USD"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/CreateOrUpdateBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/CreateOrUpdateBudget.json
new file mode 100644
index 000000000000..4e9962dbf6ff
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/CreateOrUpdateBudget.json
@@ -0,0 +1,185 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "budgetName": "TestBudget",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "parameters": {
+ "eTag": "\"1d34d016a593709\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MYDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MPDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MPDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/DeleteBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/DeleteBudget.json
new file mode 100644
index 000000000000..3bb1f870f51e
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/DeleteBudget.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "budgetName": "TestBudget",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsList.json
new file mode 100644
index 000000000000..54a5de15adf0
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1",
+ "name": "forecastId1",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-01",
+ "grain": "Daily",
+ "charge": 752.000000,
+ "currency": "USD",
+ "chargeType": "Actual",
+ "confidenceLevels": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2",
+ "name": "forecastId2",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-02",
+ "grain": "Daily",
+ "charge": 753.809074,
+ "currency": "USD",
+ "chargeType": "Forecast",
+ "confidenceLevels": [
+ {
+ "percentage": 95,
+ "bound": "Upper",
+ "value": 1165.951737
+ },
+ {
+ "percentage": 95,
+ "bound": "Lower",
+ "value": 340.753404
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByDates.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByDates.json
new file mode 100644
index 000000000000..f35dff045b7d
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByDates.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "usagedate ge '2018-04-01' AND usagedate le '2018-04-02'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1",
+ "name": "forecastId1",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-01",
+ "grain": "Daily",
+ "charge": 752.000000,
+ "currency": "USD",
+ "chargeType": "Actual",
+ "confidenceLevels": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2",
+ "name": "forecastId2",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-02",
+ "grain": "Daily",
+ "charge": 753.809074,
+ "currency": "USD",
+ "chargeType": "Forecast",
+ "confidenceLevels": [
+ {
+ "percentage": 95,
+ "bound": "Upper",
+ "value": 1165.951737
+ },
+ {
+ "percentage": 95,
+ "bound": "Lower",
+ "value": 340.753404
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByGrain.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByGrain.json
new file mode 100644
index 000000000000..465b9a365a70
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ForecastsListFilterByGrain.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "Grain eq 'Monthly'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1",
+ "name": "forecastId1",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-01",
+ "grain": "Monthly",
+ "charge": 752.000000,
+ "currency": "USD",
+ "chargeType": "Actual",
+ "confidenceLevels": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2",
+ "name": "forecastId2",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-05-01",
+ "grain": "Monthly",
+ "charge": 753.809074,
+ "currency": "USD",
+ "chargeType": "Forecast",
+ "confidenceLevels": [
+ {
+ "percentage": 95,
+ "bound": "Upper",
+ "value": 1165.951737
+ },
+ {
+ "percentage": 95,
+ "bound": "Lower",
+ "value": 340.753404
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountList.json
new file mode 100644
index 000000000000..fd8d3cbe3f8b
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountList.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "123456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplaceId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan1",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountListForBillingPeriod.json
new file mode 100644
index 000000000000..848e7d740c10
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByBillingAccountListForBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartmentList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartmentList.json
new file mode 100644
index 000000000000..fb7335bd3e48
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartmentList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "departmentId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/departments/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartment_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartment_ListByBillingPeriod.json
new file mode 100644
index 000000000000..fb7335bd3e48
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByDepartment_ListByBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "departmentId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/departments/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccountList.json
new file mode 100644
index 000000000000..83cfe3b4ef72
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccountList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "enrollmentAccountId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json
new file mode 100644
index 000000000000..83cfe3b4ef72
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "enrollmentAccountId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroupList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroupList.json
new file mode 100644
index 000000000000..2a33d09cc5a5
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroupList.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201810/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201810",
+ "usageStart": "2018-10-13T00:00:00Z",
+ "usageEnd": "2018-10-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ },
+ {
+ "id": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810/providers/Microsoft.Consumption/marketplaces/marketplaceId2",
+ "name": "marketplacesId2",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account2",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center2",
+ "departmentName": "Department2",
+ "billingPeriodId": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810",
+ "usageStart": "2018-10-13T00:00:00Z",
+ "usageEnd": "2018-10-13T23:59:59Z",
+ "instanceName": "shared2",
+ "instanceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared2",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "11111111-1111-1111-1111-111111111111",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "11111111-1111-1111-1111-111111111111",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json
new file mode 100644
index 000000000000..bc96c08f7021
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json
@@ -0,0 +1,86 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201808",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201808/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201808",
+ "usageStart": "2018-08-13T00:00:00Z",
+ "usageEnd": "2018-08-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ },
+ {
+ "id": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201808/providers/Microsoft.Consumption/marketplaces/marketplaceId2",
+ "name": "marketplacesId2",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account2",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center2",
+ "departmentName": "Department2",
+ "billingPeriodId": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810",
+ "usageStart": "2018-08-13T00:00:00Z",
+ "usageEnd": "2018-08-13T23:59:59Z",
+ "instanceName": "shared2",
+ "instanceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared2",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "11111111-1111-1111-1111-111111111111",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "11111111-1111-1111-1111-111111111111",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesList.json
new file mode 100644
index 000000000000..60be50130611
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesList.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketPlaces/marketplaceId1",
+ "name": "marketplaceId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan1",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesListForBillingPeriod.json
new file mode 100644
index 000000000000..c60d1cc958df
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/MarketplacesListForBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201801",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketPlaces/marketplacesId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheet.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheet.json
new file mode 100644
index 000000000000..dec92bedea1c
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default",
+ "name": "default",
+ "type": "Microsoft.Consumption/pricesheets",
+ "properties": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31&$skiptoken=AQAAAA%3D%3D",
+ "pricesheets": [
+ {
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "unitOfMeasure": "100 Hours",
+ "includedQuantity": 100,
+ "partNumber": "XX-11110",
+ "unitPrice": 0.00328,
+ "currencyCode": "EUR",
+ "offerId": "OfferId 1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetExpand.json
new file mode 100644
index 000000000000..24064c1b5825
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetExpand.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201801",
+ "$expand": "meterDetails"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default",
+ "name": "default",
+ "type": "Microsoft.Consumption/pricesheets",
+ "properties": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31&$skiptoken=AQAAAA%3D%3D&$expand=properties/pricesheets/meterDetails",
+ "pricesheets": [
+ {
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "unitOfMeasure": "100 Hours",
+ "includedQuantity": 100,
+ "partNumber": "XX-11110",
+ "unitPrice": 0.00328,
+ "currencyCode": "EUR",
+ "offerId": "OfferId 1",
+ "meterDetails": {
+ "meterName": "Data Transfer Out (GB)",
+ "meterCategory": "Networking",
+ "unit": "GB",
+ "meterLocation": "Zone 2",
+ "totalIncludedQuantity": 0,
+ "pretaxStandardRate": 0.138
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetForBillingPeriod.json
new file mode 100644
index 000000000000..5ff07dec369b
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/PriceSheetForBillingPeriod.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201801"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default",
+ "name": "default",
+ "type": "Microsoft.Consumption/pricesheets",
+ "properties": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31",
+ "pricesheets": [
+ {
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "unitOfMeasure": "100 Hours",
+ "includedQuantity": 100,
+ "partNumber": "XX-11110",
+ "unitPrice": 0.00328,
+ "currencyCode": "EUR",
+ "offerId": "OfferId 1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetails.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetails.json
new file mode 100644
index 000000000000..aa4872c6c42b
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetails.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129",
+ "type": "Microsoft.Consumption/reservationDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "usageDate": "2017-11-29T00:00:00Z",
+ "skuName": "Standard_D2_v2",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/abc-sql2014sp33",
+ "totalReservedQuantity": 1.000000000000000,
+ "reservedHours": 24.000000000000000,
+ "usedHours": 24.000000000000000
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetailsWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetailsWithReservationId.json
new file mode 100644
index 000000000000..0a210f3ce5f2
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationDetailsWithReservationId.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129",
+ "type": "Microsoft.Consumption/reservationDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "usageDate": "2017-11-29T00:00:00Z",
+ "skuName": "Standard_D2_v2",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/wvn-sql2014sp33",
+ "totalReservedQuantity": 1.000000000000000,
+ "reservedHours": 24.000000000000000,
+ "usedHours": 24.000000000000000
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json
new file mode 100644
index 000000000000..36b30157a817
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "properties/scope eq 'Single' AND properties/lookBackPeriod eq 'Last7Days'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations1",
+ "name": "reservationRecommendations1",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P1Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 4.634521202630137,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations2",
+ "name": "reservationRecommendations2",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P3Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 7.2893157231780812,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$filter=properties/scope+eq+'Single'+AND+properties/lookBackPeriod+eq+'Last7Days'&$skiptoken=AQAAAA%3D%3D&"
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsList.json
new file mode 100644
index 000000000000..8e0d68ff5ff5
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationRecommendationsList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations1",
+ "name": "reservationRecommendations1",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P1Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 4.634521202630137,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations2",
+ "name": "reservationRecommendations2",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P3Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 7.2893157231780812,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$skiptoken=AQAAAA%3D%3D&"
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDaily.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDaily.json
new file mode 100644
index 000000000000..286de40a0a90
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDaily.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "grain": "daily",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationsummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDailyWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDailyWithReservationId.json
new file mode 100644
index 000000000000..d0193527db59
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesDailyWithReservationId.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "grain": "daily",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationsummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthly.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthly.json
new file mode 100644
index 000000000000..814eaa7f4b9f
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthly.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "grain": "monthly"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationsummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthlyWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthlyWithReservationId.json
new file mode 100644
index 000000000000..a989b8ab82a0
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/ReservationSummariesMonthlyWithReservationId.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "grain": "monthly"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationsummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Tags.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Tags.json
new file mode 100644
index 000000000000..a1dea0076566
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/Tags.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "billingAccountId": "12345",
+ "scope": "providers/Microsoft.CostManagement/billingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.CostManagement/billingAccounts/{billingaccount-id}/providers/Microsoft.Consumption/tags/tags1",
+ "name": "tags1",
+ "type": "Microsoft.Consumption/tags",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "tags": [
+ {
+ "key": "Department"
+ },
+ {
+ "key": "CostCenter"
+ },
+ {
+ "key": "Portal"
+ },
+ {
+ "key": "OrgName"
+ },
+ {
+ "key": "Namespace"
+ },
+ {
+ "key": "resourceType"
+ },
+ {
+ "key": "Subsystem"
+ },
+ {
+ "key": "Environment"
+ },
+ {
+ "key": "clusterName"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownload.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownload.json
new file mode 100644
index 000000000000..f7501c385ac2
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownload.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/billingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/billingAccounts/1234/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "properties": {
+ "downloadUrl": "https://account.blob.core.windows.net/usageReports/20190409/00000000-0000-0000-0000-000000000000?sv=2016-05-31&sr=b&st=2019-04-10T00%3A04%3A27Z&se=2019-04-10T06%3A09%3A27Z&sp=r",
+ "validTill": "03/05/2019 20:13:06"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234/providers/Microsoft.Consumption/operationResults/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview",
+ "Retry-After": "10",
+ "Azure-AsyncOperation": "https://management.azure.com/providers/Microsoft.Billing/billingAccounts/1234/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownloadByMetricUsage.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownloadByMetricUsage.json
new file mode 100644
index 000000000000..26dc8a3658d4
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsDownloadByMetricUsage.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "metric": "usage"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "properties": {
+ "downloadUrl": "https://account.blob.core.windows.net/usageReports/20190409/00000000-0000-0000-0000-000000000000?sv=2016-05-31&sr=b&st=2019-04-10T00%3A04%3A27Z&se=2019-04-10T06%3A09%3A27Z&sp=r",
+ "validTill": "03/05/2019 20:13:06"
+ }
+ }
+ },
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/operationResults/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview",
+ "Retry-After": "10",
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2019-05-01-preview"
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsExpand.json
new file mode 100644
index 000000000000..da3b085112b4
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsExpand.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201903",
+ "$expand": "meterDetails,additionalInfo",
+ "$filter": "tags eq 'dev:tools'",
+ "$top": 1
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": {
+ "meterName": "Data Transfer Out (GB)",
+ "meterCategory": "Networking",
+ "meterSubCategory": "ExpressRoute",
+ "unitOfMeasure": "GB",
+ "serviceFamily": "Compute"
+ },
+ "quantity": 0.8234,
+ "effectivePrice": 0.010464556322455,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.54,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage",
+ "frequency": "UsageBased",
+ "additionalInfo": "{\"MyType\":\"\",\"ServiceType\":\"\",\"VMName\":\"\",\"UsageType\":\"MyUsage\"}"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsList.json
new file mode 100644
index 000000000000..c91c1bfd48db
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsList.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693034210767,
+ "cost": 0.000001980949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage",
+ "frequency": "UsageBased"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByBillingAccount.json
new file mode 100644
index 000000000000..8cfcd69aafdd
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByBillingAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByDepartment.json
new file mode 100644
index 000000000000..64fb2442c745
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByDepartment.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/Departments/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByEnrollmentAccount.json
new file mode 100644
index 000000000000..d70160f5c3e7
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByEnrollmentAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/EnrollmentAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByManagementGroup.json
new file mode 100644
index 000000000000..435f9c35b2a0
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByManagementGroup.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201903",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ },
+ {
+ "id": "/scope/providers/Microsoft.Billing/billingPeriods/20180801/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2",
+ "name": "usageDetails_Id2",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 2",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 2",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 2",
+ "partNumber": "Part Number 2",
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2",
+ "resourceName": "Resource Name 2",
+ "invoiceSection": "Invoice Section 2",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 2",
+ "offerId": "Offer Id 2",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricActualCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricActualCost.json
new file mode 100644
index 000000000000..9eeed12f0b59
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricActualCost.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "metric": "actualcost",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693055510767,
+ "cost": 0.000001968949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricAmortizedCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricAmortizedCost.json
new file mode 100644
index 000000000000..9897d7cf78c4
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricAmortizedCost.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "metric": "amortizedcost",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693055510767,
+ "cost": 0.000001968949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage",
+ "frequency": "UsageBased"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricUsage.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricUsage.json
new file mode 100644
index 000000000000..745a163e8817
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListByMetricUsage.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "metric": "usage",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693055510767,
+ "cost": 0.000001968949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListFilterByTag.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListFilterByTag.json
new file mode 100644
index 000000000000..6e1e1d30dddb
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListFilterByTag.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "$filter": "tags eq 'dev:tools'",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriod.json
new file mode 100644
index 000000000000..3d412576d2e3
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriod.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByBillingAccount.json
new file mode 100644
index 000000000000..9b18a420e1fe
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByBillingAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByDepartment.json
new file mode 100644
index 000000000000..63cdff469fa2
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByDepartment.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/Departments/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json
new file mode 100644
index 000000000000..844a6b00171c
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/EnrollmentAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByManagementGroup.json
new file mode 100644
index 000000000000..5abcace4e978
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/preview/2019-05-01-preview/examples/UsageDetailsListForBillingPeriodByManagementGroup.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201903",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ },
+ {
+ "id": "/scope/providers/Microsoft.Billing/billingPeriods/billingPeriodName/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2",
+ "name": "usageDetails_Id2",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 2",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 2",
+ "accountName": "Account Name 2",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 2",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 2",
+ "partNumber": "Part Number 2",
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "meterDetails": null,
+ "quantity": 0.4759,
+ "effectivePrice": 0.073488920944598,
+ "cost": 0.000821821271948,
+ "unitPrice": 5.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2",
+ "resourceName": "Resource Name 2",
+ "invoiceSection": "Invoice Section 2",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 2",
+ "offerId": "Offer Id 2",
+ "isAzureCreditEligible": false,
+ "chargeType": "UnusedReservation"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2018-10-01/examples/TenantsGet.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2018-10-01/examples/TenantsGet.json
index ac8fb9efe60e..16069d401113 100644
--- a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2018-10-01/examples/TenantsGet.json
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2018-10-01/examples/TenantsGet.json
@@ -16,7 +16,7 @@
"billingProfileName": "PayByCheck01",
"billingAccountName": "Create Customer",
"tenantId": "251d3d06-c6e0-487b-bd5e-5c2e4c23d51a",
- "BillingAccountId": "0d49b9e9-dfe7-536e-ede4-bae1d63adbb7"
+ "billingAccountId": "0d49b9e9-dfe7-536e-ede4-bae1d63adbb7"
}
}
]
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json
new file mode 100644
index 000000000000..7e11190e7dd8
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/consumption.json
@@ -0,0 +1,3266 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-05-01",
+ "title": "ConsumptionManagementClient",
+ "description": "Consumption management client provides access to consumption resources for Azure Enterprise Subscriptions."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow.",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/{scope}/providers/Microsoft.Consumption/usageDetails": {
+ "get": {
+ "tags": [
+ "UsageDetails"
+ ],
+ "operationId": "UsageDetails_List",
+ "description": "Lists the usage details for the defined scope. Usage details are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "UsageDetailsList": {
+ "$ref": "./examples/UsageDetailsList.json"
+ },
+ "UsageDetailsListFilterByTag": {
+ "$ref": "./examples/UsageDetailsListFilterByTag.json"
+ },
+ "UsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriod.json"
+ },
+ "UsageDetailsExpand": {
+ "$ref": "./examples/UsageDetailsExpand.json"
+ },
+ "UsageDetailsListByMetricActualCost": {
+ "$ref": "./examples/UsageDetailsListByMetricActualCost.json"
+ },
+ "UsageDetailsListByMetricAmortizedCost": {
+ "$ref": "./examples/UsageDetailsListByMetricAmortizedCost.json"
+ },
+ "UsageDetailsListByMetricUsage": {
+ "$ref": "./examples/UsageDetailsListByMetricUsage.json"
+ },
+ "BillingAccountUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByBillingAccount.json"
+ },
+ "BillingAccountUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByBillingAccount.json"
+ },
+ "DepartmentUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByDepartment.json"
+ },
+ "DepartmentUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByDepartment.json"
+ },
+ "EnrollmentAccountUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByEnrollmentAccount.json"
+ },
+ "EnrollmentAccountUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json"
+ },
+ "ManagementGroupUsageDetailsList": {
+ "$ref": "./examples/UsageDetailsListByManagementGroup.json"
+ },
+ "ManagementGroupUsageDetailsListForBillingPeriod": {
+ "$ref": "./examples/UsageDetailsListForBillingPeriodByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeUsageDetailsParameter"
+ },
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/additionalInfo or properties/meterDetails within a list of usage details. By default, these fields are not included when listing usage details.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter usageDetails by properties/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId, properties/publisherType or tags. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:). PublisherType Filter accepts two values azure and marketplace and it is currently supported for Web Direct Offer Type",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N usageDetails.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/metricParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/UsageDetailsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/marketplaces": {
+ "get": {
+ "tags": [
+ "Marketplaces"
+ ],
+ "x-ms-odata": "#/definitions/Marketplace",
+ "operationId": "Marketplaces_List",
+ "description": "Lists the marketplaces for a scope at the defined scope. Marketplaces are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "SubscriptionMarketplacesList": {
+ "$ref": "./examples/MarketplacesList.json"
+ },
+ "SubscriptionMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesListForBillingPeriod.json"
+ },
+ "BillingAccountMarketplacesList": {
+ "$ref": "./examples/MarketplacesByBillingAccountList.json"
+ },
+ "BillingAccountMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByBillingAccountListForBillingPeriod.json"
+ },
+ "DepartmentMarketplacesList": {
+ "$ref": "./examples/MarketplacesByDepartmentList.json"
+ },
+ "DepartmentMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByDepartment_ListByBillingPeriod.json"
+ },
+ "EnrollmentAccountMarketplacesList": {
+ "$ref": "./examples/MarketplacesByEnrollmentAccountList.json"
+ },
+ "EnrollmentAccountMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json"
+ },
+ "ManagementGroupMarketplacesList": {
+ "$ref": "./examples/MarketplacesByManagementGroupList.json"
+ },
+ "ManagementGroupMarketplacesListForBillingPeriod": {
+ "$ref": "./examples/MarketplacesByManagementGroup_ListForBillingPeriod.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "description": "May be used to filter marketplaces by properties/usageEnd (Utc time), properties/usageStart (Utc time), properties/resourceGroup, properties/instanceName or properties/instanceId. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the most recent N marketplaces.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/scopeMarketplaceParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/MarketplacesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/budgets": {
+ "get": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_List",
+ "description": "Lists all budgets for the defined scope.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "BudgetsList": {
+ "$ref": "./examples/BudgetsList.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/BudgetsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/budgets/{budgetName}": {
+ "get": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_Get",
+ "description": "Gets the budget for the scope by budget name.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Budget": {
+ "$ref": "./examples/Budget.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/budgetNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_CreateOrUpdate",
+ "description": "The operation to create or update a budget. Update operation requires latest eTag to be set in the request mandatorily. You may obtain the latest eTag by performing a get operation. Create operation does not require eTag.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "CreateOrUpdateBudget": {
+ "$ref": "./examples/CreateOrUpdateBudget.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/budgetNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ },
+ "description": "Parameters supplied to the Create Budget operation."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "201": {
+ "description": "Created.",
+ "schema": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Budgets"
+ ],
+ "operationId": "Budgets_Delete",
+ "description": "The operation to delete a budget.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "DeleteBudget": {
+ "$ref": "./examples/DeleteBudget.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeBudgetParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/budgetNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/tags": {
+ "get": {
+ "tags": [
+ "Tags"
+ ],
+ "operationId": "Tags_Get",
+ "description": "Get all available tag keys for the defined scope",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Tags_Get": {
+ "$ref": "./examples/Tags.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeTagsParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/TagsResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.Consumption/charges": {
+ "get": {
+ "tags": [
+ "Charges"
+ ],
+ "operationId": "Charges_ListByScope",
+ "description": "Lists the charges based for the defined scope.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ChargesListForEnrollmentAccount": {
+ "$ref": "./examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json"
+ },
+ "ChangesForBillingPeriodByEnrollmentAccount": {
+ "$ref": "./examples/ChargesForBillingPeriodByEnrollmentAccount.json"
+ },
+ "ChargesListByDepartment": {
+ "$ref": "./examples/ChargesListForDepartmentFilterByStartEndDate.json"
+ },
+ "ChangesForBillingPeriodByDepartment": {
+ "$ref": "./examples/ChargesForBillingPeriodByDepartment.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/scopeChargesParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter charges by properties/usageEnd (Utc time), properties/usageStart (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ChargeSummary"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/balances": {
+ "get": {
+ "tags": [
+ "Balances"
+ ],
+ "operationId": "Balances_GetByBillingAccount",
+ "description": "Gets the balances for a scope by billingAccountId. Balances are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Balances": {
+ "$ref": "./examples/BalancesByBillingAccount.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Balance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/balances": {
+ "get": {
+ "tags": [
+ "Balances"
+ ],
+ "operationId": "Balances_GetForBillingPeriodByBillingAccount",
+ "description": "Gets the balances for a scope by billing period and billingAccountId. Balances are available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "Balances": {
+ "$ref": "./examples/BalancesByBillingAccountForBillingPeriod.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/billingPeriodNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/Balance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationSummaries": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsSummaries_ListByReservationOrder",
+ "description": "Lists the reservations summaries for daily or monthly grain.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationSummariesDaily": {
+ "$ref": "./examples/ReservationSummariesDaily.json"
+ },
+ "ReservationSummariesMonthly": {
+ "$ref": "./examples/ReservationSummariesMonthly.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "$ref": "#/parameters/grainParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationSummariesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationSummaries": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsSummaries_ListByReservationOrderAndReservation",
+ "description": "Lists the reservations summaries for daily or monthly grain.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationSummariesDailyWithReservationId": {
+ "$ref": "./examples/ReservationSummariesDailyWithReservationId.json"
+ },
+ "ReservationSummariesMonthlyWithReservationId": {
+ "$ref": "./examples/ReservationSummariesMonthlyWithReservationId.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "$ref": "#/parameters/reservationIdParameter"
+ },
+ {
+ "$ref": "#/parameters/grainParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationSummariesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/reservationSummaries": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsSummaries_ListByBillingAccountId",
+ "description": "Lists the reservations summaries for daily or monthly grain.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationSummariesDailyWithReservationId": {
+ "$ref": "./examples/ReservationSummariesDailyWithBillingAccountId.json"
+ },
+ "ReservationSummariesMonthlyWithReservationId": {
+ "$ref": "./examples/ReservationSummariesMonthlyWithBillingAccountId.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "$ref": "#/parameters/grainParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Required only for daily grain. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge'",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationSummariesListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/providers/Microsoft.Consumption/reservationDetails": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsDetails_ListByReservationOrder",
+ "description": "Lists the reservations details for provided date range.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationDetails": {
+ "$ref": "./examples/ReservationDetails.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ",
+ "in": "query",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationDetailsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Capacity/reservationorders/{reservationOrderId}/reservations/{reservationId}/providers/Microsoft.Consumption/reservationDetails": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsDetails_ListByReservationOrderAndReservation",
+ "description": "Lists the reservations details for provided date range.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationDetailsWithReservationId": {
+ "$ref": "./examples/ReservationDetailsWithReservationId.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/reservationOrderIdParameter"
+ },
+ {
+ "$ref": "#/parameters/reservationIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ",
+ "in": "query",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationDetailsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Consumption/reservationDetails": {
+ "get": {
+ "tags": [
+ "ReservedInstances"
+ ],
+ "operationId": "ReservationsDetails_ListByBillingAccountId",
+ "description": "Lists the reservations details for provided date range.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationDetails": {
+ "$ref": "./examples/ReservationDetailsByBillingAccountId.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "Filter reservation details by date range. The properties/UsageDate for start date and end date. The filter supports 'le' and 'ge' ",
+ "in": "query",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationDetailsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/reservationRecommendations": {
+ "get": {
+ "tags": [
+ "ReservationRecommendations"
+ ],
+ "operationId": "ReservationRecommendations_List",
+ "description": "List of recommendations for purchasing reserved instances.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationRecommendations": {
+ "$ref": "./examples/ReservationRecommendationsList.json"
+ },
+ "ReservationRecommendationsFilterByScopeLookBackPeriod": {
+ "$ref": "./examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "description": "May be used to filter reservationRecommendations by properties/scope and properties/lookBackPeriod.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationRecommendationsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/microsoft.consumption/ReservationRecommendations": {
+ "get": {
+ "tags": [
+ "ReservationRecommendations"
+ ],
+ "operationId": "ReservationRecommendations_ListByBillingAccountId",
+ "description": "List of recommendations for purchasing reserved instances on billing account scope",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ReservationRecommendations": {
+ "$ref": "./examples/ReservationRecommendationsByBillingAccountList.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "description": "May be used to filter reservationRecommendations by properties/scope and properties/lookBackPeriod.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingAccountIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ReservationRecommendationsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/pricesheets/default": {
+ "get": {
+ "tags": [
+ "PriceSheet"
+ ],
+ "operationId": "PriceSheet_Get",
+ "description": "Gets the price sheet for a scope by subscriptionId. Price sheet is available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "PriceSheet": {
+ "$ref": "./examples/PriceSheet.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the top N results.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/PriceSheetResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/providers/Microsoft.Consumption/pricesheets/default": {
+ "get": {
+ "tags": [
+ "PriceSheet"
+ ],
+ "operationId": "PriceSheet_GetByBillingPeriod",
+ "description": "Get the price sheet for a scope by subscriptionId and billing period. Price sheet is available via this API only for May 1, 2014 or later.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "PriceSheetForBillingPeriod": {
+ "$ref": "./examples/PriceSheetForBillingPeriod.json"
+ },
+ "PriceSheetExpand": {
+ "$ref": "./examples/PriceSheetExpand.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$expand",
+ "description": "May be used to expand the properties/meterDetails within a price sheet. By default, these fields are not included when returning price sheet.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "description": "May be used to limit the number of results to the top N results.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 1000
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/billingPeriodNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/PriceSheetResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Consumption/forecasts": {
+ "get": {
+ "tags": [
+ "Forecasts"
+ ],
+ "x-ms-odata": "#/definitions/Forecast",
+ "operationId": "Forecasts_List",
+ "description": "Lists the forecast charges by subscriptionId.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "ForecastsList": {
+ "$ref": "./examples/ForecastsList.json"
+ },
+ "ForecastsListFilterByGrain": {
+ "$ref": "./examples/ForecastsListFilterByGrain.json"
+ },
+ "ForecastsListFilterByDates": {
+ "$ref": "./examples/ForecastsListFilterByDates.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "$filter",
+ "description": "May be used to filter forecasts by properties/usageDate (Utc time), properties/chargeType or properties/grain. The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ForecastsListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ }
+ }
+ },
+ "/providers/Microsoft.Consumption/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Lists all of the available consumption REST API operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Consumption/aggregatedcost": {
+ "get": {
+ "tags": [
+ "AggregatedCost"
+ ],
+ "operationId": "AggregatedCost_GetByManagementGroup",
+ "description": "Provides the aggregate cost of a management group and all child management groups by current billing period.",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "AggregatedCostByManagementGroup": {
+ "$ref": "./examples/AggregatedCostByManagementGroup.json"
+ },
+ "AggregatedCostByManagementGroupFilterByDate": {
+ "$ref": "./examples/AggregatedCostByManagementGroupFilterByDate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ },
+ {
+ "name": "$filter",
+ "description": "May be used to filter aggregated cost by properties/usageStart (Utc time), properties/usageEnd (Utc time). The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not currently support 'ne', 'or', or 'not'. Tag filter is a key value pair string where key and value is separated by a colon (:).",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ManagementGroupAggregatedCostResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}/Microsoft.Consumption/aggregatedcost": {
+ "get": {
+ "tags": [
+ "AggregatedCost"
+ ],
+ "operationId": "AggregatedCost_GetForBillingPeriodByManagementGroup",
+ "description": "Provides the aggregate cost of a management group and all child management groups by specified billing period",
+ "externalDocs": {
+ "url": "https://docs.microsoft.com/en-us/rest/api/consumption/"
+ },
+ "x-ms-examples": {
+ "AggregatedCostListForBillingPeriodByManagementGroup": {
+ "$ref": "./examples/AggregatedCostForBillingPeriodByManagementGroup.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/managementGroupIdParameter"
+ },
+ {
+ "$ref": "#/parameters/billingPeriodNameParameter"
+ },
+ {
+ "$ref": "#/parameters/apiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ManagementGroupAggregatedCostResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "MeterDetails": {
+ "description": "The properties of the meter detail.",
+ "properties": {
+ "meterName": {
+ "description": "The name of the meter, within the given meter category",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterCategory": {
+ "description": "The category of the meter, for example, 'Cloud services', 'Networking', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterSubCategory": {
+ "description": "The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterLocation": {
+ "description": "The location in which the Azure service is available.",
+ "type": "string",
+ "readOnly": true
+ },
+ "totalIncludedQuantity": {
+ "description": "The total included quantity associated with the offer.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "pretaxStandardRate": {
+ "description": "The pretax listing price.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "serviceName": {
+ "description": "The name of the service.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceTier": {
+ "description": "The service tier.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UsageDetail": {
+ "description": "An usage detail resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/UsageDetailProperties",
+ "title": "Usage detail properties"
+ }
+ }
+ },
+ "UsageDetailsListResult": {
+ "description": "Result of listing usage details. It contains a list of available usage details in reverse chronological order by billing period.",
+ "properties": {
+ "value": {
+ "description": "The list of usage details.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/UsageDetail"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "UsageDetailProperties": {
+ "description": "The properties of the usage detail.",
+ "properties": {
+ "billingAccountId": {
+ "description": "Billing Account identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "billingAccountName": {
+ "description": "Billing Account Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "billingPeriodStartDate": {
+ "description": "The billing period start date.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "billingPeriodEndDate": {
+ "description": "The billing period end date.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "billingProfileId": {
+ "description": "Billing Profile identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "billingProfileName": {
+ "description": "Billing Profile Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "accountOwnerId": {
+ "description": "Account Owner Id.",
+ "type": "string",
+ "readOnly": true
+ },
+ "accountName": {
+ "description": "Account Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "subscriptionId": {
+ "description": "Subscription guid.",
+ "type": "string",
+ "readOnly": true
+ },
+ "subscriptionName": {
+ "description": "Subscription name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "date": {
+ "description": "Date for the usage record.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "product": {
+ "description": "Product name for the consumed service or purchase. Not available for Marketplace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "partNumber": {
+ "description": "Part Number of the service used. Can be used to join with the price sheet. Not available for marketplace.",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID). Not available for marketplace. For reserved instance this represents the primary meter for which the reservation was purchased. For the actual VM Size for which the reservation is purchased see productOrderName.",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "meterDetails": {
+ "description": "The details about the meter. By default this is not populated, unless it's specified in $expand.",
+ "$ref": "#/definitions/MeterDetailsResponse",
+ "readOnly": true
+ },
+ "quantity": {
+ "description": "The usage quantity.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "effectivePrice": {
+ "description": "Effective Price that’s charged for the usage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "cost": {
+ "description": "The amount of cost before tax.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "unitPrice": {
+ "description": "Unit Price is the price applicable to you. (your EA or other contract price).",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "billingCurrency": {
+ "description": "Billing Currency.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceLocation": {
+ "description": "Resource Location.",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumedService": {
+ "description": "Consumed service name. Name of the azure resource provider that emits the usage or was purchased. This value is not provided for marketplace usage.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceId": {
+ "description": "Azure resource manager resource identifier.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceName": {
+ "description": "Resource Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceInfo1": {
+ "description": "Service Info 1.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceInfo2": {
+ "description": "Service Info 2.",
+ "type": "string",
+ "readOnly": true
+ },
+ "additionalInfo": {
+ "description": "Additional details of this usage item. By default this is not populated, unless it's specified in $expand. Use this field to get usage line item specific details such as the actual VM Size (ServiceType) or the ratio in which the reservation discount is applied.",
+ "type": "string",
+ "readOnly": true
+ },
+ "invoiceSection": {
+ "description": "Invoice Section Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "costCenter": {
+ "description": "The cost center of this department if it is a department and a cost center is provided.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceGroup": {
+ "description": "Resource Group Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationId": {
+ "description": "ARM resource id of the reservation. Only applies to records relevant to reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationName": {
+ "description": "User provided display name of the reservation. Last known name for a particular day is populated in the daily data. Only applies to records relevant to reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "productOrderId": {
+ "description": "Product Order Id. For reservations this is the Reservation Order ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "productOrderName": {
+ "description": "Product Order Name. For reservations this is the SKU that was purchased.",
+ "type": "string",
+ "readOnly": true
+ },
+ "offerId": {
+ "description": "Offer Id. Ex: MS-AZR-0017P, MS-AZR-0148P.",
+ "type": "string",
+ "readOnly": true
+ },
+ "isAzureCreditEligible": {
+ "description": "Is Azure Credit Eligible.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "term": {
+ "description": "Term (in months). 1 month for monthly recurring purchase. 12 months for a 1 year reservation. 36 months for a 3 year reservation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publisherName": {
+ "description": "Publisher Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publisherType": {
+ "description": "Publisher Type.",
+ "type": "string",
+ "readOnly": true
+ },
+ "planName": {
+ "description": "Plan Name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "chargeType": {
+ "description": "Indicates a charge represents credits, usage, a Marketplace purchase, a reservation fee, or a refund.",
+ "type": "string",
+ "readOnly": true
+ },
+ "frequency": {
+ "description": "Indicates how frequently this charge will occur. OneTime for purchases which only happen once, Monthly for fees which recur every month, and UsageBased for charges based on how much a service is used.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Marketplace": {
+ "description": "An marketplace resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MarketplaceProperties",
+ "title": "Marketplace properties"
+ }
+ }
+ },
+ "MarketplacesListResult": {
+ "description": "Result of listing marketplaces. It contains a list of available marketplaces in reverse chronological order by billing period.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of marketplaces.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Marketplace"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "MarketplaceProperties": {
+ "description": "The properties of the marketplace usage detail.",
+ "type": "object",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the usage belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageStart": {
+ "description": "The start of the date time range covered by the usage detail.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usageEnd": {
+ "description": "The end of the date time range covered by the usage detail.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "resourceRate": {
+ "description": "The marketplace resource rate.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "offerName": {
+ "description": "The type of offer.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resourceGroup": {
+ "description": "The name of resource group.",
+ "type": "string",
+ "readOnly": true
+ },
+ "orderNumber": {
+ "description": "The order number.",
+ "type": "string",
+ "readOnly": true
+ },
+ "instanceName": {
+ "description": "The name of the resource instance that the usage is about.",
+ "type": "string",
+ "readOnly": true
+ },
+ "instanceId": {
+ "description": "The uri of the resource instance that the usage is about.",
+ "type": "string",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumedQuantity": {
+ "description": "The quantity of usage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "unitOfMeasure": {
+ "description": "The unit of measure.",
+ "type": "string",
+ "readOnly": true
+ },
+ "pretaxCost": {
+ "description": "The amount of cost before tax.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "isEstimated": {
+ "description": "The estimated usage is subject to change.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID).",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "subscriptionGuid": {
+ "description": "Subscription guid.",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "subscriptionName": {
+ "description": "Subscription name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "accountName": {
+ "description": "Account name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "departmentName": {
+ "description": "Department name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "consumedService": {
+ "description": "Consumed service name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "costCenter": {
+ "description": "The cost center of this department if it is a department and a costcenter exists",
+ "type": "string",
+ "readOnly": true
+ },
+ "additionalProperties": {
+ "description": "Additional details of this usage item. By default this is not populated, unless it's specified in $expand.",
+ "type": "string",
+ "readOnly": true
+ },
+ "publisherName": {
+ "description": "The name of publisher.",
+ "type": "string",
+ "readOnly": true
+ },
+ "planName": {
+ "description": "The name of plan.",
+ "type": "string",
+ "readOnly": true
+ },
+ "isRecurringCharge": {
+ "description": "Flag indicating whether this is a recurring charge or not.",
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "Balance": {
+ "description": "A balance resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BalanceProperties",
+ "title": "Balance properties"
+ }
+ }
+ },
+ "BalanceProperties": {
+ "description": "The properties of the balance.",
+ "type": "object",
+ "properties": {
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "beginningBalance": {
+ "description": "The beginning balance for the billing period.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "endingBalance": {
+ "description": "The ending balance for the billing period (for open periods this will be updated daily).",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "newPurchases": {
+ "description": "Total new purchase amount.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "adjustments": {
+ "description": "Total adjustment amount.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "utilized": {
+ "description": "Total Commitment usage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "serviceOverage": {
+ "description": "Overage for Azure services.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "chargesBilledSeparately": {
+ "description": "Charges Billed separately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "totalOverage": {
+ "description": "serviceOverage + chargesBilledSeparately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "totalUsage": {
+ "description": "Azure service commitment + total Overage.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "azureMarketplaceServiceCharges": {
+ "description": "Total charges for Azure Marketplace.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "billingFrequency": {
+ "description": "The billing frequency.",
+ "type": "string",
+ "enum": [
+ "Month",
+ "Quarter",
+ "Year"
+ ],
+ "x-ms-enum": {
+ "name": "BillingFrequency",
+ "modelAsString": true
+ }
+ },
+ "priceHidden": {
+ "description": "Price is hidden or not.",
+ "type": "boolean",
+ "readOnly": true
+ },
+ "newPurchasesDetails": {
+ "description": "List of new purchases.",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "the name of new purchase.",
+ "type": "string",
+ "readOnly": true
+ },
+ "value": {
+ "description": "the value of new purchase.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "readOnly": true
+ },
+ "adjustmentDetails": {
+ "description": "List of Adjustments (Promo credit, SIE credit etc.).",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "the name of new adjustment.",
+ "type": "string",
+ "readOnly": true
+ },
+ "value": {
+ "description": "the value of new adjustment.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationSummary": {
+ "description": "reservation summary resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ReservationSummaryProperties",
+ "title": "Reservation Summary properties"
+ }
+ }
+ },
+ "ReservationSummariesListResult": {
+ "description": "Result of listing reservation summaries.",
+ "properties": {
+ "value": {
+ "description": "The list of reservation summaries.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ReservationSummary"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationSummaryProperties": {
+ "description": "The properties of the reservation summary.",
+ "properties": {
+ "reservationOrderId": {
+ "description": "The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationId": {
+ "description": "The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "skuName": {
+ "description": "This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservedHours": {
+ "description": "This is the total hours reserved. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "usageDate": {
+ "description": "Data corresponding to the utilization record. If the grain of data is monthly, it will be first day of month.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usedHours": {
+ "description": "Total used hours by the reservation",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "minUtilizationPercentage": {
+ "description": "This is the minimum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 10%, this field will return 10% for that day",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "avgUtilizationPercentage": {
+ "description": "This is average utilization for the entire time range. (day or month depending on the grain)",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "maxUtilizationPercentage": {
+ "description": "This is the maximum hourly utilization in the usage time (day or month). E.g. if usage record corresponds to 12/10/2017 and on that for hour 4 and 5, utilization was 100%, this field will return 100% for that day.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationDetail": {
+ "description": "reservation detail resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ReservationDetailProperties",
+ "title": "Reservation Detail properties"
+ }
+ }
+ },
+ "ReservationDetailsListResult": {
+ "description": "Result of listing reservation details.",
+ "properties": {
+ "value": {
+ "description": "The list of reservation details.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ReservationDetail"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationDetailProperties": {
+ "description": "The properties of the reservation detail.",
+ "properties": {
+ "reservationOrderId": {
+ "description": "The reservation order ID is the identifier for a reservation purchase. Each reservation order ID represents a single purchase transaction. A reservation order contains reservations. The reservation order specifies the VM size and region for the reservations.",
+ "type": "string",
+ "readOnly": true
+ },
+ "instanceFlexibilityRatio": {
+ "description": "The instance Flexibility Ratio.",
+ "type": "string",
+ "readOnly": true
+ },
+ "instanceFlexibilityGroup": {
+ "description": "The instance Flexibility Group.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservationId": {
+ "description": "The reservation ID is the identifier of a reservation within a reservation order. Each reservation is the grouping for applying the benefit scope and also specifies the number of instances to which the reservation benefit can be applied to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "skuName": {
+ "description": "This is the ARM Sku name. It can be used to join with the serviceType field in additional info in usage records.",
+ "type": "string",
+ "readOnly": true
+ },
+ "reservedHours": {
+ "description": "This is the total hours reserved for the day. E.g. if reservation for 1 instance was made on 1 PM, this will be 11 hours for that day and 24 hours from subsequent days.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "usageDate": {
+ "description": "The date on which consumption occurred.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usedHours": {
+ "description": "This is the total hours used by the instance.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "instanceId": {
+ "description": "This identifier is the name of the resource or the fully qualified Resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "totalReservedQuantity": {
+ "description": "This is the total count of instances that are reserved for the reservationId.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationRecommendation": {
+ "description": "Reservation recommendation resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ },
+ {
+ "$ref": "#/definitions/ResourceAttributes"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ReservationRecommendationProperties",
+ "title": "Reservation Recommendation properties"
+ }
+ }
+ },
+ "ReservationRecommendationsListResult": {
+ "description": "Result of listing reservation recommendations.",
+ "properties": {
+ "value": {
+ "description": "The list of reservation recommendations.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ReservationRecommendation"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ReservationRecommendationProperties": {
+ "description": "The properties of the reservation recommendation.",
+ "properties": {
+ "lookBackPeriod": {
+ "description": "The number of days of usage to look back for recommendation.",
+ "type": "string",
+ "readOnly": true
+ },
+ "instanceFlexibilityRatio": {
+ "description": "The instance Flexibility Ratio.",
+ "type": "integer",
+ "readOnly": true
+ },
+ "instanceFlexibilityGroup": {
+ "description": "The instance Flexibility Group.",
+ "type": "string",
+ "readOnly": true
+ },
+ "normalizedSize": {
+ "description": "The normalized Size.",
+ "type": "string",
+ "readOnly": true
+ },
+ "recommendedQuantityNormalized": {
+ "description": "The recommended Quantity Normalized.",
+ "type": "number",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID)",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "term": {
+ "description": "RI recommendations in one or three year terms.",
+ "type": "string",
+ "readOnly": true
+ },
+ "costWithNoReservedInstances": {
+ "description": "The total amount of cost without reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "recommendedQuantity": {
+ "description": "Recommended quality for reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "totalCostWithReservedInstances": {
+ "description": "The total amount of cost with reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "netSavings": {
+ "description": "Total estimated savings with reserved instances.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "firstUsageDate": {
+ "description": "The usage date for looking back.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "scope": {
+ "description": "Shared or single recommendation.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "TagsResult": {
+ "description": "A resource listing all tags.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/TagProperties",
+ "title": "Tag properties"
+ }
+ }
+ },
+ "TagProperties": {
+ "description": "The properties of the tag.",
+ "properties": {
+ "tags": {
+ "description": "A list of Tag.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Tag"
+ }
+ }
+ }
+ },
+ "Tag": {
+ "description": "The tag resource.",
+ "properties": {
+ "key": {
+ "description": "Tag key.",
+ "type": "string"
+ }
+ }
+ },
+ "BudgetsListResult": {
+ "description": "Result of listing budgets. It contains a list of available budgets in the scope provided.",
+ "properties": {
+ "value": {
+ "description": "The list of budgets.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Budget"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Budget": {
+ "description": "A budget resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BudgetProperties",
+ "title": "Budget properties"
+ }
+ }
+ },
+ "BudgetProperties": {
+ "description": "The properties of the budget.",
+ "properties": {
+ "category": {
+ "description": "The category of the budget, whether the budget tracks cost or usage.",
+ "type": "string",
+ "enum": [
+ "Cost",
+ "Usage"
+ ],
+ "x-ms-enum": {
+ "name": "CategoryType",
+ "modelAsString": true
+ }
+ },
+ "amount": {
+ "description": "The total amount of cost to track with the budget",
+ "type": "number",
+ "format": "decimal"
+ },
+ "timeGrain": {
+ "description": "The time covered by a budget. Tracking of the amount will be reset based on the time grain.",
+ "type": "string",
+ "enum": [
+ "Monthly",
+ "Quarterly",
+ "Annually",
+ "BillingMonth",
+ "BillingQuarter",
+ "BillingAnnual"
+ ],
+ "x-ms-enum": {
+ "name": "TimeGrainType",
+ "modelAsString": true
+ }
+ },
+ "timePeriod": {
+ "description": "Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date.",
+ "$ref": "#/definitions/BudgetTimePeriod"
+ },
+ "filters": {
+ "description": "May be used to filter budgets by resource group, resource, or meter.",
+ "type": "object",
+ "$ref": "#/definitions/Filters"
+ },
+ "currentSpend": {
+ "description": "The current amount of cost which is being tracked for a budget.",
+ "$ref": "#/definitions/CurrentSpend",
+ "readOnly": true
+ },
+ "notifications": {
+ "type": "object",
+ "description": "Dictionary of notifications associated with the budget. Budget can have up to five notifications.",
+ "additionalProperties": {
+ "type": "object",
+ "$ref": "#/definitions/Notification"
+ },
+ "maxItems": 5
+ }
+ },
+ "required": [
+ "category",
+ "amount",
+ "timeGrain",
+ "timePeriod"
+ ]
+ },
+ "BudgetTimePeriod": {
+ "description": "The start and end date for a budget.",
+ "properties": {
+ "startDate": {
+ "description": "The start date for the budget.",
+ "type": "string",
+ "format": "date-time"
+ },
+ "endDate": {
+ "description": "The end date for the budget. If not provided, we default this to 10 years from the start date.",
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "required": [
+ "startDate"
+ ]
+ },
+ "Filters": {
+ "description": "May be used to filter budgets by resource group, resource, or meter.",
+ "properties": {
+ "resourceGroups": {
+ "description": "The list of filters on resource groups, allowed at subscription level only.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "maxItems": 10
+ },
+ "resources": {
+ "description": "The list of filters on resources.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "maxItems": 10
+ },
+ "meters": {
+ "description": "The list of filters on meters (GUID), mandatory for budgets of usage category. ",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "uuid"
+ },
+ "minItems": 0,
+ "maxItems": 10
+ },
+ "tags": {
+ "type": "object",
+ "description": "The dictionary of filters on tags.",
+ "additionalProperties": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "minItems": 0,
+ "maxItems": 10
+ }
+ }
+ },
+ "CurrentSpend": {
+ "description": "The current amount of cost which is being tracked for a budget.",
+ "properties": {
+ "amount": {
+ "description": "The total amount of cost which is being tracked by the budget.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "unit": {
+ "description": "The unit of measure for the budget amount.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Notification": {
+ "description": "The notification associated with a budget.",
+ "properties": {
+ "enabled": {
+ "description": "The notification is enabled or not.",
+ "type": "boolean"
+ },
+ "operator": {
+ "description": "The comparison operator.",
+ "type": "string",
+ "enum": [
+ "EqualTo",
+ "GreaterThan",
+ "GreaterThanOrEqualTo"
+ ],
+ "x-ms-enum": {
+ "name": "OperatorType",
+ "modelAsString": true
+ }
+ },
+ "threshold": {
+ "description": "Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.",
+ "type": "number",
+ "format": "decimal"
+ },
+ "contactEmails": {
+ "description": "Email addresses to send the budget notification to when the threshold is exceeded.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 1,
+ "maxItems": 50
+ },
+ "contactRoles": {
+ "description": "Contact roles to send the budget notification to when the threshold is exceeded.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "contactGroups": {
+ "description": "Action groups to send the budget notification to when the threshold is exceeded.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "minItems": 0,
+ "maxItems": 50
+ }
+ },
+ "required": [
+ "enabled",
+ "operator",
+ "threshold",
+ "contactEmails"
+ ]
+ },
+ "PriceSheetResult": {
+ "description": "An pricesheet resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/PriceSheetModel",
+ "title": "Price sheet properties"
+ }
+ }
+ },
+ "PriceSheetModel": {
+ "description": "price sheet result. It contains the pricesheet associated with billing period",
+ "properties": {
+ "pricesheets": {
+ "description": "Price sheet",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/PriceSheetProperties"
+ }
+ },
+ "nextLink": {
+ "description": "The link (url) to the next page of results.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "PriceSheetProperties": {
+ "description": "The properties of the price sheet.",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the usage belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterId": {
+ "description": "The meter id (GUID)",
+ "type": "string",
+ "format": "uuid",
+ "readOnly": true
+ },
+ "meterDetails": {
+ "description": "The details about the meter. By default this is not populated, unless it's specified in $expand.",
+ "$ref": "#/definitions/MeterDetails",
+ "readOnly": true
+ },
+ "unitOfMeasure": {
+ "description": "Unit of measure",
+ "type": "string",
+ "readOnly": true
+ },
+ "includedQuantity": {
+ "description": "Included quality for an offer",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "partNumber": {
+ "description": "Part Number",
+ "type": "string",
+ "readOnly": true
+ },
+ "unitPrice": {
+ "description": "Unit Price",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currencyCode": {
+ "description": "Currency Code",
+ "type": "string",
+ "readOnly": true
+ },
+ "offerId": {
+ "description": "Offer Id",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Forecast": {
+ "description": "A forecast resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ForecastProperties",
+ "title": "Forecast properties"
+ }
+ }
+ },
+ "ForecastsListResult": {
+ "description": "Result of listing forecasts. It contains a list of available forecasts.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The list of forecasts.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Forecast"
+ }
+ }
+ }
+ },
+ "ForecastProperties": {
+ "description": "The properties of the forecast charge.",
+ "type": "object",
+ "properties": {
+ "usageDate": {
+ "description": "The usage date of the forecast.",
+ "type": "string",
+ "readOnly": true
+ },
+ "grain": {
+ "description": "The granularity of forecast.",
+ "type": "string",
+ "enum": [
+ "Daily",
+ "Monthly",
+ "Yearly"
+ ],
+ "x-ms-enum": {
+ "name": "Grain",
+ "modelAsString": true
+ }
+ },
+ "charge": {
+ "description": "The amount of charge",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "chargeType": {
+ "description": "The type of the charge. Could be actual or forecast",
+ "type": "string",
+ "enum": [
+ "Actual",
+ "Forecast"
+ ],
+ "x-ms-enum": {
+ "name": "ChargeType",
+ "modelAsString": true
+ }
+ },
+ "confidenceLevels": {
+ "description": "The details about the forecast confidence levels. This is populated only when chargeType is Forecast.",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "percentage": {
+ "description": "The percentage level of the confidence",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "bound": {
+ "description": "The boundary of the percentage, values could be 'Upper' or 'Lower'",
+ "type": "string",
+ "enum": [
+ "Upper",
+ "Lower"
+ ],
+ "x-ms-enum": {
+ "name": "Bound",
+ "modelAsString": true
+ }
+ },
+ "value": {
+ "description": "The amount of forecast within the percentage level",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ }
+ }
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "ManagementGroupAggregatedCostResult": {
+ "description": "A management group aggregated cost resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ManagementGroupAggregatedCostProperties",
+ "title": "Management Group Aggregated Cost properties"
+ }
+ }
+ },
+ "ManagementGroupAggregatedCostProperties": {
+ "description": "The properties of the Management Group Aggregated Cost.",
+ "type": "object",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the aggregated cost belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageStart": {
+ "description": "The start of the date time range covered by aggregated cost.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "usageEnd": {
+ "description": "The end of the date time range covered by the aggregated cost.",
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true
+ },
+ "azureCharges": {
+ "description": "Azure Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "marketplaceCharges": {
+ "description": "Marketplace Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "chargesBilledSeparately": {
+ "description": "Charges Billed Separately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "The ISO currency in which the meter is charged, for example, USD.",
+ "type": "string",
+ "readOnly": true
+ },
+ "children": {
+ "description": "Children of a management group",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagementGroupAggregatedCostResult"
+ }
+ },
+ "includedSubscriptions": {
+ "description": "List of subscription Guids included in the calculation of aggregated cost",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "excludedSubscriptions": {
+ "description": "List of subscription Guids excluded from the calculation of aggregated cost",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ChargesListResult": {
+ "description": "Result of listing charge summary.",
+ "properties": {
+ "value": {
+ "description": "The list of charge summary",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/ChargeSummary"
+ }
+ }
+ }
+ },
+ "ChargeSummary": {
+ "description": "A charge summary resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ChargeSummaryProperties",
+ "title": "Charge summary properties"
+ }
+ }
+ },
+ "ChargeSummaryProperties": {
+ "description": "The properties of the charge summary.",
+ "type": "object",
+ "properties": {
+ "billingPeriodId": {
+ "description": "The id of the billing period resource that the charge belongs to.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageStart": {
+ "description": "Usage start date.",
+ "type": "string",
+ "readOnly": true
+ },
+ "usageEnd": {
+ "description": " Usage end date.",
+ "type": "string",
+ "readOnly": true
+ },
+ "azureCharges": {
+ "description": "Azure Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "chargesBilledSeparately": {
+ "description": "Charges Billed separately.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "marketplaceCharges": {
+ "description": "Marketplace Charges.",
+ "type": "number",
+ "format": "decimal",
+ "readOnly": true
+ },
+ "currency": {
+ "description": "Currency Code",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "MeterDetailsResponse": {
+ "description": "The properties of the meter detail.",
+ "properties": {
+ "meterName": {
+ "description": "The name of the meter, within the given meter category",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterCategory": {
+ "description": "The category of the meter, for example, 'Cloud services', 'Networking', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "meterSubCategory": {
+ "description": "The subcategory of the meter, for example, 'A6 Cloud services', 'ExpressRoute (IXP)', etc..",
+ "type": "string",
+ "readOnly": true
+ },
+ "unitOfMeasure": {
+ "description": "The unit in which the meter consumption is charged, for example, 'Hours', 'GB', etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "serviceFamily": {
+ "description": "The service family.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorDetails": {
+ "description": "The details of the error.",
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "The details of the error.",
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ },
+ "Operation": {
+ "description": "A Consumption REST API operation.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}.",
+ "type": "string",
+ "readOnly": true
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft.Consumption.",
+ "type": "string",
+ "readOnly": true
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: UsageDetail, etc.",
+ "type": "string",
+ "readOnly": true
+ },
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of listing consumption operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "description": "List of consumption operations supported by the Microsoft.Consumption resource provider.",
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ },
+ "nextLink": {
+ "description": "URL to get the next set of operation list results if there are any.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Resource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ },
+ "tags": {
+ "readOnly": true,
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ResourceAttributes": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "location": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource location"
+ },
+ "sku": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource sku"
+ }
+ }
+ },
+ "ProxyResource": {
+ "description": "The Resource model definition.",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource Id."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ },
+ "eTag": {
+ "type": "string",
+ "description": "eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not."
+ }
+ },
+ "x-ms-azure-resource": true
+ }
+ },
+ "parameters": {
+ "scopeChargesParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with usage details operations. This includes '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope and '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope. For department and enrollment accounts, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeUsageDetailsParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with usage details operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and management group, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeMarketplaceParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with marketplace operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope. For subscription, billing account, department, enrollment account and ManagementGroup, you can also add billing period to the scope using '/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'. For e.g. to specify billing period at department scope use '/providers/Microsoft.Billing/departments/{departmentId}/providers/Microsoft.Billing/billingPeriods/{billingPeriodName}'",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeBudgetParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "scopeTagsParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope associated with tags operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope and '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope..",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "apiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Version of the API to be used with the client request. The current version is 2019-05-01."
+ },
+ "billingAccountIdParameter": {
+ "name": "billingAccountId",
+ "in": "path",
+ "description": "BillingAccount ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "departmentIdParameter": {
+ "name": "departmentId",
+ "in": "path",
+ "description": "Department ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "enrollmentAccountIdParameter": {
+ "name": "enrollmentAccountId",
+ "in": "path",
+ "description": "EnrollmentAccount ID",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "Azure Subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "Azure Resource Group Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "budgetNameParameter": {
+ "name": "budgetName",
+ "in": "path",
+ "description": "Budget Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "billingPeriodNameParameter": {
+ "name": "billingPeriodName",
+ "in": "path",
+ "description": "Billing Period Name.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "reservationOrderIdParameter": {
+ "name": "reservationOrderId",
+ "in": "path",
+ "description": "Order Id of the reservation",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "reservationIdParameter": {
+ "name": "reservationId",
+ "in": "path",
+ "description": "Id of the reservation",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "grainParameter": {
+ "name": "grain",
+ "description": "Can be daily or monthly",
+ "x-ms-parameter-location": "method",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "daily",
+ "monthly"
+ ],
+ "x-ms-enum": {
+ "name": "datagrain",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "daily",
+ "description": "Daily grain of data",
+ "name": "DailyGrain"
+ },
+ {
+ "value": "monthly",
+ "description": "Monthly grain of data",
+ "name": "MonthlyGrain"
+ }
+ ]
+ }
+ },
+ "managementGroupIdParameter": {
+ "name": "managementGroupId",
+ "in": "path",
+ "description": "Azure Management Group ID.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "billingProfileIdParameter": {
+ "name": "billingProfileId",
+ "in": "path",
+ "description": "Azure Billing Profile ID.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "invoiceSectionIdParameter": {
+ "name": "invoiceSectionId",
+ "in": "path",
+ "description": "Azure Invoice Section ID.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "metricParameter": {
+ "name": "metric",
+ "in": "query",
+ "description": "Allows to select different type of cost/usage records.",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method",
+ "enum": [
+ "actualcost",
+ "amortizedcost",
+ "usage"
+ ],
+ "x-ms-enum": {
+ "name": "metrictype",
+ "modelAsString": true,
+ "values": [
+ {
+ "value": "actualcost",
+ "description": "Actual cost data.",
+ "name": "ActualCostMetricType"
+ },
+ {
+ "value": "amortizedcost",
+ "description": "Amortized cost data.",
+ "name": "AmortizedCostMetricType"
+ },
+ {
+ "value": "usage",
+ "description": "Usage data.",
+ "name": "UsageMetricType"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroup.json
new file mode 100644
index 000000000000..9935a249ce99
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroup.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "managementGroupId": "managementGroupForTest"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1",
+ "name": "aggregatedcostId1",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "1caaa5a3-2b66-438e-8ab4-bce37d518c5d"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2019-05-01T00:00:00.0000000Z",
+ "usageEnd": "2018-10-31T00:00:00.0000000Z",
+ "azureCharges": 250.9876,
+ "marketplaceCharges": 150.786,
+ "chargesBilledSeparately": 120.345,
+ "currency": "USD",
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2",
+ "name": "aggregatedcostId2",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "c349567d-c83a-48c9-ab0e-578c69dc97a4"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2019-05-01T00:00:00.0000000Z",
+ "usageEnd": "2018-10-31T00:00:00.0000000Z",
+ "azureCharges": 150.0,
+ "marketplaceCharges": 50.786,
+ "chargesBilledSeparately": 30.345,
+ "currency": "USD",
+ "children": []
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroupFilterByDate.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroupFilterByDate.json
new file mode 100644
index 000000000000..cf899d3abb70
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostByManagementGroupFilterByDate.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "managementGroupId": "managementGroupForTest",
+ "$filter": "usageStart ge '2018-08-15' and properties/usageStart le '2018-08-31'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1",
+ "name": "aggregatedcostId1",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "1caaa5a3-2b66-438e-8ab4-bce37d518c5d"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2018-08-15T00:00:00.0000000Z",
+ "usageEnd": "2018-08-31T00:00:00.0000000Z",
+ "azureCharges": 150.9876,
+ "marketplaceCharges": 80.786,
+ "chargesBilledSeparately": 90.345,
+ "currency": "USD",
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2",
+ "name": "aggregatedcostId2",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "includedSubscriptions": [
+ "c349567d-c83a-48c9-ab0e-578c69dc97a4"
+ ],
+ "excludedSubscriptions": [],
+ "usageStart": "2018-08-15T00:00:00.0000000Z",
+ "usageEnd": "2018-08-31T00:00:00.0000000Z",
+ "azureCharges": 50.0,
+ "marketplaceCharges": 10.786,
+ "chargesBilledSeparately": 30.345,
+ "currency": "USD",
+ "children": []
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostForBillingPeriodByManagementGroup.json
new file mode 100644
index 000000000000..bc0631163d53
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/AggregatedCostForBillingPeriodByManagementGroup.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201807"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupForTest/providers/Microsoft.Consumption/aggregatedcostId1",
+ "name": "aggregatedcostId1",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "usageStart": "2018-07-01T00:00:00.0000000Z",
+ "usageEnd": "2018-07-31T00:00:00.0000000Z",
+ "azureCharges": 250.9876,
+ "marketplaceCharges": 150.786,
+ "chargesBilledSeparately": 120.345,
+ "currency": "USD",
+ "children": [
+ {
+ "id": "/providers/Microsoft.Management/managementGroups/managementGroupChildForTest/providers/Microsoft.Consumption/aggregatedcostId2",
+ "name": "aggregatedcostId2",
+ "type": "Microsoft.Consumption/aggregatedcost",
+ "properties": {
+ "usageStart": "2018-07-01T00:00:00.0000000Z",
+ "usageEnd": "2018-07-31T00:00:00.0000000Z",
+ "azureCharges": 150.0,
+ "marketplaceCharges": 50.786,
+ "chargesBilledSeparately": 30.345,
+ "currency": "USD",
+ "children": []
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccount.json
new file mode 100644
index 000000000000..661d34975d1b
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccount.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/balances/balanceId1",
+ "name": "balanceId1",
+ "type": "Microsoft.Consumption/balances",
+ "properties": {
+ "currency": "USD ",
+ "beginningBalance": 3396469.19,
+ "endingBalance": 2922371.02,
+ "newPurchases": 0,
+ "adjustments": 0,
+ "utilized": 474098.17,
+ "serviceOverage": 0,
+ "chargesBilledSeparately": 0,
+ "totalOverage": 0,
+ "totalUsage": 474098.17,
+ "azureMarketplaceServiceCharges": 609.82,
+ "billingFrequency": "Month",
+ "priceHidden": false,
+ "newPurchasesDetails": [
+ {
+ "name": "Promo Purchase",
+ "value": 1
+ }
+ ],
+ "adjustmentDetails": [
+ {
+ "name": "Promo Credit",
+ "value": 1.1
+ },
+ {
+ "name": "SIE Credit",
+ "value": 1.0
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccountForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccountForBillingPeriod.json
new file mode 100644
index 000000000000..45b4f03410fc
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BalancesByBillingAccountForBillingPeriod.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "123456",
+ "billingPeriodName": "201702"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/balances/balanceId1",
+ "name": "balanceId1",
+ "type": "Microsoft.Consumption/balances",
+ "properties": {
+ "currency": "USD ",
+ "beginningBalance": 3396469.19,
+ "endingBalance": 2922371.02,
+ "newPurchases": 0,
+ "adjustments": 0,
+ "utilized": 474098.17,
+ "serviceOverage": 0,
+ "chargesBilledSeparately": 0,
+ "totalOverage": 0,
+ "totalUsage": 474098.17,
+ "azureMarketplaceServiceCharges": 609.82,
+ "billingFrequency": "Month",
+ "priceHidden": false,
+ "newPurchasesDetails": [
+ {
+ "name": "Promo Purchase",
+ "value": 1
+ }
+ ],
+ "adjustmentDetails": [
+ {
+ "name": "Promo Credit",
+ "value": 1.1
+ },
+ {
+ "name": "SIE Credit",
+ "value": 1.0
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Budget.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Budget.json
new file mode 100644
index 000000000000..be9537a6b425
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Budget.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "budgetName": "TestBudget",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MPDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MSVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BudgetsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BudgetsList.json
new file mode 100644
index 000000000000..9ec90134c5e8
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/BudgetsList.json
@@ -0,0 +1,160 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MYDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ]
+ },
+ "Actual_GreaterThanOrEqualTo_90_Percent": {
+ "enabled": true,
+ "operator": "GreaterThanOrEqualTo",
+ "threshold": 90,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 600.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MYDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 120.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_40_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 40,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ]
+ },
+ "Actual_GreaterThanOrEqualTo_60_Percent": {
+ "enabled": true,
+ "operator": "GreaterThanOrEqualTo",
+ "threshold": 60,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByDepartment.json
new file mode 100644
index 000000000000..760afa147745
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByDepartment.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "1234",
+ "departmentId": "42425",
+ "billingPeriodName": "201804",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
+ "name": "chargeSummaryId1",
+ "type": "Microsoft.Consumption/charges",
+ "properties": {
+ "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
+ "usageStart": "2018-04-01",
+ "usageEnd": "2018-04-30",
+ "azureCharges": 5000.00,
+ "chargesBilledSeparately": 60.90,
+ "marketplaceCharges": 100.00,
+ "currency": "USD"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByEnrollmentAccount.json
new file mode 100644
index 000000000000..be9ee3e1757b
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesForBillingPeriodByEnrollmentAccount.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "1234",
+ "enrollmentAccountId": "42425",
+ "billingPeriodName": "201804",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
+ "name": "chargeSummaryId1",
+ "type": "Microsoft.Consumption/charges",
+ "properties": {
+ "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
+ "usageStart": "2018-04-01",
+ "usageEnd": "2018-04-30",
+ "azureCharges": 5000.00,
+ "chargesBilledSeparately": 60.90,
+ "marketplaceCharges": 100.00,
+ "currency": "USD"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForDepartmentFilterByStartEndDate.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForDepartmentFilterByStartEndDate.json
new file mode 100644
index 000000000000..9fc435a17ef4
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForDepartmentFilterByStartEndDate.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "1234",
+ "departmentId": "42425",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234",
+ "$filter": "usageStart eq '2018-04-01' AND usageEnd eq '2018-05-30'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/departments/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
+ "name": "chargeSummaryId1",
+ "type": "Microsoft.Consumption/charges",
+ "properties": {
+ "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
+ "usageStart": "2018-04-01",
+ "usageEnd": "2018-04-30",
+ "azureCharges": 5000.00,
+ "chargesBilledSeparately": 60.90,
+ "marketplaceCharges": 100.00,
+ "currency": "USD"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json
new file mode 100644
index 000000000000..eae6f9b6745c
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ChargesListForEnrollmentAccountFilterByStartEndDate.json
@@ -0,0 +1,26 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "1234",
+ "enrollmentAccountId": "42425",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/enrollmentAccounts/42425/providers/Microsoft.Consumption/charges/chargeSummaryId1",
+ "name": "chargeSummaryId1",
+ "type": "Microsoft.Consumption/charges",
+ "properties": {
+ "billingPeriodId": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201804",
+ "usageStart": "2018-04-01",
+ "usageEnd": "2018-04-30",
+ "azureCharges": 5000.00,
+ "chargesBilledSeparately": 60.90,
+ "marketplaceCharges": 100.00,
+ "currency": "USD"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/CreateOrUpdateBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/CreateOrUpdateBudget.json
new file mode 100644
index 000000000000..ca3c4cd7030c
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/CreateOrUpdateBudget.json
@@ -0,0 +1,185 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "budgetName": "TestBudget",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "parameters": {
+ "eTag": "\"1d34d016a593709\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MYDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MPDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "subscriptions/{subscription-id}/providers/Microsoft.Consumption/budgets/TestBudget",
+ "name": "TestBudget",
+ "type": "Microsoft.Consumption/budgets",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "category": "Cost",
+ "amount": 100.65,
+ "timeGrain": "Monthly",
+ "timePeriod": {
+ "startDate": "2017-10-01T00:00:00Z",
+ "endDate": "2018-10-31T00:00:00Z"
+ },
+ "filters": {
+ "resourceGroups": [
+ "MPDEVTESTRG"
+ ],
+ "resources": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/MYVM2",
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/Microsoft.Compute/virtualMachines/platformcloudplatformGeneric1"
+ ],
+ "meters": [
+ "00000000-0000-0000-0000-000000000000"
+ ],
+ "tags": {
+ "category": [
+ "Dev",
+ "Prod"
+ ],
+ "department": [
+ "engineering",
+ "sales"
+ ]
+ }
+ },
+ "currentSpend": {
+ "amount": 80.89,
+ "unit": "USD"
+ },
+ "notifications": {
+ "Actual_GreaterThan_80_Percent": {
+ "enabled": true,
+ "operator": "GreaterThan",
+ "threshold": 80,
+ "contactEmails": [
+ "johndoe@contoso.com",
+ "janesmith@contoso.com"
+ ],
+ "contactRoles": [
+ "Contributor",
+ "Reader"
+ ],
+ "contactGroups": [
+ "/subscriptions/{subscription-id}/resourceGroups/MYDEVTESTRG/providers/microsoft.insights/actionGroups/SampleActionGroup"
+ ]
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/DeleteBudget.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/DeleteBudget.json
new file mode 100644
index 000000000000..4a0056ec54ec
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/DeleteBudget.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "MYDEVTESTRG",
+ "budgetName": "TestBudget",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsList.json
new file mode 100644
index 000000000000..de0ea04661b4
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1",
+ "name": "forecastId1",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-01",
+ "grain": "Daily",
+ "charge": 752.000000,
+ "currency": "USD",
+ "chargeType": "Actual",
+ "confidenceLevels": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2",
+ "name": "forecastId2",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-02",
+ "grain": "Daily",
+ "charge": 753.809074,
+ "currency": "USD",
+ "chargeType": "Forecast",
+ "confidenceLevels": [
+ {
+ "percentage": 95,
+ "bound": "Upper",
+ "value": 1165.951737
+ },
+ {
+ "percentage": 95,
+ "bound": "Lower",
+ "value": 340.753404
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByDates.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByDates.json
new file mode 100644
index 000000000000..858ff397f1ff
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByDates.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "usagedate ge '2018-04-01' AND usagedate le '2018-04-02'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1",
+ "name": "forecastId1",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-01",
+ "grain": "Daily",
+ "charge": 752.000000,
+ "currency": "USD",
+ "chargeType": "Actual",
+ "confidenceLevels": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2",
+ "name": "forecastId2",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-02",
+ "grain": "Daily",
+ "charge": 753.809074,
+ "currency": "USD",
+ "chargeType": "Forecast",
+ "confidenceLevels": [
+ {
+ "percentage": 95,
+ "bound": "Upper",
+ "value": 1165.951737
+ },
+ {
+ "percentage": 95,
+ "bound": "Lower",
+ "value": 340.753404
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByGrain.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByGrain.json
new file mode 100644
index 000000000000..bc34d29580af
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ForecastsListFilterByGrain.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "Grain eq 'Monthly'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId1",
+ "name": "forecastId1",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-04-01",
+ "grain": "Monthly",
+ "charge": 752.000000,
+ "currency": "USD",
+ "chargeType": "Actual",
+ "confidenceLevels": null
+ }
+ },
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Consumption/forecasts/forecastId2",
+ "name": "forecastId2",
+ "type": "Microsoft.Consumption/forecasts",
+ "properties": {
+ "usageDate": "2018-05-01",
+ "grain": "Monthly",
+ "charge": 753.809074,
+ "currency": "USD",
+ "chargeType": "Forecast",
+ "confidenceLevels": [
+ {
+ "percentage": 95,
+ "bound": "Upper",
+ "value": 1165.951737
+ },
+ {
+ "percentage": 95,
+ "bound": "Lower",
+ "value": 340.753404
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountList.json
new file mode 100644
index 000000000000..bdea38e8cf96
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountList.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456",
+ "billingAccountId": "123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplaceId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan1",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountListForBillingPeriod.json
new file mode 100644
index 000000000000..8bd2142eafcc
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByBillingAccountListForBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "123456",
+ "scope": "providers/Microsoft.Billing/billingAccounts/123456",
+ "billingPeriodName": "201702"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/billingAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartmentList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartmentList.json
new file mode 100644
index 000000000000..9b988bfaa787
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartmentList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "departmentId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/departments/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartment_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartment_ListByBillingPeriod.json
new file mode 100644
index 000000000000..9b988bfaa787
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByDepartment_ListByBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "departmentId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/departments/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/departments/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccountList.json
new file mode 100644
index 000000000000..4d1f6f881938
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccountList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "enrollmentAccountId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json
new file mode 100644
index 000000000000..4d1f6f881938
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByEnrollmentAccounts_ListByBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "enrollmentAccountId": "123456",
+ "billingPeriodName": "201702",
+ "scope": "providers/Microsoft.Billing/enrollmentAccounts/123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/providers/Microsoft.Billing/enrollmentAccounts/123456/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroupList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroupList.json
new file mode 100644
index 000000000000..0116a8fa0d5e
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroupList.json
@@ -0,0 +1,85 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "managementGroupId": "managementGroupForTest",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201810/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201810",
+ "usageStart": "2018-10-13T00:00:00Z",
+ "usageEnd": "2018-10-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ },
+ {
+ "id": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810/providers/Microsoft.Consumption/marketplaces/marketplaceId2",
+ "name": "marketplacesId2",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account2",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center2",
+ "departmentName": "Department2",
+ "billingPeriodId": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810",
+ "usageStart": "2018-10-13T00:00:00Z",
+ "usageEnd": "2018-10-13T23:59:59Z",
+ "instanceName": "shared2",
+ "instanceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared2",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "11111111-1111-1111-1111-111111111111",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "11111111-1111-1111-1111-111111111111",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json
new file mode 100644
index 000000000000..c649c3588c2d
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesByManagementGroup_ListForBillingPeriod.json
@@ -0,0 +1,86 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201808",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201808/providers/Microsoft.Consumption/marketplaces/marketplaceId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201808",
+ "usageStart": "2018-08-13T00:00:00Z",
+ "usageEnd": "2018-08-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ },
+ {
+ "id": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201808/providers/Microsoft.Consumption/marketplaces/marketplaceId2",
+ "name": "marketplacesId2",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account2",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center2",
+ "departmentName": "Department2",
+ "billingPeriodId": "/subscriptions/11111111-1111-1111-1111-111111111111/providers/Microsoft.Billing/billingPeriods/201810",
+ "usageStart": "2018-08-13T00:00:00Z",
+ "usageEnd": "2018-08-13T23:59:59Z",
+ "instanceName": "shared2",
+ "instanceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared2",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "11111111-1111-1111-1111-111111111111",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "11111111-1111-1111-1111-111111111111",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesList.json
new file mode 100644
index 000000000000..935b6f58d6a9
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesList.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketPlaces/marketplaceId1",
+ "name": "marketplaceId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan1",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesListForBillingPeriod.json
new file mode 100644
index 000000000000..dc141d289de4
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/MarketplacesListForBillingPeriod.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201801"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/marketPlaces/marketplacesId1",
+ "name": "marketplacesId1",
+ "type": "Microsoft.Consumption/marketPlaces",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "accountName": "Account1",
+ "additionalProperties": "additionalProperties",
+ "costCenter": "Center1",
+ "departmentName": "Department1",
+ "billingPeriodId": "/subscriptions/subid/providers/Microsoft.Billing/billingPeriods/201702",
+ "usageStart": "2017-02-13T00:00:00Z",
+ "usageEnd": "2017-02-13T23:59:59Z",
+ "instanceName": "shared1",
+ "instanceId": "/subscriptions/subid/resourceGroups/Default-Web-eastasia/providers/Microsoft.Web/sites/shared1",
+ "currency": "USD",
+ "consumedQuantity": 0.00328,
+ "pretaxCost": 0.67,
+ "isEstimated": false,
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "offerName": "offer1",
+ "resourceGroup": "TEST",
+ "orderNumber": "00000000-0000-0000-0000-000000000000",
+ "publisherName": "xyz",
+ "planName": "plan2",
+ "resourceRate": 0.24,
+ "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "azure subscription",
+ "unitOfMeasure": "10 Hours",
+ "isRecurringCharge": false
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheet.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheet.json
new file mode 100644
index 000000000000..be47e0b2621a
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheet.json
@@ -0,0 +1,30 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default",
+ "name": "default",
+ "type": "Microsoft.Consumption/pricesheets",
+ "properties": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31&$skiptoken=AQAAAA%3D%3D",
+ "pricesheets": [
+ {
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "unitOfMeasure": "100 Hours",
+ "includedQuantity": 100,
+ "partNumber": "XX-11110",
+ "unitPrice": 0.00328,
+ "currencyCode": "EUR",
+ "offerId": "OfferId 1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetExpand.json
new file mode 100644
index 000000000000..f010627dcbcd
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetExpand.json
@@ -0,0 +1,40 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201801",
+ "$expand": "meterDetails"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default",
+ "name": "default",
+ "type": "Microsoft.Consumption/pricesheets",
+ "properties": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31&$skiptoken=AQAAAA%3D%3D&$expand=properties/pricesheets/meterDetails",
+ "pricesheets": [
+ {
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "unitOfMeasure": "100 Hours",
+ "includedQuantity": 100,
+ "partNumber": "XX-11110",
+ "unitPrice": 0.00328,
+ "currencyCode": "EUR",
+ "offerId": "OfferId 1",
+ "meterDetails": {
+ "meterName": "Data Transfer Out (GB)",
+ "meterCategory": "Networking",
+ "unit": "GB",
+ "meterLocation": "Zone 2",
+ "totalIncludedQuantity": 0,
+ "pretaxStandardRate": 0.138
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetForBillingPeriod.json
new file mode 100644
index 000000000000..6d78cf22f1c9
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/PriceSheetForBillingPeriod.json
@@ -0,0 +1,31 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201801"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/Microsoft.Consumption/pricesheets/default",
+ "name": "default",
+ "type": "Microsoft.Consumption/pricesheets",
+ "properties": {
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702/providers/microsoft.consumption/pricesheets/default?api-version=2018-01-31",
+ "pricesheets": [
+ {
+ "billingPeriodId": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201702",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "unitOfMeasure": "100 Hours",
+ "includedQuantity": 100,
+ "partNumber": "XX-11110",
+ "unitPrice": 0.00328,
+ "currencyCode": "EUR",
+ "offerId": "OfferId 1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetails.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetails.json
new file mode 100644
index 000000000000..451a7d35c563
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetails.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129",
+ "type": "Microsoft.Consumption/reservationDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "usageDate": "2017-11-29T00:00:00Z",
+ "skuName": "Standard_D2_v2",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/abc-sql2014sp33",
+ "totalReservedQuantity": 1.000000000000000,
+ "reservedHours": 24.000000000000000,
+ "usedHours": 24.000000000000000
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsByBillingAccountId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsByBillingAccountId.json
new file mode 100644
index 000000000000..71b4bc55ac28
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsByBillingAccountId.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "12345",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171130",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "type": "Microsoft.Consumption/reservationDetails",
+ "tags": null,
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "usageDate": "2017-11-30T00:00:00-08:00",
+ "skuName": "Standard_D2s_v3",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/sqlh1/providers/microsoft.compute/virtualmachines/sqlh1",
+ "totalReservedQuantity": 0,
+ "reservedHours": 48,
+ "usedHours": 0.6,
+ "instanceFlexibilityGroup": "DSv3 Series",
+ "instanceFlexibilityRatio": "1"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsWithReservationId.json
new file mode 100644
index 000000000000..7b4aa9510345
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationDetailsWithReservationId.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-12-05'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationDetails/20171129",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171129",
+ "type": "Microsoft.Consumption/reservationDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "usageDate": "2017-11-29T00:00:00Z",
+ "skuName": "Standard_D2_v2",
+ "instanceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/wvn-sql/providers/microsoft.compute/virtualmachines/wvn-sql2014sp33",
+ "totalReservedQuantity": 1.000000000000000,
+ "reservedHours": 24.000000000000000,
+ "usedHours": 24.000000000000000
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsByBillingAccountList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsByBillingAccountList.json
new file mode 100644
index 000000000000..ceea409e3207
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsByBillingAccountList.json
@@ -0,0 +1,59 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "123456"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "billingAccount/123456/providers/Microsoft.Consumption/reservationRecommendations/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "location": "westus",
+ "sku": "Standard_DS1_v2",
+ "properties": {
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P1Y",
+ "costWithNoReservedInstances": 12.0785105,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 11.4899644807748,
+ "netSavings": 0.588546019225182,
+ "firstUsageDate": "2019-07-07T00:00:00-07:00",
+ "scope": "Shared",
+ "lookBackPeriod": "Last7Days",
+ "instanceFlexibilityRatio": 1,
+ "instanceFlexibilityGroup": "DSv2 Series",
+ "normalizedSize": "Standard_DS1_v2",
+ "recommendedQuantityNormalized": 1
+ }
+ },
+ {
+ "id": "billingAccount/123456/providers/Microsoft.Consumption/reservationRecommendations/00000000-0000-0000-0000-000000000000",
+ "name": "00000000-0000-0000-0000-000000000000",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "location": "westus",
+ "sku": "Standard_DS1_v2",
+ "properties": {
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P1Y",
+ "costWithNoReservedInstances": 10.0785105,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 13.48,
+ "netSavings": 0.68,
+ "firstUsageDate": "2019-07-07T00:00:00-07:00",
+ "scope": "Shared",
+ "lookBackPeriod": "Last7Days",
+ "instanceFlexibilityRatio": 1,
+ "instanceFlexibilityGroup": "DSv2 Series",
+ "normalizedSize": "Standard_DS1",
+ "recommendedQuantityNormalized": 1.2
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$skiptoken=AQAAAA%3D%3D&"
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json
new file mode 100644
index 000000000000..f169b528120d
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsFilterByScopeLookBackPeriod.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "$filter": "properties/scope eq 'Single' AND properties/lookBackPeriod eq 'Last7Days'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations1",
+ "name": "reservationRecommendations1",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P1Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 4.634521202630137,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations2",
+ "name": "reservationRecommendations2",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P3Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 7.2893157231780812,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$filter=properties/scope+eq+'Single'+AND+properties/lookBackPeriod+eq+'Last7Days'&$skiptoken=AQAAAA%3D%3D&"
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsList.json
new file mode 100644
index 000000000000..c0788f41b413
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationRecommendationsList.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations1",
+ "name": "reservationRecommendations1",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P1Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 4.634521202630137,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ },
+ {
+ "id": "subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations/reservationRecommendations2",
+ "name": "reservationRecommendations2",
+ "type": "Microsoft.Consumption/reservationRecommendations",
+ "sku": "Standard_DS1_v2",
+ "location": "northeurope",
+ "properties": {
+ "lookBackPeriod": "Last7Days",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "term": "P3Y",
+ "costWithNoReservedInstances": 0.0,
+ "recommendedQuantity": 1,
+ "totalCostWithReservedInstances": 0.0,
+ "netSavings": 7.2893157231780812,
+ "firstUsageDate": "2018-03-06T00:00:00Z",
+ "scope": "Single"
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationRecommendations?api-version=2018-03-31&$skiptoken=AQAAAA%3D%3D&"
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDaily.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDaily.json
new file mode 100644
index 000000000000..ea44229b7720
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDaily.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "grain": "daily",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationSummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithBillingAccountId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithBillingAccountId.json
new file mode 100644
index 000000000000..332967a84a10
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithBillingAccountId.json
@@ -0,0 +1,33 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "12345",
+ "grain": "daily",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20180901",
+ "name": "00000000-0000-0000-0000-000000000000_20180901",
+ "type": "Microsoft.Consumption/reservationSummaries",
+ "tags": null,
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_B1s",
+ "reservedHours": 720,
+ "usageDate": "2018-09-01T00:00:00-07:00",
+ "usedHours": 0,
+ "minUtilizationPercentage": 0,
+ "avgUtilizationPercentage": 0,
+ "maxUtilizationPercentage": 0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithReservationId.json
new file mode 100644
index 000000000000..baa406ca7f38
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesDailyWithReservationId.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "grain": "daily",
+ "$filter": "properties/usageDate ge '2017-10-01' AND properties/usageDate le '2017-11-20'"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationSummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthly.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthly.json
new file mode 100644
index 000000000000..6ad998620c4b
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthly.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "grain": "monthly"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationSummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithBillingAccountId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithBillingAccountId.json
new file mode 100644
index 000000000000..160de086c909
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithBillingAccountId.json
@@ -0,0 +1,32 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "12345",
+ "grain": "monthly"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20180901",
+ "name": "00000000-0000-0000-0000-000000000000_20180901",
+ "type": "Microsoft.Consumption/reservationSummaries",
+ "tags": null,
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_B1s",
+ "reservedHours": 720,
+ "usageDate": "2018-09-01T00:00:00-07:00",
+ "usedHours": 0,
+ "minUtilizationPercentage": 0,
+ "avgUtilizationPercentage": 0,
+ "maxUtilizationPercentage": 0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithReservationId.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithReservationId.json
new file mode 100644
index 000000000000..55a214dae0cd
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/ReservationSummariesMonthlyWithReservationId.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "grain": "monthly"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "providers/Microsoft.Capacity/reservationOrders/00000000-0000-0000-0000-000000000000/reservations/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/reservationSummaries/20171001",
+ "name": "00000000-0000-0000-0000-000000000000_00000000-0000-0000-0000-000000000000_20171001",
+ "type": "Microsoft.Consumption/reservationSummaries",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "reservationOrderId": "00000000-0000-0000-0000-000000000000",
+ "reservationId": "00000000-0000-0000-0000-000000000000",
+ "skuName": "Standard_D8s_v3",
+ "reservedHours": 0.0,
+ "usageDate": "2017-10-01T00:00:00Z",
+ "usedHours": 0.0,
+ "minUtilizationPercentage": 0.0,
+ "avgUtilizationPercentage": 0.0,
+ "maxUtilizationPercentage": 0.0
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Tags.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Tags.json
new file mode 100644
index 000000000000..37ba1e8f4985
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/Tags.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "billingAccountId": "12345",
+ "scope": "providers/Microsoft.CostManagement/billingAccounts/1234"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "providers/Microsoft.CostManagement/billingAccounts/{billingaccount-id}/providers/Microsoft.Consumption/tags/tags1",
+ "name": "tags1",
+ "type": "Microsoft.Consumption/tags",
+ "eTag": "\"1d34d012214157f\"",
+ "properties": {
+ "tags": [
+ {
+ "key": "Department"
+ },
+ {
+ "key": "CostCenter"
+ },
+ {
+ "key": "Portal"
+ },
+ {
+ "key": "OrgName"
+ },
+ {
+ "key": "Namespace"
+ },
+ {
+ "key": "resourceType"
+ },
+ {
+ "key": "Subsystem"
+ },
+ {
+ "key": "Environment"
+ },
+ {
+ "key": "clusterName"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsExpand.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsExpand.json
new file mode 100644
index 000000000000..619386b1432c
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsExpand.json
@@ -0,0 +1,66 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201903",
+ "$expand": "meterDetails,additionalInfo",
+ "$filter": "tags eq 'dev:tools'",
+ "$top": 1
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": {
+ "meterName": "Data Transfer Out (GB)",
+ "meterCategory": "Networking",
+ "meterSubCategory": "ExpressRoute",
+ "unitOfMeasure": "GB",
+ "serviceFamily": "Compute"
+ },
+ "quantity": 0.8234,
+ "effectivePrice": 0.010464556322455,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.54,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage",
+ "frequency": "UsageBased",
+ "additionalInfo": "{\"MyType\":\"\",\"ServiceType\":\"\",\"VMName\":\"\",\"UsageType\":\"MyUsage\"}"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsList.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsList.json
new file mode 100644
index 000000000000..6f914eb30ac5
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsList.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693034210767,
+ "cost": 0.000001980949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage",
+ "frequency": "UsageBased"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByBillingAccount.json
new file mode 100644
index 000000000000..8cfcd69aafdd
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByBillingAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01-preview",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByDepartment.json
new file mode 100644
index 000000000000..83b746be6294
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByDepartment.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "providers/Microsoft.Billing/Departments/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByEnrollmentAccount.json
new file mode 100644
index 000000000000..19ee428df5af
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByEnrollmentAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "providers/Microsoft.Billing/EnrollmentAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByManagementGroup.json
new file mode 100644
index 000000000000..85e0d0bf2c41
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByManagementGroup.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201903",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ },
+ {
+ "id": "/scope/providers/Microsoft.Billing/billingPeriods/20180801/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2",
+ "name": "usageDetails_Id2",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 2",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 2",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 2",
+ "partNumber": "Part Number 2",
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "meterDetails": null,
+ "quantity": 0.7329,
+ "effectivePrice": 0.000402776395232,
+ "cost": 0.000295194820065,
+ "unitPrice": 4.38,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2",
+ "resourceName": "Resource Name 2",
+ "invoiceSection": "Invoice Section 2",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 2",
+ "offerId": "Offer Id 2",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricActualCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricActualCost.json
new file mode 100644
index 000000000000..53956c8f4d72
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricActualCost.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "metric": "actualcost",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693055510767,
+ "cost": 0.000001968949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricAmortizedCost.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricAmortizedCost.json
new file mode 100644
index 000000000000..5cb0d3221d75
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricAmortizedCost.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "metric": "amortizedcost",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693055510767,
+ "cost": 0.000001968949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage",
+ "frequency": "UsageBased"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricUsage.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricUsage.json
new file mode 100644
index 000000000000..1646532866f6
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListByMetricUsage.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "metric": "usage",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Customer Name 1",
+ "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Customer Name 1",
+ "accountName": "AccountName",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "SubscriptionName 1",
+ "date": "2019-04-09T00:00:00.0000000Z",
+ "product": "Product1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.000036,
+ "effectivePrice": 0.054693055510767,
+ "cost": 0.000001968949998,
+ "unitPrice": 5.47,
+ "billingCurrency": "CAD",
+ "resourceLocation": "uswest",
+ "consumedService": "Microsoft.ClassicStorage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
+ "resourceName": "ResourceName1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "BAS",
+ "resourceGroup": "Resource-Group-westus",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListFilterByTag.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListFilterByTag.json
new file mode 100644
index 000000000000..4eaa20890fd1
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListFilterByTag.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "$filter": "tags eq 'dev:tools'",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriod.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriod.json
new file mode 100644
index 000000000000..359761c4d338
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriod.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json
new file mode 100644
index 000000000000..6af55a086805
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByBillingAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "providers/Microsoft.Billing/BillingAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByDepartment.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByDepartment.json
new file mode 100644
index 000000000000..ad785e54ff58
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByDepartment.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "providers/Microsoft.Billing/Departments/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json
new file mode 100644
index 000000000000..b40461c9561d
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByEnrollmentAccount.json
@@ -0,0 +1,55 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "scope": "providers/Microsoft.Billing/EnrollmentAccounts/1234",
+ "billingPeriodName": "201903"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json
new file mode 100644
index 000000000000..3a938a094870
--- /dev/null
+++ b/specification/consumption/resource-manager/Microsoft.Consumption/stable/2019-05-01/examples/UsageDetailsListForBillingPeriodByManagementGroup.json
@@ -0,0 +1,96 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "managementGroupId": "managementGroupForTest",
+ "billingPeriodName": "201903",
+ "scope": "subscriptions/00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
+ "name": "usageDetails_Id1",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 1",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 1",
+ "accountName": "Account Name 1",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 1",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 1",
+ "partNumber": "Part Number 1",
+ "meterId": "00000000-0000-0000-0000-000000000000",
+ "meterDetails": null,
+ "quantity": 0.8234,
+ "effectivePrice": 0.010534556373432,
+ "cost": 0.000342194841184,
+ "unitPrice": 3.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
+ "resourceName": "Resource Name 1",
+ "invoiceSection": "Invoice Section 1",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 1",
+ "offerId": "Offer Id 1",
+ "isAzureCreditEligible": false,
+ "chargeType": "Usage"
+ }
+ },
+ {
+ "id": "/scope/providers/Microsoft.Billing/billingPeriods/billingPeriodName/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2",
+ "name": "usageDetails_Id2",
+ "type": "Microsoft.Consumption/usageDetails",
+ "tags": {
+ "env": "newcrp",
+ "dev": "tools"
+ },
+ "properties": {
+ "billingAccountId": "xxxxxxxx",
+ "billingAccountName": "Account Name 2",
+ "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
+ "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
+ "billingProfileId": "xxxxxxxx",
+ "billingProfileName": "Account Name 2",
+ "accountName": "Account Name 2",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "subscriptionName": "Subscription Name 2",
+ "date": "2019-03-30T00:00:00.0000000Z",
+ "product": "Product Name 2",
+ "partNumber": "Part Number 2",
+ "meterId": "11111111-1111-1111-1111-111111111111",
+ "meterDetails": null,
+ "quantity": 0.4759,
+ "effectivePrice": 0.073488920944598,
+ "cost": 0.000821821271948,
+ "unitPrice": 5.74,
+ "billingCurrency": "CAD",
+ "resourceLocation": "USEast",
+ "consumedService": "Microsoft.Storage",
+ "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2",
+ "resourceName": "Resource Name 2",
+ "invoiceSection": "Invoice Section 2",
+ "costCenter": "DEV",
+ "resourceGroup": "Resource Group 2",
+ "offerId": "Offer Id 2",
+ "isAzureCreditEligible": false,
+ "chargeType": "UnusedReservation"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/consumption/resource-manager/readme.md b/specification/consumption/resource-manager/readme.md
index f28b7a4e49e5..175559ebc3b8 100644
--- a/specification/consumption/resource-manager/readme.md
+++ b/specification/consumption/resource-manager/readme.md
@@ -26,18 +26,38 @@ These are the global settings for the Consumption API.
``` yaml
openapi-type: arm
-tag: package-preview-2019-04
+tag: package-2019-05
```
+### Tag: package-2019-05
+
+These settings apply only when `--tag=package-2019-05` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-05'
+input-file:
+ - Microsoft.Consumption/stable/2019-05-01/consumption.json
+```
+
+
+### Tag: package-preview-2019-05
+
+These settings apply only when `--tag=package-preview-2019-05` is specified on the command line.
+
+```yaml $(tag) == 'package-preview-2019-05'
+input-file:
+ - Microsoft.Consumption/preview/2019-05-01-preview/consumption.json
+```
+
### Tag: package-preview-2019-04
These settings apply only when `--tag=package-preview-2019-04` is specified on the command line.
-```yaml $(tag) == 'package-preview-2019-04'
+``` yaml $(tag) == 'package-preview-2019-04'
input-file:
- Microsoft.Consumption/preview/2019-04-01-preview/consumption.json
```
+
### Tag: package-preview-2018-11
These settings apply only when `--tag=package-preview-2018-11` is specified on the command line.
@@ -174,6 +194,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
@@ -365,4 +386,42 @@ java:
output-folder: $(azure-libraries-for-java-folder)/consumption/resource-manager/v2019_01_01
regenerate-manager: true
generate-interface: true
-```
\ No newline at end of file
+```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Consumption/stable/2019-05-01/consumption.json
+ - $(this-folder)/Microsoft.Consumption/preview/2019-05-01-preview/consumption.json
+ - $(this-folder)/Microsoft.Consumption/preview/2019-04-01-preview/consumption.json
+ - $(this-folder)/Microsoft.Consumption/preview/2018-11-01-preview/consumption.json
+ - $(this-folder)/Microsoft.Consumption/stable/2019-01-01/consumption.json
+ - $(this-folder)/Microsoft.Consumption/stable/2017-11-30/consumption.json
+ - $(this-folder)/Microsoft.Consumption/stable/2018-01-31/consumption.json
+ - $(this-folder)/Microsoft.Consumption/stable/2018-03-31/consumption.json
+ - $(this-folder)/Microsoft.Consumption/stable/2018-05-31/consumption.json
+ - $(this-folder)/Microsoft.Consumption/stable/2018-06-30/consumption.json
+ - $(this-folder)/Microsoft.Consumption/stable/2018-08-31/consumption.json
+ - $(this-folder)/Microsoft.Consumption/stable/2018-10-01/consumption.json
+ - $(this-folder)/Microsoft.Consumption/preview/2017-04-24-preview/consumption.json
+ - $(this-folder)/Microsoft.Consumption/preview/2017-12-30-preview/consumption.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/containerinstance/resource-manager/readme.md b/specification/containerinstance/resource-manager/readme.md
index 69dc6d1a78a0..299a172a18d4 100644
--- a/specification/containerinstance/resource-manager/readme.md
+++ b/specification/containerinstance/resource-manager/readme.md
@@ -123,6 +123,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -255,4 +256,36 @@ java:
output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2017_08_01_preview
regenerate-manager: true
generate-interface: true
-```
\ No newline at end of file
+```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.ContainerInstance/stable/2018-10-01/containerInstance.json
+ - $(this-folder)/Microsoft.ContainerInstance/stable/2018-09-01/containerInstance.json
+ - $(this-folder)/Microsoft.ContainerInstance/stable/2018-06-01/containerInstance.json
+ - $(this-folder)/Microsoft.ContainerInstance/stable/2018-04-01/containerInstance.json
+ - $(this-folder)/Microsoft.ContainerInstance/preview/2018-02-01-preview/containerInstance.json
+ - $(this-folder)/Microsoft.ContainerInstance/preview/2017-12-01-preview/containerInstance.json
+ - $(this-folder)/Microsoft.ContainerInstance/preview/2017-10-01-preview/containerInstance.json
+ - $(this-folder)/Microsoft.ContainerInstance/preview/2017-08-01-preview/containerInstance.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json
new file mode 100644
index 000000000000..eaa2fbb79191
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json
@@ -0,0 +1,1863 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Container Registry",
+ "description": "Metadata API definition for the Azure Container Registry runtime",
+ "version": "2019-07-15-preview"
+ },
+ "x-ms-parameterized-host": {
+ "hostTemplate": "{url}",
+ "useSchemePrefix": false,
+ "positionInOperation": "first",
+ "parameters": [
+ {
+ "$ref": "#/parameters/Url"
+ }
+ ]
+ },
+ "securityDefinitions": {
+ "registry_auth": {
+ "type": "basic"
+ },
+ "registry_oauth2": {
+ "type": "apiKey",
+ "in": "header",
+ "name": "Authorization"
+ }
+ },
+ "security": [
+ {
+ "registry_auth": [],
+ "registry_oauth2": []
+ }
+ ],
+ "tags": [
+ {
+ "name": "v2",
+ "description": "Root API"
+ },
+ {
+ "name": "Manifest",
+ "description": "Everything about manifests"
+ },
+ {
+ "name": "Tag",
+ "description": "Everything about tags"
+ },
+ {
+ "name": "Layer",
+ "description": "Everything about layers"
+ },
+ {
+ "name": "Repository",
+ "description": "Everything about repository"
+ },
+ {
+ "name": "AcrRepository",
+ "description": "ACR APIs related to repositories"
+ },
+ {
+ "name": "AcrManifest",
+ "description": "ACR APIs related to manifests"
+ },
+ {
+ "name": "AcrTag",
+ "description": "ACR APIs related to tags"
+ }
+ ],
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/v2/": {
+ "get": {
+ "tags": [
+ "v2"
+ ],
+ "description": "Tells whether this Docker Registry instance supports Docker Registry HTTP API v2",
+ "x-ms-examples": {
+ "Check Docker Registry V2 Support": {
+ "$ref": "./examples/GetDockerRegistryV2Support.json"
+ }
+ },
+ "operationId": "GetDockerRegistryV2Support",
+ "responses": {
+ "200": {
+ "description": "Successful response. API v2 supported"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/v2/{name}/tags/list": {
+ "get": {
+ "tags": [
+ "Tag"
+ ],
+ "description": "Fetch the tags under the repository identified by name",
+ "x-ms-examples": {
+ "List tags": {
+ "$ref": "./examples/GetTagList.json"
+ }
+ },
+ "operationId": "GetTagList",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Gives a list of tags for the names repository.",
+ "headers": {
+ "Link": {
+ "description": "next paginated result",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/RepositoryTags"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/v2/{name}/manifests/{reference}": {
+ "get": {
+ "tags": [
+ "Manifest"
+ ],
+ "description": "Pulls the image manifest file associated with the specified name and reference. Reference may be a tag or a digest",
+ "x-ms-examples": {
+ "Get manifest": {
+ "$ref": "./examples/GetManifest.json"
+ }
+ },
+ "operationId": "GetManifest",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ImageReference"
+ },
+ {
+ "name": "accept",
+ "in": "header",
+ "description": "Accept header string delimited by comma. For example, application/vnd.docker.distribution.manifest.v2+json",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns the requested manifest file",
+ "schema": {
+ "$ref": "#/definitions/Manifest"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Manifest"
+ ],
+ "x-ms-long-running-operation": false,
+ "description": "Put the manifest identified by `name` and `reference` where `reference` can be a tag or digest.",
+ "x-ms-examples": {
+ "Put manifest": {
+ "$ref": "./examples/CreateManifest.json"
+ }
+ },
+ "consumes": [
+ "application/vnd.docker.distribution.manifest.v2+json"
+ ],
+ "operationId": "CreateManifest",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ImageReference"
+ },
+ {
+ "$ref": "#/parameters/ManifestBody"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "The manifest is updated",
+ "schema": {},
+ "headers": {
+ "Docker-Content-Digest": {
+ "type": "string",
+ "description": "Identifies the docker upload uuid for the current request."
+ },
+ "Location": {
+ "type": "string",
+ "description": "The canonical location url of the uploaded manifest."
+ },
+ "Content-Length": {
+ "type": "integer",
+ "description": "The canonical location url of the uploaded manifest."
+ }
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Manifest"
+ ],
+ "description": "Delete the manifest identified by `name` and `reference`. Note that a manifest can _only_ be deleted by `digest`.",
+ "x-ms-examples": {
+ "Delete manifest": {
+ "$ref": "./examples/DeleteManifest.json"
+ }
+ },
+ "operationId": "DeleteManifest",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ImageReference"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The manifest has been deleted"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/v2/_catalog": {
+ "get": {
+ "tags": [
+ "Repository"
+ ],
+ "description": "List repositories",
+ "operationId": "GetRepositories",
+ "x-ms-examples": {
+ "Get repositories in a registry": {
+ "$ref": "./examples/GetRepositories.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/QueryLast"
+ },
+ {
+ "$ref": "#/parameters/QueryNum"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns a list of repositories",
+ "headers": {
+ "Link": {
+ "description": "next paginated result",
+ "type": "string"
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/Repositories"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/_catalog": {
+ "get": {
+ "tags": [
+ "AcrRepository"
+ ],
+ "description": "List repositories",
+ "operationId": "GetAcrRepositories",
+ "x-ms-examples": {
+ "Get repositories in a registry": {
+ "$ref": "./examples/GetRepositories.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/QueryLast"
+ },
+ {
+ "$ref": "#/parameters/QueryNum"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns a list of repositories",
+ "schema": {
+ "$ref": "#/definitions/Repositories"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/{name}": {
+ "get": {
+ "tags": [
+ "AcrRepository",
+ "AcrMetadata"
+ ],
+ "description": "Get repository attributes",
+ "operationId": "GetAcrRepositoryAttributes",
+ "x-ms-examples": {
+ "Get details of repository": {
+ "$ref": "./examples/GetAcrRepositoryAttributes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns a list of attributes",
+ "schema": {
+ "$ref": "#/definitions/RepositoryAttributes"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "AcrRepository"
+ ],
+ "description": "Delete the repository identified by `name`",
+ "operationId": "DeleteAcrRepository",
+ "x-ms-examples": {
+ "Delete a repository": {
+ "$ref": "./examples/DeleteAcrRepository.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The repository is deleted",
+ "schema": {
+ "$ref": "#/definitions/DeletedRepository"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "AcrRepository",
+ "AcrMetadata"
+ ],
+ "description": "Update the attribute identified by `name` where `reference` is the name of the repository.",
+ "operationId": "UpdateAcrRepositoryAttributes",
+ "x-ms-examples": {
+ "Update repository attributes": {
+ "$ref": "./examples/UpdateAcrRepository.json"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "name": "value",
+ "in": "body",
+ "description": "Repository attribute value",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/ChangeableAttributes"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The attributes is updated"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/{name}/_tags": {
+ "get": {
+ "tags": [
+ "AcrTag",
+ "AcrMetadata"
+ ],
+ "description": "List tags of a repository",
+ "operationId": "GetAcrTags",
+ "x-ms-examples": {
+ "Get tags of a repository": {
+ "$ref": "./examples/GetAcrTags.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/QueryLast"
+ },
+ {
+ "$ref": "#/parameters/QueryNum"
+ },
+ {
+ "$ref": "#/parameters/QueryOrderBy"
+ },
+ {
+ "$ref": "#/parameters/QueryDigest"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Tag details of a repository",
+ "schema": {
+ "$ref": "#/definitions/AcrRepositoryTags"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/{name}/_tags/{reference}": {
+ "get": {
+ "tags": [
+ "AcrTag",
+ "AcrMetadata"
+ ],
+ "description": "Get tag attributes by tag",
+ "operationId": "GetAcrTagAttributes",
+ "x-ms-examples": {
+ "Get tag attributes": {
+ "$ref": "./examples/GetAcrTagAttributes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ManifestReference"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Tag attributes",
+ "schema": {
+ "$ref": "#/definitions/AcrTagAttributes"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "AcrTag",
+ "AcrMetadata"
+ ],
+ "description": "Update tag attributes",
+ "operationId": "UpdateAcrTagAttributes",
+ "consumes": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Update attributes of a manifest": {
+ "$ref": "./examples/UpdateAcrTagAttributes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ManifestReference"
+ },
+ {
+ "$ref": "#/parameters/RepoValue"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The attributes are updated"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "AcrTag",
+ "AcrMetadata"
+ ],
+ "description": "Delete tag",
+ "operationId": "DeleteAcrTag",
+ "consumes": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Update attributes of a manifest": {
+ "$ref": "./examples/DeleteAcrTag.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ManifestReference"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The tag is deleted"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/{name}/_manifests": {
+ "get": {
+ "tags": [
+ "AcrManifest",
+ "AcrMetadata"
+ ],
+ "description": "List manifests of a repository",
+ "operationId": "GetAcrManifests",
+ "x-ms-examples": {
+ "Get details of repository": {
+ "$ref": "./examples/GetAcrManifests.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/QueryLast"
+ },
+ {
+ "$ref": "#/parameters/QueryNum"
+ },
+ {
+ "$ref": "#/parameters/QueryOrderBy"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Returns a list of manifests",
+ "schema": {
+ "$ref": "#/definitions/AcrManifests"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/acr/v1/{name}/_manifests/{reference}": {
+ "get": {
+ "tags": [
+ "AcrManifest",
+ "AcrMetadata"
+ ],
+ "description": "Get manifest attributes",
+ "operationId": "GetAcrManifestAttributes",
+ "x-ms-examples": {
+ "Get manifest attributes": {
+ "$ref": "./examples/GetAcrManifestAttributes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ImageReference"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "List of attributes",
+ "schema": {
+ "$ref": "#/definitions/AcrManifestAttributes"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "AcrManifest",
+ "AcrMetadata"
+ ],
+ "description": "Update attributes of a manifest",
+ "operationId": "UpdateAcrManifestAttributes",
+ "consumes": [
+ "application/json"
+ ],
+ "x-ms-examples": {
+ "Update attributes of a manifest": {
+ "$ref": "./examples/UpdateAcrManifestAttributes.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ImageName"
+ },
+ {
+ "$ref": "#/parameters/ImageReference"
+ },
+ {
+ "$ref": "#/parameters/RepoValue"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The attributes are updated"
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ }
+ }
+ },
+ "/oauth2/exchange": {
+ "post": {
+ "tags": [
+ "AcrToken",
+ "RefreshToken"
+ ],
+ "description": "Exchange AAD tokens for an ACR refresh Token",
+ "operationId": "GetAcrRefreshTokenFromExchange",
+ "consumes": [
+ "application/x-www-form-urlencoded"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/Grant_type"
+ },
+ {
+ "$ref": "#/parameters/Service"
+ },
+ {
+ "$ref": "#/parameters/Tenant"
+ },
+ {
+ "$ref": "#/parameters/RefreshToken"
+ },
+ {
+ "$ref": "#/parameters/AccessToken"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Refresh token acquired",
+ "schema": {
+ "$ref": "#/definitions/RefreshToken"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ },
+ "security": [],
+ "x-ms-examples": {
+ "Exchange AAD Token for ACR Refresh": {
+ "$ref": "./examples/PostRefreshToken.json"
+ }
+ }
+ }
+ },
+ "/oauth2/token": {
+ "post": {
+ "tags": [
+ "AcrToken",
+ "AccessToken"
+ ],
+ "description": "Exchange ACR Refresh token for an ACR Access Token",
+ "operationId": "GetAcrAccessToken",
+ "consumes": [
+ "application/x-www-form-urlencoded"
+ ],
+ "parameters": [
+ {
+ "name": "grant_type",
+ "in": "formData",
+ "description": "Grant type is expected to be refresh_token",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "refresh_token"
+ ]
+ },
+ {
+ "$ref": "#/parameters/Service"
+ },
+ {
+ "name": "scope",
+ "in": "formData",
+ "required": true,
+ "description": "Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You obtained this from the Www-Authenticate response header from the challenge.",
+ "type": "string"
+ },
+ {
+ "name": "refresh_token",
+ "in": "formData",
+ "required": true,
+ "description": "Must be a valid ACR refresh token",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Access token acquired",
+ "schema": {
+ "$ref": "#/definitions/AccessToken"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ },
+ "security": [],
+ "x-ms-examples": {
+ "Get Access Token with Refresh Token": {
+ "$ref": "./examples/PostAccessToken.json"
+ }
+ }
+ },
+ "get": {
+ "tags": [
+ "AcrToken",
+ "AccessToken",
+ "userLogin"
+ ],
+ "description": "Exchange Username, Password and Scope an ACR Access Token",
+ "operationId": "GetAcrAccessTokenFromLogin",
+ "parameters": [
+ {
+ "name": "service",
+ "in": "query",
+ "required": true,
+ "description": "Indicates the name of your Azure container registry.",
+ "type": "string"
+ },
+ {
+ "name": "scope",
+ "in": "query",
+ "required": true,
+ "description": "Expected to be a valid scope, and can be specified more than once for multiple scope requests. You can obtain this from the Www-Authenticate response header from the challenge.",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Access token acquired",
+ "schema": {
+ "$ref": "#/definitions/AccessToken"
+ }
+ },
+ "default": {
+ "description": "ACR error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/AcrErrors"
+ }
+ }
+ },
+ "security": [
+ {
+ "registry_auth": []
+ }
+ ],
+ "x-ms-examples": {
+ "Get Access Token with username and password": {
+ "$ref": "./examples/GetAccessToken.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RepositoryAttributes": {
+ "type": "object",
+ "description": "Repository attributes",
+ "properties": {
+ "registry": {
+ "type": "string",
+ "description": "Registry name"
+ },
+ "imageName": {
+ "type": "string",
+ "description": "Image name"
+ },
+ "createdTime": {
+ "type": "string",
+ "description": "Image created time"
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "description": "Image last update time"
+ },
+ "manifestCount": {
+ "type": "integer",
+ "description": "Number of the manifests"
+ },
+ "tagCount": {
+ "type": "integer",
+ "description": "Number of the tags"
+ },
+ "changeableAttributes": {
+ "description": "Changeable attributes",
+ "$ref": "#/definitions/ChangeableAttributes"
+ }
+ },
+ "example": {
+ "registry": "registryname.azurecr.io",
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "imageName": "imageName",
+ "createdTime": "2018-09-07T16:30:46.6583219Z",
+ "tagCount": 6,
+ "manifestCount": 2,
+ "lastUpdateTime": "2018-09-07T16:30:46.6583219Z"
+ }
+ },
+ "AcrRepositoryTags": {
+ "description": "List of tag details",
+ "properties": {
+ "registry": {
+ "type": "string",
+ "description": "Registry name"
+ },
+ "imageName": {
+ "type": "string",
+ "description": "Image name"
+ },
+ "tags": {
+ "type": "array",
+ "x-ms-client-name": "TagsAttributes",
+ "description": "List of tag attribute details",
+ "items": {
+ "$ref": "#/definitions/AcrTagAttributesBase"
+ }
+ }
+ },
+ "example": {
+ "registry": "registry",
+ "imageName": "imageName",
+ "tags": [
+ {
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "name": "name",
+ "digest": "digest",
+ "createdTime": "createdTime",
+ "signed": true,
+ "lastUpdateTime": "lastUpdateTime"
+ },
+ {
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "name": "name",
+ "digest": "digest",
+ "createdTime": "createdTime",
+ "signed": true,
+ "lastUpdateTime": "lastUpdateTime"
+ }
+ ]
+ }
+ },
+ "AcrTagAttributes": {
+ "description": "Tag attributes",
+ "properties": {
+ "registry": {
+ "type": "string",
+ "description": "Registry name"
+ },
+ "imageName": {
+ "type": "string",
+ "description": "Image name"
+ },
+ "tag": {
+ "x-ms-client-name": "TagAttributes",
+ "description": "List of tag attribute details",
+ "$ref": "#/definitions/AcrTagAttributesBase"
+ }
+ },
+ "example": {
+ "registry": "registry",
+ "imageName": "imageName",
+ "tag": {
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "name": "name",
+ "digest": "digest",
+ "createdTime": "createdTime",
+ "signed": true,
+ "lastUpdateTime": "lastUpdateTime"
+ }
+ }
+ },
+ "TagAttributes": {
+ "description": "Tag attributes",
+ "properties": {
+ "registry": {
+ "description": "Registry name",
+ "type": "string"
+ },
+ "imageName": {
+ "description": "Image name",
+ "type": "string"
+ },
+ "tag": {
+ "$ref": "#/definitions/TagAttributes_tag",
+ "description": "Tag attributes"
+ }
+ },
+ "example": {
+ "registry": "registry",
+ "imageName": "imageName",
+ "tag": {
+ "signatureRecord": "signatureRecord"
+ }
+ }
+ },
+ "AcrTagAttributesBase": {
+ "description": "Tag attribute details",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Tag name"
+ },
+ "digest": {
+ "type": "string",
+ "description": "Tag digest"
+ },
+ "createdTime": {
+ "type": "string",
+ "description": "Tag created time"
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "description": "Tag last update time"
+ },
+ "signed": {
+ "type": "boolean",
+ "description": "Is signed"
+ },
+ "changeableAttributes": {
+ "$ref": "#/definitions/ChangeableAttributes",
+ "description": "Changeable attributes"
+ }
+ },
+ "example": {
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "name": "tagname",
+ "digest": "sha256:0873c923e00e0fd2ba78041bfb64a105e1ecb7678916d1f7776311e45bf5634b",
+ "createdTime": "2018-08-10T17:28:44.1082945Z",
+ "signed": true,
+ "lastUpdateTime": "2018-08-10T17:28:44.1082945Z"
+ }
+ },
+ "AcrManifests": {
+ "description": "Manifest attributes",
+ "properties": {
+ "registry": {
+ "type": "string",
+ "description": "Registry name"
+ },
+ "imageName": {
+ "type": "string",
+ "description": "Image name"
+ },
+ "manifests": {
+ "x-ms-client-name": "ManifestsAttributes",
+ "type": "array",
+ "description": "List of manifests",
+ "items": {
+ "$ref": "#/definitions/AcrManifestAttributesBase",
+ "description": "Manifest details"
+ }
+ }
+ },
+ "example": {
+ "registry": "registry",
+ "imageName": "imageName",
+ "manifests": [
+ {
+ "changeableAttributes": {
+ "quarantineDetails": "quarantineDetails",
+ "readEnabled": true,
+ "quarantineState": "quarantineState",
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "os": "os",
+ "digest": "digest",
+ "imageSize": 2401606,
+ "createdTime": "createdTime",
+ "mediaType": "mediaType",
+ "configMediaType": "configMediaType",
+ "lastUpdateTime": "lastUpdateTime",
+ "architecture": "architecture",
+ "tags": [
+ "tags",
+ "tags"
+ ]
+ },
+ {
+ "changeableAttributes": {
+ "quarantineDetails": "quarantineDetails",
+ "readEnabled": true,
+ "quarantineState": "quarantineState",
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "os": "os",
+ "digest": "digest",
+ "imageSize": 2401606,
+ "createdTime": "createdTime",
+ "mediaType": "mediaType",
+ "configMediaType": "configMediaType",
+ "lastUpdateTime": "lastUpdateTime",
+ "architecture": "architecture",
+ "tags": [
+ "tags",
+ "tags"
+ ]
+ }
+ ]
+ }
+ },
+ "AcrManifestAttributes": {
+ "description": "Manifest attributes details",
+ "properties": {
+ "registry": {
+ "description": "Registry name",
+ "type": "string"
+ },
+ "imageName": {
+ "description": "Image name",
+ "type": "string"
+ },
+ "manifest": {
+ "x-ms-client-name": "ManifestAttributes",
+ "description": "Manifest attributes",
+ "$ref": "#/definitions/AcrManifestAttributesBase"
+ }
+ },
+ "example": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "nanoserver",
+ "manifest": {
+ "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086",
+ "imageSize": 2401606,
+ "createdTime": "2018-09-06T06:17:20.9983915Z",
+ "lastUpdateTime": "2018-09-06T06:17:20.9983915Z",
+ "architecture": "amd64",
+ "os": "windows",
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "configMediaType": "application/vnd.docker.container.image.v1+json",
+ "tags": [
+ "4.7.2-20180905-nanoserver-1803"
+ ],
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ }
+ },
+ "AcrManifestAttributesBase": {
+ "type": "object",
+ "description": "Manifest details",
+ "properties": {
+ "digest": {
+ "type": "string",
+ "description": "Manifest"
+ },
+ "imageSize": {
+ "type": "integer",
+ "description": "Image size"
+ },
+ "createdTime": {
+ "type": "string",
+ "description": "Created time"
+ },
+ "lastUpdateTime": {
+ "type": "string",
+ "description": "Last update time"
+ },
+ "architecture": {
+ "type": "string",
+ "description": "CPU architecture"
+ },
+ "os": {
+ "type": "string",
+ "description": "Operating system"
+ },
+ "mediaType": {
+ "type": "string",
+ "description": "Media type"
+ },
+ "configMediaType": {
+ "type": "string",
+ "description": "Config blob media type"
+ },
+ "tags": {
+ "type": "array",
+ "description": "List of tags",
+ "items": {
+ "type": "string",
+ "description": "Tag name"
+ }
+ },
+ "changeableAttributes": {
+ "$ref": "#/definitions/ChangeableAttributes",
+ "description": "Changeable attributes"
+ }
+ },
+ "example": {
+ "changeableAttributes": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ },
+ "os": "os",
+ "digest": "digest",
+ "imageSize": 2401606,
+ "createdTime": "createdTime",
+ "mediaType": "mediaType",
+ "configMediaType": "configMediaType",
+ "lastUpdateTime": "lastUpdateTime",
+ "architecture": "architecture",
+ "tags": [
+ "tags",
+ "tags"
+ ]
+ }
+ },
+ "RefreshToken": {
+ "type": "object",
+ "properties": {
+ "refresh_token": {
+ "description": "The refresh token to be used for generating access tokens",
+ "type": "string"
+ }
+ }
+ },
+ "AccessToken": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "description": "The access token for performing authenticated requests",
+ "type": "string"
+ }
+ }
+ },
+ "AcrErrors": {
+ "description": "Acr error response describing why the operation failed",
+ "properties": {
+ "errors": {
+ "type": "array",
+ "description": "Array of detailed error",
+ "items": {
+ "$ref": "#/definitions/AcrErrorInfo"
+ }
+ }
+ }
+ },
+ "RepositoryTags": {
+ "description": "Result of the request to list tags of the image",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the image"
+ },
+ "tags": {
+ "type": "array",
+ "description": "List of tags",
+ "items": {
+ "type": "string",
+ "description": "Tag name"
+ }
+ }
+ },
+ "example": {
+ "name": "name",
+ "tags": [
+ "tags",
+ "tags"
+ ]
+ }
+ },
+ "Manifest": {
+ "description": "Returns the requested manifest file",
+ "properties": {
+ "schemaVersion": {
+ "type": "integer",
+ "description": "Schema version"
+ },
+ "mediaType": {
+ "type": "string",
+ "description": "Media type usually application/vnd.docker.distribution.manifest.v2+json if this is in the accept header"
+ },
+ "config": {
+ "description": "V2 image config descriptor",
+ "$ref": "#/definitions/V2Descriptor"
+ },
+ "layers": {
+ "type": "array",
+ "description": "List of V2 image layer information",
+ "items": {
+ "$ref": "#/definitions/V2Descriptor"
+ }
+ },
+ "architecture": {
+ "type": "string",
+ "description": "CPU architecture"
+ },
+ "name": {
+ "type": "string",
+ "description": "Image name"
+ },
+ "tag": {
+ "type": "string",
+ "description": "Image tag"
+ },
+ "fsLayers": {
+ "type": "array",
+ "description": "List of layer information",
+ "items": {
+ "$ref": "#/definitions/FsLayer"
+ }
+ },
+ "history": {
+ "type": "array",
+ "description": "Image history",
+ "items": {
+ "$ref": "#/definitions/History"
+ }
+ },
+ "signatures": {
+ "type": "array",
+ "description": "Image signature",
+ "items": {
+ "$ref": "#/definitions/ImageSignature"
+ }
+ }
+ },
+ "example": {
+ "schemaVersion": 2,
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "config": {
+ "mediaType": "application/vnd.docker.container.image.v1+json",
+ "size": 1512,
+ "digest": "sha256:6d1ef012b5674ad8a127ecfa9b5e6f5178d171b90ee462846974177fd9bdd39f"
+ },
+ "layers": [
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 2107098,
+ "digest": "sha256:5d20c808ce198565ff70b3ed23a991dd49afac45dece63474b27ce6ed036adc6"
+ }
+ ]
+ }
+ },
+ "ImageSignature": {
+ "description": "Signature of a signed manifest",
+ "properties": {
+ "header": {
+ "description": "A JSON web signature",
+ "$ref": "#/definitions/JWK"
+ },
+ "signature": {
+ "type": "string",
+ "description": "A signature for the image manifest, signed by a libtrust private key"
+ },
+ "protected": {
+ "type": "string",
+ "description": "The signed protected header"
+ }
+ },
+ "example": {
+ "header": {
+ "jwk": {
+ "crv": "P-256",
+ "kid": "WGXM:EYWQ:DA53:LQUP:BCWG:5RDG:S3ZM:ETH7:VMQS:WWKZ:EWDG:V74Q",
+ "kty": "EC",
+ "x": "OxZ9k5BVjPZ7jb3BmBD4X0d8MVPJqfF4NeSe8reoqnY",
+ "y": "EaCqTe4-vYwhk7qU6Bs2-AeLGOVtCe_-IY2MdE0Vfyc"
+ },
+ "alg": "ES256"
+ },
+ "signature": "p73LfotMGD8nNXz2g9YX2XtSllb4GI5-b3vjqP5N0nkv8QXg-r5z_omGiVbOZE2BYG1X_4TIN23l1KSEqsXxOg",
+ "protected": "eyJmb3JtYXRMZW5ndGgiOjI5ODYsImZvcm1hdFRhaWwiOiJDbjAiLCJ0aW1lIjoiMjAxOC0wOS0yMFQyMzo0MTo1MloifQ"
+ }
+ },
+ "JWK": {
+ "description": "A JSON web signature",
+ "properties": {
+ "jwk": {
+ "$ref": "#/definitions/JWKHeader"
+ },
+ "alg": {
+ "type": "string",
+ "description": "The algorithm used to sign or encrypt the JWT"
+ }
+ }
+ },
+ "JWKHeader": {
+ "description": "JSON web key parameter",
+ "properties": {
+ "crv": {
+ "type": "string",
+ "description": "crv value"
+ },
+ "kid": {
+ "type": "string",
+ "description": "kid value"
+ },
+ "kty": {
+ "type": "string",
+ "description": "kty value"
+ },
+ "x": {
+ "type": "string",
+ "description": "x value"
+ },
+ "y": {
+ "type": "string",
+ "description": "y value"
+ }
+ }
+ },
+ "History": {
+ "description": "A list of unstructured historical data for v1 compatibility",
+ "properties": {
+ "v1Compatibility": {
+ "type": "string",
+ "description": "The raw v1 compatibility information"
+ }
+ },
+ "example": {
+ "v1Compatibility": "v1 compatibility info"
+ }
+ },
+ "Repositories": {
+ "description": "List of repositories",
+ "properties": {
+ "repositories": {
+ "type": "array",
+ "x-ms-client-name": "Names",
+ "description": "Repository names",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "example": {
+ "repositories": [
+ "production/alpine",
+ "testing/alpine"
+ ]
+ }
+ },
+ "DeletedRepository": {
+ "description": "Deleted repository",
+ "properties": {
+ "manifestsDeleted": {
+ "type": "array",
+ "description": "SHA of the deleted image",
+ "items": {
+ "type": "string"
+ }
+ },
+ "tagsDeleted": {
+ "type": "array",
+ "description": "Tag of the deleted image",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "AcrErrorInfo": {
+ "description": "Error information",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message"
+ },
+ "detail": {
+ "type": "object",
+ "description": "Error details"
+ }
+ }
+ },
+ "FsLayer": {
+ "description": "Image layer information",
+ "properties": {
+ "blobSum": {
+ "type": "string",
+ "description": "SHA of an image layer"
+ }
+ },
+ "example": {
+ "blobSum": "sha256:1f7d468f830cb0ed4beb8edc9438f18096e8c682e56a35242f60e6c61b718b30"
+ }
+ },
+ "V2Descriptor": {
+ "description": "Docker V2 image layer descriptor including config and layers",
+ "properties": {
+ "mediaType": {
+ "type": "string",
+ "description": "Layer media type"
+ },
+ "size": {
+ "type": "integer",
+ "description": "Layer size"
+ },
+ "digest": {
+ "type": "string",
+ "description": "Layer digest"
+ }
+ },
+ "example": {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 2107098,
+ "digest": "sha256:5d20c808ce198565ff70b3ed23a991dd49afac45dece63474b27ce6ed036adc6"
+ }
+ },
+ "ChangeableAttributes": {
+ "properties": {
+ "deleteEnabled": {
+ "type": "boolean",
+ "description": "Delete enabled"
+ },
+ "writeEnabled": {
+ "type": "boolean",
+ "description": "Write enabled"
+ },
+ "listEnabled": {
+ "type": "boolean",
+ "description": "List enabled"
+ },
+ "readEnabled": {
+ "type": "boolean",
+ "description": "Read enabled"
+ }
+ },
+ "example": {
+ "readEnabled": true,
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ }
+ },
+ "TagAttributes_tag": {
+ "description": "Tag",
+ "properties": {
+ "signatureRecord": {
+ "description": "SignatureRecord value",
+ "type": "string"
+ }
+ },
+ "example": {
+ "signatureRecord": "signatureRecord"
+ }
+ },
+ "ManifestAttributes_manifest_references": {
+ "description": "Manifest attributes details",
+ "properties": {
+ "digest": {
+ "type": "string",
+ "description": "Manifest digest"
+ },
+ "architecture": {
+ "type": "string",
+ "description": "CPU architecture"
+ },
+ "os": {
+ "type": "string",
+ "description": "Operating system"
+ }
+ },
+ "example": {
+ "os": "os",
+ "digest": "digest",
+ "architecture": "architecture"
+ }
+ },
+ "ManifestAttributes_manifest": {
+ "description": "List of manifest attributes",
+ "properties": {
+ "references": {
+ "type": "array",
+ "description": "List of manifest attributes details",
+ "items": {
+ "$ref": "#/definitions/ManifestAttributes_manifest_references",
+ "description": "Manifest attributes details"
+ }
+ },
+ "quarantineTag": {
+ "type": "string",
+ "description": "Quarantine tag name"
+ }
+ },
+ "example": {
+ "quarantineTag": "quarantineTag",
+ "references": [
+ {
+ "os": "os",
+ "digest": "digest",
+ "architecture": "architecture"
+ },
+ {
+ "os": "os",
+ "digest": "digest",
+ "architecture": "architecture"
+ }
+ ]
+ }
+ },
+ "ManifestChangeableAttributes": {
+ "description": "Changeable attributes",
+ "properties": {
+ "deleteEnabled": {
+ "type": "boolean",
+ "description": "Delete enabled"
+ },
+ "writeEnabled": {
+ "type": "boolean",
+ "description": "Write enabled"
+ },
+ "listEnabled": {
+ "type": "boolean",
+ "description": "List enabled"
+ },
+ "readEnabled": {
+ "type": "boolean",
+ "description": "Read enabled"
+ },
+ "quarantineState": {
+ "type": "string",
+ "description": "Quarantine state"
+ },
+ "quarantineDetails": {
+ "type": "string",
+ "description": "Quarantine details"
+ }
+ },
+ "example": {
+ "quarantineDetails": "quarantineDetails",
+ "readEnabled": true,
+ "quarantineState": "quarantineState",
+ "listEnabled": true,
+ "deleteEnabled": true,
+ "writeEnabled": true
+ }
+ }
+ },
+ "parameters": {
+ "Url": {
+ "name": "url",
+ "x-ms-client-name": "loginUri",
+ "description": "Registry login URL",
+ "required": true,
+ "type": "string",
+ "in": "path",
+ "x-ms-skip-url-encoding": true,
+ "x-ms-parameter-location": "client"
+ },
+ "ImageReference": {
+ "name": "reference",
+ "in": "path",
+ "description": "A tag or a digest, pointing to a specific image",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManifestReference": {
+ "name": "reference",
+ "in": "path",
+ "description": "Tag or digest of the target manifest",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Digest": {
+ "name": "digest",
+ "in": "path",
+ "description": "Digest of a desired BLOB",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "metadata": {
+ "name": "metadata",
+ "in": "path",
+ "description": "Name of the metadata",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "property": {
+ "name": "property",
+ "in": "path",
+ "description": "Name of the property",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "RepoValue": {
+ "name": "value",
+ "in": "body",
+ "description": "Repository attribute value",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/ChangeableAttributes"
+ },
+ "x-ms-parameter-location": "method"
+ },
+ "QueryOrderBy": {
+ "name": "orderby",
+ "in": "query",
+ "description": "orderby query parameter",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "QueryNum": {
+ "name": "n",
+ "in": "query",
+ "description": "query parameter for max number of items",
+ "required": false,
+ "type": "integer",
+ "x-ms-parameter-location": "method"
+ },
+ "QueryLast": {
+ "name": "last",
+ "in": "query",
+ "description": "Query parameter for the last item in previous query. Result set will include values lexically after last.",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "QueryDigest": {
+ "name": "digest",
+ "in": "query",
+ "description": "filter by digest",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Grant_type": {
+ "name": "grant_type",
+ "description": "Can take a value of access_token_refresh_token, or access_token, or refresh_token",
+ "type": "string",
+ "in": "formData",
+ "required": true,
+ "enum": [
+ "access_token_refresh_token",
+ "access_token",
+ "refresh_token"
+ ],
+ "x-ms-parameter-location": "method"
+ },
+ "Service": {
+ "name": "service",
+ "in": "formData",
+ "required": true,
+ "description": "Indicates the name of your Azure container registry.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Tenant": {
+ "name": "tenant",
+ "in": "formData",
+ "required": false,
+ "description": "AAD tenant associated to the AAD credentials.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "Scope": {
+ "name": "scope",
+ "in": "formData",
+ "required": true,
+ "description": "Which is expected to be a valid scope, and can be specified more than once for multiple scope requests. You can obtain this from the Www-Authenticate response header from the challenge.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "RefreshToken": {
+ "name": "refresh_token",
+ "in": "formData",
+ "required": false,
+ "description": "AAD refresh token, mandatory when grant_type is access_token_refresh_token or refresh_token",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "AccessToken": {
+ "name": "access_token",
+ "in": "formData",
+ "required": false,
+ "description": "AAD access token, mandatory when grant_type is access_token_refresh_token or access_token.",
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ImageName": {
+ "name": "name",
+ "in": "path",
+ "description": "Name of the image (including the namespace)",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "ManifestBody": {
+ "description": "Manifest body, can take v1 or v2 values depending on accept header",
+ "name": "payload",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Manifest"
+ },
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/CreateManifest.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/CreateManifest.json
new file mode 100644
index 000000000000..9009925c6027
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/CreateManifest.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "hello-world",
+ "reference": "a20190628-081044z",
+ "payload": "{\"schemaVersion\":2,\"mediaType\":\"application/vnd.docker.distribution.manifest.v2+json\",\"config\":{\"mediaType\":\"application/vnd.docker.container.image.v1+json\",\"size\":1512,\"digest\":\"sha256:6d1ef012b5674ad8a127ecfa9b5e6f5178d171b90ee462846974177fd9bdd39f\"},\"layers\":[{\"mediaType\":\"application/vnd.docker.image.rootfs.diff.tar.gzip\",\"size\":2107098,\"digest\":\"sha256:5d20c808ce198565ff70b3ed23a991dd49afac45dece63474b27ce6ed036adc6\"}]}"
+ },
+ "responses": {
+ "201": {
+ "headers": {
+ "Docker-Content-Digest": "sha256:15685c48490175b7dde62e6bfcfb54d9420c6495ea6404776e2facca3da93cd8",
+ "Location": "/v2/hello-world/manifests/sha256:15685c48490175b7dde62e6bfcfb54d9420c6495ea6404776e2facca3da93cd8",
+ "Content-Length": 0
+ },
+ "body": {}
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrRepository.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrRepository.json
new file mode 100644
index 000000000000..8449e47855ec
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrRepository.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver"
+ },
+ "responses": {
+ "202": {
+ "body": {
+ "manifestsDeleted": [
+ "sha256:e31831d63f77a0a6d74ef5b16df619a50808dac842190d07ae24e8b520d159fa"
+ ],
+ "tagsDeleted": [
+ "4.7.2-20180814-windowsservercore-1709"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrTag.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrTag.json
new file mode 100644
index 000000000000..fec441eeaf12
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteAcrTag.json
@@ -0,0 +1,10 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver",
+ "reference": "4.7.2-20180905-nanoserver-1803"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteManifest.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteManifest.json
new file mode 100644
index 000000000000..50afe0bd523e
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/DeleteManifest.json
@@ -0,0 +1,10 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "alpine",
+ "reference": "3.7"
+ },
+ "responses": {
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAccessToken.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAccessToken.json
new file mode 100644
index 000000000000..416fd08ca49b
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAccessToken.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "service": "someregistry.azurecr.io",
+ "scope": "registry:catalog:*"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access_token": "eyJ0eXAiOiJKJhbGcigdCI6IkN0ZlFaOExlLTMejlnIiwidGlkIjoiNzbmOTgWItMmQ3Y2QwMTFkYjQ3Ii..."
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifestAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifestAttributes.json
new file mode 100644
index 000000000000..a8163814b8c1
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifestAttributes.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver",
+ "reference": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "nanoserver",
+ "manifest": {
+ "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086",
+ "imageSize": 2401606,
+ "createdTime": "2018-09-06T06:17:20.9983915Z",
+ "lastUpdateTime": "2018-09-06T06:17:20.9983915Z",
+ "architecture": "amd64",
+ "os": "windows",
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "configMediaType": "application/vnd.docker.container.image.v1+json",
+ "tags": [
+ "4.7.2-20180905-nanoserver-1803"
+ ],
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifests.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifests.json
new file mode 100644
index 000000000000..08eaec214eca
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrManifests.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "nanoserver",
+ "manifests": [
+ {
+ "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086",
+ "imageSize": 2401606,
+ "createdTime": "2018-09-06T06:17:20.9983915Z",
+ "lastUpdateTime": "2018-09-06T06:17:20.9983915Z",
+ "architecture": "amd64",
+ "os": "windows",
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "configMediaType": "application/vnd.docker.container.image.v1+json",
+ "tags": [
+ "4.7.2-20180905-nanoserver-1803"
+ ],
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ },
+ {
+ "digest": "sha256:7af5cd1dde3e8f5c2c9103860afa4ca871a6075373b6564b0e7b1b47866dab52",
+ "imageSize": 4135121,
+ "createdTime": "2018-09-07T16:30:46.5651701Z",
+ "lastUpdateTime": "2018-09-07T16:30:46.5651701Z",
+ "architecture": "amd64",
+ "os": "windows",
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "configMediaType": "application/vnd.docker.container.image.v1+json",
+ "tags": [
+ "4.7.2-20180906-nanoserver-1803"
+ ],
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrRepositoryAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrRepositoryAttributes.json
new file mode 100644
index 000000000000..c6791683bfd2
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrRepositoryAttributes.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "nanoserver",
+ "createdTime": "2018-09-06T06:17:20.9531248Z",
+ "lastUpdateTime": "2018-09-07T16:30:46.6583219Z",
+ "manifestCount": 2,
+ "tagCount": 2,
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTagAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTagAttributes.json
new file mode 100644
index 000000000000..ed58c44d6f71
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTagAttributes.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "test/bash",
+ "reference": "sha256:eabe547f78d4c18c708dd97ec3166cf7464cc651f1cbb67e7afas407405b7ad7b6"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "test/bash",
+ "tag": {
+ "name": "tagName",
+ "digest": "sha256:eabe547f78d4c18c708dd97ec3166cf7464cc651f1cbb67e70d407405b7ad7b6",
+ "createdTime": "2018-10-05T20:54:24.1286047Z",
+ "lastUpdateTime": "2018-10-05T20:54:24.1286047Z",
+ "signed": false,
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": false,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTags.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTags.json
new file mode 100644
index 000000000000..e5342cd2295f
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetAcrTags.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "registry": "acrapi.azurecr-test.io",
+ "imageName": "nanoserver",
+ "tags": [
+ {
+ "name": "4.7.2-20180905-nanoserver-1803",
+ "digest": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086",
+ "createdTime": "2018-09-06T06:17:21.0856539Z",
+ "lastUpdateTime": "2018-09-06T06:17:21.0856539Z",
+ "signed": false,
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ },
+ {
+ "name": "4.7.2-20180906-nanoserver-1803",
+ "digest": "sha256:7af5cd1dde3e8f5c2c9103860afa4ca871a6075373b6564b0e7b1b47866dab52",
+ "createdTime": "2018-09-06T16:30:43.3860166Z",
+ "lastUpdateTime": "2018-09-07T16:30:46.7022734Z",
+ "signed": false,
+ "changeableAttributes": {
+ "deleteEnabled": true,
+ "writeEnabled": true,
+ "readEnabled": true,
+ "listEnabled": true
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetDockerRegistryV2Support.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetDockerRegistryV2Support.json
new file mode 100644
index 000000000000..181e2eec438e
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetDockerRegistryV2Support.json
@@ -0,0 +1,8 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetManifest.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetManifest.json
new file mode 100644
index 000000000000..2768e76d6a0d
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetManifest.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "hello-world-dangling",
+ "reference": "20190628-033033z",
+ "accept": "application/vnd.docker.distribution.manifest.v2+json"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "schemaVersion": 2,
+ "mediaType": "application/vnd.docker.distribution.manifest.v2+json",
+ "config": {
+ "mediaType": "application/vnd.docker.container.image.v1+json",
+ "size": 5824,
+ "digest": "sha256:691fbc2d44fff48357bba69ab0505b9bf12b2b250a925a84a0b8e8e7eed390b2"
+ },
+ "layers": [
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 2014658,
+ "digest": "sha256:a073c86ecf9e0f29180e80e9638d4c741970695851ea48247276c32c57e40282"
+ },
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 19778035,
+ "digest": "sha256:0e28711eb56d78f1e3dfde1807eba529d1346222bcd07d1cb1e436a18a0388bd"
+ },
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 1074044,
+ "digest": "sha256:e460dd483fddb555911f7ed188c319fd97542c60e36843dcb1c5d753f733e1fa"
+ },
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 5827,
+ "digest": "sha256:6aa301222093bfb8cf424ccb387f59e2c9510c3a30cca7fbcf8c954f88e6600c"
+ },
+ {
+ "mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
+ "size": 568,
+ "digest": "sha256:9c5d80083a57d565f684e0155707204d497a5ad965279f92927452f15dae17e6"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetRepositories.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetRepositories.json
new file mode 100644
index 000000000000..4b6864e0ea95
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetRepositories.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "repositories": [
+ "production/alpine",
+ "testing/alpine"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetTagList.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetTagList.json
new file mode 100644
index 000000000000..c1e81b2f664e
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/GetTagList.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "nanoserver",
+ "tags": [
+ "4.7.2-20180905-nanoserver-1803",
+ "4.7.2-20180906-nanoserver-1803"
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostAccessToken.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostAccessToken.json
new file mode 100644
index 000000000000..a4e6293133b5
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostAccessToken.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "grant_type": "refresh_token",
+ "service": "someregistry.azurecr.io",
+ "scope": "registry:catalog:*",
+ "refresh_token": "eyJ0eXAiOiJKJhbGci1dCI6IkN0ZlFDOExlLTMejlnIiwidGlkIjoiNzJmOTgWItMmQ3Y2QwMTFkYjQ3Ii..."
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access_token": "eyJ0eXAiOiJKJhbGcigdCI6IkN0ZlFaOExlLTMejlnIiwidGlkIjoiNzbmOTgWItMmQ3Y2QwMTFkYjQ3Ii..."
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostRefreshToken.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostRefreshToken.json
new file mode 100644
index 000000000000..768ca1680ba1
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/PostRefreshToken.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "grant_type": "access_token",
+ "url": "acrapi.azurecr-test.io",
+ "service": "someregistry.azurecr.io",
+ "tenant": "02f900bf-86f1-31af-p1ab-2b7cd0nndb47",
+ "accessToken": "eyJ0eXAiOiJKJhbGci1dCI6IkN0ZlFDOExlLTMejlnIiwidGlkIjoiNzJmOTgWItMmQ3Y2QwMTFkYjQ3Ii..."
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "refresh_token": "eyJ0eXAiOiJKJhbGcigdCI6IkN0ZlFaOExlLTMejlnIiwidGlkIjoiNzbmOTgWItMmQ3Y2QwMTFkYjQ3Ii..."
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrManifestAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrManifestAttributes.json
new file mode 100644
index 000000000000..4c25514ab2f2
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrManifestAttributes.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver",
+ "reference": "sha256:110d2b6c84592561338aa040b1b14b7ab81c2f9edbd564c2285dd7d70d777086",
+ "value": "{\"writeEnabled\": false}"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrRepository.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrRepository.json
new file mode 100644
index 000000000000..14a61f118d0f
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrRepository.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver",
+ "value": {
+ "writeEnabled": false
+ }
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrTagAttributes.json b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrTagAttributes.json
new file mode 100644
index 000000000000..16e13e3c4ec2
--- /dev/null
+++ b/specification/containerregistry/data-plane/Microsoft.ContainerRegistry/preview/2019-07-15/examples/UpdateAcrTagAttributes.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "url": "acrapi.azurecr-test.io",
+ "name": "nanoserver",
+ "reference": "4.7.2-20180905-nanoserver-1803",
+ "value": "{\"writeEnabled\": false}"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/containerregistry/data-plane/readme.go.md b/specification/containerregistry/data-plane/readme.go.md
new file mode 100644
index 000000000000..97ef4154aa73
--- /dev/null
+++ b/specification/containerregistry/data-plane/readme.go.md
@@ -0,0 +1,27 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+``` yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: containerregistry
+ clear-output-folder: true
+ add-credentials: true
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-07
+```
+
+### Tag: package-2019-07 and go
+
+These settings apply only when `--tag=package-2019-07 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-07' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/runtime/2019-07/$(namespace)
+```
diff --git a/specification/containerregistry/data-plane/readme.md b/specification/containerregistry/data-plane/readme.md
index 7a48a2056db5..2ad5a15737c2 100644
--- a/specification/containerregistry/data-plane/readme.md
+++ b/specification/containerregistry/data-plane/readme.md
@@ -1,13 +1,13 @@
# ContainerRegistry
-
+
> see https://aka.ms/autorest
This is the AutoRest configuration file for ContainerRegistry.
+---
+## Getting Started
----
-## Getting Started
To build the SDK for ContainerRegistry, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
> `autorest`
@@ -19,14 +19,23 @@ To see additional help and options, run:
## Configuration
+### Basic Information
-#### Basic Information
These are the global settings for the ContainerRegistry API.
``` yaml
-# common
+# common
openapi-type: data-plane
-tag: package-2018-08
+tag: package-2019-07
+```
+
+### Tag: package-2019-07
+
+These settings apply only when `--tag=package-2019-07` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-07'
+input-file:
+- Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json
```
### Tag: package-2018-08
@@ -39,7 +48,6 @@ input-file:
```
---
-# Code Generation
## Swagger to SDK
@@ -49,6 +57,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-net
+ - repo: azure-sdk-for-go
```
## C#
@@ -62,7 +71,54 @@ csharp:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.ContainerRegistry
sync-methods: None
- output-folder: $(csharp-sdks-folder)/ContainerRegistry/Microsoft.Azure.ContainerRegistry/src/Generated
+ output-folder: $(csharp-sdks-folder)/ContainerRegistry/preview/Microsoft.Azure.ContainerRegistry/src/Generated
clear-output-folder: true
add-credentials: true
-```
\ No newline at end of file
+```
+
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
+
+## Suppression
+
+``` yaml
+directive:
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ from: containerregistry.json
+ where: $.definitions.AccessToken.properties.access_token
+ reason: Property name is used in compliance with Docker's own specs for compatibility purposes. Specifics https://docs.docker.com/registry/spec/auth/oauth/
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ from: containerregistry.json
+ where: $.definitions.RefreshToken.properties.refresh_token
+ reason: Property name is used in compliance with Docker's own specs for compatibility purposes. Specifics https://docs.docker.com/registry/spec/auth/oauth/
+ - suppress: LROStatusCodesReturnTypeSchema
+ reason: No content is returned by put Manifest in compliance with Docker's own specs for compatibility purposes. Specifics https://docs.docker.com/registry/spec/api/#put-manifest
+ from: containerregistry.json
+ where: $.paths["/v2/{name}/manifests/{reference}"].put.responses["201"]
+```
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.ContainerRegistry/preview/2019-07-15/containerregistry.json
+ - $(this-folder)/Microsoft.ContainerRegistry/preview/2018-08-10/containerregistry.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
new file mode 100644
index 000000000000..f3362eb1fe81
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
@@ -0,0 +1,2646 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-06-01-preview",
+ "title": "ContainerRegistryManagementClient"
+ },
+ "host": "management.azure.com",
+ "basePath": "/",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/scheduleRun": {
+ "post": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Schedules a new run based on the request parameters and add it to the run queue.",
+ "operationId": "Registries_ScheduleRun",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "runRequest",
+ "in": "body",
+ "description": "The parameters of a run that needs to scheduled.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RunRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "202": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Registries_ScheduleRun": {
+ "$ref": "./examples/RegistriesScheduleRun.json"
+ },
+ "Registries_ScheduleRun_EncodedTaskRun": {
+ "$ref": "./examples/RegistriesScheduleRun_EncodedTaskRun.json"
+ },
+ "Registries_ScheduleRun_FileTaskRun": {
+ "$ref": "./examples/RegistriesScheduleRun_FileTaskRun.json"
+ },
+ "Registries_ScheduleRun_Task": {
+ "$ref": "./examples/RegistriesScheduleRun_Task.json"
+ },
+ "Registries_ScheduleRun_Task_WithCustomCredentials": {
+ "$ref": "./examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json"
+ },
+ "Registries_ScheduleRun_WithCustomCredentials": {
+ "$ref": "./examples/RegistriesScheduleRun_WithCustomCredentials.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/listBuildSourceUploadUrl": {
+ "post": {
+ "tags": [
+ "Registries"
+ ],
+ "description": "Get the upload location for the user to be able to upload the source.",
+ "operationId": "Registries_GetBuildSourceUploadUrl",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/SourceUploadDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-examples": {
+ "Registries_GetBuildSourceUploadUrl": {
+ "$ref": "./examples/RegistriesGetBuildSourceUploadUrl.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs": {
+ "get": {
+ "tags": [
+ "Runs"
+ ],
+ "description": "Gets all the runs for a registry.",
+ "operationId": "Runs_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except 'Not', 'Has', 'All' are allowed.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "$top is supported for get list of runs, which limits the maximum number of runs to return.",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/RunListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-odata": "#/definitions/RunFilter",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Runs_List": {
+ "$ref": "./examples/RunsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}": {
+ "get": {
+ "tags": [
+ "Runs"
+ ],
+ "description": "Gets the detailed information for a given run.",
+ "operationId": "Runs_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The run ID.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-examples": {
+ "Runs_Get": {
+ "$ref": "./examples/RunsGet.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Runs"
+ ],
+ "description": "Patch the run properties.",
+ "operationId": "Runs_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The run ID.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runUpdateParameters",
+ "in": "body",
+ "description": "The run update properties.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RunUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "201": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.",
+ "schema": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry/build doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Runs_Update": {
+ "$ref": "./examples/RunsUpdate.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/listLogSasUrl": {
+ "post": {
+ "tags": [
+ "Runs"
+ ],
+ "description": "Gets a link to download the run logs.",
+ "operationId": "Runs_GetLogSasUrl",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The run ID.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/RunGetLogResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-examples": {
+ "Runs_GetLogSasUrl": {
+ "$ref": "./examples/RunsGetLogSasUrl.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/runs/{runId}/cancel": {
+ "post": {
+ "tags": [
+ "Runs"
+ ],
+ "description": "Cancel an existing run.",
+ "operationId": "Runs_Cancel",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The run ID.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry/run doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Runs_Cancel": {
+ "$ref": "./examples/RunsCancel.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks": {
+ "get": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Lists all the tasks for a specified container registry.",
+ "operationId": "Tasks_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/TaskListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Tasks_List": {
+ "$ref": "./examples/TasksList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}": {
+ "get": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Get the properties of a specified task.",
+ "operationId": "Tasks_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TaskNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-examples": {
+ "Tasks_Get": {
+ "$ref": "./examples/TasksGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Creates a task for a container registry with the specified parameters.",
+ "operationId": "Tasks_Create",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TaskNameParameter"
+ },
+ {
+ "name": "taskCreateParameters",
+ "in": "body",
+ "description": "The parameters for creating a task.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "201": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Tasks_Create": {
+ "$ref": "./examples/TasksCreate.json"
+ },
+ "Tasks_Create_WithSystemAndUserIdentities": {
+ "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json"
+ },
+ "Tasks_Create_WithUserIdentities_WithSystemIdentity": {
+ "$ref": "./examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json"
+ },
+ "Tasks_Create_WithUserIdentities": {
+ "$ref": "./examples/ManagedIdentity/TasksCreate_WithUserIdentities.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Deletes a specified task.",
+ "operationId": "Tasks_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TaskNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly."
+ },
+ "202": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content - the specified resource was not found."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Tasks_Delete": {
+ "$ref": "./examples/TasksDelete.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Updates a task with the specified parameters.",
+ "operationId": "Tasks_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TaskNameParameter"
+ },
+ {
+ "name": "taskUpdateParameters",
+ "in": "body",
+ "description": "The parameters for updating a task.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TaskUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "201": {
+ "description": "The request was successfully accepted; the operation will complete asynchronously. The provisioning state of the resource should indicate the current state of the resource.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned. If any of the input parameters is wrong, 400(Bad Request) is returned."
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Tasks_Update": {
+ "$ref": "./examples/TasksUpdate.json"
+ },
+ "Tasks_Update_WithKeyVaultCustomCredentials": {
+ "$ref": "./examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json"
+ },
+ "Tasks_Update_WithMSICustomCredentials": {
+ "$ref": "./examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json"
+ },
+ "Tasks_Update_WithOpaqueCustomCredentials": {
+ "$ref": "./examples/TasksUpdate_WithOpaqueCustomCredentials.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/tasks/{taskName}/listDetails": {
+ "post": {
+ "tags": [
+ "Tasks"
+ ],
+ "description": "Returns a task with extended information that includes all secrets.",
+ "operationId": "Tasks_GetDetails",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistryNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/TaskNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request was successful; the request was well-formed and received properly.",
+ "schema": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed. If the registry doesn't exist, 404 (Not found) is returned."
+ }
+ },
+ "x-ms-examples": {
+ "Tasks_GetDetails": {
+ "$ref": "./examples/TasksGetDetails.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RunRequest": {
+ "description": "The request parameters for scheduling a run.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The type of the run request.",
+ "type": "string"
+ },
+ "isArchiveEnabled": {
+ "description": "The value that indicates whether archiving is enabled for the run or not.",
+ "default": false,
+ "type": "boolean"
+ }
+ },
+ "discriminator": "type"
+ },
+ "Run": {
+ "description": "Run resource properties",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/RunProperties",
+ "description": "The properties of a run.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "RunProperties": {
+ "description": "The properties for a run.",
+ "type": "object",
+ "properties": {
+ "runId": {
+ "description": "The unique identifier for the run.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The current status of the run.",
+ "enum": [
+ "Queued",
+ "Started",
+ "Running",
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Error",
+ "Timeout"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RunStatus",
+ "modelAsString": true
+ }
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "The last updated time for the run.",
+ "type": "string"
+ },
+ "runType": {
+ "description": "The type of run.",
+ "enum": [
+ "QuickBuild",
+ "QuickRun",
+ "AutoBuild",
+ "AutoRun"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RunType",
+ "modelAsString": true
+ }
+ },
+ "createTime": {
+ "format": "date-time",
+ "description": "The time the run was scheduled.",
+ "type": "string"
+ },
+ "startTime": {
+ "format": "date-time",
+ "description": "The time the run started.",
+ "type": "string"
+ },
+ "finishTime": {
+ "format": "date-time",
+ "description": "The time the run finished.",
+ "type": "string"
+ },
+ "outputImages": {
+ "description": "The list of all images that were generated from the run. This is applicable if the run generates base image dependencies.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageDescriptor"
+ }
+ },
+ "task": {
+ "description": "The task against which run was scheduled.",
+ "type": "string"
+ },
+ "imageUpdateTrigger": {
+ "$ref": "#/definitions/ImageUpdateTrigger",
+ "description": "The image update trigger that caused the run. This is applicable if the task has base image trigger configured."
+ },
+ "sourceTrigger": {
+ "$ref": "#/definitions/SourceTriggerDescriptor",
+ "description": "The source trigger that caused the run."
+ },
+ "timerTrigger": {
+ "$ref": "#/definitions/TimerTriggerDescriptor",
+ "description": "The timer trigger that caused the run."
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformProperties",
+ "description": "The platform properties against which the run will happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "sourceRegistryAuth": {
+ "description": "The scope of the credentials that were used to login to the source registry during this run.",
+ "type": "string"
+ },
+ "customRegistries": {
+ "description": "The list of custom registries that were logged in during this run.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "runErrorMessage": {
+ "description": "The error message received from backend systems after the run is scheduled.",
+ "type": "string",
+ "readOnly": true
+ },
+ "updateTriggerToken": {
+ "description": "The update trigger token passed for the Run.",
+ "type": "string"
+ },
+ "provisioningState": {
+ "description": "The provisioning state of a run.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "isArchiveEnabled": {
+ "description": "The value that indicates whether archiving is enabled or not.",
+ "default": false,
+ "type": "boolean"
+ }
+ }
+ },
+ "ImageDescriptor": {
+ "description": "Properties for a registry image.",
+ "type": "object",
+ "properties": {
+ "registry": {
+ "description": "The registry login server.",
+ "type": "string"
+ },
+ "repository": {
+ "description": "The repository name.",
+ "type": "string"
+ },
+ "tag": {
+ "description": "The tag name.",
+ "type": "string"
+ },
+ "digest": {
+ "description": "The sha256-based digest of the image manifest.",
+ "type": "string"
+ }
+ }
+ },
+ "ImageUpdateTrigger": {
+ "description": "The image update trigger that caused a build.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique ID of the trigger.",
+ "type": "string"
+ },
+ "timestamp": {
+ "format": "date-time",
+ "description": "The timestamp when the image update happened.",
+ "type": "string"
+ },
+ "images": {
+ "description": "The list of image updates that caused the build.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ImageDescriptor"
+ }
+ }
+ }
+ },
+ "SourceTriggerDescriptor": {
+ "description": "The source trigger that caused a run.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The unique ID of the trigger.",
+ "type": "string"
+ },
+ "eventType": {
+ "description": "The event type of the trigger.",
+ "type": "string"
+ },
+ "commitId": {
+ "description": "The unique ID that identifies a commit.",
+ "type": "string"
+ },
+ "pullRequestId": {
+ "description": "The unique ID that identifies pull request.",
+ "type": "string"
+ },
+ "repositoryUrl": {
+ "description": "The repository URL.",
+ "type": "string"
+ },
+ "branchName": {
+ "description": "The branch name in the repository.",
+ "type": "string"
+ },
+ "providerType": {
+ "description": "The source control provider type.",
+ "type": "string"
+ }
+ }
+ },
+ "TimerTriggerDescriptor": {
+ "type": "object",
+ "properties": {
+ "timerTriggerName": {
+ "description": "The timer trigger name that caused the run.",
+ "type": "string"
+ },
+ "scheduleOccurrence": {
+ "description": "The occurrence that triggered the run.",
+ "type": "string"
+ }
+ }
+ },
+ "PlatformProperties": {
+ "description": "The platform properties against which the run has to happen.",
+ "required": [
+ "os"
+ ],
+ "type": "object",
+ "properties": {
+ "os": {
+ "description": "The operating system type required for the run.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "OS",
+ "modelAsString": true
+ }
+ },
+ "architecture": {
+ "description": "The OS architecture.",
+ "enum": [
+ "amd64",
+ "x86",
+ "386",
+ "arm",
+ "arm64"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Architecture",
+ "modelAsString": true
+ }
+ },
+ "variant": {
+ "description": "Variant of the CPU.",
+ "enum": [
+ "v6",
+ "v7",
+ "v8"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Variant",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AgentProperties": {
+ "description": "The properties that determine the run agent configuration.",
+ "type": "object",
+ "properties": {
+ "cpu": {
+ "format": "int32",
+ "description": "The CPU configuration in terms of number of cores required for the run.",
+ "type": "integer"
+ }
+ }
+ },
+ "SourceUploadDefinition": {
+ "description": "The properties of a response to source upload request.",
+ "type": "object",
+ "properties": {
+ "uploadUrl": {
+ "description": "The URL where the client can upload the source.",
+ "type": "string"
+ },
+ "relativePath": {
+ "description": "The relative path to the source. This is used to submit the subsequent queue build request.",
+ "type": "string"
+ }
+ }
+ },
+ "RunListResult": {
+ "description": "Collection of runs.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection value.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next set of paged results.",
+ "type": "string"
+ }
+ }
+ },
+ "RunFilter": {
+ "description": "Properties that are enabled for Odata querying on runs.",
+ "type": "object",
+ "properties": {
+ "runId": {
+ "description": "The unique identifier for the run.",
+ "type": "string"
+ },
+ "runType": {
+ "description": "The type of run.",
+ "enum": [
+ "QuickBuild",
+ "QuickRun",
+ "AutoBuild",
+ "AutoRun"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RunType",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "description": "The current status of the run.",
+ "enum": [
+ "Queued",
+ "Started",
+ "Running",
+ "Succeeded",
+ "Failed",
+ "Canceled",
+ "Error",
+ "Timeout"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "RunStatus",
+ "modelAsString": true
+ }
+ },
+ "createTime": {
+ "format": "date-time",
+ "description": "The create time for a run.",
+ "type": "string"
+ },
+ "finishTime": {
+ "format": "date-time",
+ "description": "The time the run finished.",
+ "type": "string"
+ },
+ "outputImageManifests": {
+ "description": "The list of comma-separated image manifests that were generated from the run. This is applicable if the run is of\r\nbuild type.",
+ "type": "string"
+ },
+ "isArchiveEnabled": {
+ "description": "The value that indicates whether archiving is enabled or not.",
+ "type": "boolean"
+ },
+ "taskName": {
+ "description": "The name of the task that the run corresponds to.",
+ "type": "string"
+ }
+ }
+ },
+ "RunUpdateParameters": {
+ "description": "The set of run properties that can be updated.",
+ "type": "object",
+ "properties": {
+ "isArchiveEnabled": {
+ "description": "The value that indicates whether archiving is enabled or not.",
+ "type": "boolean"
+ }
+ }
+ },
+ "RunGetLogResult": {
+ "description": "The result of get log link operation.",
+ "type": "object",
+ "properties": {
+ "logLink": {
+ "description": "The link to logs for a run on a azure container registry.",
+ "type": "string"
+ }
+ }
+ },
+ "TaskListResult": {
+ "description": "The collection of tasks.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The collection value.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Task"
+ }
+ },
+ "nextLink": {
+ "description": "The URI that can be used to request the next set of paged results.",
+ "type": "string"
+ }
+ }
+ },
+ "Task": {
+ "description": "The task that has the ARM resource and task properties. \r\nThe task will have all information to schedule a run against it.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "identity": {
+ "$ref": "#/definitions/IdentityProperties",
+ "description": "Identity for the resource."
+ },
+ "properties": {
+ "$ref": "#/definitions/TaskProperties",
+ "description": "The properties of a task.",
+ "x-ms-client-flatten": true
+ }
+ }
+ },
+ "IdentityProperties": {
+ "description": "Managed identity for the resource.",
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "description": "The principal ID of resource identity.",
+ "type": "string"
+ },
+ "tenantId": {
+ "description": "The tenant ID of resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The identity type.",
+ "enum": [
+ "SystemAssigned",
+ "UserAssigned",
+ "SystemAssigned, UserAssigned",
+ "None"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ResourceIdentityType",
+ "modelAsString": false
+ }
+ },
+ "userAssignedIdentities": {
+ "description": "The list of user identities associated with the resource. The user identity \r\ndictionary key references will be ARM resource ids in the form: \r\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/\r\n providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/UserIdentityProperties"
+ }
+ }
+ }
+ },
+ "TaskProperties": {
+ "description": "The properties of a task.",
+ "required": [
+ "platform",
+ "step"
+ ],
+ "type": "object",
+ "properties": {
+ "provisioningState": {
+ "description": "The provisioning state of the task.",
+ "enum": [
+ "Creating",
+ "Updating",
+ "Deleting",
+ "Succeeded",
+ "Failed",
+ "Canceled"
+ ],
+ "type": "string",
+ "readOnly": true,
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "creationDate": {
+ "format": "date-time",
+ "description": "The creation date of task.",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "description": "The current status of task.",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TaskStatus",
+ "modelAsString": true
+ }
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformProperties",
+ "description": "The platform properties against which the run has to happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "timeout": {
+ "format": "int32",
+ "description": "Run timeout in seconds.",
+ "default": 3600,
+ "maximum": 28800,
+ "minimum": 300,
+ "type": "integer"
+ },
+ "step": {
+ "$ref": "#/definitions/TaskStepProperties",
+ "description": "The properties of a task step."
+ },
+ "trigger": {
+ "$ref": "#/definitions/TriggerProperties",
+ "description": "The properties that describe all triggers for the task."
+ },
+ "credentials": {
+ "$ref": "#/definitions/Credentials",
+ "description": "The properties that describes a set of credentials that will be used when this run is invoked."
+ }
+ }
+ },
+ "UserIdentityProperties": {
+ "type": "object",
+ "properties": {
+ "principalId": {
+ "description": "The principal id of user assigned identity.",
+ "type": "string"
+ },
+ "clientId": {
+ "description": "The client id of user assigned identity.",
+ "type": "string"
+ }
+ }
+ },
+ "TaskStepProperties": {
+ "description": "Base properties for any task step.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The type of the step.",
+ "enum": [
+ "Docker",
+ "FileTask",
+ "EncodedTask"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StepType",
+ "modelAsString": true
+ }
+ },
+ "baseImageDependencies": {
+ "description": "List of base image dependencies for a step.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BaseImageDependency"
+ },
+ "readOnly": true
+ },
+ "contextPath": {
+ "description": "The URL(absolute or relative) of the source context for the task step.",
+ "type": "string"
+ },
+ "contextAccessToken": {
+ "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step.",
+ "type": "string"
+ }
+ },
+ "discriminator": "type"
+ },
+ "TriggerProperties": {
+ "description": "The properties of a trigger.",
+ "type": "object",
+ "properties": {
+ "timerTriggers": {
+ "description": "The collection of timer triggers.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TimerTrigger"
+ }
+ },
+ "sourceTriggers": {
+ "description": "The collection of triggers based on source code repository.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SourceTrigger"
+ }
+ },
+ "baseImageTrigger": {
+ "$ref": "#/definitions/BaseImageTrigger",
+ "description": "The trigger based on base image dependencies."
+ }
+ }
+ },
+ "Credentials": {
+ "description": "The parameters that describes a set of credentials that will be used when a run is invoked.",
+ "type": "object",
+ "properties": {
+ "sourceRegistry": {
+ "$ref": "#/definitions/SourceRegistryCredentials",
+ "description": "Describes the credential parameters for accessing the source registry."
+ },
+ "customRegistries": {
+ "description": "Describes the credential parameters for accessing other custom registries. The key\r\nfor the dictionary item will be the registry login server (myregistry.azurecr.io) and\r\nthe value of the item will be the registry credentials for accessing the registry.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/CustomRegistryCredentials"
+ }
+ }
+ }
+ },
+ "BaseImageDependency": {
+ "description": "Properties that describe a base image dependency.",
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The type of the base image dependency.",
+ "enum": [
+ "BuildTime",
+ "RunTime"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "BaseImageDependencyType",
+ "modelAsString": true
+ }
+ },
+ "registry": {
+ "description": "The registry login server.",
+ "type": "string"
+ },
+ "repository": {
+ "description": "The repository name.",
+ "type": "string"
+ },
+ "tag": {
+ "description": "The tag name.",
+ "type": "string"
+ },
+ "digest": {
+ "description": "The sha256-based digest of the image manifest.",
+ "type": "string"
+ }
+ }
+ },
+ "TimerTrigger": {
+ "description": "The properties of a timer trigger.",
+ "required": [
+ "schedule",
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "schedule": {
+ "description": "The CRON expression for the task schedule",
+ "type": "string"
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "SourceTrigger": {
+ "description": "The properties of a source based trigger.",
+ "required": [
+ "sourceRepository",
+ "sourceTriggerEvents",
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "sourceRepository": {
+ "$ref": "#/definitions/SourceProperties",
+ "description": "The properties that describes the source(code) for the task."
+ },
+ "sourceTriggerEvents": {
+ "description": "The source event corresponding to the trigger.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "commit",
+ "pullrequest"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SourceTriggerEvent",
+ "modelAsString": true
+ }
+ }
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "BaseImageTrigger": {
+ "description": "The trigger based on base image dependency.",
+ "required": [
+ "baseImageTriggerType",
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "baseImageTriggerType": {
+ "description": "The type of the auto trigger for base image dependency updates.",
+ "enum": [
+ "All",
+ "Runtime"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "BaseImageTriggerType",
+ "modelAsString": true
+ }
+ },
+ "updateTriggerEndpoint": {
+ "description": "The endpoint URL for receiving update triggers.",
+ "type": "string"
+ },
+ "updateTriggerPayloadType": {
+ "description": "Type of Payload body for Base image update triggers.",
+ "enum": [
+ "Default",
+ "Token"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "UpdateTriggerPayloadType",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "SourceRegistryCredentials": {
+ "description": "Describes the credential parameters for accessing the source registry.",
+ "type": "object",
+ "properties": {
+ "loginMode": {
+ "description": "The authentication mode which determines the source registry login scope. The credentials for the source registry\r\nwill be generated using the given scope. These credentials will be used to login to\r\nthe source registry during the run.",
+ "enum": [
+ "None",
+ "Default"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SourceRegistryLoginMode",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "CustomRegistryCredentials": {
+ "description": "Describes the credentials that will be used to access a custom registry during a run.",
+ "type": "object",
+ "properties": {
+ "userName": {
+ "$ref": "#/definitions/SecretObject",
+ "description": "The username for logging into the custom registry."
+ },
+ "password": {
+ "$ref": "#/definitions/SecretObject",
+ "description": "The password for logging into the custom registry. The password is a secret \r\nobject that allows multiple ways of providing the value for it."
+ },
+ "identity": {
+ "description": "Indicates the managed identity assigned to the custom credential. If a user-assigned identity\r\nthis value is the Client ID. If a system-assigned identity, the value will be `system`. In\r\nthe case of a system-assigned identity, the Client ID will be determined by the runner. This\r\nidentity may be used to authenticate to key vault to retrieve credentials or it may be the only \r\nsource of authentication used for accessing the registry.",
+ "type": "string"
+ }
+ }
+ },
+ "SourceProperties": {
+ "description": "The properties of the source code repository.",
+ "required": [
+ "sourceControlType",
+ "repositoryUrl"
+ ],
+ "type": "object",
+ "properties": {
+ "sourceControlType": {
+ "description": "The type of source control service.",
+ "enum": [
+ "Github",
+ "VisualStudioTeamService"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SourceControlType",
+ "modelAsString": true
+ }
+ },
+ "repositoryUrl": {
+ "description": "The full URL to the source code repository",
+ "type": "string"
+ },
+ "branch": {
+ "description": "The branch name of the source code.",
+ "type": "string"
+ },
+ "sourceControlAuthProperties": {
+ "$ref": "#/definitions/AuthInfo",
+ "description": "The authorization properties for accessing the source code repository and to set up\r\nwebhooks for notifications."
+ }
+ }
+ },
+ "SecretObject": {
+ "description": "Describes the properties of a secret object value.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value of the secret. The format of this value will be determined\r\nbased on the type of the secret object. If the type is Opaque, the value will be\r\nused as is without any modification.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of the secret object which determines how the value of the secret object has to be\r\ninterpreted.",
+ "enum": [
+ "Opaque",
+ "Vaultsecret"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SecretObjectType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AuthInfo": {
+ "description": "The authorization properties for accessing the source code repository.",
+ "required": [
+ "tokenType",
+ "token"
+ ],
+ "type": "object",
+ "properties": {
+ "tokenType": {
+ "description": "The type of Auth token.",
+ "enum": [
+ "PAT",
+ "OAuth"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TokenType",
+ "modelAsString": true
+ }
+ },
+ "token": {
+ "description": "The access token used to access the source control provider.",
+ "type": "string"
+ },
+ "refreshToken": {
+ "description": "The refresh token used to refresh the access token.",
+ "type": "string"
+ },
+ "scope": {
+ "description": "The scope of the access token.",
+ "type": "string"
+ },
+ "expiresIn": {
+ "format": "int32",
+ "description": "Time in seconds that the token remains valid",
+ "type": "integer"
+ }
+ }
+ },
+ "TaskUpdateParameters": {
+ "description": "The parameters for updating a task.",
+ "type": "object",
+ "properties": {
+ "identity": {
+ "$ref": "#/definitions/IdentityProperties",
+ "description": "Identity for the resource."
+ },
+ "properties": {
+ "$ref": "#/definitions/TaskPropertiesUpdateParameters",
+ "description": "The properties for updating a task.",
+ "x-ms-client-flatten": true
+ },
+ "tags": {
+ "description": "The ARM resource tags.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "TaskPropertiesUpdateParameters": {
+ "description": "The properties for updating a task.",
+ "type": "object",
+ "properties": {
+ "status": {
+ "description": "The current status of task.",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TaskStatus",
+ "modelAsString": true
+ }
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformUpdateParameters",
+ "description": "The platform properties against which the run has to happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "timeout": {
+ "format": "int32",
+ "description": "Run timeout in seconds.",
+ "type": "integer"
+ },
+ "step": {
+ "$ref": "#/definitions/TaskStepUpdateParameters",
+ "description": "The properties for updating a task step."
+ },
+ "trigger": {
+ "$ref": "#/definitions/TriggerUpdateParameters",
+ "description": "The properties for updating trigger properties."
+ },
+ "credentials": {
+ "$ref": "#/definitions/Credentials",
+ "description": "The parameters that describes a set of credentials that will be used when this run is invoked."
+ }
+ }
+ },
+ "PlatformUpdateParameters": {
+ "description": "The properties for updating the platform configuration.",
+ "type": "object",
+ "properties": {
+ "os": {
+ "description": "The operating system type required for the run.",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "OS",
+ "modelAsString": true
+ }
+ },
+ "architecture": {
+ "description": "The OS architecture.",
+ "enum": [
+ "amd64",
+ "x86",
+ "386",
+ "arm",
+ "arm64"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Architecture",
+ "modelAsString": true
+ }
+ },
+ "variant": {
+ "description": "Variant of the CPU.",
+ "enum": [
+ "v6",
+ "v7",
+ "v8"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Variant",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "TaskStepUpdateParameters": {
+ "description": "Base properties for updating any task step.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "properties": {
+ "type": {
+ "description": "The type of the step.",
+ "enum": [
+ "Docker",
+ "FileTask",
+ "EncodedTask"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StepType",
+ "modelAsString": true
+ }
+ },
+ "contextPath": {
+ "description": "The URL(absolute or relative) of the source context for the task step.",
+ "type": "string"
+ },
+ "contextAccessToken": {
+ "description": "The token (git PAT or SAS token of storage account blob) associated with the context for a step.",
+ "type": "string"
+ }
+ },
+ "discriminator": "type"
+ },
+ "TriggerUpdateParameters": {
+ "description": "The properties for updating triggers.",
+ "type": "object",
+ "properties": {
+ "timerTriggers": {
+ "description": "The collection of timer triggers.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TimerTriggerUpdateParameters"
+ }
+ },
+ "sourceTriggers": {
+ "description": "The collection of triggers based on source code repository.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SourceTriggerUpdateParameters"
+ }
+ },
+ "baseImageTrigger": {
+ "$ref": "#/definitions/BaseImageTriggerUpdateParameters",
+ "description": "The trigger based on base image dependencies."
+ }
+ }
+ },
+ "TimerTriggerUpdateParameters": {
+ "description": "The properties for updating a timer trigger.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "schedule": {
+ "description": "The CRON expression for the task schedule",
+ "type": "string"
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "SourceTriggerUpdateParameters": {
+ "description": "The properties for updating a source based trigger.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "sourceRepository": {
+ "$ref": "#/definitions/SourceUpdateParameters",
+ "description": "The properties that describes the source(code) for the task."
+ },
+ "sourceTriggerEvents": {
+ "description": "The source event corresponding to the trigger.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "commit",
+ "pullrequest"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SourceTriggerEvent",
+ "modelAsString": true
+ }
+ }
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "BaseImageTriggerUpdateParameters": {
+ "description": "The properties for updating base image dependency trigger.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "baseImageTriggerType": {
+ "description": "The type of the auto trigger for base image dependency updates.",
+ "enum": [
+ "All",
+ "Runtime"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "BaseImageTriggerType",
+ "modelAsString": true
+ }
+ },
+ "updateTriggerEndpoint": {
+ "description": "The endpoint URL for receiving update triggers.",
+ "type": "string"
+ },
+ "updateTriggerPayloadType": {
+ "description": "Type of Payload body for Base image update triggers.",
+ "enum": [
+ "Default",
+ "Token"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "UpdateTriggerPayloadType",
+ "modelAsString": true
+ }
+ },
+ "status": {
+ "description": "The current status of trigger.",
+ "default": "Enabled",
+ "enum": [
+ "Disabled",
+ "Enabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TriggerStatus",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "description": "The name of the trigger.",
+ "type": "string"
+ }
+ }
+ },
+ "SourceUpdateParameters": {
+ "description": "The properties for updating the source code repository.",
+ "type": "object",
+ "properties": {
+ "sourceControlType": {
+ "description": "The type of source control service.",
+ "enum": [
+ "Github",
+ "VisualStudioTeamService"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SourceControlType",
+ "modelAsString": true
+ }
+ },
+ "repositoryUrl": {
+ "description": "The full URL to the source code repository",
+ "type": "string"
+ },
+ "branch": {
+ "description": "The branch name of the source code.",
+ "type": "string"
+ },
+ "sourceControlAuthProperties": {
+ "$ref": "#/definitions/AuthInfoUpdateParameters",
+ "description": "The authorization properties for accessing the source code repository and to set up\r\nwebhooks for notifications."
+ }
+ }
+ },
+ "AuthInfoUpdateParameters": {
+ "description": "The authorization properties for accessing the source code repository.",
+ "type": "object",
+ "properties": {
+ "tokenType": {
+ "description": "The type of Auth token.",
+ "enum": [
+ "PAT",
+ "OAuth"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "TokenType",
+ "modelAsString": true
+ }
+ },
+ "token": {
+ "description": "The access token used to access the source control provider.",
+ "type": "string"
+ },
+ "refreshToken": {
+ "description": "The refresh token used to refresh the access token.",
+ "type": "string"
+ },
+ "scope": {
+ "description": "The scope of the access token.",
+ "type": "string"
+ },
+ "expiresIn": {
+ "format": "int32",
+ "description": "Time in seconds that the token remains valid",
+ "type": "integer"
+ }
+ }
+ },
+ "Resource": {
+ "description": "An Azure resource.",
+ "required": [
+ "location"
+ ],
+ "properties": {
+ "id": {
+ "description": "The resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The type of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "location": {
+ "description": "The location of the resource. This cannot be changed after the resource is created.",
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ]
+ },
+ "tags": {
+ "description": "The tags of the resource.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "ProxyResource": {
+ "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.",
+ "properties": {
+ "id": {
+ "description": "The resource ID.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "The name of the resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "The type of the resource.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "DockerBuildRequest": {
+ "description": "The parameters for a docker quick build.",
+ "required": [
+ "type",
+ "dockerFilePath",
+ "platform"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RunRequest"
+ }
+ ],
+ "properties": {
+ "imageNames": {
+ "description": "The fully qualified image names including the repository and tag.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "isPushEnabled": {
+ "description": "The value of this property indicates whether the image built should be pushed to the registry or not.",
+ "default": true,
+ "type": "boolean"
+ },
+ "noCache": {
+ "description": "The value of this property indicates whether the image cache is enabled or not.",
+ "default": false,
+ "type": "boolean"
+ },
+ "dockerFilePath": {
+ "description": "The Docker file path relative to the source location.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The name of the target build stage for the docker build.",
+ "type": "string"
+ },
+ "arguments": {
+ "description": "The collection of override arguments to be used when executing the run.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Argument"
+ }
+ },
+ "timeout": {
+ "format": "int32",
+ "description": "Run timeout in seconds.",
+ "default": 3600,
+ "maximum": 28800,
+ "minimum": 300,
+ "type": "integer"
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformProperties",
+ "description": "The platform properties against which the run has to happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "sourceLocation": {
+ "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.",
+ "type": "string"
+ },
+ "credentials": {
+ "$ref": "#/definitions/Credentials",
+ "description": "The properties that describes a set of credentials that will be used when this run is invoked."
+ }
+ },
+ "x-ms-discriminator-value": "DockerBuildRequest"
+ },
+ "Argument": {
+ "description": "The properties of a run argument.",
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the argument.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The value of the argument.",
+ "type": "string"
+ },
+ "isSecret": {
+ "description": "Flag to indicate whether the argument represents a secret and want to be removed from build logs.",
+ "default": false,
+ "type": "boolean"
+ }
+ }
+ },
+ "FileTaskRunRequest": {
+ "description": "The request parameters for a scheduling run against a task file.",
+ "required": [
+ "type",
+ "taskFilePath",
+ "platform"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RunRequest"
+ }
+ ],
+ "properties": {
+ "taskFilePath": {
+ "description": "The template/definition file path relative to the source.",
+ "type": "string"
+ },
+ "valuesFilePath": {
+ "description": "The values/parameters file path relative to the source.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ },
+ "timeout": {
+ "format": "int32",
+ "description": "Run timeout in seconds.",
+ "default": 3600,
+ "maximum": 28800,
+ "minimum": 300,
+ "type": "integer"
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformProperties",
+ "description": "The platform properties against which the run has to happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "sourceLocation": {
+ "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.",
+ "type": "string"
+ },
+ "credentials": {
+ "$ref": "#/definitions/Credentials",
+ "description": "The properties that describes a set of credentials that will be used when this run is invoked."
+ }
+ },
+ "x-ms-discriminator-value": "FileTaskRunRequest"
+ },
+ "SetValue": {
+ "description": "The properties of a overridable value that can be passed to a task template.",
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the overridable value.",
+ "type": "string"
+ },
+ "value": {
+ "description": "The overridable value.",
+ "type": "string"
+ },
+ "isSecret": {
+ "description": "Flag to indicate whether the value represents a secret or not.",
+ "default": false,
+ "type": "boolean"
+ }
+ }
+ },
+ "TaskRunRequest": {
+ "description": "The parameters for a task run request.",
+ "required": [
+ "type",
+ "taskId"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RunRequest"
+ }
+ ],
+ "properties": {
+ "taskId": {
+ "description": "The resource ID of task against which run has to be queued.",
+ "type": "string"
+ },
+ "overrideTaskStepProperties": {
+ "$ref": "#/definitions/OverrideTaskStepProperties",
+ "description": "Set of overridable parameters that can be passed when running a Task."
+ }
+ },
+ "x-ms-discriminator-value": "TaskRunRequest"
+ },
+ "OverrideTaskStepProperties": {
+ "type": "object",
+ "properties": {
+ "contextPath": {
+ "description": "The source context against which run has to be queued.",
+ "type": "string"
+ },
+ "file": {
+ "description": "The file against which run has to be queued.",
+ "type": "string"
+ },
+ "arguments": {
+ "description": "Gets or sets the collection of override arguments to be used when\r\nexecuting a build step.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Argument"
+ }
+ },
+ "target": {
+ "description": "The name of the target build stage for the docker build.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a Task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ },
+ "updateTriggerToken": {
+ "description": "Base64 encoded update trigger token that will be attached with the base image trigger webhook.",
+ "type": "string"
+ }
+ }
+ },
+ "EncodedTaskRunRequest": {
+ "description": "The parameters for a quick task run request.",
+ "required": [
+ "type",
+ "encodedTaskContent",
+ "platform"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RunRequest"
+ }
+ ],
+ "properties": {
+ "encodedTaskContent": {
+ "description": "Base64 encoded value of the template/definition file content.",
+ "type": "string"
+ },
+ "encodedValuesContent": {
+ "description": "Base64 encoded value of the parameters/values file content.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ },
+ "timeout": {
+ "format": "int32",
+ "description": "Run timeout in seconds.",
+ "default": 3600,
+ "maximum": 28800,
+ "minimum": 300,
+ "type": "integer"
+ },
+ "platform": {
+ "$ref": "#/definitions/PlatformProperties",
+ "description": "The platform properties against which the run has to happen."
+ },
+ "agentConfiguration": {
+ "$ref": "#/definitions/AgentProperties",
+ "description": "The machine configuration of the run agent."
+ },
+ "sourceLocation": {
+ "description": "The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.\r\nIf it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.",
+ "type": "string"
+ },
+ "credentials": {
+ "$ref": "#/definitions/Credentials",
+ "description": "The properties that describes a set of credentials that will be used when this run is invoked."
+ }
+ },
+ "x-ms-discriminator-value": "EncodedTaskRunRequest"
+ },
+ "DockerBuildStep": {
+ "description": "The Docker build step.",
+ "required": [
+ "dockerFilePath",
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepProperties"
+ }
+ ],
+ "properties": {
+ "imageNames": {
+ "description": "The fully qualified image names including the repository and tag.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "isPushEnabled": {
+ "description": "The value of this property indicates whether the image built should be pushed to the registry or not.",
+ "default": true,
+ "type": "boolean"
+ },
+ "noCache": {
+ "description": "The value of this property indicates whether the image cache is enabled or not.",
+ "default": false,
+ "type": "boolean"
+ },
+ "dockerFilePath": {
+ "description": "The Docker file path relative to the source context.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The name of the target build stage for the docker build.",
+ "type": "string"
+ },
+ "arguments": {
+ "description": "The collection of override arguments to be used when executing this build step.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Argument"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "Docker"
+ },
+ "FileTaskStep": {
+ "description": "The properties of a task step.",
+ "required": [
+ "taskFilePath",
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepProperties"
+ }
+ ],
+ "properties": {
+ "taskFilePath": {
+ "description": "The task template/definition file path relative to the source context.",
+ "type": "string"
+ },
+ "valuesFilePath": {
+ "description": "The task values/parameters file path relative to the source context.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "FileTask"
+ },
+ "EncodedTaskStep": {
+ "description": "The properties of a encoded task step.",
+ "required": [
+ "encodedTaskContent",
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepProperties"
+ }
+ ],
+ "properties": {
+ "encodedTaskContent": {
+ "description": "Base64 encoded value of the template/definition file content.",
+ "type": "string"
+ },
+ "encodedValuesContent": {
+ "description": "Base64 encoded value of the parameters/values file content.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "EncodedTask"
+ },
+ "DockerBuildStepUpdateParameters": {
+ "description": "The properties for updating a docker build step.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepUpdateParameters"
+ }
+ ],
+ "properties": {
+ "imageNames": {
+ "description": "The fully qualified image names including the repository and tag.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "isPushEnabled": {
+ "description": "The value of this property indicates whether the image built should be pushed to the registry or not.",
+ "type": "boolean"
+ },
+ "noCache": {
+ "description": "The value of this property indicates whether the image cache is enabled or not.",
+ "type": "boolean"
+ },
+ "dockerFilePath": {
+ "description": "The Docker file path relative to the source context.",
+ "type": "string"
+ },
+ "arguments": {
+ "description": "The collection of override arguments to be used when executing this build step.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Argument"
+ }
+ },
+ "target": {
+ "description": "The name of the target build stage for the docker build.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "Docker"
+ },
+ "FileTaskStepUpdateParameters": {
+ "description": "The properties of updating a task step.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepUpdateParameters"
+ }
+ ],
+ "properties": {
+ "taskFilePath": {
+ "description": "The task template/definition file path relative to the source context.",
+ "type": "string"
+ },
+ "valuesFilePath": {
+ "description": "The values/parameters file path relative to the source context.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "FileTask"
+ },
+ "EncodedTaskStepUpdateParameters": {
+ "description": "The properties for updating encoded task step.",
+ "required": [
+ "type"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/TaskStepUpdateParameters"
+ }
+ ],
+ "properties": {
+ "encodedTaskContent": {
+ "description": "Base64 encoded value of the template/definition file content.",
+ "type": "string"
+ },
+ "encodedValuesContent": {
+ "description": "Base64 encoded value of the parameters/values file content.",
+ "type": "string"
+ },
+ "values": {
+ "description": "The collection of overridable values that can be passed when running a task.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SetValue"
+ }
+ }
+ },
+ "x-ms-discriminator-value": "EncodedTask"
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Microsoft Azure subscription ID.",
+ "required": true,
+ "type": "string"
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The name of the resource group to which the container registry belongs.",
+ "required": true,
+ "type": "string",
+ "minLength": 1,
+ "x-ms-parameter-location": "method"
+ },
+ "RegistryNameParameter": {
+ "name": "registryName",
+ "in": "path",
+ "description": "The name of the container registry.",
+ "required": true,
+ "type": "string",
+ "maxLength": 50,
+ "minLength": 5,
+ "pattern": "^[a-zA-Z0-9]*$",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "description": "The client API version.",
+ "required": true,
+ "type": "string"
+ },
+ "TaskNameParameter": {
+ "name": "taskName",
+ "in": "path",
+ "description": "The name of the container registry task.",
+ "required": true,
+ "type": "string",
+ "maxLength": 50,
+ "minLength": 5,
+ "pattern": "^[a-zA-Z0-9-_]*$",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2",
+ "description": "Azure Active Directory OAuth2 Flow"
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json
new file mode 100644
index 000000000000..98a8d6b98259
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemAndUserIdentities.json
@@ -0,0 +1,248 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "mytTask",
+ "taskCreateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master",
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo",
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "location": "eastus",
+ "identity": {
+ "type": "SystemAssigned, UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {}
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30",
+ "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
+ "type": "SystemAssigned, UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
+ "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc",
+ "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a"
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Creating",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fc99dc67-1ad9-45c8-9ebc-e438081c8e30",
+ "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd",
+ "type": "SystemAssigned, UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
+ "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc",
+ "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a"
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json
new file mode 100644
index 000000000000..eeeb532c2556
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithSystemIdentity.json
@@ -0,0 +1,227 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "mytTask",
+ "taskCreateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master",
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "baseImageTriggerType": "Runtime"
+ }
+ }
+ },
+ "location": "eastus",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Creating",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json
new file mode 100644
index 000000000000..06577bf137e2
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksCreate_WithUserIdentities.json
@@ -0,0 +1,253 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "mytTask",
+ "taskCreateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master",
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo",
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "location": "eastus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {},
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {}
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {
+ "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e",
+ "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466"
+ },
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
+ "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc",
+ "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a"
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Creating",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "type": "UserAssigned",
+ "userAssignedIdentities": {
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {
+ "clientId": "d3ce1bc2-f7d7-4a5b-9979-950f4e57680e",
+ "principalId": "b6p9f58b-6fbf-4efd-a7e0-fvd46911a466"
+ },
+ "/subscriptions/f9d7ebed-adbd-4cb4-b973-aaf82c136138/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {
+ "clientId": "e35621a5-f615-4a20-940e-de8a84b15abc",
+ "principalId": "e45e3m7c-176e-416a-b466-0c5ec8298f8a"
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json
new file mode 100644
index 000000000000..edbd95c29df8
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithKeyVaultCustomCredentials.json
@@ -0,0 +1,222 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask",
+ "taskUpdateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile"
+ },
+ "trigger": {
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ]
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "userName": {
+ "type": "Vaultsecret",
+ "value": "https://myacbvault.vault.azure.net/secrets/username"
+ },
+ "password": {
+ "type": "Vaultsecret",
+ "value": "https://myacbvault.vault.azure.net/secrets/password"
+ },
+ "identity": "[system]"
+ }
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo",
+ "updateTriggerPayloadType": "Token"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Token"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json
new file mode 100644
index 000000000000..fc5ca27f5bcd
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/ManagedIdentity/TasksUpdate_WithMSICustomCredentials.json
@@ -0,0 +1,210 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask",
+ "taskUpdateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile"
+ },
+ "trigger": {
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ]
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "identity": "[system]"
+ }
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json
new file mode 100644
index 000000000000..1c20d1f9e6d1
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesGetBuildSourceUploadUrl.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "relativePath": "source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz",
+ "uploadUrl": "https://registrystorageaccount.blob.core.windows.net/registrycontainer/source/201802130000/b52f12d8-c3d6-4d75-9107-220f0bfc681d.tar.gz?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D"
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json
new file mode 100644
index 000000000000..0c308e07a823
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "DockerBuildRequest",
+ "isArchiveEnabled": true,
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "noCache": true,
+ "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D",
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "isPushEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "dockerFilePath": "DockerFile"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json
new file mode 100644
index 000000000000..785f9cb290f7
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_EncodedTaskRun.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "EncodedTaskRunRequest",
+ "values": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "platform": {
+ "os": "Linux"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "encodedTaskContent": "c3RlcHM6Cnt7IGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAncHJvZCcgfX0KICAtIHJ1bjogcHJvZCBzZXR1cAp7eyBlbHNlIGlmIFZhbHVlcy5lbnZpcm9ubWVudCA9PSAnc3RhZ2luZycgfX0KICAtIHJ1bjogc3RhZ2luZyBzZXR1cAp7eyBlbHNlIH19CiAgLSBydW46IGRlZmF1bHQgc2V0dXAKe3sgZW5kIH19CgogIC0gcnVuOiBidWlsZCAtdCBGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0gLgoKcHVzaDogWydGYW5jeVRoaW5nOnt7LlZhbHVlcy5lbnZpcm9ubWVudH19LXt7LlZhbHVlcy52ZXJzaW9ufX0nXQ==",
+ "encodedValuesContent": "ZW52aXJvbm1lbnQ6IHByb2QKdmVyc2lvbjogMQ=="
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json
new file mode 100644
index 000000000000..6decf05e3486
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTaskRun.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "FileTaskRunRequest",
+ "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D",
+ "values": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "platform": {
+ "os": "Linux"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "taskFilePath": "acb.yaml",
+ "valuesFilePath": "prod-values.yaml"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json
new file mode 100644
index 000000000000..1deef75f4cce
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_FileTask_WithCustomCredentials.json
@@ -0,0 +1,60 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "FileTaskRunRequest",
+ "values": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "platform": {
+ "os": "Linux"
+ },
+ "taskFilePath": "acb.yaml",
+ "credentials": {
+ "sourceRegistry": {
+ "loginMode": "Default"
+ },
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "reg1"
+ },
+ "password": {
+ "type": "Opaque",
+ "value": "***"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json
new file mode 100644
index 000000000000..574b28d7c3ff
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_Task.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "TaskRunRequest",
+ "overrideTaskStepProperties": {
+ "file": "overriddenDockerfile",
+ "target": "build",
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "values": [
+ {
+ "name": "mytestname",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestname",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "updateTriggerToken": "aGVsbG8gd29ybGQ="
+ },
+ "taskId": "myTask"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json
new file mode 100644
index 000000000000..b5efffdaa698
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RegistriesScheduleRun_WithCustomCredentials.json
@@ -0,0 +1,82 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runRequest": {
+ "type": "DockerBuildRequest",
+ "isArchiveEnabled": true,
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "noCache": true,
+ "sourceLocation": "https://myaccount.blob.core.windows.net/sascontainer/source.zip?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D",
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ],
+ "isPushEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "dockerFilePath": "DockerFile",
+ "target": "stage1",
+ "credentials": {
+ "sourceRegistry": {
+ "loginMode": "Default"
+ },
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "reg1"
+ },
+ "password": {
+ "type": "Opaque",
+ "value": "***"
+ }
+ },
+ "myregistry2.azurecr.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "reg2"
+ },
+ "password": {
+ "type": "Opaque",
+ "value": "***"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z"
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/run"
+ }
+ },
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json
new file mode 100644
index 000000000000..f996e9d12bcf
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsCancel.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json
new file mode 100644
index 000000000000..cd6d56392ffd
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGet.json
@@ -0,0 +1,57 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z",
+ "runType": "AutoBuild",
+ "createTime": "2018-01-25T05:13:51.618Z",
+ "startTime": "2018-01-25T05:50:51.618Z",
+ "finishTime": "2018-01-25T06:13:51.618Z",
+ "outputImages": [
+ {
+ "registry": "myregistry.azurecr.io",
+ "repository": "myimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ],
+ "task": "myTask",
+ "imageUpdateTrigger": {
+ "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88",
+ "timestamp": "2018-01-25T05:13:51.618Z",
+ "images": [
+ {
+ "registry": "registry.hub.docker.com",
+ "repository": "mybaseimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ]
+ },
+ "isArchiveEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/runs"
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json
new file mode 100644
index 000000000000..545fa7324b18
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsGetLogSasUrl.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "logLink": "https://registrystorageaccount.blob.core.windows.net/sascontainer/logs/0accec26-d6de-4757-8e74-d080f38eaaab/rawtext.log?sv=2015-04-05&st=2015-04-29T22%3A18%3A26Z&se=2015-04-30T02%3A23%3A26Z&sr=b&sp=rw&sip=168.1.5.60-168.1.5.70&spr=https&sig=Z%2FRHIX5Xcg0Mq2rqI3OlWTjEg2tYkboXr1P9ZUXDtkk%3D"
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json
new file mode 100644
index 000000000000..08cf3291f7c3
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsList.json
@@ -0,0 +1,62 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "$filter": "",
+ "$top": 10
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z",
+ "runType": "AutoBuild",
+ "createTime": "2018-01-25T05:13:51.618Z",
+ "startTime": "2018-01-25T05:50:51.618Z",
+ "finishTime": "2018-01-25T06:13:51.618Z",
+ "outputImages": [
+ {
+ "registry": "myregistry.azurecr.io",
+ "repository": "myimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ],
+ "task": "myTask",
+ "imageUpdateTrigger": {
+ "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88",
+ "timestamp": "2018-01-25T05:13:51.618Z",
+ "images": [
+ {
+ "registry": "registry.hub.docker.com",
+ "repository": "mybaseimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ]
+ },
+ "isArchiveEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/runs"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json
new file mode 100644
index 000000000000..67554f360bd5
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/RunsUpdate.json
@@ -0,0 +1,106 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "runUpdateParameters": {
+ "isArchiveEnabled": true
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z",
+ "runType": "AutoBuild",
+ "createTime": "2018-01-25T05:13:51.618Z",
+ "startTime": "2018-01-25T05:50:51.618Z",
+ "finishTime": "2018-01-25T06:13:51.618Z",
+ "outputImages": [
+ {
+ "registry": "myregistry.azurecr.io",
+ "repository": "myimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ],
+ "task": "myTask",
+ "imageUpdateTrigger": {
+ "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88",
+ "timestamp": "2018-01-25T05:13:51.618Z",
+ "images": [
+ {
+ "registry": "registry.hub.docker.com",
+ "repository": "mybaseimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ]
+ },
+ "isArchiveEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/runs"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Updating",
+ "runId": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "status": "Succeeded",
+ "lastUpdatedTime": "2018-01-25T05:13:51.617Z",
+ "runType": "AutoBuild",
+ "createTime": "2018-01-25T05:13:51.618Z",
+ "startTime": "2018-01-25T05:50:51.618Z",
+ "finishTime": "2018-01-25T06:13:51.618Z",
+ "outputImages": [
+ {
+ "registry": "myregistry.azurecr.io",
+ "repository": "myimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ],
+ "task": "myTask",
+ "imageUpdateTrigger": {
+ "id": "c0c43143-da5d-41ef-b9e1-e7d749272e88",
+ "timestamp": "2018-01-25T05:13:51.618Z",
+ "images": [
+ {
+ "registry": "registry.hub.docker.com",
+ "repository": "mybaseimage",
+ "tag": "latest",
+ "digest": "sha256:cbbf2f9a99b47fc460d422812b6a5adff7dfee951d8fa2e4a98caa0"
+ }
+ ]
+ },
+ "isArchiveEnabled": true,
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/runs/0accec26-d6de-4757-8e74-d080f38eaaab",
+ "name": "0accec26-d6de-4757-8e74-d080f38eaaab",
+ "type": "Microsoft.ContainerRegistry/registries/runs"
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json
new file mode 100644
index 000000000000..6200b73c0b1e
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksCreate.json
@@ -0,0 +1,233 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "mytTask",
+ "taskCreateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master",
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo",
+ "updateTriggerPayloadType": "Token"
+ }
+ }
+ },
+ "location": "eastus",
+ "identity": {
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Token"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Creating",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Token"
+ }
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json
new file mode 100644
index 000000000000..7d7f0ee06428
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksDelete.json
@@ -0,0 +1,14 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json
new file mode 100644
index 000000000000..35233c27670d
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGet.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Token"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json
new file mode 100644
index 000000000000..a68531461844
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksGetDetails.json
@@ -0,0 +1,106 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ },
+ {
+ "name": "mysecrettestargument",
+ "value": "mysecrettestvalue",
+ "isSecret": true
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master",
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": "https://user:pass@mycicd.webhook.com?token=foo",
+ "updateTriggerPayloadType": "Token"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure-test.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "username"
+ },
+ "password": {
+ "type": "Vaultsecret",
+ "value": "https://myacbvault.vault.azure.net/secrets/username"
+ },
+ "identity": "[system]"
+ }
+ },
+ "sourceRegistry": null
+ }
+ },
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json
new file mode 100644
index 000000000000..f76332bc0790
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksList.json
@@ -0,0 +1,95 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 2
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myRegistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json
new file mode 100644
index 000000000000..fb0e6621cb2e
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate.json
@@ -0,0 +1,222 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask",
+ "taskUpdateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile"
+ },
+ "trigger": {
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ]
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "username"
+ },
+ "password": {
+ "type": "Vaultsecret",
+ "value": "https://myacbvault.vault.azure.net/secrets/password"
+ },
+ "identity": "[system]"
+ }
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime",
+ "updateTriggerEndpoint": null,
+ "updateTriggerPayloadType": "Default"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json
new file mode 100644
index 000000000000..8072e5b19b6e
--- /dev/null
+++ b/specification/containerregistry/resource-manager/Microsoft.ContainerRegistry/preview/2019-06-01-preview/examples/TasksUpdate_WithOpaqueCustomCredentials.json
@@ -0,0 +1,217 @@
+{
+ "parameters": {
+ "subscriptionId": "4385cf00-2d3a-425a-832f-f4285b1c9dce",
+ "resourceGroupName": "myResourceGroup",
+ "registryName": "myRegistry",
+ "api-version": "2019-06-01-preview",
+ "taskName": "myTask",
+ "taskUpdateParameters": {
+ "properties": {
+ "status": "Enabled",
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile"
+ },
+ "trigger": {
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "sourceRepository": {
+ "sourceControlAuthProperties": {
+ "tokenType": "PAT",
+ "token": "xxxxx"
+ }
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ]
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azurecr.io": {
+ "userName": {
+ "type": "Opaque",
+ "value": "username"
+ },
+ "password": {
+ "type": "Opaque",
+ "value": "***"
+ }
+ }
+ }
+ }
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "creationDate": "2018-01-25T06:54:23.536Z",
+ "status": "Enabled",
+ "platform": {
+ "os": "Linux",
+ "architecture": "amd64"
+ },
+ "agentConfiguration": {
+ "cpu": 3
+ },
+ "step": {
+ "type": "Docker",
+ "imageNames": [
+ "azurerest:testtag1"
+ ],
+ "dockerFilePath": "src/DockerFile",
+ "contextPath": "src",
+ "isPushEnabled": true,
+ "noCache": false,
+ "arguments": [
+ {
+ "name": "mytestargument",
+ "value": "mytestvalue",
+ "isSecret": false
+ }
+ ]
+ },
+ "trigger": {
+ "timerTriggers": [
+ {
+ "name": "myTimerTrigger",
+ "status": "Enabled",
+ "schedule": "30 9 * * 1-5"
+ }
+ ],
+ "sourceTriggers": [
+ {
+ "name": "mySourceTrigger",
+ "status": "Enabled",
+ "sourceRepository": {
+ "sourceControlType": "Github",
+ "repositoryUrl": "https://github.com/Azure/azure-rest-api-specs",
+ "branch": "master"
+ },
+ "sourceTriggerEvents": [
+ "commit"
+ ]
+ }
+ ],
+ "baseImageTrigger": {
+ "name": "myBaseImageTrigger",
+ "status": "Enabled",
+ "baseImageTriggerType": "Runtime"
+ }
+ },
+ "credentials": {
+ "customRegistries": {
+ "myregistry.azure.io": null
+ },
+ "sourceRegistry": null
+ }
+ },
+ "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myRegistry/tasks/myTask",
+ "name": "myTask",
+ "type": "Microsoft.ContainerRegistry/registries/tasks",
+ "location": "eastus",
+ "identity": {
+ "principalId": "fa153151-b9fd-46f4-9088-5e6600f2689v",
+ "tenantId": "f686d426-8d16-42db-81b7-abu4gm510ccd",
+ "type": "SystemAssigned"
+ },
+ "tags": {
+ "testkey": "value"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/containerregistry/resource-manager/readme.go.md b/specification/containerregistry/resource-manager/readme.go.md
index 5b94af21f1cc..85f4c0eb0e79 100644
--- a/specification/containerregistry/resource-manager/readme.go.md
+++ b/specification/containerregistry/resource-manager/readme.go.md
@@ -13,6 +13,7 @@ go:
``` yaml $(go) && $(multiapi)
batch:
+ - tag: package-2019-06-preview
- tag: package-2019-05
- tag: package-2019-05-preview
- tag: package-2019-04
@@ -24,6 +25,15 @@ batch:
- tag: package-2016-06-preview
```
+### Tag: package-2019-06-preview and go
+
+These settings apply only when `--tag=package-2019-06-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-06-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01-preview/$(namespace)
+```
+
### Tag: package-2018-05 and go
These settings apply only when `--tag=package-2019-05 --go` is specified on the command line.
diff --git a/specification/containerregistry/resource-manager/readme.java.md b/specification/containerregistry/resource-manager/readme.java.md
index 5dde66ea9609..d91b48cab2e5 100644
--- a/specification/containerregistry/resource-manager/readme.java.md
+++ b/specification/containerregistry/resource-manager/readme.java.md
@@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerregistry
``` yaml $(java) && $(multiapi)
batch:
+ - tag: package-2019-06-preview-only
- tag: package-2019-04-only
- tag: package-2019-04
- tag: package-2018-09
@@ -26,6 +27,19 @@ batch:
- tag: package-2016-06-preview
```
+### Tag: package-2019-06-preview-only and java
+
+These settings apply only when `--tag=package-2019-06-preview-only --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-06-preview-only' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.containerregistry.v2019_06_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2019_06_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
### Tag: package-2019-04-only and java
These settings apply only when `--tag=package-2019-04-only --java` is specified on the command line.
diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md
index 0b21b2c74848..2d47f5dc7df7 100644
--- a/specification/containerregistry/resource-manager/readme.md
+++ b/specification/containerregistry/resource-manager/readme.md
@@ -26,7 +26,26 @@ These are the global settings for the ContainerRegistry API.
``` yaml
openapi-type: arm
-tag: package-2019-05
+tag: package-2019-06-preview
+```
+
+### Tag: package-2019-06-preview
+
+These settings apply only when `--tag=package-2019-06-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-06-preview'
+input-file:
+- Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json
+- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
+```
+
+### Tag: package-2019-06-preview-only
+
+These settings apply only when `--tag=package-2019-06-preview-only` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-06-preview-only'
+input-file:
+- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
```
### Tag: package-2019-05
@@ -136,6 +155,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
autorest_options:
use: "@microsoft.azure/autorest.python@4.0.70"
@@ -178,3 +198,37 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
See configuration in [readme.java.md](./readme.java.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json
+ - $(this-folder)/Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
+ - $(this-folder)/Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json
+ - $(this-folder)/Microsoft.ContainerRegistry/stable/2017-10-01/containerregistry.json
+ - $(this-folder)/Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json
+ - $(this-folder)/Microsoft.ContainerRegistry/stable/2018-09-01/containerregistry_build.json
+ - $(this-folder)/Microsoft.ContainerRegistry/preview/2018-02-01-preview/containerregistry_build.json
+ - $(this-folder)/Microsoft.ContainerRegistry/preview/2017-06-01-preview/containerregistry.json
+ - $(this-folder)/Microsoft.ContainerRegistry/stable/2017-03-01/containerregistry.json
+ - $(this-folder)/Microsoft.ContainerRegistry/preview/2016-06-27-preview/containerregistry.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/containerregistry/resource-manager/readme.nodejs.md b/specification/containerregistry/resource-manager/readme.nodejs.md
index 3a94e64e04ca..7ab8e1d2785e 100644
--- a/specification/containerregistry/resource-manager/readme.nodejs.md
+++ b/specification/containerregistry/resource-manager/readme.nodejs.md
@@ -13,6 +13,6 @@ nodejs:
generate-readme-md: true
input-file:
- Microsoft.ContainerRegistry/stable/2019-05-01/containerregistry.json
-- Microsoft.ContainerRegistry/stable/2019-04-01/containerregistry_build.json
+- Microsoft.ContainerRegistry/preview/2019-06-01-preview/containerregistry_build.json
- Microsoft.ContainerRegistry/preview/2019-05-01-preview/containerregistry_scopemap.json
```
diff --git a/specification/containerregistry/resource-manager/readme.python.md b/specification/containerregistry/resource-manager/readme.python.md
index 8c14c4b13c47..35505275362d 100644
--- a/specification/containerregistry/resource-manager/readme.python.md
+++ b/specification/containerregistry/resource-manager/readme.python.md
@@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
+ - tag: package-2019-06-preview
- tag: package-2019-05
- tag: package-2019-05-preview
- tag: package-2019-04
@@ -27,6 +28,17 @@ batch:
- tag: package-2017-03
```
+### Tag: package-2019-06-preview and python
+
+These settings apply only when `--tag=package-2019-06-preview --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-06-preview' && $(python)
+python:
+ namespace: azure.mgmt.containerregistry.v2019_06_01_preview
+ output-folder: $(python-sdks-folder)/containerregistry/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2019_06_01_preview
+```
+
### Tag: package-2019-05 and python
These settings apply only when `--tag=package-2019-05 --python` is specified on the command line.
diff --git a/specification/containerregistry/resource-manager/readme.typescript.md b/specification/containerregistry/resource-manager/readme.typescript.md
index 5ad53f281574..b532cf90e05c 100644
--- a/specification/containerregistry/resource-manager/readme.typescript.md
+++ b/specification/containerregistry/resource-manager/readme.typescript.md
@@ -6,7 +6,7 @@ Please also specify `--typescript-sdks-folder=`.
+
+``` yaml $(tag)=='package-2019-08' && $(go)
+namespace: containerservice
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-08-01/$(namespace)
+```
+
### Tag: package-2019-06 and go
These settings apply only when `--package-2019-06 --go` is specified on the command line.
diff --git a/specification/containerservice/resource-manager/readme.java.md b/specification/containerservice/resource-manager/readme.java.md
new file mode 100644
index 000000000000..f91e0036361c
--- /dev/null
+++ b/specification/containerservice/resource-manager/readme.java.md
@@ -0,0 +1,85 @@
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.containerservice
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerservice
+title: ContainerServiceManagementClient
+description: "Container Service Client"
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2019-06
+```
+
+### Tag: package-2019-06 and java
+
+These settings apply only when `--tag=package-2019-06` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-06' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.containerservice.v2019_06_01
+ output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2019_06_01
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2019-04-only and java
+
+These settings apply only when `--tag=package-2019-04-only` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-04-only' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.containerservice.v2019_04_01
+ output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2019_04_01
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2017-09-only and java
+
+These settings apply only when `--tag=package-2017-09-only` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2017-09-only' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.containerservice.v2017_09_30
+ output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_09_30
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2017-08-only and java
+
+These settings apply only when `--tag=package-2017-08-only` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2017-08-only' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.containerservice.v2017_08_31
+ output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_08_31
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2017-07 and java
+
+These settings apply only when `--tag=package-2017-07` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.containerservice.v2017_07_01
+ output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_07_01
+regenerate-manager: true
+generate-interface: true
+```
\ No newline at end of file
diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md
index 7dd13f349048..ed0ece1b2398 100644
--- a/specification/containerservice/resource-manager/readme.md
+++ b/specification/containerservice/resource-manager/readme.md
@@ -34,15 +34,26 @@ These are the global settings for the ContainerServices API.
``` yaml
openapi-type: arm
-tag: package-2019-06
+tag: package-2019-08
```
+### Tag: package-2019-08
+
+These settings apply only when `--tag=package-2019-08` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-08'
+input-file:
+ - Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
+ - Microsoft.ContainerService/stable/2017-07-01/containerService.json
+ - Microsoft.ContainerService/stable/2019-08-01/location.json
+ - Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
+```
### Tag: package-2019-06
These settings apply only when `--tag=package-2019-06` is specified on the command line.
-```yaml $(tag) == 'package-2019-06'
+``` yaml $(tag) == 'package-2019-06'
input-file:
- Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
@@ -139,6 +150,15 @@ input-file:
- Microsoft.ContainerService/stable/2017-07-01/containerService.json
```
+### Tag: package-2019-08-01-only
+
+These settings apply only when `--tag=package-2019-08-01-only` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-08-01-only'
+input-file:
+- Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
+```
+
### Tag: package-2019-06-01-only
These settings apply only when `--tag=package-2019-06-01-only` is specified on the command line.
@@ -306,76 +326,57 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.containerservice
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerservice
-title: ContainerServiceManagementClient
-description: "Container Service Client"
-```
+See configuration in [readme.java.md](./readme.java.md)
-### Java multi-api
+## Suppression
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2017-09-only
- - tag: package-2017-08-only
- - tag: package-2017-07
+``` yaml
+directive:
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ from: managedClusters.json
+ reason: Name change of "enableRBAC" property would break compatibility
+ - suppress: TrackedResourcePatchOperation
+ from: containerService.json
+ reason: ACS service is deprecated so a PATCH endpoint won't be implemented
```
-### Tag: package-2017-09-only and java
+## Multi-API/Profile support for AutoRest v3 generators
-These settings apply only when `--tag=package-2017-09-only` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2017-09-only' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.containerservice.v2017_09_30
- output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_09_30
-regenerate-manager: true
-generate-interface: true
-```
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
-### Tag: package-2017-08-only and java
+This block is updated by an automatic script. Edits may be lost!
-These settings apply only when `--tag=package-2017-08-only` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2017-08-only' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.containerservice.v2017_08_31
- output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_08_31
-regenerate-manager: true
-generate-interface: true
-```
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
-### Tag: package-2017-07 and java
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-04-30/openShiftManagedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2017-07-01/containerService.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/location.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-08-01/managedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-06-01/location.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-06-01/managedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-04-01/managedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-04-01/location.json
+ - $(this-folder)/Microsoft.ContainerService/preview/2018-09-30-preview/openShiftManagedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2019-02-01/managedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2017-09-30/location.json
+ - $(this-folder)/Microsoft.ContainerService/preview/2018-08-01-preview/managedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2018-03-31/managedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2017-08-31/managedClusters.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2017-01-31/containerService.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2016-09-30/containerService.json
+ - $(this-folder)/Microsoft.ContainerService/stable/2016-03-30/containerService.json
-These settings apply only when `--tag=package-2017-07` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.containerservice.v2017_07_01
- output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_07_01
-regenerate-manager: true
-generate-interface: true
```
-## Suppression
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
-``` yaml
-directive:
- - suppress: DefinitionsPropertiesNamesCamelCase
- from: managedClusters.json
- reason: Name change of "enableRBAC" property would break compatibility
- - suppress: TrackedResourcePatchOperation
- from: containerService.json
- reason: ACS service is deprecated so a PATCH endpoint won't be implemented
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
+
diff --git a/specification/containerservice/resource-manager/readme.python.md b/specification/containerservice/resource-manager/readme.python.md
index 1b10b8c9525f..6823a0015142 100644
--- a/specification/containerservice/resource-manager/readme.python.md
+++ b/specification/containerservice/resource-manager/readme.python.md
@@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package
```yaml $(python) && $(multiapi)
batch:
+ - tag: package-2019-08-01-only
- tag: package-2019-06-01-only
- tag: package-2019-04-30-only
- tag: package-2019-04-01-only
@@ -27,6 +28,16 @@ batch:
- tag: package-2018-03-only
- tag: package-2017-07-only-extended
```
+### Tag: package-2019-08-01-only and python
+
+These settings apply only when `--tag=package-2019-08-01-only --python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2019-08-01-only' && $(python)
+python:
+ namespace: azure.mgmt.containerservice.v2019_08_01
+ output-folder: $(python-sdks-folder)/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_08_01
+```
### Tag: package-2019-06-01-only and python
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json
index 125d85a870f7..b1f3a328b89f 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json
@@ -4343,6 +4343,14 @@
"enableMultipleWriteLocations": {
"description": "Enables the account to write in multiple locations",
"type": "boolean"
+ },
+ "enableCassandraConnector": {
+ "description": "Enables the cassandra connector on the Cosmos DB C* account",
+ "type": "boolean"
+ },
+ "connectorOffer": {
+ "description": "The cassandra connector offer type for the Cosmos DB database C* account.",
+ "$ref": "#/definitions/ConnectorOffer"
}
}
},
@@ -4407,6 +4415,14 @@
"enableMultipleWriteLocations": {
"description": "Enables the account to write in multiple locations",
"type": "boolean"
+ },
+ "enableCassandraConnector": {
+ "description": "Enables the cassandra connector on the Cosmos DB C* account",
+ "type": "boolean"
+ },
+ "connectorOffer": {
+ "description": "The cassandra connector offer type for the Cosmos DB database C* account.",
+ "$ref": "#/definitions/ConnectorOffer"
}
},
"required": [
@@ -4486,12 +4502,13 @@
"readOnly": true,
"type": "string",
"description": "Base 64 encoded value of the secondary read-write key."
- },
- "properties": {
- "x-ms-client-flatten": true,
+ }
+ },
+ "allOf": [
+ {
"$ref": "#/definitions/DatabaseAccountListReadOnlyKeysResult"
}
- }
+ ]
},
"DatabaseAccountConnectionString": {
"description": "Connection string for the Cosmos DB account",
@@ -5868,6 +5885,17 @@
"modelAsString": true,
"name": "UnitType"
}
+ },
+ "ConnectorOffer": {
+ "description": "The cassandra connector offer type for the Cosmos DB C* database account.",
+ "type": "string",
+ "enum": [
+ "Small"
+ ],
+ "x-ms-enum": {
+ "name": "ConnectorOffer",
+ "modelAsString": true
+ }
}
},
"parameters": {
diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json
index f04f6c904308..05a9097380c6 100644
--- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json
+++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2015-04-08/examples/CosmosDBDatabaseAccountListKeys.json
@@ -10,10 +10,8 @@
"body": {
"primaryMasterKey": "primaryMasterKey",
"secondaryMasterKey": "secondaryMasterKey",
- "properties": {
- "primaryReadonlyMasterKey": "primaryReadonlyMasterKey",
- "secondaryReadonlyMasterKey": "secondaryReadonlyMasterKey"
- }
+ "primaryReadonlyMasterKey": "primaryReadonlyMasterKey",
+ "secondaryReadonlyMasterKey": "secondaryReadonlyMasterKey"
}
}
}
diff --git a/specification/cosmos-db/resource-manager/readme.md b/specification/cosmos-db/resource-manager/readme.md
index 743b27dd23b0..1bae2976fd2c 100644
--- a/specification/cosmos-db/resource-manager/readme.md
+++ b/specification/cosmos-db/resource-manager/readme.md
@@ -181,4 +181,28 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-See configuration in [readme.java.md](./readme.java.md)
\ No newline at end of file
+See configuration in [readme.java.md](./readme.java.md)
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DocumentDB/stable/2015-04-08/cosmos-db.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json
index b7dbe1c0dc05..254541ce9660 100644
--- a/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json
+++ b/specification/cost-management/resource-manager/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json
@@ -1224,7 +1224,7 @@
]
},
"ExportDeliveryDestination": {
- "description": "The destination information for the delivery of the export.",
+ "description": "The destination information for the delivery of the export. To allow access to a storage account, you must register the account's subscription with the Microsoft.CostManagementExports resource provider. This is required once per subscription. When creating an export in the Azure portal, it is done automatically. However, API users need to register the subscription. For more information see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-supported-services .",
"properties": {
"resourceId": {
"description": "The resource id of the storage account where exports will be delivered.",
diff --git a/specification/cost-management/resource-manager/readme.md b/specification/cost-management/resource-manager/readme.md
index 8865981a12d7..483100612d7d 100644
--- a/specification/cost-management/resource-manager/readme.md
+++ b/specification/cost-management/resource-manager/readme.md
@@ -156,6 +156,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-python
- repo: azure-sdk-for-node
@@ -287,3 +288,33 @@ regenerate-manager: true
generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.CostManagement/preview/2019-04-01-preview/costmanagement.json
+ - $(this-folder)/Microsoft.CostManagement/stable/2019-01-01/costmanagement.json
+ - $(this-folder)/Microsoft.CostManagement/preview/2019-03-01-preview/costmanagement.json
+ - $(this-folder)/Microsoft.CostManagement/stable/2018-05-31/costmanagement.json
+ - $(this-folder)/Microsoft.CostManagement/preview/2018-08-01-preview/costmanagement.json
+ - $(this-folder)/Microsoft.CostManagement/preview/2018-12-01-preview/costmanagement.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json
index 5b6b170d8388..6d393905cd54 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/DCIOperations_List.json
@@ -8,7 +8,6 @@
"value": [
{
"display": {
- "description": "Read any Azure Customer Insights Hub",
"operation": "Read Azure Customer Insights Hub",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Hubs"
@@ -17,7 +16,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Hub",
"operation": "Create or Update Azure Customer Insights Hub",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Hubs"
@@ -26,7 +24,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Hub",
"operation": "Delete Azure Customer Insights Hub",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Hubs"
@@ -35,7 +32,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights App View",
"operation": "Read Azure Customer Insights App View",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights App Views"
@@ -44,7 +40,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights App View",
"operation": "Create or Update Azure Customer Insights App View",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights App Views"
@@ -53,7 +48,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights App View",
"operation": "Delete Azure Customer Insights App View",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights App Views"
@@ -62,7 +56,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Connector",
"operation": "Read Azure Customer Insights Connector",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connectors"
@@ -71,7 +64,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Connector",
"operation": "Create or Update Azure Customer Insights Connector",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connectors"
@@ -80,7 +72,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Connector",
"operation": "Delete Azure Customer Insights Connector",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connectors"
@@ -89,7 +80,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Connector Mapping",
"operation": "Read Azure Customer Insights Connector Mapping",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connector Mappings"
@@ -98,7 +88,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Connector Mapping",
"operation": "Create or Update Azure Customer Insights Connector Mapping",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connector Mappings"
@@ -107,7 +96,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Connector Mapping",
"operation": "Delete Azure Customer Insights App View",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connector Mappings"
@@ -116,7 +104,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Interaction",
"operation": "Read Azure Customer Insights Interaction",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Interactions"
@@ -125,7 +112,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Interaction",
"operation": "Create or Update Azure Customer Insights Interaction",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Interactions"
@@ -134,7 +120,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Profile",
"operation": "Read Azure Customer Insights Profile",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Profiles"
@@ -143,7 +128,6 @@
},
{
"display": {
- "description": "Write any Azure Customer Insights Profile",
"operation": "Create or Update Azure Customer Insights Profile",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Profiles"
@@ -152,7 +136,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Key Performance Indicator",
"operation": "Read Azure Customer Insights Key Performance Indicator",
"provider": "Microsoft Azure Customer Insights",
"resource": "Create or Update Customer Insights Key Performance Indicators"
@@ -161,7 +144,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Key Performance Indicator",
"operation": "Create or Update Azure Customer Insights Key Performance Indicator",
"provider": "Microsoft Azure Customer Insights",
"resource": "Create or Update Customer Insights Key Performance Indicators"
@@ -170,7 +152,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Key Performance Indicator",
"operation": "Delete Azure Customer Insights Key Performance Indicator",
"provider": "Microsoft Azure Customer Insights",
"resource": "Create or Update Customer Insights Key Performance Indicators"
@@ -179,7 +160,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Rbac Assignment",
"operation": "Read Azure Customer Insights Rbac Assignment",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Rbac Assignments"
@@ -188,7 +168,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Rbac Assignment",
"operation": "Create or Update Azure Customer Insights Rbac Assignment",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Rbac Assignments"
@@ -197,7 +176,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Rbac Assignment",
"operation": "Delete Azure Customer Insights Rbac Assignment",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Rbac Assignments"
@@ -206,7 +184,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Shared Access Signature Policy",
"operation": "Read Azure Customer Insights Shared Access Signature Policy",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Shared Access Signature Policies"
@@ -215,7 +192,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Shared Access Signature Policy",
"operation": "Create or Update Azure Customer Insights Shared Access Signature Policy",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Shared Access Signature Policies"
@@ -224,7 +200,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Shared Access Signature Policy",
"operation": "Delete Azure Customer Insights Shared Access Signature Policy",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Shared Access Signature Policies"
@@ -233,7 +208,6 @@
},
{
"display": {
- "description": "Regenerate Azure Customer Insights Shared Access Signature Policy primary key",
"operation": "Regenerate Azure Customer Insights Shared Access Signature Policy primary key",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Shared Access Signature Policies"
@@ -242,7 +216,6 @@
},
{
"display": {
- "description": "Regenerate Azure Customer Insights Shared Access Signature Policy secondary key",
"operation": "Regenerate Azure Customer Insights Shared Access Signature Policy secondary key",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Shared Access Signature Policies"
@@ -251,7 +224,6 @@
},
{
"display": {
- "description": "Gets the available metrics for resource",
"operation": "Read resource metric definitions",
"provider": "Microsoft Azure Customer Insights",
"resource": "Microsoft Azure Customer Insights Metric Definition"
@@ -260,7 +232,6 @@
},
{
"display": {
- "description": "Gets the available logs for resource",
"operation": "Read resource log definitions",
"provider": "Microsoft Azure Customer Insights",
"resource": "Microsoft Azure Customer Insights Log Definition"
@@ -269,7 +240,6 @@
},
{
"display": {
- "description": "Gets the diagnostic setting for the resource",
"operation": "Diagnostic setting read",
"provider": "Microsoft Azure Customer Insights",
"resource": "Microsoft Azure Customer Insights Diagnostic Settings"
@@ -278,7 +248,6 @@
},
{
"display": {
- "description": "Creates or updates the diagnostic setting for the resource",
"operation": "Diagnostic setting write",
"provider": "Microsoft Azure Customer Insights",
"resource": "Microsoft Azure Customer Insights Diagnostic Settings"
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json
index 5afff68434b9..737d0bcbd885 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-01-01/examples/ProfilesListByHub.json
@@ -111,7 +111,7 @@
"type": "Microsoft.CustomerInsights/hubs/profiles"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json
index 5b6b170d8388..6d393905cd54 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/DCIOperations_List.json
@@ -8,7 +8,6 @@
"value": [
{
"display": {
- "description": "Read any Azure Customer Insights Hub",
"operation": "Read Azure Customer Insights Hub",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Hubs"
@@ -17,7 +16,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Hub",
"operation": "Create or Update Azure Customer Insights Hub",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Hubs"
@@ -26,7 +24,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Hub",
"operation": "Delete Azure Customer Insights Hub",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Hubs"
@@ -35,7 +32,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights App View",
"operation": "Read Azure Customer Insights App View",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights App Views"
@@ -44,7 +40,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights App View",
"operation": "Create or Update Azure Customer Insights App View",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights App Views"
@@ -53,7 +48,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights App View",
"operation": "Delete Azure Customer Insights App View",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights App Views"
@@ -62,7 +56,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Connector",
"operation": "Read Azure Customer Insights Connector",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connectors"
@@ -71,7 +64,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Connector",
"operation": "Create or Update Azure Customer Insights Connector",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connectors"
@@ -80,7 +72,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Connector",
"operation": "Delete Azure Customer Insights Connector",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connectors"
@@ -89,7 +80,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Connector Mapping",
"operation": "Read Azure Customer Insights Connector Mapping",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connector Mappings"
@@ -98,7 +88,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Connector Mapping",
"operation": "Create or Update Azure Customer Insights Connector Mapping",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connector Mappings"
@@ -107,7 +96,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Connector Mapping",
"operation": "Delete Azure Customer Insights App View",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Connector Mappings"
@@ -116,7 +104,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Interaction",
"operation": "Read Azure Customer Insights Interaction",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Interactions"
@@ -125,7 +112,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Interaction",
"operation": "Create or Update Azure Customer Insights Interaction",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Interactions"
@@ -134,7 +120,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Profile",
"operation": "Read Azure Customer Insights Profile",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Profiles"
@@ -143,7 +128,6 @@
},
{
"display": {
- "description": "Write any Azure Customer Insights Profile",
"operation": "Create or Update Azure Customer Insights Profile",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Profiles"
@@ -152,7 +136,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Key Performance Indicator",
"operation": "Read Azure Customer Insights Key Performance Indicator",
"provider": "Microsoft Azure Customer Insights",
"resource": "Create or Update Customer Insights Key Performance Indicators"
@@ -161,7 +144,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Key Performance Indicator",
"operation": "Create or Update Azure Customer Insights Key Performance Indicator",
"provider": "Microsoft Azure Customer Insights",
"resource": "Create or Update Customer Insights Key Performance Indicators"
@@ -170,7 +152,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Key Performance Indicator",
"operation": "Delete Azure Customer Insights Key Performance Indicator",
"provider": "Microsoft Azure Customer Insights",
"resource": "Create or Update Customer Insights Key Performance Indicators"
@@ -179,7 +160,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Rbac Assignment",
"operation": "Read Azure Customer Insights Rbac Assignment",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Rbac Assignments"
@@ -188,7 +168,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Rbac Assignment",
"operation": "Create or Update Azure Customer Insights Rbac Assignment",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Rbac Assignments"
@@ -197,7 +176,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Rbac Assignment",
"operation": "Delete Azure Customer Insights Rbac Assignment",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Rbac Assignments"
@@ -206,7 +184,6 @@
},
{
"display": {
- "description": "Read any Azure Customer Insights Shared Access Signature Policy",
"operation": "Read Azure Customer Insights Shared Access Signature Policy",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Shared Access Signature Policies"
@@ -215,7 +192,6 @@
},
{
"display": {
- "description": "Create or Update any Azure Customer Insights Shared Access Signature Policy",
"operation": "Create or Update Azure Customer Insights Shared Access Signature Policy",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Shared Access Signature Policies"
@@ -224,7 +200,6 @@
},
{
"display": {
- "description": "Delete any Azure Customer Insights Shared Access Signature Policy",
"operation": "Delete Azure Customer Insights Shared Access Signature Policy",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Shared Access Signature Policies"
@@ -233,7 +208,6 @@
},
{
"display": {
- "description": "Regenerate Azure Customer Insights Shared Access Signature Policy primary key",
"operation": "Regenerate Azure Customer Insights Shared Access Signature Policy primary key",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Shared Access Signature Policies"
@@ -242,7 +216,6 @@
},
{
"display": {
- "description": "Regenerate Azure Customer Insights Shared Access Signature Policy secondary key",
"operation": "Regenerate Azure Customer Insights Shared Access Signature Policy secondary key",
"provider": "Microsoft Azure Customer Insights",
"resource": "Azure Customer Insights Shared Access Signature Policies"
@@ -251,7 +224,6 @@
},
{
"display": {
- "description": "Gets the available metrics for resource",
"operation": "Read resource metric definitions",
"provider": "Microsoft Azure Customer Insights",
"resource": "Microsoft Azure Customer Insights Metric Definition"
@@ -260,7 +232,6 @@
},
{
"display": {
- "description": "Gets the available logs for resource",
"operation": "Read resource log definitions",
"provider": "Microsoft Azure Customer Insights",
"resource": "Microsoft Azure Customer Insights Log Definition"
@@ -269,7 +240,6 @@
},
{
"display": {
- "description": "Gets the diagnostic setting for the resource",
"operation": "Diagnostic setting read",
"provider": "Microsoft Azure Customer Insights",
"resource": "Microsoft Azure Customer Insights Diagnostic Settings"
@@ -278,7 +248,6 @@
},
{
"display": {
- "description": "Creates or updates the diagnostic setting for the resource",
"operation": "Diagnostic setting write",
"provider": "Microsoft Azure Customer Insights",
"resource": "Microsoft Azure Customer Insights Diagnostic Settings"
diff --git a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json
index 5afff68434b9..737d0bcbd885 100644
--- a/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json
+++ b/specification/customer-insights/resource-manager/Microsoft.CustomerInsights/stable/2017-04-26/examples/ProfilesListByHub.json
@@ -111,7 +111,7 @@
"type": "Microsoft.CustomerInsights/hubs/profiles"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/customer-insights/resource-manager/readme.md b/specification/customer-insights/resource-manager/readme.md
index 071d85f2c435..ab957ead38bf 100644
--- a/specification/customer-insights/resource-manager/readme.md
+++ b/specification/customer-insights/resource-manager/readme.md
@@ -61,6 +61,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
@@ -138,3 +139,29 @@ generate-interface: true
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.CustomerInsights/stable/2017-04-26/customer-insights.json
+ - $(this-folder)/Microsoft.CustomerInsights/stable/2017-01-01/customer-insights.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/customproviders/resource-manager/readme.md b/specification/customproviders/resource-manager/readme.md
index 1c4039307b08..8b3656a01526 100644
--- a/specification/customproviders/resource-manager/readme.md
+++ b/specification/customproviders/resource-manager/readme.md
@@ -49,6 +49,7 @@ This is not used by Autorest itself.
```yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -82,3 +83,28 @@ See configuration in [readme.csharp.md](./readme.csharp.md)
## NodeJS
See configuration in [readme.nodejs.md](./readme.nodejs.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.CustomProviders/preview/2018-09-01-preview/customproviders.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json
index 27d6c0b10ee1..53b1e531c3b8 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCancelPost.json
@@ -26,8 +26,6 @@
}
},
"responses": {
- "204": {
- "body": ""
- }
+ "204": {}
}
}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json
index a8d3fce74ad3..7aecaf824e8c 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsCreate.json
@@ -60,9 +60,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"200": {
"body": {
"properties": {
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json
index c6e0b8f29e28..a1ab18e456e4 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsDelete.json
@@ -17,11 +17,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json
index 75d9a8fa2cd4..2a7b81772c4d 100644
--- a/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json
+++ b/specification/databox/resource-manager/Microsoft.DataBox/stable/2018-01-01/examples/JobsPatch.json
@@ -47,9 +47,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"200": {
"body": {
"properties": {
diff --git a/specification/databox/resource-manager/readme.md b/specification/databox/resource-manager/readme.md
index 3b2641d9d795..4e44f25b8584 100644
--- a/specification/databox/resource-manager/readme.md
+++ b/specification/databox/resource-manager/readme.md
@@ -49,6 +49,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
@@ -145,3 +146,28 @@ java:
regenerate-manager: true
generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DataBox/stable/2018-01-01/databox.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreate.json b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreate.json
index 2b537b634673..012fdf9674c1 100644
--- a/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreate.json
+++ b/specification/databricks/resource-manager/Microsoft.Databricks/stable/2018-04-01/examples/WorkspaceCreate.json
@@ -14,7 +14,6 @@
},
"responses": {
"200": {
- "headers": {},
"body": {
"name": "myWorkspace",
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace",
@@ -32,6 +31,23 @@
}
}
},
- "201": {}
+ "201": {
+ "body": {
+ "name": "myWorkspace",
+ "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Databricks/workspaces/myWorkspace",
+ "type": "Microsoft.Databricks/workspaces",
+ "location": "East US 2",
+ "tags": null,
+ "sku": {
+ "name": "skuName"
+ },
+ "properties": {
+ "managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG",
+ "parameters": null,
+ "provisioningState": "Created",
+ "uiDefinitionUri": "https://path/to/workspaceCreateUiDefinition.json"
+ }
+ }
+ }
}
}
diff --git a/specification/databricks/resource-manager/readme.md b/specification/databricks/resource-manager/readme.md
index 4ba4790f62fa..7aea7abb8e97 100644
--- a/specification/databricks/resource-manager/readme.md
+++ b/specification/databricks/resource-manager/readme.md
@@ -82,4 +82,28 @@ See configuration in [readme.go.md](./readme.go.md)
## Python
-See configuration in [readme.python.md](./readme.python.md)
\ No newline at end of file
+See configuration in [readme.python.md](./readme.python.md)
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Databricks/stable/2018-04-01/databricks.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/datacatalog/resource-manager/Microsoft.DataCatalog/stable/2016-03-30/examples/DeleteADCCatalog.json b/specification/datacatalog/resource-manager/Microsoft.DataCatalog/stable/2016-03-30/examples/DeleteADCCatalog.json
index 9ea2274c10ad..93c4c2e8ba46 100644
--- a/specification/datacatalog/resource-manager/Microsoft.DataCatalog/stable/2016-03-30/examples/DeleteADCCatalog.json
+++ b/specification/datacatalog/resource-manager/Microsoft.DataCatalog/stable/2016-03-30/examples/DeleteADCCatalog.json
@@ -6,29 +6,8 @@
"catalogName": "exampleCatalog"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 17:55:54 GMT",
- "x-ms-request-id": "a8bb197f-b00f-4add-a847-59f6aa0315ab",
- "x-ms-correlation-request-id": "acdb3257-c6cb-44f1-8e14-afa3ebf471fa"
- },
- "body": null
- },
- "202": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 17:55:54 GMT",
- "x-ms-request-id": "a8bb197f-b00f-4add-a847-59f6aa0315ab",
- "x-ms-correlation-request-id": "acdb3257-c6cb-44f1-8e14-afa3ebf471fa"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 17:55:54 GMT",
- "x-ms-request-id": "a8bb197f-b00f-4add-a847-59f6aa0315ab",
- "x-ms-correlation-request-id": "acdb3257-c6cb-44f1-8e14-afa3ebf471fa"
- },
- "body": null
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/datacatalog/resource-manager/readme.md b/specification/datacatalog/resource-manager/readme.md
index 1d1e58a97db7..bdd675ff4582 100644
--- a/specification/datacatalog/resource-manager/readme.md
+++ b/specification/datacatalog/resource-manager/readme.md
@@ -50,6 +50,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
@@ -65,7 +66,7 @@ csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.DataCatalog
- output-folder: $(csharp-sdks-folder)/DataCatalog/Management.DataCatalog/Generated
+ output-folder: $(csharp-sdks-folder)/datacatalog/Microsoft.Azure.Management.DataCatalog/src/Generated
clear-output-folder: true
```
@@ -132,3 +133,28 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DataCatalog/stable/2016-03-30/datacatalog.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json
index 3d0b863ca2d4..554d2135c6b2 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/entityTypes/Pipeline.json
@@ -2076,6 +2076,10 @@
"additionalProperties": {
"$ref": "#/definitions/SSISPropertyOverride"
}
+ },
+ "logLocation": {
+ "description": "SSIS package execution log location.",
+ "$ref": "#/definitions/SSISLogLocation"
}
},
"required": [
@@ -2090,12 +2094,47 @@
"packagePath": {
"description": "The SSIS package path. Type: string (or Expression with resultType string).",
"type": "object"
+ },
+ "type": {
+ "description": "The type of SSIS package location.",
+ "type": "string",
+ "enum": [
+ "SSISDB",
+ "File"
+ ],
+ "x-ms-enum": {
+ "name": "SsisPackageLocationType",
+ "modelAsString": true
+ }
+ },
+ "typeProperties": {
+ "x-ms-client-flatten": true,
+ "description": "SSIS package location properties.",
+ "$ref": "#/definitions/SSISPackageLocationTypeProperties"
}
},
"required": [
"packagePath"
]
},
+ "SSISPackageLocationTypeProperties": {
+ "description": "SSIS package location properties.",
+ "type": "object",
+ "properties": {
+ "packagePassword": {
+ "$ref": "../datafactory.json#/definitions/SecretBase",
+ "description": "Password of the package."
+ },
+ "accessCredential": {
+ "description": "The package access credential.",
+ "$ref": "#/definitions/SSISAccessCredential"
+ },
+ "configurationPath": {
+ "description": "The configuration file of the package execution. Type: string (or Expression with resultType string).",
+ "type": "object"
+ }
+ }
+ },
"SSISConnectionManager": {
"description": "SSIS Connection Manager.",
"type": "object",
@@ -2156,6 +2195,74 @@
"password"
]
},
+ "SSISAccessCredential": {
+ "description": "SSIS access credential.",
+ "type": "object",
+ "properties": {
+ "domain": {
+ "type": "object",
+ "description": "Domain for windows authentication."
+ },
+ "userName": {
+ "type": "object",
+ "description": "UseName for windows authentication."
+ },
+ "password": {
+ "$ref": "../datafactory.json#/definitions/SecretBase",
+ "description": "Password for windows authentication."
+ }
+ },
+ "required": [
+ "domain",
+ "userName",
+ "password"
+ ]
+ },
+ "SSISLogLocation": {
+ "description": "SSIS package execution log location",
+ "type": "object",
+ "properties": {
+ "logPath": {
+ "description": "The SSIS package execution log path. Type: string (or Expression with resultType string).",
+ "type": "object"
+ },
+ "type": {
+ "description": "The type of SSIS log location.",
+ "type": "string",
+ "enum": [
+ "File"
+ ],
+ "x-ms-enum": {
+ "name": "SsisLogLocationType",
+ "modelAsString": true
+ }
+ },
+ "typeProperties": {
+ "x-ms-client-flatten": true,
+ "description": "SSIS package execution log location properties.",
+ "$ref": "#/definitions/SSISLogLocationTypeProperties"
+ }
+ },
+ "required": [
+ "logPath",
+ "type",
+ "typeProperties"
+ ]
+ },
+ "SSISLogLocationTypeProperties": {
+ "description": "SSIS package execution log location properties.",
+ "type": "object",
+ "properties": {
+ "accessCredential": {
+ "description": "The package execution log access credential.",
+ "$ref": "#/definitions/SSISAccessCredential"
+ },
+ "logRefreshInterval": {
+ "type": "object",
+ "description": "Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
+ }
+ }
+ },
"CustomActivity": {
"description": "Custom activity type.",
"x-ms-discriminator-value": "Custom",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json
index 04e92c709fc0..36f069df03a6 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Datasets_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:27 GMT",
- "x-ms-request-id": "70d3cf1f-bf14-40f5-bb56-1550a317ce8b",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1183",
- "x-ms-correlation-request-id": "d56bf687-df32-4313-87ec-ff22ba9bd192"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:27 GMT",
- "x-ms-request-id": "a2347ff3-4018-4815-b58a-9fbe3cdcab52",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1182",
- "x-ms-correlation-request-id": "9b926944-88d9-4d77-b1a8-5540c803f933"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json
index 4a1f6a1a490e..83817e9074a7 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_CancelPipelineRun.json
@@ -7,15 +7,6 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Mon, 02 Oct 2017 17:27:33 GMT",
- "x-ms-request-id": "fd3867ea-c65c-470d-a17b-d83c8864cf90",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1113",
- "x-ms-correlation-request-id": "d0b45db5-c155-4991-95d9-22655c72c986"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json
index 8fdcc97b90e3..622af493483a 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Factories_Delete.json
@@ -6,24 +6,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:31 GMT",
- "x-ms-request-id": "00d8b4cd-058f-4da8-a3a9-7a7a9ae772f0",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1177",
- "x-ms-correlation-request-id": "9693bca3-4ee7-4501-865e-8411952d196b"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:31 GMT",
- "x-ms-ratelimit-remaining-subscription-writes": "1176",
- "x-ms-request-id": "95fce457-ddee-44a2-84a1-05c33b32d807",
- "x-ms-correlation-request-id": "95fce457-ddee-44a2-84a1-05c33b32d807"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json
index fbb4a3da2a86..088318838d46 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimeNodes_Delete.json
@@ -8,21 +8,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Thu, 19 Oct 2017 15:22:16 GMT",
- "x-ms-request-id": "75a166f9-75ed-48d9-bc9b-08682dfdd0eb",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Thu, 19 Oct 2017 15:22:16 GMT",
- "x-ms-request-id": "d05cec68-ec62-4e95-97b6-9572eeab8ef2",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json
index ca78dd6b94da..3bbeae4d09ec 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:29 GMT",
- "x-ms-request-id": "6d1ee741-7850-484b-99cd-b42ef08fd18c",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1179",
- "x-ms-correlation-request-id": "f931d2aa-0021-43ee-8005-2653da5e86d4"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:29 GMT",
- "x-ms-request-id": "afb27d48-0c81-4e62-92c4-6fcb8c35c8a2",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1178",
- "x-ms-correlation-request-id": "543d80b4-c9d0-418d-bf16-d2434abac0cb"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json
index dcf0d9e9440c..72163a4ed20a 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_RemoveNode.json
@@ -10,21 +10,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Tue, 28 Nov 2017 06:05:42 GMT",
- "x-ms-request-id": "f1b13f98-0659-4eaa-a676-29912ae0a4f3",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Tue, 28 Nov 2017 06:05:44 GMT",
- "x-ms-request-id": "3d15a37e-f3f2-4e21-a90a-316f695a3f90",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json
index 34cac9c4bc49..bfa4edc8cd78 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Start.json
@@ -7,16 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "202": {
- "headers": {
- "Date": "Tue, 28 Nov 2017 07:17:56 GMT",
- "Location": "https://adfrpnightly.svc.datafactory-test.azure.com/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/start/operationresults/9a070152cddb4c839d482ccfb76a7537?api-version=2017-09-01-preview",
- "Retry-After": "15",
- "x-ms-request-id": "aa8a8ed1-7b2e-40eb-b734-9b7a5f393aed",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- },
+ "202": {},
"200": {
"headers": {
"Date": "Tue, 28 Nov 2017 07:39:18 GMT",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json
index 351b499eb7d7..48bd7f969e40 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Stop.json
@@ -7,23 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "202": {
- "headers": {
- "Date": "Tue, 28 Nov 2017 07:39:21 GMT",
- "Location": "https://adfrpnightly.svc.datafactory-test.azure.com/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/stop/operationresults/50799841b7f94497ae43291b791db7e0?api-version=2017-09-01-preview",
- "Retry-After": "15",
- "x-ms-request-id": "b36c64a2-3306-4374-b93f-ec91dbb3bf26",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- },
- "200": {
- "headers": {
- "Date": "Tue, 28 Nov 2017 07:40:23 GMT",
- "x-ms-request-id": "bcff281c-ae61-4e2d-8a0c-044e34c1d04a",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json
index 0778b1f16a8e..74bb858cac73 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_SyncCredentials.json
@@ -7,13 +7,6 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sun, 20 Aug 2017 08:46:58 GMT",
- "x-ms-request-id": "05bae251-45ef-4bca-9710-ecfc0181755b",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json
index 365c903ca287..74bb858cac73 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/IntegrationRuntimes_Upgrade.json
@@ -7,13 +7,6 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Tue, 14 Nov 2017 03:42:42 GMT",
- "x-ms-request-id": "599429b9-3add-4d0c-973b-91ddaf3364e7",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json
index ac1d5ba9bc8d..79202e3a1b86 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/LinkedServices_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:28 GMT",
- "x-ms-request-id": "7383dae8-e077-4472-8f2e-91e1163dcbb2",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1181",
- "x-ms-correlation-request-id": "af89dcb6-8a1e-498a-9b0c-3e866bd80f39"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:28 GMT",
- "x-ms-request-id": "097cab57-d2b8-442d-90f0-2deb5e3733e5",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1180",
- "x-ms-correlation-request-id": "3adc7b84-2fbe-4409-9481-bf2bd489f49f"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json
index 39feb99341db..590c4e3c3d2b 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Pipelines_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:27 GMT",
- "x-ms-request-id": "74ec3492-79c4-4028-9db1-fe7054e794d4",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1185",
- "x-ms-correlation-request-id": "332e562a-b3f8-4f5d-852d-8bb1bfc6a798"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:27 GMT",
- "x-ms-request-id": "86b4c1f6-9944-4cef-8147-170c856da5ec",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1184",
- "x-ms-correlation-request-id": "5ba4c3d0-6e6a-465d-8ffd-592c38380527"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json
index 12ce3c425a33..668b64edef08 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:26 GMT",
- "x-ms-request-id": "797186e9-af57-4d6c-8b4b-c363df9e9bf1",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1187",
- "x-ms-correlation-request-id": "19402448-85f2-4872-b998-9c6c1e17f04d"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:26 GMT",
- "x-ms-request-id": "7d968b21-a030-4ba9-961b-7bbc799c0810",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1186",
- "x-ms-correlation-request-id": "d66d750a-c28f-4be6-852a-30a67be744a1"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json
index 56838942d01e..147ff22449c9 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Start.json
@@ -7,15 +7,6 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 17:58:23 GMT",
- "x-ms-request-id": "13c76ae4-02b3-49a2-9f2a-d2c9f8511507",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1196",
- "x-ms-correlation-request-id": "a28c76fa-3343-4bfb-9508-c92e2f374e79"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json
index c89c07541ab5..147ff22449c9 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/preview/2017-09-01-preview/examples/Triggers_Stop.json
@@ -7,15 +7,6 @@
"api-version": "2017-09-01-preview"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Sep 2017 18:04:25 GMT",
- "x-ms-request-id": "601d7eac-1d85-4196-a70b-76b9b906d6dd",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1188",
- "x-ms-correlation-request-id": "c1f7bc90-6b21-464f-9c00-6e3869c0e63c"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json
index 987f1e3df0be..abfeb6407b35 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json
@@ -2765,6 +2765,149 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/subscribeToEvents": {
+ "post": {
+ "tags": [
+ "triggers"
+ ],
+ "operationId": "Triggers_SubscribeToEvents",
+ "x-ms-examples": {
+ "Triggers_SubscribeToEvents": {
+ "$ref": "./examples/Triggers_SubscribeToEvents.json"
+ }
+ },
+ "description": "Subscribe event trigger to events.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/factoryName"
+ },
+ {
+ "$ref": "#/parameters/triggerName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Trigger is subscribed to events.",
+ "schema": {
+ "$ref": "#/definitions/TriggerSubscriptionOperationStatus"
+ }
+ },
+ "202": {
+ "description": "Accepted."
+ },
+ "default": {
+ "description": "An error response received from the Azure Data Factory service.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/getEventSubscriptionStatus": {
+ "post": {
+ "tags": [
+ "triggers"
+ ],
+ "operationId": "Triggers_GetEventSubscriptionStatus",
+ "x-ms-examples": {
+ "Triggers_GetEventSubscriptionStatus": {
+ "$ref": "./examples/Triggers_GetEventSubscriptionStatus.json"
+ }
+ },
+ "description": "Get a trigger's event subscription status.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/factoryName"
+ },
+ {
+ "$ref": "#/parameters/triggerName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Trigger event subscription state.",
+ "schema": {
+ "$ref": "#/definitions/TriggerSubscriptionOperationStatus"
+ }
+ },
+ "default": {
+ "description": "An error response received from the Azure Data Factory service.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/unsubscribeFromEvents": {
+ "post": {
+ "tags": [
+ "triggers"
+ ],
+ "operationId": "Triggers_UnsubscribeFromEvents",
+ "x-ms-examples": {
+ "Triggers_UnsubscribeFromEvents": {
+ "$ref": "./examples/Triggers_UnsubscribeFromEvents.json"
+ }
+ },
+ "description": "Unsubscribe event trigger from events.",
+ "x-ms-long-running-operation": true,
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/factoryName"
+ },
+ {
+ "$ref": "#/parameters/triggerName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Trigger is unsubscribed from events.",
+ "schema": {
+ "$ref": "#/definitions/TriggerSubscriptionOperationStatus"
+ }
+ },
+ "202": {
+ "description": "Accepted."
+ },
+ "default": {
+ "description": "An error response received from the Azure Data Factory service.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/start": {
"post": {
"tags": [
@@ -2851,6 +2994,51 @@
}
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/triggerRuns/{runId}/rerun": {
+ "post": {
+ "tags": [
+ "triggerruns"
+ ],
+ "operationId": "TriggerRuns_Rerun",
+ "x-ms-examples": {
+ "Triggers_Rerun": {
+ "$ref": "./examples/TriggerRuns_Rerun.json"
+ }
+ },
+ "description": "Rerun single trigger instance by runId.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/factoryName"
+ },
+ {
+ "$ref": "#/parameters/triggerName"
+ },
+ {
+ "$ref": "#/parameters/runId"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "TriggerRun has been restarted."
+ },
+ "default": {
+ "description": "An error response received from the Azure Data Factory service.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/triggers/{triggerName}/rerunTriggers/{rerunTriggerName}": {
"put": {
"tags": [
@@ -3613,6 +3801,33 @@
"message"
]
},
+ "TriggerSubscriptionOperationStatus": {
+ "description": "Defines the response of a trigger subscription operation.",
+ "type": "object",
+ "properties": {
+ "triggerName": {
+ "description": "Trigger name.",
+ "type": "string",
+ "readOnly": true
+ },
+ "status": {
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Provisioning",
+ "Deprovisioning",
+ "Disabled",
+ "Unknown"
+ ],
+ "x-ms-enum": {
+ "name": "EventSubscriptionStatus",
+ "modelAsString": true
+ },
+ "description": "Event Subscription Status.",
+ "readOnly": true
+ }
+ }
+ },
"VariableDefinitionSpecification": {
"description": "Definition of variable for a Pipeline.",
"type": "object",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json
index 2b872d64d788..88b3adaca912 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Dataset.json
@@ -516,6 +516,54 @@
"bucketName"
]
},
+ "AvroDataset": {
+ "x-ms-discriminator-value": "Avro",
+ "description": "Avro dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Avro dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AvroDatasetTypeProperties"
+ }
+ }
+ },
+ "AvroDatasetTypeProperties": {
+ "description": "Avro dataset properties.",
+ "properties": {
+ "location": {
+ "$ref": "#/definitions/DatasetLocation",
+ "description": "The location of the avro storage."
+ },
+ "avroCompressionCodec": {
+ "type": "string",
+ "enum": [
+ "none",
+ "deflate",
+ "snappy",
+ "xz",
+ "bzip2"
+ ],
+ "x-ms-enum": {
+ "name": "avroCompressionCodec",
+ "modelAsString": true
+ }
+ },
+ "avroCompressionLevel": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 9
+ }
+ },
+ "required": [
+ "location"
+ ]
+ },
"ParquetDataset": {
"x-ms-discriminator-value": "Parquet",
"description": "Parquet dataset.",
@@ -634,6 +682,77 @@
"location"
]
},
+ "JsonDataset": {
+ "x-ms-discriminator-value": "Json",
+ "description": "Json dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Json dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/JsonDatasetTypeProperties"
+ }
+ }
+ },
+ "JsonDatasetTypeProperties": {
+ "description": "Json dataset properties.",
+ "properties": {
+ "location": {
+ "$ref": "#/definitions/DatasetLocation",
+ "description": "The location of the json data storage."
+ },
+ "encodingName": {
+ "type": "object",
+ "description": "The code page name of the preferred encoding. If not specified, the default value is UTF-8, unless BOM denotes another Unicode encoding. Refer to the name column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string)."
+ },
+ "compression": {
+ "description": "The data compression method used for the json dataset.",
+ "$ref": "#/definitions/DatasetCompression"
+ }
+ },
+ "required": [
+ "location"
+ ]
+ },
+ "BinaryDataset": {
+ "x-ms-discriminator-value": "Binary",
+ "description": "Binary dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Binary dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BinaryDatasetTypeProperties"
+ }
+ }
+ },
+ "BinaryDatasetTypeProperties": {
+ "description": "Binary dataset properties.",
+ "type": "object",
+ "properties": {
+ "location": {
+ "$ref": "#/definitions/DatasetLocation",
+ "description": "The location of the Binary storage."
+ },
+ "compression": {
+ "description": "The data compression method used for the binary dataset.",
+ "$ref": "#/definitions/DatasetCompression"
+ }
+ },
+ "required": [
+ "location"
+ ]
+ },
"AzureBlobDataset": {
"x-ms-discriminator-value": "AzureBlob",
"description": "The Azure Blob storage.",
@@ -737,11 +856,53 @@
"description": "Azure SQL dataset properties.",
"properties": {
"tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Azure SQL database. Type: string (or Expression with resultType string)."
+ },
+ "table": {
"type": "object",
"description": "The table name of the Azure SQL database. Type: string (or Expression with resultType string)."
}
}
},
+ "AzureSqlMITableDataset": {
+ "x-ms-discriminator-value": "AzureSqlMITable",
+ "description": "The Azure SQL Managed Instance dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Azure SQL Managed Instance dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureSqlMITableDatasetTypeProperties"
+ }
+ }
+ },
+ "AzureSqlMITableDatasetTypeProperties": {
+ "description": "Azure SQL Managed Instance dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Azure SQL Managed Instance. Type: string (or Expression with resultType string)."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Azure SQL Managed Instance dataset. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"AzureSqlDWTableDataset": {
"x-ms-discriminator-value": "AzureSqlDWTable",
"description": "The Azure SQL Data Warehouse dataset.",
@@ -763,6 +924,14 @@
"description": "Azure SQL Data Warehouse dataset properties.",
"properties": {
"tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string)."
+ },
+ "table": {
"type": "object",
"description": "The table name of the Azure SQL Data Warehouse. Type: string (or Expression with resultType string)."
}
@@ -872,6 +1041,58 @@
}
}
},
+ "DynamicsCrmEntityDataset": {
+ "x-ms-discriminator-value": "DynamicsCrmEntity",
+ "description": "The Dynamics CRM entity dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Dynamics CRM entity dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DynamicsCrmEntityDatasetTypeProperties"
+ }
+ }
+ },
+ "DynamicsCrmEntityDatasetTypeProperties": {
+ "description": "Dynamics CRM entity dataset properties.",
+ "properties": {
+ "entityName": {
+ "type": "object",
+ "description": "The logical name of the entity. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "CommonDataServiceForAppsEntityDataset": {
+ "x-ms-discriminator-value": "CommonDataServiceForAppsEntity",
+ "description": "The Common Data Service for Apps entity dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Common Data Service for Apps entity dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CommonDataServiceForAppsEntityDatasetTypeProperties"
+ }
+ }
+ },
+ "CommonDataServiceForAppsEntityDatasetTypeProperties": {
+ "description": "Common Data Service for Apps entity dataset properties.",
+ "properties": {
+ "entityName": {
+ "type": "object",
+ "description": "The logical name of the entity. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"AzureDataLakeStoreDataset": {
"x-ms-discriminator-value": "AzureDataLakeStoreFile",
"description": "Azure Data Lake Store dataset.",
@@ -1130,9 +1351,274 @@
"collection"
]
},
- "ODataResourceDataset": {
- "x-ms-discriminator-value": "ODataResource",
- "description": "The Open Data Protocol (OData) resource dataset.",
+ "ODataResourceDataset": {
+ "x-ms-discriminator-value": "ODataResource",
+ "description": "The Open Data Protocol (OData) resource dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "OData dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ODataResourceDatasetTypeProperties"
+ }
+ }
+ },
+ "ODataResourceDatasetTypeProperties": {
+ "description": "OData dataset properties.",
+ "properties": {
+ "path": {
+ "type": "object",
+ "description": "The OData resource path. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "OracleTableDataset": {
+ "x-ms-discriminator-value": "OracleTable",
+ "description": "The on-premises Oracle database dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "On-premises Oracle dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OracleTableDatasetTypeProperties"
+ }
+ }
+ },
+ "OracleTableDatasetTypeProperties": {
+ "description": "On-premises Oracle dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the on-premises Oracle database. Type: string (or Expression with resultType string)."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the on-premises Oracle database. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "TeradataTableDataset": {
+ "x-ms-discriminator-value": "TeradataTable",
+ "description": "The Teradata database dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Teradata dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/TeradataTableDatasetTypeProperties"
+ }
+ }
+ },
+ "TeradataTableDatasetTypeProperties": {
+ "description": "Teradata dataset properties.",
+ "properties": {
+ "database": {
+ "type": "object",
+ "description": "The database name of Teradata. Type: string (or Expression with resultType string)."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of Teradata. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "AzureMySqlTableDataset": {
+ "x-ms-discriminator-value": "AzureMySqlTable",
+ "description": "The Azure MySQL database dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Azure MySQL database dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureMySqlTableDatasetTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "AzureMySqlTableDatasetTypeProperties": {
+ "description": "Azure MySQL database dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The Azure MySQL database table name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "AmazonRedshiftTableDataset": {
+ "x-ms-discriminator-value": "AmazonRedshiftTable",
+ "description": "The Amazon Redshift table dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Amazon Redshift table dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AmazonRedshiftTableDatasetTypeProperties"
+ }
+ }
+ },
+ "AmazonRedshiftTableDatasetTypeProperties": {
+ "description": "Amazon Redshift table dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "table": {
+ "type": "object",
+ "description": "The Amazon Redshift table name. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The Amazon Redshift schema name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "Db2TableDataset": {
+ "x-ms-discriminator-value": "Db2Table",
+ "description": "The Db2 table dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Db2 table dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/Db2TableDatasetTypeProperties"
+ }
+ }
+ },
+ "Db2TableDatasetTypeProperties": {
+ "description": "Db2 table dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The Db2 schema name. Type: string (or Expression with resultType string)."
+ },
+ "table": {
+ "type": "object",
+ "description": "The Db2 table name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "RelationalTableDataset": {
+ "x-ms-discriminator-value": "RelationalTable",
+ "description": "The relational table dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Relational table dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RelationalTableDatasetTypeProperties"
+ }
+ }
+ },
+ "RelationalTableDatasetTypeProperties": {
+ "description": "Relational table dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The relational table name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "InformixTableDataset": {
+ "x-ms-discriminator-value": "InformixTable",
+ "description": "The Informix table dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Informix table dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/InformixTableDatasetTypeProperties"
+ }
+ }
+ },
+ "InformixTableDatasetTypeProperties": {
+ "description": "Informix table dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The Informix table name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "OdbcTableDataset": {
+ "x-ms-discriminator-value": "OdbcTable",
+ "description": "The ODBC table dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "ODBC table dataset properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OdbcTableDatasetTypeProperties"
+ }
+ }
+ },
+ "OdbcTableDatasetTypeProperties": {
+ "description": "ODBC table dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The ODBC table name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "MySqlTableDataset": {
+ "x-ms-discriminator-value": "MySqlTable",
+ "description": "The MySQL table dataset.",
"type": "object",
"allOf": [
{
@@ -1141,24 +1627,24 @@
],
"properties": {
"typeProperties": {
- "description": "OData dataset properties.",
+ "description": "MySQL table dataset properties.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/ODataResourceDatasetTypeProperties"
+ "$ref": "#/definitions/MySqlTableDatasetTypeProperties"
}
}
},
- "ODataResourceDatasetTypeProperties": {
- "description": "OData dataset properties.",
+ "MySqlTableDatasetTypeProperties": {
+ "description": "MySql table dataset properties.",
"properties": {
- "path": {
+ "tableName": {
"type": "object",
- "description": "The OData resource path. Type: string (or Expression with resultType string)."
+ "description": "The MySQL table name. Type: string (or Expression with resultType string)."
}
}
},
- "OracleTableDataset": {
- "x-ms-discriminator-value": "OracleTable",
- "description": "The on-premises Oracle database dataset.",
+ "PostgreSqlTableDataset": {
+ "x-ms-discriminator-value": "PostgreSqlTable",
+ "description": "The PostgreSQL table dataset.",
"type": "object",
"allOf": [
{
@@ -1167,37 +1653,32 @@
],
"properties": {
"typeProperties": {
- "description": "On-premises Oracle dataset properties.",
+ "description": "PostgreSQL table dataset properties.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/OracleTableDatasetTypeProperties"
+ "$ref": "#/definitions/PostgreSqlTableDatasetTypeProperties"
}
}
},
- "OracleTableDatasetTypeProperties": {
- "description": "On-premises Oracle dataset properties.",
+ "PostgreSqlTableDatasetTypeProperties": {
+ "description": "PostgreSQL table dataset properties.",
"properties": {
"tableName": {
"type": "object",
- "description": "The table name of the on-premises Oracle database. Type: string (or Expression with resultType string)."
- }
- }
- },
- "TeradataTableDatasetTypeProperties": {
- "description": "Teradata dataset properties.",
- "properties": {
- "database": {
- "type": "object",
- "description": "The database name of Teradata. Type: string (or Expression with resultType string)."
+ "description": "This property will be retired. Please consider using schema + table properties instead."
},
"table": {
"type": "object",
- "description": "The table name of Teradata. Type: string (or Expression with resultType string)."
+ "description": "The PostgreSQL table name. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The PostgreSQL schema name. Type: string (or Expression with resultType string)."
}
}
},
- "TeradataTableDataset": {
- "x-ms-discriminator-value": "TeradataTable",
- "description": "The Teradata database dataset.",
+ "MicrosoftAccessTableDataset": {
+ "x-ms-discriminator-value": "MicrosoftAccessTable",
+ "description": "The Microsoft Access table dataset.",
"type": "object",
"allOf": [
{
@@ -1206,15 +1687,24 @@
],
"properties": {
"typeProperties": {
- "description": "Teradata dataset properties.",
+ "description": "Microsoft Access table dataset properties.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/TeradataTableDatasetTypeProperties"
+ "$ref": "#/definitions/MicrosoftAccessTableDatasetTypeProperties"
}
}
},
- "AzureMySqlTableDataset": {
- "x-ms-discriminator-value": "AzureMySqlTable",
- "description": "The Azure MySQL database dataset.",
+ "MicrosoftAccessTableDatasetTypeProperties": {
+ "description": "Microsoft Access table dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The Microsoft Access table name. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "SalesforceObjectDataset": {
+ "x-ms-discriminator-value": "SalesforceObject",
+ "description": "The Salesforce object dataset.",
"type": "object",
"allOf": [
{
@@ -1223,27 +1713,24 @@
],
"properties": {
"typeProperties": {
- "description": "Azure MySQL database dataset properties.",
+ "description": "Salesforce object dataset properties.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/AzureMySqlTableDatasetTypeProperties"
+ "$ref": "#/definitions/SalesforceObjectDatasetTypeProperties"
}
- },
- "required": [
- "typeProperties"
- ]
+ }
},
- "AzureMySqlTableDatasetTypeProperties": {
- "description": "Azure MySQL database dataset properties.",
+ "SalesforceObjectDatasetTypeProperties": {
+ "description": "Salesforce object dataset properties.",
"properties": {
- "tableName": {
+ "objectApiName": {
"type": "object",
- "description": "The Azure MySQL database table name. Type: string (or Expression with resultType string)."
+ "description": "The Salesforce object API name. Type: string (or Expression with resultType string)."
}
}
},
- "RelationalTableDataset": {
- "x-ms-discriminator-value": "RelationalTable",
- "description": "The relational table dataset.",
+ "SalesforceServiceCloudObjectDataset": {
+ "x-ms-discriminator-value": "SalesforceServiceCloudObject",
+ "description": "The Salesforce Service Cloud object dataset.",
"type": "object",
"allOf": [
{
@@ -1252,24 +1739,24 @@
],
"properties": {
"typeProperties": {
- "description": "Relational table dataset properties.",
+ "description": "Salesforce Service Cloud object dataset properties.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/RelationalTableDatasetTypeProperties"
+ "$ref": "#/definitions/SalesforceServiceCloudObjectDatasetTypeProperties"
}
}
},
- "RelationalTableDatasetTypeProperties": {
- "description": "Relational table dataset properties.",
+ "SalesforceServiceCloudObjectDatasetTypeProperties": {
+ "description": "Salesforce Service Cloud object dataset properties.",
"properties": {
- "tableName": {
+ "objectApiName": {
"type": "object",
- "description": "The relational table name. Type: string (or Expression with resultType string)."
+ "description": "The Salesforce Service Cloud object API name. Type: string (or Expression with resultType string)."
}
}
},
- "SalesforceObjectDataset": {
- "x-ms-discriminator-value": "SalesforceObject",
- "description": "The Salesforce object dataset.",
+ "SybaseTableDataset": {
+ "x-ms-discriminator-value": "SybaseTable",
+ "description": "The Sybase table dataset.",
"type": "object",
"allOf": [
{
@@ -1278,21 +1765,32 @@
],
"properties": {
"typeProperties": {
- "description": "Salesforce object dataset properties.",
+ "description": "Sybase table dataset properties.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/SalesforceObjectDatasetTypeProperties"
+ "$ref": "#/definitions/SybaseTableDatasetTypeProperties"
}
}
},
- "SalesforceObjectDatasetTypeProperties": {
- "description": "Salesforce object dataset properties.",
+ "SybaseTableDatasetTypeProperties": {
+ "description": "Sybase table dataset properties.",
"properties": {
- "objectApiName": {
+ "tableName": {
"type": "object",
- "description": "The Salesforce object API name. Type: string (or Expression with resultType string)."
+ "description": "The Sybase table name. Type: string (or Expression with resultType string)."
}
}
},
+ "SapBwCubeDataset": {
+ "x-ms-discriminator-value": "SapBwCube",
+ "description": "The SAP BW cube dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {}
+ },
"SapCloudForCustomerResourceDataset": {
"x-ms-discriminator-value": "SapCloudForCustomerResource",
"description": "The path of the SAP Cloud for Customer OData entity.",
@@ -1448,6 +1946,14 @@
"description": "On-premises SQL Server dataset properties.",
"properties": {
"tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the SQL Server dataset. Type: string (or Expression with resultType string)."
+ },
+ "table": {
"type": "object",
"description": "The table name of the SQL Server dataset. Type: string (or Expression with resultType string)."
}
@@ -1680,7 +2186,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/AzurePostgreSqlTableDatasetTypeProperties"
+ }
+ }
+ },
+ "AzurePostgreSqlTableDatasetTypeProperties": {
+ "description": "Azure PostgreSQL dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "The table name of the Azure PostgreSQL database which includes both schema and table. Type: string (or Expression with resultType string)."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Azure PostgreSQL database. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Azure PostgreSQL database. Type: string (or Expression with resultType string)."
}
}
},
@@ -1731,7 +2254,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/DrillDatasetTypeProperties"
+ }
+ }
+ },
+ "DrillDatasetTypeProperties": {
+ "description": "Drill Dataset Properties",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Drill. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Drill. Type: string (or Expression with resultType string)."
}
}
},
@@ -1765,7 +2305,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/GoogleBigQueryDatasetTypeProperties"
+ }
+ }
+ },
+ "GoogleBigQueryDatasetTypeProperties": {
+ "description": "Google BigQuery Dataset Properties",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using database + table properties instead."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Google BigQuery. Type: string (or Expression with resultType string)."
+ },
+ "dataset": {
+ "type": "object",
+ "description": "The database name of the Google BigQuery. Type: string (or Expression with resultType string)."
}
}
},
@@ -1782,7 +2339,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/GreenplumDatasetTypeProperties"
+ }
+ }
+ },
+ "GreenplumDatasetTypeProperties": {
+ "description": "Greenplum Dataset Properties",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of Greenplum. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of Greenplum. Type: string (or Expression with resultType string)."
}
}
},
@@ -1816,7 +2390,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/HiveDatasetTypeProperties"
+ }
+ }
+ },
+ "HiveDatasetTypeProperties": {
+ "description": "Hive Properties",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Hive. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Hive. Type: string (or Expression with resultType string)."
}
}
},
@@ -1850,7 +2441,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/ImpalaDatasetTypeProperties"
+ }
+ }
+ },
+ "ImpalaDatasetTypeProperties": {
+ "description": "Impala Dataset Properties",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Impala. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Impala. Type: string (or Expression with resultType string)."
}
}
},
@@ -1905,6 +2513,23 @@
}
}
},
+ "AzureMariaDBTableDataset": {
+ "x-ms-discriminator-value": "AzureMariaDBTable",
+ "description": "Azure Database for MariaDB dataset.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Dataset"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Properties specific to this dataset type.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GenericDatasetTypeProperties"
+ }
+ }
+ },
"MarketoObjectDataset": {
"x-ms-discriminator-value": "MarketoObject",
"description": "Marketo server dataset.",
@@ -1952,7 +2577,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/PhoenixDatasetTypeProperties"
+ }
+ }
+ },
+ "PhoenixDatasetTypeProperties": {
+ "description": "Phoenix Dataset Properties",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Phoenix. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Phoenix. Type: string (or Expression with resultType string)."
}
}
},
@@ -1969,7 +2611,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/PrestoDatasetTypeProperties"
+ }
+ }
+ },
+ "PrestoDatasetTypeProperties": {
+ "description": "Presto Dataset Properties",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Presto. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Presto. Type: string (or Expression with resultType string)."
}
}
},
@@ -2037,7 +2696,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/SparkDatasetTypeProperties"
+ }
+ }
+ },
+ "SparkDatasetTypeProperties": {
+ "description": "Spark Properties",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Spark. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Spark. Type: string (or Expression with resultType string)."
}
}
},
@@ -2105,7 +2781,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/NetezzaTableDatasetTypeProperties"
+ }
+ }
+ },
+ "NetezzaTableDatasetTypeProperties": {
+ "description": "Netezza dataset properties.",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Netezza. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Netezza. Type: string (or Expression with resultType string)."
}
}
},
@@ -2122,7 +2815,24 @@
"typeProperties": {
"description": "Properties specific to this dataset type.",
"x-ms-client-flatten": true,
- "$ref": "#/definitions/GenericDatasetTypeProperties"
+ "$ref": "#/definitions/VerticaDatasetTypeProperties"
+ }
+ }
+ },
+ "VerticaDatasetTypeProperties": {
+ "description": "Vertica Properties",
+ "properties": {
+ "tableName": {
+ "type": "object",
+ "description": "This property will be retired. Please consider using schema + table properties instead."
+ },
+ "table": {
+ "type": "object",
+ "description": "The table name of the Vertica. Type: string (or Expression with resultType string)."
+ },
+ "schema": {
+ "type": "object",
+ "description": "The schema name of the Vertica. Type: string (or Expression with resultType string)."
}
}
},
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json
index 2f9c9ca48e09..76d990e2fb31 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json
@@ -362,7 +362,10 @@
},
"additionalProperties": {
"type": "object"
- }
+ },
+ "required": [
+ "type"
+ ]
},
"IntegrationRuntimeState": {
"description": "The state of integration runtime.",
@@ -681,7 +684,6 @@
"IntegrationRuntimeAutoUpdate": {
"description": "The state of integration runtime auto update.",
"type": "string",
- "readOnly": true,
"enum": [
"On",
"Off"
@@ -1040,7 +1042,10 @@
"type": "string",
"description": "Metadata description."
}
- }
+ },
+ "required": [
+ "type"
+ ]
},
"SsisObjectMetadataType": {
"description": "The type of SSIS object metadata.",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
index bb72a07710f7..12b90c896c65 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/LinkedService.json
@@ -316,6 +316,58 @@
"connectionString"
]
},
+ "AzureSqlMILinkedService": {
+ "x-ms-discriminator-value": "AzureSqlMI",
+ "description": "Azure SQL Managed Instance linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Azure SQL Managed Instance linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureSqlMILinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "AzureSqlMILinkedServiceTypeProperties": {
+ "description": "Azure SQL Managed Instance linked service properties.",
+ "properties": {
+ "connectionString": {
+ "description": "The connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
+ "type": "object"
+ },
+ "password": {
+ "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference",
+ "description": "The Azure key vault secret reference of password in connection string."
+ },
+ "servicePrincipalId": {
+ "type": "object",
+ "description": "The ID of the service principal used to authenticate against Azure SQL Managed Instance. Type: string (or Expression with resultType string)."
+ },
+ "servicePrincipalKey": {
+ "$ref": "../datafactory.json#/definitions/SecretBase",
+ "description": "The key of the service principal used to authenticate against Azure SQL Managed Instance."
+ },
+ "tenant": {
+ "type": "object",
+ "description": "The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string)."
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ },
+ "required": [
+ "connectionString"
+ ]
+ },
"AzureBatchLinkedService": {
"x-ms-discriminator-value": "AzureBatch",
"description": "Azure Batch linked service.",
@@ -525,6 +577,170 @@
"username"
]
},
+ "DynamicsCrmLinkedService": {
+ "x-ms-discriminator-value": "DynamicsCrm",
+ "description": "Dynamics CRM linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Dynamics CRM linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/DynamicsCrmLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "DynamicsCrmLinkedServiceTypeProperties": {
+ "description": "Dynamics CRM linked service properties.",
+ "properties": {
+ "deploymentType": {
+ "x-ms-enum": {
+ "name": "DynamicsDeploymentType",
+ "modelAsString": true
+ },
+ "enum": [
+ "Online",
+ "OnPremisesWithIfd"
+ ],
+ "type": "string",
+ "description": "The deployment type of the Dynamics CRM instance. 'Online' for Dynamics CRM Online and 'OnPremisesWithIfd' for Dynamics CRM on-premises with Ifd. Type: string (or Expression with resultType string)."
+ },
+ "hostName": {
+ "type": "object",
+ "description": "The host name of the on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string)."
+ },
+ "port": {
+ "type": "object",
+ "description": "The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0."
+ },
+ "serviceUri": {
+ "type": "object",
+ "description": "The URL to the Microsoft Dynamics CRM server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)."
+ },
+ "organizationName": {
+ "type": "object",
+ "description": "The organization name of the Dynamics CRM instance. The property is required for on-prem and required for online when there are more than one Dynamics CRM instances associated with the user. Type: string (or Expression with resultType string)."
+ },
+ "authenticationType": {
+ "x-ms-enum": {
+ "name": "DynamicsAuthenticationType",
+ "modelAsString": true
+ },
+ "enum": [
+ "Office365",
+ "Ifd"
+ ],
+ "type": "string",
+ "description": "The authentication type to connect to Dynamics CRM server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string)."
+ },
+ "username": {
+ "type": "object",
+ "description": "User name to access the Dynamics CRM instance. Type: string (or Expression with resultType string)."
+ },
+ "password": {
+ "description": "Password to access the Dynamics CRM instance.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ },
+ "required": [
+ "deploymentType",
+ "authenticationType",
+ "username"
+ ]
+ },
+ "CommonDataServiceForAppsLinkedService": {
+ "x-ms-discriminator-value": "CommonDataServiceForApps",
+ "description": "Common Data Service for Apps linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Common Data Service for Apps linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/CommonDataServiceForAppsLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "CommonDataServiceForAppsLinkedServiceTypeProperties": {
+ "description": "Common Data Service for Apps linked service properties.",
+ "properties": {
+ "deploymentType": {
+ "x-ms-enum": {
+ "name": "DynamicsDeploymentType",
+ "modelAsString": true
+ },
+ "enum": [
+ "Online",
+ "OnPremisesWithIfd"
+ ],
+ "type": "string",
+ "description": "The deployment type of the Common Data Service for Apps instance. 'Online' for Common Data Service for Apps Online and 'OnPremisesWithIfd' for Common Data Service for Apps on-premises with Ifd. Type: string (or Expression with resultType string)."
+ },
+ "hostName": {
+ "type": "object",
+ "description": "The host name of the on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Type: string (or Expression with resultType string)."
+ },
+ "port": {
+ "type": "object",
+ "description": "The port of on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0."
+ },
+ "serviceUri": {
+ "type": "object",
+ "description": "The URL to the Microsoft Common Data Service for Apps server. The property is required for on-line and not allowed for on-prem. Type: string (or Expression with resultType string)."
+ },
+ "organizationName": {
+ "type": "object",
+ "description": "The organization name of the Common Data Service for Apps instance. The property is required for on-prem and required for online when there are more than one Common Data Service for Apps instances associated with the user. Type: string (or Expression with resultType string)."
+ },
+ "authenticationType": {
+ "x-ms-enum": {
+ "name": "DynamicsAuthenticationType",
+ "modelAsString": true
+ },
+ "enum": [
+ "Office365",
+ "Ifd"
+ ],
+ "type": "string",
+ "description": "The authentication type to connect to Common Data Service for Apps server. 'Office365' for online scenario, 'Ifd' for on-premises with Ifd scenario. Type: string (or Expression with resultType string)."
+ },
+ "username": {
+ "type": "object",
+ "description": "User name to access the Common Data Service for Apps instance. Type: string (or Expression with resultType string)."
+ },
+ "password": {
+ "description": "Password to access the Common Data Service for Apps instance.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ },
+ "required": [
+ "deploymentType",
+ "authenticationType",
+ "username"
+ ]
+ },
"HDInsightLinkedService": {
"x-ms-discriminator-value": "HDInsight",
"description": "HDInsight linked service.",
@@ -1080,6 +1296,110 @@
"connectionString"
]
},
+ "InformixLinkedService": {
+ "x-ms-discriminator-value": "Informix",
+ "description": "Informix linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Informix linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/InformixLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "InformixLinkedServiceTypeProperties": {
+ "description": "Informix linked service properties.",
+ "properties": {
+ "connectionString": {
+ "description": "The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.",
+ "type": "object"
+ },
+ "authenticationType": {
+ "type": "object",
+ "description": "Type of authentication used to connect to the Informix as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string)."
+ },
+ "credential": {
+ "description": "The access credential portion of the connection string specified in driver-specific property-value format.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "userName": {
+ "type": "object",
+ "description": "User name for Basic authentication. Type: string (or Expression with resultType string)."
+ },
+ "password": {
+ "description": "Password for Basic authentication.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ },
+ "required": [
+ "connectionString"
+ ]
+ },
+ "MicrosoftAccessLinkedService": {
+ "x-ms-discriminator-value": "MicrosoftAccess",
+ "description": "Microsoft Access linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Microsoft Access linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/MicrosoftAccessLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "MicrosoftAccessLinkedServiceTypeProperties": {
+ "description": "Microsoft Access linked service properties.",
+ "properties": {
+ "connectionString": {
+ "description": "The non-access credential portion of the connection string as well as an optional encrypted credential. Type: string, SecureString or AzureKeyVaultSecretReference.",
+ "type": "object"
+ },
+ "authenticationType": {
+ "type": "object",
+ "description": "Type of authentication used to connect to the Microsoft Access as ODBC data store. Possible values are: Anonymous and Basic. Type: string (or Expression with resultType string)."
+ },
+ "credential": {
+ "description": "The access credential portion of the connection string specified in driver-specific property-value format.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "userName": {
+ "type": "object",
+ "description": "User name for Basic authentication. Type: string (or Expression with resultType string)."
+ },
+ "password": {
+ "description": "Password for Basic authentication.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ },
+ "required": [
+ "connectionString"
+ ]
+ },
"HdfsLinkedService": {
"x-ms-discriminator-value": "Hdfs",
"description": "Hadoop Distributed File System (HDFS) linked service.",
@@ -1736,6 +2056,55 @@
}
}
},
+ "SalesforceServiceCloudLinkedService": {
+ "x-ms-discriminator-value": "SalesforceServiceCloud",
+ "description": "Linked service for Salesforce Service Cloud.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Salesforce Service Cloud linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SalesforceServiceCloudLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "SalesforceServiceCloudLinkedServiceTypeProperties": {
+ "description": "Salesforce Service Cloud linked service properties.",
+ "properties": {
+ "environmentUrl": {
+ "type": "object",
+ "description": "The URL of Salesforce Service Cloud instance. Default is 'https://login.salesforce.com'. To copy data from sandbox, specify 'https://test.salesforce.com'. To copy data from custom domain, specify, for example, 'https://[domain].my.salesforce.com'. Type: string (or Expression with resultType string)."
+ },
+ "username": {
+ "type": "object",
+ "description": "The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string)."
+ },
+ "password": {
+ "description": "The password for Basic authentication of the Salesforce instance.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "securityToken": {
+ "description": "The security token is required to remotely access Salesforce instance.",
+ "$ref": "../datafactory.json#/definitions/SecretBase"
+ },
+ "extendedProperties": {
+ "type": "object",
+ "description": "Extended properties appended to the connection string. Type: string (or Expression with resultType string)."
+ },
+ "encryptedCredential": {
+ "type": "object",
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"SapCloudForCustomerLinkedService": {
"x-ms-discriminator-value": "SapCloudForCustomer",
"description": "Linked service for SAP Cloud for Customer.",
@@ -3364,6 +3733,43 @@
}
}
},
+ "AzureMariaDBLinkedService": {
+ "x-ms-discriminator-value": "AzureMariaDB",
+ "description": "Azure Database for MariaDB linked service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LinkedService"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Azure Database for MariaDB linked service properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureMariaDBLinkedServiceTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "AzureMariaDBLinkedServiceTypeProperties": {
+ "description": "Azure Database for MariaDB linked service properties.",
+ "properties": {
+ "connectionString": {
+ "description": "An ODBC connection string. Type: string, SecureString or AzureKeyVaultSecretReference.",
+ "type": "object"
+ },
+ "pwd": {
+ "$ref": "../datafactory.json#/definitions/AzureKeyVaultSecretReference",
+ "description": "The Azure key vault secret reference of password in connection string."
+ },
+ "encryptedCredential": {
+ "description": "The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).",
+ "type": "object"
+ }
+ }
+ },
"MarketoLinkedService": {
"x-ms-discriminator-value": "Marketo",
"description": "Marketo server linked service.",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
index 0db420e5ad13..86582a37911e 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/Pipeline.json
@@ -205,7 +205,7 @@
"type": "object"
}
},
- "ConnectorReadSetting": {
+ "StoreReadSettings": {
"description": "Connector read setting.",
"type": "object",
"properties": {
@@ -225,12 +225,12 @@
"type"
]
},
- "AzureBlobStorageReadSetting": {
+ "AzureBlobStorageReadSettings": {
"description": "Azure blob read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -260,12 +260,12 @@
}
}
},
- "AzureBlobFSReadSetting": {
+ "AzureBlobFSReadSettings": {
"description": "Azure blobFS read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -295,12 +295,12 @@
}
}
},
- "AzureDataLakeStoreReadSetting": {
+ "AzureDataLakeStoreReadSettings": {
"description": "Azure data lake store read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -330,12 +330,12 @@
}
}
},
- "AmazonS3ReadSetting": {
+ "AmazonS3ReadSettings": {
"description": "Azure data lake store read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -369,12 +369,12 @@
}
}
},
- "FileServerReadSetting": {
+ "FileServerReadSettings": {
"description": "File server read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -404,12 +404,12 @@
}
}
},
- "FtpReadSetting": {
+ "FtpReadSettings": {
"description": "Ftp read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -431,12 +431,12 @@
}
}
},
- "SftpReadSetting": {
+ "SftpReadSettings": {
"description": "Sftp read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -462,12 +462,12 @@
}
}
},
- "HttpReadSetting": {
+ "HttpReadSettings": {
"description": "Sftp read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -489,12 +489,12 @@
}
}
},
- "HdfsReadSetting": {
+ "HdfsReadSettings": {
"description": "HDFS read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorReadSetting"
+ "$ref": "#/definitions/StoreReadSettings"
}
],
"properties": {
@@ -528,8 +528,9 @@
}
}
},
- "ConnectorWriteSetting": {
+ "StoreWriteSettings": {
"description": "Connector write settings.",
+ "discriminator": "type",
"type": "object",
"properties": {
"type": {
@@ -552,43 +553,55 @@
"type"
]
},
- "AzureBlobStorageWriteSetting": {
+ "AzureBlobStorageWriteSettings": {
"description": "Azure blob write settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorWriteSetting"
+ "$ref": "#/definitions/StoreWriteSettings"
}
- ]
+ ],
+ "properties": {
+ "blockSizeInMB": {
+ "description": "Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer).",
+ "type": "object"
+ }
+ }
},
- "AzureBlobFSWriteSetting": {
+ "AzureBlobFSWriteSettings": {
"description": "Azure blobFS write settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorWriteSetting"
+ "$ref": "#/definitions/StoreWriteSettings"
}
- ]
+ ],
+ "properties": {
+ "blockSizeInMB": {
+ "description": "Indicates the block size(MB) when writing data to blob. Type: integer (or Expression with resultType integer).",
+ "type": "object"
+ }
+ }
},
- "AzureDataLakeStoreWriteSetting": {
+ "AzureDataLakeStoreWriteSettings": {
"description": "Azure data lake store write settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorWriteSetting"
+ "$ref": "#/definitions/StoreWriteSettings"
}
]
},
- "FileServerWriteSetting": {
+ "FileServerWriteSettings": {
"description": "File server write settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/ConnectorWriteSetting"
+ "$ref": "#/definitions/StoreWriteSettings"
}
]
},
- "FormatReadSetting": {
+ "FormatReadSettings": {
"description": "Format read settings.",
"type": "object",
"properties": {
@@ -604,12 +617,12 @@
"type"
]
},
- "DelimitedTextReadSetting": {
+ "DelimitedTextReadSettings": {
"description": "Delimited text read settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/FormatReadSetting"
+ "$ref": "#/definitions/FormatReadSettings"
}
],
"properties": {
@@ -619,7 +632,7 @@
}
}
},
- "FormatWriteSetting": {
+ "FormatWriteSettings": {
"description": "Format write settings.",
"type": "object",
"properties": {
@@ -635,12 +648,31 @@
"type"
]
},
- "DelimitedTextWriteSetting": {
+ "AvroWriteSettings": {
+ "description": "Avro write settings.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FormatWriteSettings"
+ }
+ ],
+ "properties": {
+ "recordName": {
+ "type": "string",
+ "description": "Top level record name in write result, which is required in AVRO spec."
+ },
+ "recordNamespace": {
+ "type": "string",
+ "description": "Record namespace in the write result."
+ }
+ }
+ },
+ "DelimitedTextWriteSettings": {
"description": "Delimited text write settings.",
"type": "object",
"allOf": [
{
- "$ref": "#/definitions/FormatWriteSetting"
+ "$ref": "#/definitions/FormatWriteSettings"
}
],
"properties": {
@@ -657,6 +689,44 @@
"fileExtension"
]
},
+ "JsonWriteSettings": {
+ "description": "Json write settings.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FormatWriteSettings"
+ }
+ ],
+ "properties": {
+ "filePattern": {
+ "description": "File pattern of JSON. This setting controls the way a collection of JSON objects will be treated. The default value is 'setOfObjects'. It is case-sensitive.",
+ "type": "string",
+ "enum": [
+ "setOfObjects",
+ "arrayOfObjects"
+ ],
+ "x-ms-enum": {
+ "name": "JsonWriteFilePattern",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "AvroSource": {
+ "description": "A copy activity Avro source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "storeSettings": {
+ "$ref": "#/definitions/StoreReadSettings",
+ "description": "Avro store settings."
+ }
+ }
+ },
"ParquetSource": {
"description": "A copy activity Parquet source.",
"type": "object",
@@ -667,7 +737,7 @@
],
"properties": {
"storeSettings": {
- "$ref": "#/definitions/ConnectorReadSetting",
+ "$ref": "#/definitions/StoreReadSettings",
"description": "Parquet store settings."
}
}
@@ -682,15 +752,30 @@
],
"properties": {
"storeSettings": {
- "$ref": "#/definitions/ConnectorReadSetting",
+ "$ref": "#/definitions/StoreReadSettings",
"description": "DelimitedText store settings."
},
"formatSettings": {
- "$ref": "#/definitions/DelimitedTextReadSetting",
+ "$ref": "#/definitions/DelimitedTextReadSettings",
"description": "DelimitedText format settings."
}
}
},
+ "JsonSource": {
+ "description": "A copy activity Json source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "storeSettings": {
+ "$ref": "#/definitions/StoreReadSettings",
+ "description": "Json store settings."
+ }
+ }
+ },
"DelimitedTextSink": {
"description": "A copy activity DelimitedText sink.",
"type": "object",
@@ -701,15 +786,34 @@
],
"properties": {
"storeSettings": {
- "$ref": "#/definitions/ConnectorWriteSetting",
+ "$ref": "#/definitions/StoreWriteSettings",
"description": "DelimitedText store settings."
},
"formatSettings": {
- "$ref": "#/definitions/DelimitedTextWriteSetting",
+ "$ref": "#/definitions/DelimitedTextWriteSettings",
"description": "DelimitedText format settings."
}
}
},
+ "JsonSink": {
+ "description": "A copy activity Json sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "storeSettings": {
+ "$ref": "#/definitions/StoreWriteSettings",
+ "description": "Json store settings."
+ },
+ "formatSettings": {
+ "$ref": "#/definitions/JsonWriteSettings",
+ "description": "Json format settings."
+ }
+ }
+ },
"CopyActivity": {
"x-ms-discriminator-value": "Copy",
"description": "Copy activity.",
@@ -833,6 +937,21 @@
"type"
]
},
+ "BinarySource": {
+ "description": "A copy activity Binary source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "storeSettings": {
+ "$ref": "#/definitions/StoreReadSettings",
+ "description": "Binary store settings."
+ }
+ }
+ },
"AzureTableSource": {
"description": "A copy activity Azure Table source.",
"type": "object",
@@ -909,6 +1028,36 @@
}
}
},
+ "DynamicsCrmSource": {
+ "description": "A copy activity Dynamics CRM source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "FetchXML is a proprietary query language that is used in Microsoft Dynamics CRM (online & on-premises). Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "CommonDataServiceForAppsSource": {
+ "description": "A copy activity Common Data Service for Apps source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "FetchXML is a proprietary query language that is used in Microsoft Common Data Service for Apps (online & on-premises). Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"RelationalSource": {
"description": "A copy activity source for various relational databases.",
"type": "object",
@@ -924,6 +1073,141 @@
}
}
},
+ "InformixSource": {
+ "description": "A copy activity source for Informix.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "MicrosoftAccessSource": {
+ "description": "A copy activity source for Microsoft Access.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "Db2Source": {
+ "description": "A copy activity source for Db2 databases.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "OdbcSource": {
+ "description": "A copy activity source for ODBC databases.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "MySqlSource": {
+ "description": "A copy activity source for MySQL databases.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "PostgreSqlSource": {
+ "description": "A copy activity source for PostgreSQL databases.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "SybaseSource": {
+ "description": "A copy activity source for Sybase databases.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "SapBwSource": {
+ "description": "A copy activity source for SapBW server via MDX.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "MDX query. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "ODataSource": {
+ "description": "A copy activity source for OData source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "OData query. For example, \"$top=1\". Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"SalesforceSource": {
"description": "A copy activity Salesforce source.",
"type": "object",
@@ -939,7 +1223,34 @@
},
"readBehavior": {
"description": "The read behavior for the operation. Default is Query.",
+ "type": "string",
+ "enum": [
+ "Query",
+ "QueryAll"
+ ],
+ "x-ms-enum": {
+ "name": "SalesforceSourceReadBehavior",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "SalesforceServiceCloudSource": {
+ "description": "A copy activity Salesforce Service Cloud source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
"type": "object",
+ "description": "Database query. Type: string (or Expression with resultType string)."
+ },
+ "readBehavior": {
+ "description": "The read behavior for the operation. Default is Query.",
+ "type": "string",
"enum": [
"Query",
"QueryAll"
@@ -1008,7 +1319,16 @@
"$ref": "#/definitions/CopySource"
}
],
- "properties": {}
+ "properties": {
+ "excludeLastRequest": {
+ "type": "object",
+ "description": "Whether to exclude the records of the last request. The default value is true. Type: boolean (or Expression with resultType boolean)."
+ },
+ "baseRequestId": {
+ "type": "object",
+ "description": "The ID of request for delta loading. Once it is set, only data with requestId larger than the value of this property will be retrieved. The default value is 0. Type: integer (or Expression with resultType integer )."
+ }
+ }
},
"SapTableSource": {
"description": "A copy activity source for SAP Table source.",
@@ -1045,16 +1365,17 @@
},
"partitionOption": {
"description": "The partition mechanism that will be used for SAP table read in parallel.",
- "type": "object",
+ "type": "string",
"enum": [
"None",
"PartitionOnInt",
"PartitionOnCalendarYear",
"PartitionOnCalendarMonth",
- "PartitionOnCalendarDate"
+ "PartitionOnCalendarDate",
+ "PartitionOnTime"
],
"x-ms-enum": {
- "name": "TabularPartitionOption",
+ "name": "SapTablePartitionOption",
"modelAsString": true
}
},
@@ -1095,6 +1416,22 @@
}
],
"properties": {
+ "requestMethod": {
+ "type": "object",
+ "description": "The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string)."
+ },
+ "requestBody": {
+ "type": "object",
+ "description": "The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string)."
+ },
+ "additionalHeaders": {
+ "type": "object",
+ "description": "The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string)."
+ },
+ "paginationRules": {
+ "type": "object",
+ "description": "The pagination rules to compose next page requests. Type: string (or Expression with resultType string)."
+ },
"httpRequestTimeout": {
"type": "object",
"description": "The timeout (TimeSpan) to get an HTTP response. It is the timeout to get a response, not the timeout to read response data. Default value: 00:01:40. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
@@ -1191,6 +1528,36 @@
}
}
},
+ "SqlMISource": {
+ "description": "A copy activity Azure SQL Managed Instance source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "sqlReaderQuery": {
+ "type": "object",
+ "description": "SQL reader query. Type: string (or Expression with resultType string)."
+ },
+ "sqlReaderStoredProcedureName": {
+ "type": "object",
+ "description": "Name of the stored procedure for a Azure SQL Managed Instance source. This cannot be used at the same time as SqlReaderQuery. Type: string (or Expression with resultType string)."
+ },
+ "storedProcedureParameters": {
+ "description": "Value and type setting for stored procedure parameters. Example: \"{Parameter1: {value: \"1\", type: \"int\"}}\".",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/StoredProcedureParameter"
+ }
+ },
+ "produceAdditionalTypes": {
+ "description": "Which additional types to produce.",
+ "type": "object"
+ }
+ }
+ },
"SqlDWSource": {
"description": "A copy activity SQL Data Warehouse source.",
"type": "object",
@@ -1329,26 +1696,26 @@
"description": "Query timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
},
"partitionOption": {
- "description": "The partition mechanism that will be used for oracle read in parallel.",
- "type": "object",
+ "description": "The partition mechanism that will be used for Oracle read in parallel.",
+ "type": "string",
"enum": [
"None",
"PhysicalPartitionsOfTable",
"DynamicRange"
],
"x-ms-enum": {
- "name": "TabularPartitionOption",
+ "name": "OraclePartitionOption",
"modelAsString": true
}
},
"partitionSettings": {
- "description": "The settings that will be leveraged for oracle source partitioning.",
+ "description": "The settings that will be leveraged for Oracle source partitioning.",
"$ref": "#/definitions/OraclePartitionSettings"
}
}
},
"OraclePartitionSettings": {
- "description": "The settings that will be leveraged for oracle source partitioning.",
+ "description": "The settings that will be leveraged for Oracle source partitioning.",
"type": "object",
"properties": {
"partitionNames": {
@@ -1357,7 +1724,7 @@
"type": "object",
"description": "Type: string (or Expression with resultType string)."
},
- "description": "Names of the physical partitions of oracle table. "
+ "description": "Names of the physical partitions of Oracle table. "
},
"partitionColumnName": {
"type": "object",
@@ -1388,14 +1755,14 @@
},
"partitionOption": {
"description": "The partition mechanism that will be used for teradata read in parallel.",
- "type": "object",
+ "type": "string",
"enum": [
"None",
"Hash",
"DynamicRange"
],
"x-ms-enum": {
- "name": "TabularPartitionOption",
+ "name": "TeradataPartitionOption",
"modelAsString": true
}
},
@@ -1411,7 +1778,7 @@
"properties": {
"partitionColumnName": {
"type": "object",
- "description": "The name of the column in integer type that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string)."
+ "description": "The name of the column that will be used for proceeding range or hash partitioning. Type: string (or Expression with resultType string)."
},
"partitionUpperBound": {
"type": "object",
@@ -1448,7 +1815,7 @@
},
"consistencyLevel": {
"description": "The consistency level specifies how many Cassandra servers must respond to a read request before returning data to the client application. Cassandra checks the specified number of Cassandra servers for data to satisfy the read request. Must be one of cassandraSourceReadConsistencyLevels. The default value is 'ONE'. It is case-insensitive.",
- "type": "object",
+ "type": "string",
"enum": [
"ALL",
"EACH_QUORUM",
@@ -1502,7 +1869,7 @@
},
"batchSize": {
"type": "object",
- "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)."
+ "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)."
}
}
},
@@ -1525,7 +1892,7 @@
},
"batchSize": {
"type": "object",
- "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property�s main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)."
+ "description": "Specifies the number of documents to return in each batch of the response from MongoDB instance. In most cases, modifying the batch size will not affect the user or the application. This property's main purpose is to avoid hit the limitation of response size. Type: integer (or Expression with resultType integer)."
}
}
},
@@ -1562,7 +1929,28 @@
"$ref": "#/definitions/CopySource"
}
],
- "properties": {}
+ "properties": {
+ "allowedGroups": {
+ "type": "object",
+ "description": "The groups containing all the users. Type: array of strings (or Expression with resultType array of strings)."
+ },
+ "userScopeFilterUri": {
+ "type": "object",
+ "description": "The user scope uri. Type: string (or Expression with resultType string)."
+ },
+ "dateFilterColumn": {
+ "type": "object",
+ "description": "The Column to apply the and . Type: string (or Expression with resultType string)."
+ },
+ "startTime": {
+ "type": "object",
+ "description": "Start time of the requested range for this dataset. Type: string (or Expression with resultType string)."
+ },
+ "endTime": {
+ "type": "object",
+ "description": "End time of the requested range for this dataset. Type: string (or Expression with resultType string)."
+ }
+ }
},
"AzureDataLakeStoreSource": {
"description": "A copy activity Azure Data Lake source.",
@@ -1647,6 +2035,36 @@
}
}
},
+ "AzurePostgreSqlSink": {
+ "description": "A copy activity Azure PostgreSQL sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "preCopyScript": {
+ "type": "object",
+ "description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "AzureMySqlSink": {
+ "description": "A copy activity Azure MySql sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "preCopyScript": {
+ "type": "object",
+ "description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"ConcurSource": {
"description": "A copy activity Concur Service source.",
"type": "object",
@@ -1842,6 +2260,21 @@
}
}
},
+ "AzureMariaDBSource": {
+ "description": "A copy activity Azure MariaDB source.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySource"
+ }
+ ],
+ "properties": {
+ "query": {
+ "type": "object",
+ "description": "A query to retrieve data from source. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"MarketoSource": {
"description": "A copy activity Marketo server source.",
"type": "object",
@@ -2019,6 +2452,41 @@
"query": {
"type": "object",
"description": "A query to retrieve data from source. Type: string (or Expression with resultType string)."
+ },
+ "partitionOption": {
+ "description": "The partition mechanism that will be used for Netezza read in parallel.",
+ "type": "string",
+ "enum": [
+ "None",
+ "DataSlice",
+ "DynamicRange"
+ ],
+ "x-ms-enum": {
+ "name": "NetezzaPartitionOption",
+ "modelAsString": true
+ }
+ },
+ "partitionSettings": {
+ "description": "The settings that will be leveraged for Netezza source partitioning.",
+ "$ref": "#/definitions/NetezzaPartitionSettings"
+ }
+ }
+ },
+ "NetezzaPartitionSettings": {
+ "description": "The settings that will be leveraged for Netezza source partitioning.",
+ "type": "object",
+ "properties": {
+ "partitionColumnName": {
+ "type": "object",
+ "description": "The name of the column in integer type that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
+ },
+ "partitionUpperBound": {
+ "type": "object",
+ "description": "The maximum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
+ },
+ "partitionLowerBound": {
+ "type": "object",
+ "description": "The minimum value of column specified in partitionColumnName that will be used for proceeding range partitioning. Type: string (or Expression with resultType string)."
}
}
},
@@ -2228,7 +2696,7 @@
"properties": {
"writeBehavior": {
"description": "The write behavior for the operation. Default is 'Insert'.",
- "type": "object",
+ "type": "string",
"enum": [
"Insert",
"Update"
@@ -2252,7 +2720,7 @@
},
"CopyBehaviorType": {
"description": "All available types of copy behavior.",
- "type": "object",
+ "type": "string",
"enum": [
"PreserveHierarchy",
"FlattenHierarchy",
@@ -2290,8 +2758,42 @@
}
}
},
- "ParquetSink": {
- "description": "A copy activity Parquet sink.",
+ "AvroSink": {
+ "description": "A copy activity Avro sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "storeSettings": {
+ "$ref": "#/definitions/StoreWriteSettings",
+ "description": "Avro store settings."
+ },
+ "formatSettings": {
+ "$ref": "#/definitions/AvroWriteSettings",
+ "description": "Avro format settings."
+ }
+ }
+ },
+ "ParquetSink": {
+ "description": "A copy activity Parquet sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "storeSettings": {
+ "$ref": "#/definitions/StoreWriteSettings",
+ "description": "Parquet store settings."
+ }
+ }
+ },
+ "BinarySink": {
+ "description": "A copy activity Binary sink.",
"type": "object",
"allOf": [
{
@@ -2300,8 +2802,8 @@
],
"properties": {
"storeSettings": {
- "$ref": "#/definitions/ConnectorWriteSetting",
- "description": "Parquet store settings."
+ "$ref": "#/definitions/StoreWriteSettings",
+ "description": "Binary store settings."
}
}
},
@@ -2397,6 +2899,10 @@
"storedProcedureTableTypeParameterName": {
"type": "object",
"description": "The stored procedure parameter name of the table type. Type: string (or Expression with resultType string)."
+ },
+ "tableOption": {
+ "type": "object",
+ "description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
}
}
},
@@ -2431,6 +2937,10 @@
"storedProcedureTableTypeParameterName": {
"type": "object",
"description": "The stored procedure parameter name of the table type. Type: string (or Expression with resultType string)."
+ },
+ "tableOption": {
+ "type": "object",
+ "description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
}
}
},
@@ -2465,6 +2975,48 @@
"storedProcedureTableTypeParameterName": {
"type": "object",
"description": "The stored procedure parameter name of the table type. Type: string (or Expression with resultType string)."
+ },
+ "tableOption": {
+ "type": "object",
+ "description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "SqlMISink": {
+ "description": "A copy activity Azure SQL Managed Instance sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "sqlWriterStoredProcedureName": {
+ "type": "object",
+ "description": "SQL writer stored procedure name. Type: string (or Expression with resultType string)."
+ },
+ "sqlWriterTableType": {
+ "type": "object",
+ "description": "SQL writer table type. Type: string (or Expression with resultType string)."
+ },
+ "preCopyScript": {
+ "type": "object",
+ "description": "SQL pre-copy script. Type: string (or Expression with resultType string)."
+ },
+ "storedProcedureParameters": {
+ "description": "SQL stored procedure parameters.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/StoredProcedureParameter"
+ }
+ },
+ "storedProcedureTableTypeParameterName": {
+ "type": "object",
+ "description": "The stored procedure parameter name of the table type. Type: string (or Expression with resultType string)."
+ },
+ "tableOption": {
+ "type": "object",
+ "description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
}
}
},
@@ -2488,6 +3040,10 @@
"polyBaseSettings": {
"description": "Specifies PolyBase-related settings when allowPolyBase is true.",
"$ref": "#/definitions/PolybaseSettings"
+ },
+ "tableOption": {
+ "type": "object",
+ "description": "The option to handle sink table, such as autoCreate. For now only 'autoCreate' value is supported. Type: string (or Expression with resultType string)."
}
}
},
@@ -2652,7 +3208,7 @@
"properties": {
"writeBehavior": {
"description": "Specify the write behavior when upserting documents into Azure Search Index.",
- "type": "object",
+ "type": "string",
"enum": [
"Merge",
"Upload"
@@ -2679,6 +3235,36 @@
}
}
},
+ "InformixSink": {
+ "description": "A copy activity Informix sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "preCopyScript": {
+ "type": "object",
+ "description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
+ "MicrosoftAccessSink": {
+ "description": "A copy activity Microsoft Access sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "preCopyScript": {
+ "type": "object",
+ "description": "A query to execute before starting the copy. Type: string (or Expression with resultType string)."
+ }
+ }
+ },
"DynamicsSink": {
"description": "A copy activity Dynamics sink.",
"type": "object",
@@ -2690,7 +3276,7 @@
"properties": {
"writeBehavior": {
"description": "The write behavior for the operation.",
- "type": "object",
+ "type": "string",
"enum": [
"Upsert"
],
@@ -2708,6 +3294,64 @@
"writeBehavior"
]
},
+ "DynamicsCrmSink": {
+ "description": "A copy activity Dynamics CRM sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "writeBehavior": {
+ "description": "The write behavior for the operation.",
+ "type": "string",
+ "enum": [
+ "Upsert"
+ ],
+ "x-ms-enum": {
+ "name": "DynamicsSinkWriteBehavior",
+ "modelAsString": true
+ }
+ },
+ "ignoreNullValues": {
+ "type": "object",
+ "description": "The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean)."
+ }
+ },
+ "required": [
+ "writeBehavior"
+ ]
+ },
+ "CommonDataServiceForAppsSink": {
+ "description": "A copy activity Common Data Service for Apps sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "writeBehavior": {
+ "description": "The write behavior for the operation.",
+ "type": "string",
+ "enum": [
+ "Upsert"
+ ],
+ "x-ms-enum": {
+ "name": "DynamicsSinkWriteBehavior",
+ "modelAsString": true
+ }
+ },
+ "ignoreNullValues": {
+ "type": "object",
+ "description": "The flag indicating whether to ignore null values from input dataset (except key fields) during write operation. Default is false. Type: boolean (or Expression with resultType boolean)."
+ }
+ },
+ "required": [
+ "writeBehavior"
+ ]
+ },
"AzureDataExplorerSink": {
"description": "A copy activity Azure Data Explorer sink.",
"type": "object",
@@ -2742,7 +3386,38 @@
"properties": {
"writeBehavior": {
"description": "The write behavior for the operation. Default is Insert.",
+ "type": "string",
+ "enum": [
+ "Insert",
+ "Upsert"
+ ],
+ "x-ms-enum": {
+ "name": "SalesforceSinkWriteBehavior",
+ "modelAsString": true
+ }
+ },
+ "externalIdFieldName": {
"type": "object",
+ "description": "The name of the external ID field for upsert operation. Default value is 'Id' column. Type: string (or Expression with resultType string)."
+ },
+ "ignoreNullValues": {
+ "type": "object",
+ "description": "The flag indicating whether or not to ignore null values from input dataset (except key fields) during write operation. Default value is false. If set it to true, it means ADF will leave the data in the destination object unchanged when doing upsert/update operation and insert defined default value when doing insert operation, versus ADF will update the data in the destination object to NULL when doing upsert/update operation and insert NULL value when doing insert operation. Type: boolean (or Expression with resultType boolean)."
+ }
+ }
+ },
+ "SalesforceServiceCloudSink": {
+ "description": "A copy activity Salesforce Service Cloud sink.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CopySink"
+ }
+ ],
+ "properties": {
+ "writeBehavior": {
+ "description": "The write behavior for the operation. Default is Insert.",
+ "type": "string",
"enum": [
"Insert",
"Upsert"
@@ -3285,6 +3960,10 @@
"additionalProperties": {
"$ref": "#/definitions/SSISPropertyOverride"
}
+ },
+ "logLocation": {
+ "description": "SSIS package execution log location.",
+ "$ref": "#/definitions/SSISLogLocation"
}
},
"required": [
@@ -3299,12 +3978,47 @@
"packagePath": {
"description": "The SSIS package path. Type: string (or Expression with resultType string).",
"type": "object"
+ },
+ "type": {
+ "description": "The type of SSIS package location.",
+ "type": "string",
+ "enum": [
+ "SSISDB",
+ "File"
+ ],
+ "x-ms-enum": {
+ "name": "SsisPackageLocationType",
+ "modelAsString": true
+ }
+ },
+ "typeProperties": {
+ "x-ms-client-flatten": true,
+ "description": "SSIS package location properties.",
+ "$ref": "#/definitions/SSISPackageLocationTypeProperties"
}
},
"required": [
"packagePath"
]
},
+ "SSISPackageLocationTypeProperties": {
+ "description": "SSIS package location properties.",
+ "type": "object",
+ "properties": {
+ "packagePassword": {
+ "$ref": "../datafactory.json#/definitions/SecureString",
+ "description": "Password of the package."
+ },
+ "accessCredential": {
+ "description": "The package access credential.",
+ "$ref": "#/definitions/SSISAccessCredential"
+ },
+ "configurationPath": {
+ "description": "The configuration file of the package execution. Type: string (or Expression with resultType string).",
+ "type": "object"
+ }
+ }
+ },
"SSISConnectionManager": {
"description": "SSIS Connection Manager.",
"type": "object",
@@ -3365,6 +4079,74 @@
"password"
]
},
+ "SSISAccessCredential": {
+ "description": "SSIS access credential.",
+ "type": "object",
+ "properties": {
+ "domain": {
+ "type": "object",
+ "description": "Domain for windows authentication."
+ },
+ "userName": {
+ "type": "object",
+ "description": "UseName for windows authentication."
+ },
+ "password": {
+ "$ref": "../datafactory.json#/definitions/SecureString",
+ "description": "Password for windows authentication."
+ }
+ },
+ "required": [
+ "domain",
+ "userName",
+ "password"
+ ]
+ },
+ "SSISLogLocation": {
+ "description": "SSIS package execution log location",
+ "type": "object",
+ "properties": {
+ "logPath": {
+ "description": "The SSIS package execution log path. Type: string (or Expression with resultType string).",
+ "type": "object"
+ },
+ "type": {
+ "description": "The type of SSIS log location.",
+ "type": "string",
+ "enum": [
+ "File"
+ ],
+ "x-ms-enum": {
+ "name": "SsisLogLocationType",
+ "modelAsString": true
+ }
+ },
+ "typeProperties": {
+ "x-ms-client-flatten": true,
+ "description": "SSIS package execution log location properties.",
+ "$ref": "#/definitions/SSISLogLocationTypeProperties"
+ }
+ },
+ "required": [
+ "logPath",
+ "type",
+ "typeProperties"
+ ]
+ },
+ "SSISLogLocationTypeProperties": {
+ "description": "SSIS package execution log location properties.",
+ "type": "object",
+ "properties": {
+ "accessCredential": {
+ "description": "The package execution log access credential.",
+ "$ref": "#/definitions/SSISAccessCredential"
+ },
+ "logRefreshInterval": {
+ "type": "object",
+ "description": "Specifies the interval to refresh log. The default interval is 5 minutes. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
+ }
+ }
+ },
"CustomActivity": {
"description": "Custom activity type.",
"x-ms-discriminator-value": "Custom",
@@ -3565,6 +4347,41 @@
"dataset"
]
},
+ "AzureDataExplorerCommandActivity": {
+ "x-ms-discriminator-value": "AzureDataExplorerCommand",
+ "description": "Azure Data Explorer command activity.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ExecutionActivity"
+ }
+ ],
+ "properties": {
+ "typeProperties": {
+ "description": "Azure Data Explorer command activity properties.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/AzureDataExplorerCommandActivityTypeProperties"
+ }
+ },
+ "required": [
+ "typeProperties"
+ ]
+ },
+ "AzureDataExplorerCommandActivityTypeProperties": {
+ "description": "Azure Data Explorer command activity properties.",
+ "properties": {
+ "command": {
+ "type": "object",
+ "description": "A control command, according to the Azure Data Explorer command syntax. Type: string (or Expression with resultType string)."
+ },
+ "commandTimeout": {
+ "type": "object",
+ "description": "Control command timeout. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..)"
+ }
+ },
+ "required": [
+ "command"
+ ]
+ },
"LookupActivity": {
"x-ms-discriminator-value": "Lookup",
"description": "Lookup activity.",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json
index 47e68c5727f4..35a7e0d225b9 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:28 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14995",
- "x-ms-request-id": "586c27ed-d96c-42eb-8336-a077ef7e8358",
- "x-ms-correlation-request-id": "586c27ed-d96c-42eb-8336-a077ef7e8358"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:28 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14994",
- "x-ms-request-id": "18f08a60-3963-4a85-9db9-5122fad759ae",
- "x-ms-correlation-request-id": "18f08a60-3963-4a85-9db9-5122fad759ae"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json
index 2f9bfca0e407..ce48b64a5ce7 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Datasets_Get.json
@@ -8,16 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:50 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11992",
- "x-ms-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050",
- "x-ms-correlation-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Mon, 22 Apr 2019 18:33:50 GMT",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json
index 9e08c0d44edb..630f8c0cae8d 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Delete.json
@@ -6,25 +6,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:32 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14989",
- "x-ms-request-id": "ea0cf989-0831-4d49-84a8-9732da344b72",
- "x-ms-correlation-request-id": "ea0cf989-0831-4d49-84a8-9732da344b72"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:32 GMT",
- "x-ms-ratelimit-remaining-subscription-deletes": "14988",
- "x-ms-request-id": "3bf2d00f-7f37-4ab0-96c4-9ae560bc1f64",
- "x-ms-correlation-request-id": "3bf2d00f-7f37-4ab0-96c4-9ae560bc1f64",
- "X-Content-Type-Options": "nosniff"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json
index fb52e24bd0ed..2a43ca5e1cae 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json
@@ -7,16 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:50 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11992",
- "x-ms-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050",
- "x-ms-correlation-request-id": "9db13e51-b9bb-4b29-89bf-2fb1636e7050"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Tue, 19 Jun 2018 05:41:50 GMT",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json
index 0f1b126c114d..8fc6d176f77c 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Delete.json
@@ -8,25 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Thu, 14 Jun 2018 15:01:22 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14999",
- "x-ms-request-id": "c1016b57-daf8-4476-b9eb-d02890d03f8d",
- "x-ms-correlation-request-id": "c1016b57-daf8-4476-b9eb-d02890d03f8d"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Thu, 14 Jun 2018 15:01:34 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14998",
- "x-ms-request-id": "9c6aed81-8fd1-477e-b365-c7b15fc7f51a",
- "x-ms-correlation-request-id": "9c6aed81-8fd1-477e-b365-c7b15fc7f51a"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json
index 149f79cf2b13..855e1340c2e3 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Get.json
@@ -3,231 +3,429 @@
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
"resourceGroupName": "exampleResourceGroup",
"factoryName": "exampleFactoryName",
- "integrationRuntimeName": "integrationRuntime1",
+ "integrationRuntimeName": "testactivityv2",
"getMetadataRequest": {
- "metadataPath": "ssisFolders/2/ssisProjects/6/ssisPackages"
+ "metadataPath": "ssisFolders"
},
"api-version": "2018-06-01"
},
"responses": {
"200": {
"headers": {
- "Date": "Thu, 09 May 2019 09:39:51 GMT",
+ "Date": "Mon, 03 Dec 2018 06:24:54 GMT",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-subscription-writes": "1198",
- "x-ms-request-id": "63fab708-842b-4b19-9811-5e128905e824",
- "x-ms-correlation-request-id": "63fab708-842b-4b19-9811-5e128905e824"
+ "x-ms-request-id": "0cbc67c4-60e7-4d49-97d9-e4bc4f9851cd",
+ "x-ms-correlation-request-id": "0cbc67c4-60e7-4d49-97d9-e4bc4f9851cd"
},
"body": {
"value": [
{
- "folderId": 2,
- "projectVersion": 23,
- "projectId": 6,
- "parameters": [
- {
- "id": 278,
- "name": "Parameter1",
- "description": "",
- "dataType": "Int32",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 279,
- "name": "Parameter10",
- "description": "",
- "dataType": "Decimal",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 280,
- "name": "Parameter11",
- "description": "",
- "dataType": "Double",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 281,
- "name": "Parameter12",
- "description": "",
- "dataType": "Int16",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 282,
- "name": "Parameter2",
- "description": "",
- "dataType": "Boolean",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "False",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 283,
- "name": "Parameter3",
- "description": "",
- "dataType": "Int64",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 284,
- "name": "Parameter4",
- "description": "",
- "dataType": "SByte",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 285,
- "name": "Parameter5",
- "description": "",
- "dataType": "Single",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 286,
- "name": "Parameter6",
- "description": "",
- "dataType": "UInt32",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 287,
- "name": "Parameter7",
- "description": "",
- "dataType": "UInt64",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 288,
- "name": "Parameter8",
- "description": "",
- "dataType": "Byte",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "0",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 289,
- "name": "Parameter9",
- "description": "",
- "dataType": "DateTime",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "2/15/2019 3:33:59 PM",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 290,
- "name": "CM.SSISDB.connection.manager.ConnectionString",
- "description": "",
- "dataType": "String",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "Data Source=********;User ID=liubing;Initial Catalog=SSISDB;Provider=SQLNCLI11.1;Persist Security Info=True;Auto Translate=False;",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 291,
- "name": "CM.SSISDB.connection.manager.InitialCatalog",
- "description": "",
- "dataType": "String",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "SSISDB",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 292,
- "name": "CM.SSISDB.connection.manager.Password",
- "description": "",
- "dataType": "String",
- "required": false,
- "sensitive": true,
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 293,
- "name": "CM.SSISDB.connection.manager.RetainSameConnection",
- "description": "",
- "dataType": "Boolean",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "False",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 294,
- "name": "CM.SSISDB.connection.manager.ServerName",
- "description": "",
- "dataType": "String",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "********",
- "valueType": "V",
- "valueSet": false
- },
- {
- "id": 295,
- "name": "CM.SSISDB.connection.manager.UserName",
- "description": "",
- "dataType": "String",
- "required": false,
- "sensitive": false,
- "designDefaultValue": "liubing",
- "valueType": "V",
- "valueSet": false
- }
- ],
- "id": 53,
- "name": "Package.dtsx",
+ "id": 1,
+ "name": "TestFolder",
+ "description": ""
+ },
+ {
+ "id": 2,
+ "name": "EnvironmentFolder",
+ "description": ""
+ },
+ {
+ "id": 3,
+ "name": "ActivityTest",
+ "description": ""
+ },
+ {
+ "id": 4,
+ "name": "这是文件夹",
"description": ""
+ },
+ {
+ "id": 5,
+ "name": "1"
+ },
+ {
+ "id": 6,
+ "name": "2"
+ },
+ {
+ "id": 7,
+ "name": "3"
+ },
+ {
+ "id": 8,
+ "name": "4"
+ },
+ {
+ "id": 9,
+ "name": "5"
+ },
+ {
+ "id": 10,
+ "name": "6"
+ },
+ {
+ "id": 11,
+ "name": "7"
+ },
+ {
+ "id": 12,
+ "name": "8"
+ },
+ {
+ "id": 13,
+ "name": "9"
+ },
+ {
+ "id": 14,
+ "name": "10"
+ },
+ {
+ "id": 15,
+ "name": "11"
+ },
+ {
+ "id": 16,
+ "name": "12"
+ },
+ {
+ "id": 17,
+ "name": "13"
+ },
+ {
+ "id": 18,
+ "name": "14"
+ },
+ {
+ "id": 19,
+ "name": "15"
+ },
+ {
+ "id": 20,
+ "name": "16"
+ },
+ {
+ "id": 21,
+ "name": "17"
+ },
+ {
+ "id": 22,
+ "name": "18"
+ },
+ {
+ "id": 23,
+ "name": "19"
+ },
+ {
+ "id": 24,
+ "name": "20"
+ },
+ {
+ "id": 25,
+ "name": "21"
+ },
+ {
+ "id": 26,
+ "name": "22"
+ },
+ {
+ "id": 27,
+ "name": "23"
+ },
+ {
+ "id": 28,
+ "name": "24"
+ },
+ {
+ "id": 29,
+ "name": "25"
+ },
+ {
+ "id": 30,
+ "name": "26"
+ },
+ {
+ "id": 31,
+ "name": "27"
+ },
+ {
+ "id": 32,
+ "name": "28"
+ },
+ {
+ "id": 33,
+ "name": "29"
+ },
+ {
+ "id": 34,
+ "name": "30"
+ },
+ {
+ "id": 35,
+ "name": "31"
+ },
+ {
+ "id": 36,
+ "name": "32"
+ },
+ {
+ "id": 37,
+ "name": "33"
+ },
+ {
+ "id": 38,
+ "name": "34"
+ },
+ {
+ "id": 39,
+ "name": "35"
+ },
+ {
+ "id": 40,
+ "name": "36"
+ },
+ {
+ "id": 41,
+ "name": "37"
+ },
+ {
+ "id": 42,
+ "name": "38"
+ },
+ {
+ "id": 43,
+ "name": "39"
+ },
+ {
+ "id": 44,
+ "name": "40"
+ },
+ {
+ "id": 45,
+ "name": "41"
+ },
+ {
+ "id": 46,
+ "name": "42"
+ },
+ {
+ "id": 47,
+ "name": "43"
+ },
+ {
+ "id": 48,
+ "name": "44"
+ },
+ {
+ "id": 49,
+ "name": "45"
+ },
+ {
+ "id": 50,
+ "name": "46"
+ },
+ {
+ "id": 51,
+ "name": "47"
+ },
+ {
+ "id": 52,
+ "name": "48"
+ },
+ {
+ "id": 53,
+ "name": "49"
+ },
+ {
+ "id": 54,
+ "name": "50"
+ },
+ {
+ "id": 55,
+ "name": "51"
+ },
+ {
+ "id": 56,
+ "name": "52"
+ },
+ {
+ "id": 57,
+ "name": "53"
+ },
+ {
+ "id": 58,
+ "name": "54"
+ },
+ {
+ "id": 59,
+ "name": "55"
+ },
+ {
+ "id": 60,
+ "name": "56"
+ },
+ {
+ "id": 61,
+ "name": "57"
+ },
+ {
+ "id": 62,
+ "name": "58"
+ },
+ {
+ "id": 63,
+ "name": "59"
+ },
+ {
+ "id": 64,
+ "name": "60"
+ },
+ {
+ "id": 65,
+ "name": "61"
+ },
+ {
+ "id": 66,
+ "name": "62"
+ },
+ {
+ "id": 67,
+ "name": "63"
+ },
+ {
+ "id": 68,
+ "name": "64"
+ },
+ {
+ "id": 69,
+ "name": "65"
+ },
+ {
+ "id": 70,
+ "name": "66"
+ },
+ {
+ "id": 71,
+ "name": "67"
+ },
+ {
+ "id": 72,
+ "name": "68"
+ },
+ {
+ "id": 73,
+ "name": "69"
+ },
+ {
+ "id": 74,
+ "name": "70"
+ },
+ {
+ "id": 75,
+ "name": "71"
+ },
+ {
+ "id": 76,
+ "name": "72"
+ },
+ {
+ "id": 77,
+ "name": "73"
+ },
+ {
+ "id": 78,
+ "name": "74"
+ },
+ {
+ "id": 79,
+ "name": "75"
+ },
+ {
+ "id": 80,
+ "name": "76"
+ },
+ {
+ "id": 81,
+ "name": "77"
+ },
+ {
+ "id": 82,
+ "name": "78"
+ },
+ {
+ "id": 83,
+ "name": "79"
+ },
+ {
+ "id": 84,
+ "name": "80"
+ },
+ {
+ "id": 85,
+ "name": "81"
+ },
+ {
+ "id": 86,
+ "name": "82"
+ },
+ {
+ "id": 87,
+ "name": "83"
+ },
+ {
+ "id": 88,
+ "name": "84"
+ },
+ {
+ "id": 89,
+ "name": "85"
+ },
+ {
+ "id": 90,
+ "name": "86"
+ },
+ {
+ "id": 91,
+ "name": "87"
+ },
+ {
+ "id": 92,
+ "name": "88"
+ },
+ {
+ "id": 93,
+ "name": "89"
+ },
+ {
+ "id": 94,
+ "name": "90"
+ },
+ {
+ "id": 95,
+ "name": "91"
+ },
+ {
+ "id": 96,
+ "name": "92"
+ },
+ {
+ "id": 97,
+ "name": "93"
+ },
+ {
+ "id": 98,
+ "name": "94"
+ },
+ {
+ "id": 99,
+ "name": "95"
+ },
+ {
+ "id": 100,
+ "name": "96"
}
- ]
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/testactivityv2/getObjectMetadata?api-version=2018-06-01&%24skipToken=https%3a%2f%2fwcu.frontend.clouddatahub.net%2fsubscriptions%2f12345678-1234-1234-1234-12345678abc%2fdatafactories%2f6C8E7C90-FD45-4010-8B7C-B5227D0F0CB7%2fintegrationruntimes%2fTESTACTIVITYV2%2fgetSsisObjectMetadata%3f%24skipToken%3dc3Npc0ZvbGRlcnNAQDIwMTgtMTEtMjlUMDM6NTk6MzIuMDQ1Mzc1MiswMDowMEBAZm9sZGVyQEAwMDAwMDAwMDAwMDAwMDAwMTAx0%26api-version%3d1.0"
}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json
index 12223de81dad..ff8c80b0f4d9 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json
@@ -7,19 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "202": {
- "headers": {
- "Date": "Mon, 03 Dec 2018 06:24:38 GMT",
- "Location": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/testactivityv2/refreshObjectMetadata/operationresults/ca63c855b72d44959653ffcc6eb0b96c?api-version=2018-06-01",
- "Retry-After": "15",
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/testactivityv2/refreshObjectMetadata/operationstatuses/ca63c855b72d44959653ffcc6eb0b96c?api-version=2018-06-01",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1199",
- "x-ms-request-id": "abf136ad-39c8-4ee8-9098-7866f9433d13",
- "x-ms-correlation-request-id": "abf136ad-39c8-4ee8-9098-7866f9433d13"
- },
- "body": null
- },
+ "202": {},
"200": {
"headers": {
"Date": "Mon, 03 Dec 2018 06:24:53 GMT",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json
index fef7de2ae1b8..742aefa60d83 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Wed, 13 Jun 2018 22:30:01 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14979",
- "x-ms-request-id": "6551f7f4-0d7f-4d02-a3a0-c4ee3b7bf15c",
- "x-ms-correlation-request-id": "6551f7f4-0d7f-4d02-a3a0-c4ee3b7bf15c"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Wed, 13 Jun 2018 22:30:02 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14978",
- "x-ms-request-id": "7c5c6c3d-fca3-469e-9b6b-63ed9e4997dd",
- "x-ms-correlation-request-id": "7c5c6c3d-fca3-469e-9b6b-63ed9e4997dd"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json
index bf176d4c530c..55fe8b7f97c5 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Get.json
@@ -8,16 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:47 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11996",
- "x-ms-request-id": "7b3673dc-aef9-411c-8138-e6778231c474",
- "x-ms-correlation-request-id": "7b3673dc-aef9-411c-8138-e6778231c474"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Mon, 22 Apr 2019 18:33:47 GMT",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json
index 0b1ee0992f65..33c1f7eda83e 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_RemoveLinks.json
@@ -10,15 +10,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Tue, 03 Jul 2018 06:33:25 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1195",
- "x-ms-request-id": "360fbe4c-a1a7-436b-b0f5-e27a474a6b16",
- "x-ms-correlation-request-id": "360fbe4c-a1a7-436b-b0f5-e27a474a6b16"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json
index 5204f13a4efb..81bcbb87fa24 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Start.json
@@ -7,18 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "202": {
- "headers": {
- "Date": "Wed, 13 Jun 2018 21:11:03 GMT",
- "Location": "https://api-dogfood.resources.windows-int.net/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/start/operationresults/301b9c4b1c43415594e11918e678383c?api-version=2018-06-01",
- "Retry-After": "15",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1194",
- "x-ms-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904",
- "x-ms-correlation-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904"
- },
- "body": null
- },
+ "202": {},
"200": {
"headers": {
"Date": "Wed, 13 Jun 2018 21:33:00 GMT",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json
index 6dbb6c741832..5ae0f3f8f835 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Stop.json
@@ -7,27 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "202": {
- "headers": {
- "Date": "Wed, 13 Jun 2018 21:11:03 GMT",
- "Location": "https://api-dogfood.resources.windows-int.net/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleManagedIntegrationRuntime/stop/operationresults/301b9c4b1c43415594e11918e678385f?api-version=2018-06-01",
- "Retry-After": "15",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1194",
- "x-ms-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904",
- "x-ms-correlation-request-id": "cb03ccdd-9d7a-4ebe-a967-0edc96f33904"
- },
- "body": null
- },
- "200": {
- "headers": {
- "Date": "Wed, 13 Jun 2018 21:33:03 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1193",
- "x-ms-request-id": "87f6c2c7-92f1-40e6-bb01-769f9e6ca22f",
- "x-ms-correlation-request-id": "87f6c2c7-92f1-40e6-bb01-769f9e6ca22f"
- },
- "body": null
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json
index dca3b2c54e68..cdd180d2e720 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_SyncCredentials.json
@@ -7,15 +7,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Thu, 14 Jun 2018 15:27:47 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1198",
- "x-ms-request-id": "a991b4b4-e33a-4973-9088-200f9137fb84",
- "x-ms-correlation-request-id": "a991b4b4-e33a-4973-9088-200f9137fb84"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json
index 2130bac563ad..cdd180d2e720 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_Upgrade.json
@@ -7,15 +7,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Thu, 14 Jun 2018 14:53:30 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1196",
- "x-ms-request-id": "e12b9b30-54bf-49a0-8b7e-c8ce58ba6a36",
- "x-ms-correlation-request-id": "e12b9b30-54bf-49a0-8b7e-c8ce58ba6a36"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json
index 77b54d160ffb..86ce004138cf 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:29 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14993",
- "x-ms-request-id": "f55bd1ad-2ab5-4b94-bca5-01489e1b9d57",
- "x-ms-correlation-request-id": "f55bd1ad-2ab5-4b94-bca5-01489e1b9d57"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:29 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14992",
- "x-ms-request-id": "b1456813-e580-4cb0-bb05-ffd6099320e6",
- "x-ms-correlation-request-id": "b1456813-e580-4cb0-bb05-ffd6099320e6"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json
index bcfc70fc842c..b6b18d4691ef 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/LinkedServices_Get.json
@@ -8,16 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:49 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11994",
- "x-ms-request-id": "9a503b24-1b14-4242-9fab-598c81881370",
- "x-ms-correlation-request-id": "9a503b24-1b14-4242-9fab-598c81881370"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Mon, 22 Apr 2019 18:33:48 GMT",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json
index 24fb26ea9bd7..8a43a61a8bfd 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/PipelineRuns_Cancel.json
@@ -7,15 +7,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:39:51 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1188",
- "x-ms-request-id": "00215772-3147-4e15-99ae-fbf225d5dd0a",
- "x-ms-correlation-request-id": "00215772-3147-4e15-99ae-fbf225d5dd0a"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json
index 7bbfe9b6ccda..dd54c881c5f5 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:27 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14997",
- "x-ms-request-id": "10ea8bd9-4620-425c-92dd-adadef31c9e4",
- "x-ms-correlation-request-id": "10ea8bd9-4620-425c-92dd-adadef31c9e4"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:27 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14996",
- "x-ms-request-id": "cfb3e876-4271-4300-bf3d-3bffc5a34695",
- "x-ms-correlation-request-id": "cfb3e876-4271-4300-bf3d-3bffc5a34695"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json
index 68f3ff289730..82a21a869f01 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Pipelines_Get.json
@@ -8,16 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:51 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11990",
- "x-ms-request-id": "819ef646-692f-4d1b-8717-0b4fe493e2aa",
- "x-ms-correlation-request-id": "819ef646-692f-4d1b-8717-0b4fe493e2aa"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Mon, 22 Apr 2019 18:33:51 GMT",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json
index 3b2d7aab6b24..1e3d8b98ec8b 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Cancel.json
@@ -8,15 +8,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:24 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1198",
- "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231",
- "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json
index d3ec620445f6..1e3d8b98ec8b 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Start.json
@@ -8,15 +8,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:40:20 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1184",
- "x-ms-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d",
- "x-ms-correlation-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json
index 3b2d7aab6b24..1e3d8b98ec8b 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/RerunTriggers_Stop.json
@@ -8,15 +8,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:24 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1198",
- "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231",
- "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json
new file mode 100644
index 000000000000..b06046f294f8
--- /dev/null
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/TriggerRuns_Rerun.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-1234-12345678abc",
+ "resourceGroupName": "exampleResourceGroup",
+ "factoryName": "exampleFactoryName",
+ "triggerName": "exampleTrigger",
+ "runId": "2f7fdb90-5df1-4b8e-ac2f-064cfa58202b",
+ "api-version": "2018-06-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Date": "Sat, 16 Jun 2018 00:46:24 GMT",
+ "X-Content-Type-Options": "nosniff",
+ "x-ms-ratelimit-remaining-subscription-writes": "1198",
+ "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231",
+ "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231"
+ }
+ }
+ }
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json
index 1708b189ac2a..e7d4a03ea08a 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Delete.json
@@ -7,25 +7,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:26 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14999",
- "x-ms-request-id": "1eea81f0-87de-4c9d-87cd-915e592a9bcc",
- "x-ms-correlation-request-id": "1eea81f0-87de-4c9d-87cd-915e592a9bcc"
- },
- "body": null
- },
- "204": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:26 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-deletes": "14998",
- "x-ms-request-id": "833e731f-67dc-48d3-b90f-6dd08e9d819f",
- "x-ms-correlation-request-id": "833e731f-67dc-48d3-b90f-6dd08e9d819f"
- },
- "body": null
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json
index ff4f437452f4..446697f3a5eb 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Get.json
@@ -8,16 +8,7 @@
"api-version": "2018-06-01"
},
"responses": {
- "304": {
- "headers": {
- "Date": "Mon, 22 Apr 2019 18:33:52 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-reads": "11988",
- "x-ms-request-id": "ca7b5df3-83ee-42a1-88f3-e417baa37900",
- "x-ms-correlation-request-id": "ca7b5df3-83ee-42a1-88f3-e417baa37900"
- },
- "body": null
- },
+ "304": {},
"200": {
"headers": {
"Date": "Mon, 22 Apr 2019 18:33:52 GMT",
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_GetEventSubscriptionStatus.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_GetEventSubscriptionStatus.json
new file mode 100644
index 000000000000..5efc8eebb44b
--- /dev/null
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_GetEventSubscriptionStatus.json
@@ -0,0 +1,17 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-1234-12345678abc",
+ "resourceGroupName": "exampleResourceGroup",
+ "factoryName": "exampleFactoryName",
+ "triggerName": "exampleTrigger",
+ "api-version": "2018-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "triggerName": "exampleTrigger",
+ "status": "Enabled"
+ }
+ }
+ }
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json
index e037a3de47e6..558c3f6b3afa 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Start.json
@@ -7,15 +7,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:40:20 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1184",
- "x-ms-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d",
- "x-ms-correlation-request-id": "0c1669a9-5b55-47fe-9413-df6d8710697d"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json
index b311f31a3f50..558c3f6b3afa 100644
--- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_Stop.json
@@ -7,15 +7,6 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "headers": {
- "Date": "Sat, 16 Jun 2018 00:46:24 GMT",
- "X-Content-Type-Options": "nosniff",
- "x-ms-ratelimit-remaining-subscription-writes": "1198",
- "x-ms-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231",
- "x-ms-correlation-request-id": "5aa854a5-7ac0-4c7e-9356-79c657f4e231"
- },
- "body": null
- }
+ "200": {}
}
}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_SubscribeToEvents.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_SubscribeToEvents.json
new file mode 100644
index 000000000000..82d16f4b2448
--- /dev/null
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_SubscribeToEvents.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-1234-12345678abc",
+ "resourceGroupName": "exampleResourceGroup",
+ "factoryName": "exampleFactoryName",
+ "triggerName": "exampleTrigger",
+ "api-version": "2018-06-01"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/triggers/exampleTrigger/getEventSubscriptionStatus?api-version=2018-06-01"
+ }
+ },
+ "200": {
+ "body": {
+ "triggerName": "exampleTrigger",
+ "status": "Enabled"
+ }
+ }
+ }
+}
diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_UnsubscribeFromEvents.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_UnsubscribeFromEvents.json
new file mode 100644
index 000000000000..55cb7979d4d5
--- /dev/null
+++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Triggers_UnsubscribeFromEvents.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "subscriptionId": "12345678-1234-1234-1234-12345678abc",
+ "resourceGroupName": "exampleResourceGroup",
+ "factoryName": "exampleFactoryName",
+ "triggerName": "exampleTrigger",
+ "api-version": "2018-06-01"
+ },
+ "responses": {
+ "202": {
+ "headers": {
+ "Location": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/triggers/exampleTrigger/getEventSubscriptionStatus?api-version=2018-06-01"
+ }
+ },
+ "200": {
+ "body": {
+ "triggerName": "exampleTrigger",
+ "status": "Disabled"
+ }
+ }
+ }
+}
diff --git a/specification/datafactory/resource-manager/readme.java.md b/specification/datafactory/resource-manager/readme.java.md
new file mode 100644
index 000000000000..d67ddd779a9a
--- /dev/null
+++ b/specification/datafactory/resource-manager/readme.java.md
@@ -0,0 +1,50 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.datafactory
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datafactory
+```
+
+# Validation
+
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2017-09-preview
+ - tag: package-2018-06
+```
+
+### Tag: package-2017-09-preview and java
+
+These settings apply only when `--tag=package-2017-09-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2017-09-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.datafactory.v2017_09_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/datafactory/resource-manager/v2017_09_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2018-06 and java
+
+These settings apply only when `--tag=package-2018-06 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-06' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.datafactory.v2018_06_01
+ output-folder: $(azure-libraries-for-java-folder)/datafactory/resource-manager/v2018_06_01
+regenerate-manager: true
+generate-interface: true
+```
\ No newline at end of file
diff --git a/specification/datafactory/resource-manager/readme.md b/specification/datafactory/resource-manager/readme.md
index 02c837b7fd01..7961ef331280 100644
--- a/specification/datafactory/resource-manager/readme.md
+++ b/specification/datafactory/resource-manager/readme.md
@@ -59,6 +59,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -115,54 +116,7 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.datafactory
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datafactory
-```
-
-# Validation
-
-
-### Java multi-api
-
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2017-09-preview
- - tag: package-2018-06
-```
-
-### Tag: package-2017-09-preview and java
-
-These settings apply only when `--tag=package-2017-09-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2017-09-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.datafactoryv2.v2017_09_01_preview
- output-folder: $(azure-libraries-for-java-folder)/datafactoryv2/resource-manager/v2017_09_01_preview
-regenerate-manager: true
-generate-interface: true
-```
-
-### Tag: package-2018-06 and java
-
-These settings apply only when `--tag=package-2018-06 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-06' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.datafactoryv2.v2018_06_01
- output-folder: $(azure-libraries-for-java-folder)/datafactoryv2/resource-manager/v2018_06_01
-regenerate-manager: true
-generate-interface: true
-```
+See configuration in [readme.java.md](./readme.java.md)
## Suppression
@@ -260,3 +214,29 @@ directive:
- The other properties are simple and self explanatory
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DataFactory/stable/2018-06-01/datafactory.json
+ - $(this-folder)/Microsoft.DataFactory/preview/2017-09-01-preview/datafactory.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json
index 95331d8e363d..4d377d679b65 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json
@@ -2901,4 +2901,4 @@
"x-ms-parameter-location": "client"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json
index 0d3a24a48e0a..7bf8ab43655e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json
@@ -1023,4 +1023,4 @@
"x-ms-parameter-location": "client"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json
index 0db2aa94ac9d..416404d9d156 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json
@@ -536,7 +536,6 @@
"VertexResourceInUserFolder",
"JobManagerResourceInUserFolder",
"StatisticsResourceInUserFolder"
-
],
"x-ms-enum": {
"name": "JobResourceType",
@@ -690,32 +689,32 @@
},
"description": "The common Data Lake Analytics job properties."
},
- "Diagnostics" : {
+ "Diagnostics": {
"properties": {
- "columnNumber" : {
+ "columnNumber": {
"description": "the column where the error occurred.",
"type": "integer",
"format": "int32",
"readOnly": true
},
- "end" : {
+ "end": {
"description": "the ending index of the error.",
"type": "integer",
"format": "int32",
"readOnly": true
},
- "lineNumber" : {
+ "lineNumber": {
"description": "the line number the error occurred on.",
"type": "integer",
"format": "int32",
"readOnly": true
},
- "message" : {
+ "message": {
"description": "the error message.",
"type": "string",
"readOnly": true
},
- "severity" : {
+ "severity": {
"description": "the severity of the error.",
"readOnly": true,
"type": "string",
@@ -729,7 +728,7 @@
"modelAsString": false
}
},
- "start" : {
+ "start": {
"description": "the starting index of the error.",
"type": "integer",
"format": "int32",
@@ -1007,7 +1006,7 @@
"type": "array",
"items": {
"type": "string"
- },
+ },
"description": "the list of log file name patterns to find in the logFolder. '*' is the only matching character allowed. Example format: jobExecution*.log or *mylog*.txt"
},
"stateAuditRecords": {
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json
index 6ceeb3ab4b79..baa5e5b204e3 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Build.json
@@ -1,88 +1,92 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "parameters": {
- "type": "USql",
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
+ "type": "USql",
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
+ },
+ "name": "test_name"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "tags": {
+ "test_key": "test_value"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
},
- "name": "test_name"
- }
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "tags": {
- "test_key": "test_value"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json
index 09f18758b1bc..0f6b9bfbcaea 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Cancel.json
@@ -1,16 +1,13 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- },
- "202": {
- },
- "204": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json
index e18aa9f2425a..74d84f3f66c3 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Create.json
@@ -1,103 +1,107 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "parameters": {
- "type": "USql",
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
+ "type": "USql",
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
+ },
+ "name": "test_name",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "tags": {
+ "test_key": "test_value"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
},
- "name": "test_name",
- "degreeOfParallelism": 1,
- "priority": 1,
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "tags": {
- "test_key": "test_value"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json
index 9c71939c68ab..bcf9262e5433 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Get.json
@@ -1,80 +1,84 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "tags": {
- "test_key": "test_value"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "tags": {
+ "test_key": "test_value"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
+ },
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json
index 1dd27580aa29..7d1e0fe91660 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetDebugDataPath.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "command": "test_command",
- "paths": [
- "test_path_1",
- "test_path_2"
- ]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "command": "test_command",
+ "paths": [
+ "test_path_1",
+ "test_path_2"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json
index 182690613ad8..7c254cf468fa 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_GetStatistics.json
@@ -1,38 +1,40 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
- "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
- "stages": [{
- "dataRead": 1,
- "dataReadCrossPod": 1,
- "dataReadIntraPod": 1,
- "dataToRead": 1,
- "dataWritten": 1,
- "duplicateDiscardCount": 1,
- "failedCount": 1,
- "maxVertexDataRead": 1,
- "minVertexDataRead": 1,
- "readFailureCount": 1,
- "revocationCount": 1,
- "runningCount": 1,
- "scheduledCount": 1,
- "stageName": "test_stage_name",
- "succeededCount": 1,
- "tempDataWritten": 1,
- "totalCount": 1,
- "totalFailedTime": "PT0S",
- "totalProgress": 1,
- "totalSucceededTime": "PT0S"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
+ "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
+ "stages": [
+ {
+ "dataRead": 1,
+ "dataReadCrossPod": 1,
+ "dataReadIntraPod": 1,
+ "dataToRead": 1,
+ "dataWritten": 1,
+ "duplicateDiscardCount": 1,
+ "failedCount": 1,
+ "maxVertexDataRead": 1,
+ "minVertexDataRead": 1,
+ "readFailureCount": 1,
+ "revocationCount": 1,
+ "runningCount": 1,
+ "scheduledCount": 1,
+ "stageName": "test_stage_name",
+ "succeededCount": 1,
+ "tempDataWritten": 1,
+ "totalCount": 1,
+ "totalFailedTime": "PT0S",
+ "totalProgress": 1,
+ "totalSucceededTime": "PT0S"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json
index 3d8689c9bb33..8ccd670d6930 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_List.json
@@ -1,49 +1,51 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "tags": {
- "test_key": "test_value"
- }
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "tags": {
+ "test_key": "test_value"
}
- }
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json
index 54cd118c364e..41cad2d3a8de 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Update.json
@@ -1,91 +1,93 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "parameters": {
- "degreeOfParallelism": 1,
- "priority": 1,
- "tags": {
- "test_key": "test_value"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "tags": {
- "test_key": "test_value"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "Hive"
- }
- }
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "tags": {
+ "test_key": "test_value"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
},
- "201": {
+ "tags": {
+ "test_key": "test_value"
},
- "202": {
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
+ },
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "Hive"
}
- }
+ }
+ },
+ "201": {},
+ "202": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json
index 09f18758b1bc..0f6b9bfbcaea 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Job_Yield.json
@@ -1,16 +1,13 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- },
- "202": {
- },
- "204": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json
index 76fddedb5fd2..83b65ea13fb5 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_Get.json
@@ -1,34 +1,36 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
- "runs": [{
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "recurrences": [
- "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
- "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
- ]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "runs": [
+ {
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "recurrences": [
+ "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
+ "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json
index 7803c038f2f0..a686098793b5 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Pipeline_List.json
@@ -1,36 +1,40 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
- "runs": [{
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "recurrences": [
- "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
- "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
- ]
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "runs": [
+ {
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "recurrences": [
+ "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
+ "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
+ ]
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json
index 9f8e326cba38..83174744e93c 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_Get.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "recurrenceName": "test_recurrence_name",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "recurrenceName": "test_recurrence_name",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json
index f12dad78264f..6c85120742ea 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/examples/Recurrence_List.json
@@ -1,27 +1,29 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "recurrenceName": "test_recurrence_name",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaJobDnsSuffix": "azuredatalakeanalytics.net",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "recurrenceName": "test_recurrence_name",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json
index 911c3e76cd92..65f78c6aeb25 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json
@@ -1890,7 +1890,6 @@
"description": "The recurring job relationship information properties."
}
},
-
"description": "The parameters used to submit a new Data Lake Analytics job."
},
"CreateScopeJobParameters": {
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json
index 520955a36cb6..f3d02df1083d 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Build.json
@@ -1,85 +1,89 @@
{
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
"parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "parameters": {
- "type": "USql",
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
+ "type": "USql",
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
+ },
+ "name": "test_name"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
},
- "name": "test_name"
- }
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json
index b7ae114a3b7d..c39750162dab 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Cancel.json
@@ -1,12 +1,11 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json
index e2330dc879e9..f1c5fa864086 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Create.json
@@ -1,100 +1,104 @@
{
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
"parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "parameters": {
- "type": "USql",
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
+ "type": "USql",
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
+ },
+ "name": "test_name",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
},
- "name": "test_name",
- "degreeOfParallelism": 1,
- "priority": 1,
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json
index f73037f5ce56..f2d0d0c690d1 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_Get.json
@@ -1,77 +1,81 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- },
- "errorMessage": [{
- "description": "test_description",
- "details": "test_details",
- "endOffset": 1,
- "errorId": "test_error_id",
- "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "lineNumber": 1,
- "message": "test_message",
- "resolution": "test_resolution",
- "innerError": {
- "diagnosticCode": 1,
- "severity": "Warning",
- "details": "test_details",
- "component": "test_component",
- "errorId": "test_error_id",
- "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
- "internalDiagnostics": "test_internal_diagnostics",
- "message": "test_message",
- "resolution": "test_resolution",
- "source": "SYSTEM",
- "description": "test_description"
- },
- "severity": "Warning",
- "source": "SYSTEM",
- "startOffset": 1
- }],
- "stateAuditRecords": [{
- "newState": "test_new_state",
- "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
- "requestedByUser": "test_requested_by_user",
- "details": "test_details"
- }],
- "properties": {
- "runtimeVersion": "test_runtime_version",
- "script": "test_script",
- "type": "USql"
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
+ },
+ "errorMessage": [
+ {
+ "description": "test_description",
+ "details": "test_details",
+ "endOffset": 1,
+ "errorId": "test_error_id",
+ "filePath": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/test_file.txt",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "lineNumber": 1,
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "innerError": {
+ "diagnosticCode": 1,
+ "severity": "Warning",
+ "details": "test_details",
+ "component": "test_component",
+ "errorId": "test_error_id",
+ "helpLink": "https://azure.microsoft.com/en-us/blog/introducing-azure-data-lake/",
+ "internalDiagnostics": "test_internal_diagnostics",
+ "message": "test_message",
+ "resolution": "test_resolution",
+ "source": "SYSTEM",
+ "description": "test_description"
+ },
+ "severity": "Warning",
+ "source": "SYSTEM",
+ "startOffset": 1
+ }
+ ],
+ "stateAuditRecords": [
+ {
+ "newState": "test_new_state",
+ "timeStamp": "2017-04-18T11:16:49.0748958-07:00",
+ "requestedByUser": "test_requested_by_user",
+ "details": "test_details"
+ }
+ ],
+ "properties": {
+ "runtimeVersion": "test_runtime_version",
+ "script": "test_script",
+ "type": "USql"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json
index 7726d97fdc90..d7839a080d13 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetDebugDataPath.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "command": "test_command",
- "paths": [
- "test_path_1",
- "test_path_2"
- ]
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "command": "test_command",
+ "paths": [
+ "test_path_1",
+ "test_path_2"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json
index 3b240a387852..3015262ac05f 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_GetStatistics.json
@@ -1,38 +1,40 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
- },
- "responses": {
- "200": {
- "body": {
- "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
- "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
- "stages": [{
- "dataRead": 1,
- "dataReadCrossPod": 1,
- "dataReadIntraPod": 1,
- "dataToRead": 1,
- "dataWritten": 1,
- "duplicateDiscardCount": 1,
- "failedCount": 1,
- "maxVertexDataRead": 1,
- "minVertexDataRead": 1,
- "readFailureCount": 1,
- "revocationCount": 1,
- "runningCount": 1,
- "scheduledCount": 1,
- "stageName": "test_stage_name",
- "succeededCount": 1,
- "tempDataWritten": 1,
- "totalCount": 1,
- "totalFailedTime": "PT0S",
- "totalProgress": 1,
- "totalSucceededTime": "PT0S"
- }]
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "jobIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "lastUpdateTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
+ "finalizingTimeUtc": "2017-04-18T11:16:49.0748958-07:00",
+ "stages": [
+ {
+ "dataRead": 1,
+ "dataReadCrossPod": 1,
+ "dataReadIntraPod": 1,
+ "dataToRead": 1,
+ "dataWritten": 1,
+ "duplicateDiscardCount": 1,
+ "failedCount": 1,
+ "maxVertexDataRead": 1,
+ "minVertexDataRead": 1,
+ "readFailureCount": 1,
+ "revocationCount": 1,
+ "runningCount": 1,
+ "scheduledCount": 1,
+ "stageName": "test_stage_name",
+ "succeededCount": 1,
+ "tempDataWritten": 1,
+ "totalCount": 1,
+ "totalFailedTime": "PT0S",
+ "totalProgress": 1,
+ "totalSucceededTime": "PT0S"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json
index c15f4d3a332c..8fd9f03ecba5 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Job_List.json
@@ -1,46 +1,48 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "name": "test_name",
- "type": "USql",
- "submitter": "test_submitter",
- "degreeOfParallelism": 1,
- "priority": 1,
- "submitTime": "2017-04-18T11:16:49.0748958-07:00",
- "startTime": "2017-04-18T11:16:49.0748958-07:00",
- "endTime": "2017-04-18T11:16:49.0748958-07:00",
- "state": "Accepted",
- "result": "Succeeded",
- "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
- "logFilePatterns": [
- "test_log_file_pattern_1",
- "test_log_file_pattern_2"
- ],
- "related": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
- "recurrenceName": "test_recurrence_name"
- }
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "jobId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "name": "test_name",
+ "type": "USql",
+ "submitter": "test_submitter",
+ "degreeOfParallelism": 1,
+ "priority": 1,
+ "submitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "startTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endTime": "2017-04-18T11:16:49.0748958-07:00",
+ "state": "Accepted",
+ "result": "Succeeded",
+ "logFolder": "adl://contosoadla.azuredatalakestore.net/system/jobservice/jobs/Usql/2016/03/13/17/18/5fe51957-93bc-4de0-8ddc-c5a4753b068b/logs/",
+ "logFilePatterns": [
+ "test_log_file_pattern_1",
+ "test_log_file_pattern_2"
+ ],
+ "related": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "recurrenceId": "67034c12-b250-468e-992d-39fb978bde2d",
+ "recurrenceName": "test_recurrence_name"
}
- }
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json
index d0969ab1dead..902807b48173 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_Get.json
@@ -1,34 +1,36 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
- "runs": [{
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "recurrences": [
- "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
- "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
- ]
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "pipelineIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "runs": [
+ {
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "recurrences": [
+ "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
+ "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json
index bbaffcc35e5d..5a797c4b8f52 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Pipeline_List.json
@@ -1,36 +1,40 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "pipelineName": "test_pipeline_name",
- "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
- "runs": [{
- "runId": "67034c12-b250-468e-992d-39fb978bde2c",
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "recurrences": [
- "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
- "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
- ]
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "pipelineId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "pipelineName": "test_pipeline_name",
+ "pipelineUri": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00",
+ "runs": [
+ {
+ "runId": "67034c12-b250-468e-992d-39fb978bde2c",
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "recurrences": [
+ "2ba01f6c-562d-4246-90ff-0b8c2d10e346",
+ "da8dc3de-2fd8-4641-8968-40dbbf11e95f"
+ ]
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json
index 806b549a7c39..fcae5974bf10 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_Get.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "recurrenceName": "test_recurrence_name",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "recurrenceIdentity": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "recurrenceName": "test_recurrence_name",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json
index 8ee7ee002381..427e1a6b1725 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Adla_Recurrence_List.json
@@ -1,27 +1,29 @@
{
- "parameters": {
- "accountName": "account123",
- "adlaJobDnsSuffix": "contosopipelineservice.com",
- "api-version": "2016-11-01",
- "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
- "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
- "recurrenceName": "test_recurrence_name",
- "numJobsFailed": 1,
- "numJobsCanceled": 1,
- "numJobsSucceeded": 1,
- "auHoursFailed": 1.0,
- "auHoursCanceled": 1.0,
- "auHoursSucceeded": 1.0,
- "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
- }],
- "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
- }
- }
+ "parameters": {
+ "accountName": "account123",
+ "adlaJobDnsSuffix": "contosopipelineservice.com",
+ "api-version": "2016-11-01",
+ "startDateTime": "2017-04-18T11:16:49.0748958-07:00",
+ "endDateTime": "2017-04-18T11:16:49.0748958-07:00"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "recurrenceId": "076713da-9018-41ae-a3bd-9eab14e54d09",
+ "recurrenceName": "test_recurrence_name",
+ "numJobsFailed": 1,
+ "numJobsCanceled": 1,
+ "numJobsSucceeded": 1,
+ "auHoursFailed": 1.0,
+ "auHoursCanceled": 1.0,
+ "auHoursSucceeded": 1.0,
+ "lastSubmitTime": "2017-04-18T11:16:49.0748958-07:00"
+ }
+ ],
+ "nextLink": "https://account123.contosopipelineservice.com/076713da-9018-41ae-a3bd-9eab14e54d09"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json
index 3ecec8d20ed9..f8367c30e275 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateCredential.json
@@ -1,18 +1,17 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "credentialName": "test_credential_name",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "credentialName": "test_credential_name",
- "parameters": {
- "password": "test_password",
- "uri": "test_host:8000",
- "userId": "test_user_id"
- }
- },
- "responses": {
- "200": {
- }
+ "password": "test_password",
+ "uri": "test_host:8000",
+ "userId": "test_user_id"
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json
index 610d09b19144..fc541925934e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_CreateSecret.json
@@ -1,17 +1,16 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "secretName": "test_secret_name",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "secretName": "test_secret_name",
- "parameters": {
- "password": "test_password",
- "uri": "test_host:8000"
- }
- },
- "responses": {
- "200": {
- }
+ "password": "test_password",
+ "uri": "test_host:8000"
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json
index 9e8b91296054..67403b1fb40e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteAllSecrets.json
@@ -1,12 +1,11 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master"
- },
- "responses": {
- "200": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json
index 735406634a0c..ff464fb20a93 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteCredential.json
@@ -1,17 +1,16 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "credentialName": "test_credential_name",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "credentialName": "test_credential_name",
- "parameters": {
- "password": "test_password"
- },
- "cascade": false
+ "password": "test_password"
},
- "responses": {
- "200": {
- }
- }
+ "cascade": false
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json
index 62d68222eee3..6f27e947a052 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_DeleteSecret.json
@@ -1,13 +1,12 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "secretName": "test_secret_name"
- },
- "responses": {
- "200": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "secretName": "test_secret_name"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json
index 821a7d192e6e..e583c97819ba 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetAssembly.json
@@ -1,38 +1,42 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "assemblyName": "test_assembly_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
- "assemblyName": "test_assembly_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "assemblyName": "test_assembly_name",
- "clrName": "test_clr_name",
- "isVisible": false,
- "isUserDefined": false,
- "files": [{
- "type": "Assembly",
- "originalPath": "test_original_path",
- "contentPath": "test_content_path"
- }],
- "dependencies": [{
- "entityId": {
- "name": {
- "firstPart": "test_first_part",
- "secondPart": "test_second_part",
- "thirdPart": "test_third_part",
- "server": "test_server"
- },
- "version":"34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- }
- }]
+ "assemblyName": "test_assembly_name",
+ "clrName": "test_clr_name",
+ "isVisible": false,
+ "isUserDefined": false,
+ "files": [
+ {
+ "type": "Assembly",
+ "originalPath": "test_original_path",
+ "contentPath": "test_content_path"
+ }
+ ],
+ "dependencies": [
+ {
+ "entityId": {
+ "name": {
+ "firstPart": "test_first_part",
+ "secondPart": "test_second_part",
+ "thirdPart": "test_third_part",
+ "server": "test_server"
+ },
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
}
- }
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json
index ed310d3c0249..481038e559da 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetCredential.json
@@ -1,18 +1,18 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "credentialName": "test_credential_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"credentialName": "test_credential_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "credentialName": "test_credential_name"
- }
- }
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json
index ae7ce0caba76..af15531c676d 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetDatabase.json
@@ -1,17 +1,17 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master"
- }
- }
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json
index 0109800c719a..4353518b82c1 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetExternalDataSource.json
@@ -1,24 +1,24 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "externalDataSourceName": "test_external_data_source_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
- "externalDataSourceName": "test_external_data_source_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "externalDataSourceName": "test_external_data_source_name",
- "provider": "test_provider",
- "providerString": "test_provider_string",
- "pushdownTypes": [
- "test_pushdown_type"
- ]
- }
- }
+ "externalDataSourceName": "test_external_data_source_name",
+ "provider": "test_provider",
+ "providerString": "test_provider_string",
+ "pushdownTypes": [
+ "test_pushdown_type"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json
index fb123d4c667d..c91926a60b87 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetPackage.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "packageName": "test_package_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "packageName": "test_package_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "packageName": "test_package_name",
- "definition": "test_definition"
- }
- }
+ "packageName": "test_package_name",
+ "definition": "test_definition"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json
index 1c4339bbc95d..c931fc1dbba6 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetProcedure.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "procedureName": "test_procedure_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "procedureName": "test_procedure_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "procName": "test_proc_name",
- "definition": "test_definition"
- }
- }
+ "procName": "test_proc_name",
+ "definition": "test_definition"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json
index 66c62125e3e9..36c9a9693031 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSchema.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo"
- }
- }
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json
index 454a4557f4aa..a40c57830525 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetSecret.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "secretName": "test_secret_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
- "secretName": "test_secret_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "secretName": "test_secret_name",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "uri": "test_host:8000",
- "password": "test_password"
- }
- }
+ "secretName": "test_secret_name",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "uri": "test_host:8000",
+ "password": "test_password"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json
index 3914fa94a342..86e10aa2ed4e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTable.json
@@ -1,78 +1,88 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "tableName": "test_table_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "columnList": [{
- "name": "test_column_name",
- "type": "test_type"
- }],
- "indexList": [{
- "name": "test_index_name",
- "indexKeys": [{
- "name": "test_index_key",
- "descending": false
- }],
- "columns": [
- "test_column"
- ],
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
- },
- "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "partitionKeyList": [
- "test_partition_key"
- ],
- "streamNames": [
- "test_stream_name"
- ],
- "isColumnstore": false,
- "indexId": 1,
- "isUnique": false
- }],
- "partitionKeyList":[
- "test_partition_key"
- ],
- "externalTable": {
- "tableName":"test_table_name",
- "dataSource": {
- "name": {
- "firstPart": "test_first_part",
- "secondPart": "test_second_part",
- "thirdPart": "test_third_part",
- "server": "test_server"
- },
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- }
- },
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
+ "tableName": "test_table_name",
+ "columnList": [
+ {
+ "name": "test_column_name",
+ "type": "test_type"
+ }
+ ],
+ "indexList": [
+ {
+ "name": "test_index_name",
+ "indexKeys": [
+ {
+ "name": "test_index_key",
+ "descending": false
+ }
+ ],
+ "columns": [
+ "test_column"
+ ],
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
}
+ ],
+ "count": 1,
+ "dynamicCount": 1
+ },
+ "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "streamNames": [
+ "test_stream_name"
+ ],
+ "isColumnstore": false,
+ "indexId": 1,
+ "isUnique": false
+ }
+ ],
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "externalTable": {
+ "tableName": "test_table_name",
+ "dataSource": {
+ "name": {
+ "firstPart": "test_first_part",
+ "secondPart": "test_second_part",
+ "thirdPart": "test_third_part",
+ "server": "test_server"
+ },
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
+ }
+ },
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
}
+ ],
+ "count": 1,
+ "dynamicCount": 1
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json
index e367e0e3d105..a288c553e3e3 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTablePartition.json
@@ -1,29 +1,29 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "partitionName": "test_partition_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "tableName": "test_table_name",
- "partitionName": "test_partition_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "partitionName": "test_partition_name",
- "parentName": "test_parent_name",
- "indexId": 1,
- "label": [
- "test_label_1",
- "test_label_2"
- ],
- "createDate": "2017-04-14T13:21:56.6819037-07:00"
- }
- }
+ "partitionName": "test_partition_name",
+ "parentName": "test_parent_name",
+ "indexId": 1,
+ "label": [
+ "test_label_1",
+ "test_label_2"
+ ],
+ "createDate": "2017-04-14T13:21:56.6819037-07:00"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json
index 0b41a3b773e2..0a5f83294d82 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableStatistic.json
@@ -1,35 +1,35 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "statisticsName": "test_statistics_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
"tableName": "test_table_name",
- "statisticsName": "test_statistics_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "statisticsName": "test_statistics_name",
- "userStatName": "test_user_stat_name",
- "statDataPath": "test_stat_data_path",
- "createTime": "2017-04-14T13:21:56.6819037-07:00",
- "updateTime": "2017-04-14T13:21:56.6819037-07:00",
- "isUserCreated": false,
- "isAutoCreated": false,
- "hasFilter": false,
- "filterDefinition": "test_filter_definition",
- "colNames": [
- "test_column_name_1",
- "test_column_name_2"
- ]
- }
- }
+ "statisticsName": "test_statistics_name",
+ "userStatName": "test_user_stat_name",
+ "statDataPath": "test_stat_data_path",
+ "createTime": "2017-04-14T13:21:56.6819037-07:00",
+ "updateTime": "2017-04-14T13:21:56.6819037-07:00",
+ "isUserCreated": false,
+ "isAutoCreated": false,
+ "hasFilter": false,
+ "filterDefinition": "test_filter_definition",
+ "colNames": [
+ "test_column_name_1",
+ "test_column_name_2"
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json
index 22b244d4c67c..1eff65de8aee 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableType.json
@@ -1,37 +1,39 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableTypeName": "test_table_type_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "tableTypeName": "test_table_type_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "typeName": "test_type_name",
- "typeFamily": "test_type_family",
- "cSharpName": "test_csharp_name",
- "fullCSharpName": "test_full_csharp_name",
- "systemTypeId": 1,
- "userTypeId": 2,
- "schemaId": 3,
- "principalId": 4,
- "isNullable": false,
- "isUserDefined": false,
- "isAssemblyType": false,
- "isTableType": false,
- "isComplexType": false,
- "columns":[{
- "name": "test_column_name",
- "type": "test_column_type"
- }]
- }
- }
+ "typeName": "test_type_name",
+ "typeFamily": "test_type_family",
+ "cSharpName": "test_csharp_name",
+ "fullCSharpName": "test_full_csharp_name",
+ "systemTypeId": 1,
+ "userTypeId": 2,
+ "schemaId": 3,
+ "principalId": 4,
+ "isNullable": false,
+ "isUserDefined": false,
+ "isAssemblyType": false,
+ "isTableType": false,
+ "isComplexType": false,
+ "columns": [
+ {
+ "name": "test_column_name",
+ "type": "test_column_type"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json
index e50c8a3eeb7f..153f7dd218ad 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetTableValuedFunction.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableValuedFunctionName": "test_table_valued_function_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "tableValuedFunctionName": "test_table_valued_function_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tvfName": "test_tvf_name",
- "definition": "test_definition"
- }
- }
+ "tvfName": "test_tvf_name",
+ "definition": "test_definition"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json
index d8e521763c0d..8cbb54a2b8a9 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GetView.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "viewName": "test_view_name"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"schemaName": "dbo",
- "viewName": "test_view_name"
- },
- "responses": {
- "200": {
- "body": {
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "viewName": "test_view_name",
- "definition": "test_definition"
- }
- }
+ "viewName": "test_view_name",
+ "definition": "test_definition"
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json
index 527eab876111..b3a323473d5e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAcl.json
@@ -1,17 +1,16 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "parameters": {
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "permission": "Use"
- },
- "op": "GRANTACE"
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "permission": "Use"
},
- "responses": {
- "200": {
- }
- }
+ "op": "GRANTACE"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json
index e1161b4d68b3..d4a3090912f1 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_GrantAclToDatabase.json
@@ -1,18 +1,17 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "parameters": {
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "permission": "Use"
- },
- "op": "GRANTACE"
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "permission": "Use"
},
- "responses": {
- "200": {
- }
- }
+ "op": "GRANTACE"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json
index 3520a5c8814c..bd6e131eae46 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAcls.json
@@ -1,25 +1,27 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "permission": "Use"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "permission": "Use"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json
index ad3a6f9e928b..e6b3957b23e9 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAclsByDatabase.json
@@ -1,26 +1,28 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "permission": "Use"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "permission": "Use"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json
index f29786e3e431..032cf60bbd11 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListAssemblies.json
@@ -1,28 +1,30 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "assemblyClrName": "test_assembly_clr_name",
- "clrName": "test_clr_name"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "assemblyClrName": "test_assembly_clr_name",
+ "clrName": "test_clr_name"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json
index 3666ea447370..0a8ffdf18fae 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListCredentials.json
@@ -1,26 +1,28 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "credentialName": "test_credential_name"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "credentialName": "test_credential_name"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json
index 8afb3c82c79e..28f7387f8967 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListDatabases.json
@@ -1,25 +1,27 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json
index cfff2b00bd17..8cbdc9aa261c 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListExternalDataSources.json
@@ -1,32 +1,34 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "externalDataSourceName": "test_external_data_source_name",
- "provider": "test_provider",
- "providerString": "test_provider_string",
- "pushdownTypes": [
- "test_pushdown_type"
- ]
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "externalDataSourceName": "test_external_data_source_name",
+ "provider": "test_provider",
+ "providerString": "test_provider_string",
+ "pushdownTypes": [
+ "test_pushdown_type"
+ ]
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json
index db0b0831a2d3..6ae2c538ca6a 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListPackages.json
@@ -1,30 +1,32 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "packageName": "test_package_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "packageName": "test_package_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json
index 63711b33ff73..ebf232895732 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListProcedures.json
@@ -1,30 +1,32 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "procName": "test_proc_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "procName": "test_proc_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json
index 4e7662b58658..c36946981f01 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListSchemas.json
@@ -1,27 +1,29 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json
index f9404d635a04..77ddc357b11f 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableFragments.json
@@ -1,32 +1,34 @@
{
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
},
"responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/tables/test_table_name/tablefragments?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "parentId": "9d2d7abd-c641-4ddb-88ab-90cafdfe1c1b",
- "fragmentId": "797d2643-eed9-4900-8090-0f8ddd9e8ba7",
- "indexId": 1,
- "size": 33786,
- "rowCount": 1,
- "createDate": "2017-10-11T06:38:31.567-07:00",
- "streamPath":"catalog/database/86bf2a20-b511-48c8-91c5-1f73c4c0ec74/schema/b83d3be1-9e11-40b7-85f9-ad823efe2414/table/1e666ab1-d6f0-4990-8180-1a6160caf405/91193f18-06dd-47a2-96fa-2cca3b4777e1.ss"
- }]
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/tables/test_table_name/tablefragments?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "parentId": "9d2d7abd-c641-4ddb-88ab-90cafdfe1c1b",
+ "fragmentId": "797d2643-eed9-4900-8090-0f8ddd9e8ba7",
+ "indexId": 1,
+ "size": 33786,
+ "rowCount": 1,
+ "createDate": "2017-10-11T06:38:31.567-07:00",
+ "streamPath": "catalog/database/86bf2a20-b511-48c8-91c5-1f73c4c0ec74/schema/b83d3be1-9e11-40b7-85f9-ad823efe2414/table/1e666ab1-d6f0-4990-8180-1a6160caf405/91193f18-06dd-47a2-96fa-2cca3b4777e1.ss"
}
+ ]
}
+ }
}
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json
index bd2d66de562a..249a45c53d58 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablePartitions.json
@@ -1,37 +1,39 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "partitionName": "test_partition_name",
- "parentName": "test_parent_name",
- "indexId": 1,
- "label": [
- "test_label_1",
- "test_label_2"
- ],
- "createDate": "2017-04-14T13:21:56.6819037-07:00"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "partitionName": "test_partition_name",
+ "parentName": "test_parent_name",
+ "indexId": 1,
+ "label": [
+ "test_label_1",
+ "test_label_2"
+ ],
+ "createDate": "2017-04-14T13:21:56.6819037-07:00"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json
index acd9670cb21e..391f98fa93d4 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatistics.json
@@ -1,43 +1,45 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_view_name",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "statisticsName": "test_statistics_name",
- "userStatName": "test_user_stat_name",
- "statDataPath": "test_stat_data_path",
- "createTime": "2017-04-14T13:21:56.6819037-07:00",
- "updateTime": "2017-04-14T13:21:56.6819037-07:00",
- "isUserCreated": false,
- "isAutoCreated": false,
- "hasFilter": false,
- "filterDefinition": "test_filter_definition",
- "colNames": [
- "test_column_name_1",
- "test_column_name_2"
- ]
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_view_name",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "statisticsName": "test_statistics_name",
+ "userStatName": "test_user_stat_name",
+ "statDataPath": "test_stat_data_path",
+ "createTime": "2017-04-14T13:21:56.6819037-07:00",
+ "updateTime": "2017-04-14T13:21:56.6819037-07:00",
+ "isUserCreated": false,
+ "isAutoCreated": false,
+ "hasFilter": false,
+ "filterDefinition": "test_filter_definition",
+ "colNames": [
+ "test_column_name_1",
+ "test_column_name_2"
+ ]
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json
index 4b61e4daafba..dcaf31d18e34 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabase.json
@@ -1,41 +1,43 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "statisticsName": "test_statistics_name",
- "userStatName": "test_user_stat_name",
- "statDataPath": "test_stat_data_path",
- "createTime": "2017-04-14T13:21:56.6819037-07:00",
- "updateTime": "2017-04-14T13:21:56.6819037-07:00",
- "isUserCreated": false,
- "isAutoCreated": false,
- "hasFilter": false,
- "filterDefinition": "test_filter_definition",
- "colNames": [
- "test_column_name_1",
- "test_column_name_2"
- ]
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "statisticsName": "test_statistics_name",
+ "userStatName": "test_user_stat_name",
+ "statDataPath": "test_stat_data_path",
+ "createTime": "2017-04-14T13:21:56.6819037-07:00",
+ "updateTime": "2017-04-14T13:21:56.6819037-07:00",
+ "isUserCreated": false,
+ "isAutoCreated": false,
+ "hasFilter": false,
+ "filterDefinition": "test_filter_definition",
+ "colNames": [
+ "test_column_name_1",
+ "test_column_name_2"
+ ]
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json
index 5bc1acc5e772..e290189fce55 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableStatisticsByDatabaseAndSchema.json
@@ -1,42 +1,44 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "statisticsName": "test_statistics_name",
- "userStatName": "test_user_stat_name",
- "statDataPath": "test_stat_data_path",
- "createTime": "2017-04-14T13:21:56.6819037-07:00",
- "updateTime": "2017-04-14T13:21:56.6819037-07:00",
- "isUserCreated": false,
- "isAutoCreated": false,
- "hasFilter": false,
- "filterDefinition": "test_filter_definition",
- "colNames": [
- "test_column_name_1",
- "test_column_name_2"
- ]
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "statisticsName": "test_statistics_name",
+ "userStatName": "test_user_stat_name",
+ "statDataPath": "test_stat_data_path",
+ "createTime": "2017-04-14T13:21:56.6819037-07:00",
+ "updateTime": "2017-04-14T13:21:56.6819037-07:00",
+ "isUserCreated": false,
+ "isAutoCreated": false,
+ "hasFilter": false,
+ "filterDefinition": "test_filter_definition",
+ "colNames": [
+ "test_column_name_1",
+ "test_column_name_2"
+ ]
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json
index d6320995ae46..5b669d598e31 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableTypes.json
@@ -1,45 +1,49 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "typeName": "test_type_name",
- "typeFamily": "test_type_family",
- "cSharpName": "test_csharp_name",
- "fullCSharpName": "test_full_csharp_name",
- "systemTypeId": 1,
- "userTypeId": 2,
- "schemaId": 3,
- "principalId": 4,
- "isNullable": false,
- "isUserDefined": false,
- "isAssemblyType": false,
- "isTableType": false,
- "isComplexType": false,
- "columns":[{
- "name": "test_column_name",
- "type": "test_column_type"
- }]
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "typeName": "test_type_name",
+ "typeFamily": "test_type_family",
+ "cSharpName": "test_csharp_name",
+ "fullCSharpName": "test_full_csharp_name",
+ "systemTypeId": 1,
+ "userTypeId": 2,
+ "schemaId": 3,
+ "principalId": 4,
+ "isNullable": false,
+ "isUserDefined": false,
+ "isAssemblyType": false,
+ "isTableType": false,
+ "isComplexType": false,
+ "columns": [
+ {
+ "name": "test_column_name",
+ "type": "test_column_type"
+ }
+ ]
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json
index 9a2cbc27567c..f41ad0d80d3e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctions.json
@@ -1,30 +1,32 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tvfName": "test_tvf_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tvfName": "test_tvf_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json
index cc92fbd51b46..9deeee909f0a 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTableValuedFunctionsByDatabase.json
@@ -1,29 +1,31 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tvfName": "test_tvf_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tvfName": "test_tvf_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json
index 8b09461b6b9e..6cc1ae432ff4 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTables.json
@@ -1,87 +1,99 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false,
- "basic": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "columnList": [{
- "name": "test_column_name",
- "type": "test_type"
- }],
- "indexList": [{
- "name": "test_index_name",
- "indexKeys": [{
- "name": "test_index_key",
- "descending": false
- }],
- "columns": [
- "test_column"
- ],
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
- },
- "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "partitionKeyList": [
- "test_partition_key"
- ],
- "streamNames": [
- "test_stream_name"
- ],
- "isColumnstore": false,
- "indexId": 1,
- "isUnique": false
- }],
- "partitionKeyList":[
- "test_partition_key"
- ],
- "externalTable": {
- "tableName":"test_table_name",
- "dataSource": {
- "name": {
- "firstPart": "test_first_part",
- "secondPart": "test_second_part",
- "thirdPart": "test_third_part",
- "server": "test_server"
- },
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- }
- },
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false,
+ "basic": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "columnList": [
+ {
+ "name": "test_column_name",
+ "type": "test_type"
+ }
+ ],
+ "indexList": [
+ {
+ "name": "test_index_name",
+ "indexKeys": [
+ {
+ "name": "test_index_key",
+ "descending": false
+ }
+ ],
+ "columns": [
+ "test_column"
+ ],
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
}
- }]
+ ],
+ "count": 1,
+ "dynamicCount": 1
+ },
+ "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "streamNames": [
+ "test_stream_name"
+ ],
+ "isColumnstore": false,
+ "indexId": 1,
+ "isUnique": false
+ }
+ ],
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "externalTable": {
+ "tableName": "test_table_name",
+ "dataSource": {
+ "name": {
+ "firstPart": "test_first_part",
+ "secondPart": "test_second_part",
+ "thirdPart": "test_third_part",
+ "server": "test_server"
+ },
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
+ }
+ },
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
+ }
+ ],
+ "count": 1,
+ "dynamicCount": 1
}
- }
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json
index 422319648d42..11be556867eb 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTablesByDatabase.json
@@ -1,86 +1,98 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false,
- "basic": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "tableName": "test_table_name",
- "columnList": [{
- "name": "test_column_name",
- "type": "test_type"
- }],
- "indexList": [{
- "name": "test_index_name",
- "indexKeys": [{
- "name": "test_index_key",
- "descending": false
- }],
- "columns": [
- "test_column"
- ],
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
- },
- "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "partitionKeyList": [
- "test_partition_key"
- ],
- "streamNames": [
- "test_stream_name"
- ],
- "isColumnstore": false,
- "indexId": 1,
- "isUnique": false
- }],
- "partitionKeyList":[
- "test_partition_key"
- ],
- "externalTable": {
- "tableName":"test_table_name",
- "dataSource": {
- "name": {
- "firstPart": "test_first_part",
- "secondPart": "test_second_part",
- "thirdPart": "test_third_part",
- "server": "test_server"
- },
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- }
- },
- "distributionInfo": {
- "type": 1,
- "keys": [{
- "name": "test_key",
- "descending": false
- }],
- "count": 1,
- "dynamicCount": 1
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false,
+ "basic": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "tableName": "test_table_name",
+ "columnList": [
+ {
+ "name": "test_column_name",
+ "type": "test_type"
+ }
+ ],
+ "indexList": [
+ {
+ "name": "test_index_name",
+ "indexKeys": [
+ {
+ "name": "test_index_key",
+ "descending": false
+ }
+ ],
+ "columns": [
+ "test_column"
+ ],
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
}
- }]
+ ],
+ "count": 1,
+ "dynamicCount": 1
+ },
+ "partitionFunction": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "streamNames": [
+ "test_stream_name"
+ ],
+ "isColumnstore": false,
+ "indexId": 1,
+ "isUnique": false
+ }
+ ],
+ "partitionKeyList": [
+ "test_partition_key"
+ ],
+ "externalTable": {
+ "tableName": "test_table_name",
+ "dataSource": {
+ "name": {
+ "firstPart": "test_first_part",
+ "secondPart": "test_second_part",
+ "thirdPart": "test_third_part",
+ "server": "test_server"
+ },
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
+ }
+ },
+ "distributionInfo": {
+ "type": 1,
+ "keys": [
+ {
+ "name": "test_key",
+ "descending": false
+ }
+ ],
+ "count": 1,
+ "dynamicCount": 1
}
- }
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json
index a12fd57d00fa..b991a45f0222 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListTypes.json
@@ -1,41 +1,43 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value": [{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "typeName": "test_type_name",
- "typeFamily": "test_type_family",
- "cSharpName": "test_csharp_name",
- "fullCSharpName": "test_full_csharp_name",
- "systemTypeId": 1,
- "userTypeId": 2,
- "schemaId": 3,
- "principalId": 4,
- "isNullable": false,
- "isUserDefined": false,
- "isAssemblyType": false,
- "isTableType": false,
- "isComplexType": false
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "typeName": "test_type_name",
+ "typeFamily": "test_type_family",
+ "cSharpName": "test_csharp_name",
+ "fullCSharpName": "test_full_csharp_name",
+ "systemTypeId": 1,
+ "userTypeId": 2,
+ "schemaId": 3,
+ "principalId": 4,
+ "isNullable": false,
+ "isUserDefined": false,
+ "isAssemblyType": false,
+ "isTableType": false,
+ "isComplexType": false
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json
index 045583455676..19bff1292cd3 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViews.json
@@ -1,30 +1,32 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "schemaName": "dbo",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "viewName": "test_view_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "viewName": "test_view_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json
index f9558d85d6eb..9dd93b72804a 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_ListViewsByDatabase.json
@@ -1,29 +1,31 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "nextLink":"https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
- "value":[{
- "computeAccountName": "contosoadla",
- "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "databaseName": "master",
- "schemaName": "dbo",
- "viewName": "test_view_name",
- "definition": "test_definition"
- }]
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nextLink": "https://contosoadla.datalakeanalytics.net/catalog/usql/databases/master/schema/dbo/statistics?api-version=2016-11-01&%24skiptoken=",
+ "value": [
+ {
+ "computeAccountName": "contosoadla",
+ "version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "databaseName": "master",
+ "schemaName": "dbo",
+ "viewName": "test_view_name",
+ "definition": "test_definition"
+ }
+ ]
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json
index c37b49068e35..7c22cb6fd567 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAcl.json
@@ -1,16 +1,15 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "parameters": {
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- },
- "op": "REVOKEACE"
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
},
- "responses": {
- "200": {
- }
- }
+ "op": "REVOKEACE"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json
index 28ecb0f98ab9..c0efcc099e1c 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_RevokeAclFromDatabase.json
@@ -1,17 +1,16 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "parameters": {
- "aceType": "User",
- "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
- },
- "op": "REVOKEACE"
+ "aceType": "User",
+ "principalId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
},
- "responses": {
- "200": {
- }
- }
+ "op": "REVOKEACE"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json
index 2771e90ee959..94d512da1ecf 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateCredential.json
@@ -1,19 +1,18 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "credentialName": "test_credential_name",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "credentialName": "test_credential_name",
- "parameters": {
- "password": "test_password",
- "newPassword": "test_new_password",
- "uri": "test_host:8000",
- "userId": "test_user_id"
- }
- },
- "responses": {
- "200": {
- }
+ "password": "test_password",
+ "newPassword": "test_new_password",
+ "uri": "test_host:8000",
+ "userId": "test_user_id"
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json
index 610d09b19144..fc541925934e 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Catalog_UpdateSecret.json
@@ -1,17 +1,16 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "accountName": "contosoadla",
+ "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
+ "databaseName": "master",
+ "secretName": "test_secret_name",
"parameters": {
- "api-version": "2016-11-01",
- "accountName": "contosoadla",
- "adlaCatalogDnsSuffix": "azuredatalakeanalytics.net",
- "databaseName": "master",
- "secretName": "test_secret_name",
- "parameters": {
- "password": "test_password",
- "uri": "test_host:8000"
- }
- },
- "responses": {
- "200": {
- }
+ "password": "test_password",
+ "uri": "test_host:8000"
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json
index 128dc2377633..ab484fbbba3a 100644
--- a/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json
+++ b/specification/datalake-analytics/data-plane/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json
@@ -43,7 +43,9 @@
"operationId": "Pipeline_List",
"description": "Lists all pipelines.",
"x-ms-examples": {
- "Lists all pipelines": { "$ref": "./examples/Adla_Pipeline_List.json" }
+ "Lists all pipelines": {
+ "$ref": "./examples/Adla_Pipeline_List.json"
+ }
},
"parameters": [
{
@@ -87,7 +89,9 @@
"operationId": "Pipeline_Get",
"description": "Gets the Pipeline information for the specified pipeline ID.",
"x-ms-examples": {
- "Gets the Pipeline information for the specified pipeline ID": { "$ref": "./examples/Adla_Pipeline_Get.json" }
+ "Gets the Pipeline information for the specified pipeline ID": {
+ "$ref": "./examples/Adla_Pipeline_Get.json"
+ }
},
"parameters": [
{
@@ -136,7 +140,9 @@
"operationId": "Recurrence_List",
"description": "Lists all recurrences.",
"x-ms-examples": {
- "Lists all recurrences": { "$ref": "./examples/Adla_Recurrence_List.json" }
+ "Lists all recurrences": {
+ "$ref": "./examples/Adla_Recurrence_List.json"
+ }
},
"parameters": [
{
@@ -180,7 +186,9 @@
"operationId": "Recurrence_Get",
"description": "Gets the recurrence information for the specified recurrence ID.",
"x-ms-examples": {
- "Gets the recurrence information for the specified recurrence ID": { "$ref": "./examples/Adla_Recurrence_Get.json" }
+ "Gets the recurrence information for the specified recurrence ID": {
+ "$ref": "./examples/Adla_Recurrence_Get.json"
+ }
},
"parameters": [
{
@@ -229,7 +237,9 @@
"operationId": "Job_GetStatistics",
"description": "Gets statistics of the specified job.",
"x-ms-examples": {
- "Gets statistics of the specified job": { "$ref": "./examples/Adla_Job_GetStatistics.json" }
+ "Gets statistics of the specified job": {
+ "$ref": "./examples/Adla_Job_GetStatistics.json"
+ }
},
"parameters": [
{
@@ -262,7 +272,9 @@
"operationId": "Job_GetDebugDataPath",
"description": "Gets the job debug data information specified by the job ID.",
"x-ms-examples": {
- "Gets the job debug data information specified by the job ID": { "$ref": "./examples/Adla_Job_GetDebugDataPath.json" }
+ "Gets the job debug data information specified by the job ID": {
+ "$ref": "./examples/Adla_Job_GetDebugDataPath.json"
+ }
},
"parameters": [
{
@@ -295,7 +307,9 @@
"operationId": "Job_Build",
"description": "Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation.",
"x-ms-examples": {
- "Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation": { "$ref": "./examples/Adla_Job_Build.json" }
+ "Builds (compiles) the specified job in the specified Data Lake Analytics account for job correctness and validation": {
+ "$ref": "./examples/Adla_Job_Build.json"
+ }
},
"parameters": [
{
@@ -329,7 +343,9 @@
"operationId": "Job_Cancel",
"description": "Cancels the running job specified by the job ID.",
"x-ms-examples": {
- "Cancels the running job specified by the job ID": { "$ref": "./examples/Adla_Job_Cancel.json" }
+ "Cancels the running job specified by the job ID": {
+ "$ref": "./examples/Adla_Job_Cancel.json"
+ }
},
"parameters": [
{
@@ -359,7 +375,9 @@
"operationId": "Job_Create",
"description": "Submits a job to the specified Data Lake Analytics account.",
"x-ms-examples": {
- "Submits a job to the specified Data Lake Analytics account": { "$ref": "./examples/Adla_Job_Create.json" }
+ "Submits a job to the specified Data Lake Analytics account": {
+ "$ref": "./examples/Adla_Job_Create.json"
+ }
},
"parameters": [
{
@@ -399,7 +417,9 @@
"operationId": "Job_Get",
"description": "Gets the job information for the specified job ID.",
"x-ms-examples": {
- "Gets the job information for the specified job ID": { "$ref": "./examples/Adla_Job_Get.json" }
+ "Gets the job information for the specified job ID": {
+ "$ref": "./examples/Adla_Job_Get.json"
+ }
},
"parameters": [
{
@@ -432,7 +452,9 @@
"operationId": "Job_List",
"description": "Lists the jobs, if any, associated with the specified Data Lake Analytics account. The response includes a link to the next page of results, if any.",
"x-ms-examples": {
- "Lists the jobs, if any, associated with the specified Data Lake Analytics account": { "$ref": "./examples/Adla_Job_List.json" }
+ "Lists the jobs, if any, associated with the specified Data Lake Analytics account": {
+ "$ref": "./examples/Adla_Job_List.json"
+ }
},
"parameters": [
{
@@ -1655,7 +1677,7 @@
"default": "azuredatalakeanalytics.net",
"x-ms-skip-url-encoding": true,
"description": "Gets the DNS suffix used as the base for all Azure Data Lake Analytics Job service requests.",
- "x-ms-parameter-location":"client"
+ "x-ms-parameter-location": "client"
}
}
}
diff --git a/specification/datalake-analytics/data-plane/readme.md b/specification/datalake-analytics/data-plane/readme.md
index f5b05e4a9c9a..8e1d6cbe2fbb 100644
--- a/specification/datalake-analytics/data-plane/readme.md
+++ b/specification/datalake-analytics/data-plane/readme.md
@@ -200,3 +200,33 @@ batch:
- package-catalog: true
- package-job: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DataLakeAnalytics/stable/2016-11-01/catalog.json
+ - $(this-folder)/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/catalog.json
+ - $(this-folder)/Microsoft.DataLakeAnalytics/preview/2017-09-01-preview/job.json
+ - $(this-folder)/Microsoft.DataLakeAnalytics/stable/2016-11-01/job.json
+ - $(this-folder)/Microsoft.DataLakeAnalytics/preview/2016-03-20-preview/job.json
+ - $(this-folder)/Microsoft.DataLakeAnalytics/preview/2015-11-01-preview/job.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json
index 5f6b962a58d2..540b83710b8c 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_CheckNameAvailability.json
@@ -1,20 +1,20 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "location": "EastUS2",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "location": "EastUS2",
- "parameters": {
- "name": "contosoadla",
- "type": "Microsoft.DataLakeAnalytics/accounts"
- }
- },
- "responses": {
- "200": {
- "body": {
- "nameAvailable": false,
- "reason": "AlreadyExists",
- "message": "An account named 'abc' already exists."
- }
- }
+ "name": "contosoadla",
+ "type": "Microsoft.DataLakeAnalytics/accounts"
}
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailable": false,
+ "reason": "AlreadyExists",
+ "message": "An account named 'abc' already exists."
+ }
+ }
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json
index c37a85108dbc..ed48cf8913f3 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Create.json
@@ -1,190 +1,214 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "parameters": {
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "name": "test_adls",
"properties": {
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "name": "test_adls",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "name": "test_storage",
- "properties": {
- "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "name": "test_policy",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "name": "test_rule",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "maxJobCount": 3,
- "maxDegreeOfParallelism": 30,
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "name": "test_storage",
+ "properties": {
+ "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "name": "test_policy",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "name": "test_rule",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "maxJobCount": 3,
+ "maxDegreeOfParallelism": 30,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
"maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
+ "minPriorityPerJob": 1
+ }
}
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
},
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
}
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json
index 324b2630a98a..1a07094bb30b 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Delete.json
@@ -1,16 +1,13 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla"
- },
- "responses": {
- "200": {
- },
- "202": {
- },
- "204": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json
index a23b56e134bb..18c39e8c95bb 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Get.json
@@ -1,77 +1,85 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
}
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json
index 35783421c127..f53524c11613 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_List.json
@@ -1,36 +1,38 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_account",
- "type": "test_type",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_account",
+ "type": "test_type",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json
index ed943f7e8615..a016492f43b2 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_ListByResourceGroup.json
@@ -1,37 +1,39 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_account",
- "type": "test_type",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_account",
+ "type": "test_type",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json
index 8c4cb32d43a6..5bb75f25eb15 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Accounts_Update.json
@@ -1,242 +1,270 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "parameters": {
- "tags": {
- "test_key": "test_value"
- },
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "computePolicies": [
+ {
+ "name": "test_policy",
"properties": {
- "computePolicies": [{
- "name": "test_policy",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "name": "test_rule",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "maxJobCount": 1,
- "maxDegreeOfParallelism": 1,
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "name": "test_rule",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "maxJobCount": 1,
+ "maxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 1
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
+ },
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
"maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 1
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
}
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
},
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
}
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
+ "name": "test_account",
+ "type": "Microsoft.DataLakeAnalytics/accounts",
+ "location": "eastus2",
+ "tags": {
+ "test_key": "test_value"
},
- "202": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
- "name": "test_account",
- "type": "Microsoft.DataLakeAnalytics/accounts",
- "location": "eastus2",
- "tags": {
- "test_key": "test_value"
- },
- "properties": {
- "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "provisioningState": "Succeeded",
- "state": "Active",
- "creationTime": "2017-04-14T13:21:56.6819037-07:00",
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
- "endpoint": "test_endpoint",
- "defaultDataLakeStoreAccount": "test_adls",
- "dataLakeStoreAccounts": [{
- "id": "test_adls_id",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "storageAccounts": [{
- "id": "test_storage_id",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "computePolicies": [{
- "id": "test_policy_id",
- "name": "test_policy",
- "type": "test_type",
- "properties": {
- "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1
- }
- }],
- "firewallRules": [{
- "id": "test_firewall_id",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "firewallState": "Enabled",
- "firewallAllowAzureIps": "Enabled",
- "newTier": "Consumption",
- "currentTier": "Consumption",
- "maxJobCount": 3,
- "systemMaxJobCount": 1,
- "maxDegreeOfParallelism": 30,
- "systemMaxDegreeOfParallelism": 1,
- "maxDegreeOfParallelismPerJob": 1,
- "minPriorityPerJob": 1,
- "queryStoreRetention": 30
- }
+ "properties": {
+ "accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "provisioningState": "Succeeded",
+ "state": "Active",
+ "creationTime": "2017-04-14T13:21:56.6819037-07:00",
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
+ "endpoint": "test_endpoint",
+ "defaultDataLakeStoreAccount": "test_adls",
+ "dataLakeStoreAccounts": [
+ {
+ "id": "test_adls_id",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "storageAccounts": [
+ {
+ "id": "test_storage_id",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
+ }
+ }
+ ],
+ "computePolicies": [
+ {
+ "id": "test_policy_id",
+ "name": "test_policy",
+ "type": "test_type",
+ "properties": {
+ "objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1
+ }
+ }
+ ],
+ "firewallRules": [
+ {
+ "id": "test_firewall_id",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
}
+ ],
+ "firewallState": "Enabled",
+ "firewallAllowAzureIps": "Enabled",
+ "newTier": "Consumption",
+ "currentTier": "Consumption",
+ "maxJobCount": 3,
+ "systemMaxJobCount": 1,
+ "maxDegreeOfParallelism": 30,
+ "systemMaxDegreeOfParallelism": 1,
+ "maxDegreeOfParallelismPerJob": 1,
+ "minPriorityPerJob": 1,
+ "queryStoreRetention": 30
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json
index 0c2a7f5e1964..a802a4462e77 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_CreateOrUpdate.json
@@ -1,30 +1,30 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "computePolicyName": "test_policy",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "computePolicyName": "test_policy",
- "parameters": {
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 10,
- "minPriorityPerJob": 30
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "name": "test_policy",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 10,
- "minPriorityPerJob": 30
- }
- }
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 10,
+ "minPriorityPerJob": 30
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test_policy",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 10,
+ "minPriorityPerJob": 30
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json
index ef4331040ff4..e293c9e12322 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Delete.json
@@ -1,15 +1,13 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "computePolicyName": "test_policy"
- },
- "responses": {
- "200": {
- },
- "204": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "computePolicyName": "test_policy"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json
index c5eba4e3f678..f7c98bb948c7 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Get.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "computePolicyName": "test_policy"
- },
- "responses": {
- "200": {
- "body": {
- "name": "test_policy",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 10,
- "minPriorityPerJob": 30
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "computePolicyName": "test_policy"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test_policy",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 10,
+ "minPriorityPerJob": 30
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json
index 84e157f00fff..f43cbe04636c 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_ListByAccount.json
@@ -1,42 +1,44 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "name": "test_policy",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 10,
- "minPriorityPerJob": 30
- }
- },
- {
- "name": "test_policy1",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da99",
- "objectType": "Group",
- "maxDegreeOfParallelismPerJob": 5,
- "minPriorityPerJob": 15
- }
- },
- {
- "name": "test_policy2",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da97",
- "objectType": "ServicePrincipal",
- "maxDegreeOfParallelismPerJob": 20,
- "minPriorityPerJob": 60
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "test_policy",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 10,
+ "minPriorityPerJob": 30
}
- }
+ },
+ {
+ "name": "test_policy1",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da99",
+ "objectType": "Group",
+ "maxDegreeOfParallelismPerJob": 5,
+ "minPriorityPerJob": 15
+ }
+ },
+ {
+ "name": "test_policy2",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da97",
+ "objectType": "ServicePrincipal",
+ "maxDegreeOfParallelismPerJob": 20,
+ "minPriorityPerJob": 60
+ }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json
index 96829136040b..24876110d2f5 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/ComputePolicies_Update.json
@@ -1,28 +1,28 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "computePolicyName": "test_policy",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "computePolicyName": "test_policy",
- "parameters": {
- "properties": {
- "maxDegreeOfParallelismPerJob": 11,
- "minPriorityPerJob": 31
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "name": "test_policy",
- "properties": {
- "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
- "objectType": "User",
- "maxDegreeOfParallelismPerJob": 11,
- "minPriorityPerJob": 31
- }
- }
+ "properties": {
+ "maxDegreeOfParallelismPerJob": 11,
+ "minPriorityPerJob": 31
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "test_policy",
+ "properties": {
+ "objectId": "776b9091-8916-4638-87f7-9c989a38da98",
+ "objectType": "User",
+ "maxDegreeOfParallelismPerJob": 11,
+ "minPriorityPerJob": 31
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json
index a8bac50059fe..0dd76d13c698 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Add.json
@@ -1,18 +1,17 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "dataLakeStoreAccountName": "test_adls_account",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "dataLakeStoreAccountName": "test_adls_account",
- "parameters": {
- "properties": {
- "suffix": "test_suffix"
- }
- }
- },
- "responses": {
- "200": {
- }
+ "properties": {
+ "suffix": "test_suffix"
+ }
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json
index d8df893ea83b..81ea00b35fcf 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Delete.json
@@ -1,13 +1,12 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "dataLakeStoreAccountName": "test_adls_account"
- },
- "responses": {
- "200": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "dataLakeStoreAccountName": "test_adls_account"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json
index 2e6a341cd68b..47994990a1c4 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_Get.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1669ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "dataLakeStoreAccountName": "test_adls_account"
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1669ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "dataLakeStoreAccountName": "test_adls_account"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json
index 75fc6588bd81..b5022bc391b8 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/DataLakeStoreAccounts_ListByAccount.json
@@ -1,29 +1,31 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_adls",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_adls",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json
index 80e20e0cff4a..7c239fc53e9f 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_CreateOrUpdate.json
@@ -1,28 +1,28 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "firewallRuleName": "test_rule",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "firewallRuleName": "test_rule",
- "parameters": {
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json
index 53cac4aaabaf..5cec7e998778 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Delete.json
@@ -1,15 +1,13 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "firewallRuleName": "test_rule"
- },
- "responses": {
- "200": {
- },
- "204": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "firewallRuleName": "test_rule"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json
index 137b32e4246d..03ba39bf887e 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Get.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "firewallRuleName": "test_rule"
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "firewallRuleName": "test_rule"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json
index 20bbfa6262fb..0fdb92c73190 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_ListByAccount.json
@@ -1,24 +1,26 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json
index 78b55e76537e..7c239fc53e9f 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/FirewallRules_Update.json
@@ -1,28 +1,28 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "firewallRuleName": "test_rule",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "firewallRuleName": "test_rule",
- "parameters": {
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_rule",
- "type": "test_type",
- "properties": {
- "startIpAddress": "1.1.1.1",
- "endIpAddress": "2.2.2.2"
- }
- }
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_rule",
+ "type": "test_type",
+ "properties": {
+ "startIpAddress": "1.1.1.1",
+ "endIpAddress": "2.2.2.2"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json
index c44d18cbfdcb..627c2d8e525f 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Locations_GetCapability.json
@@ -1,20 +1,19 @@
{
- "parameters": {
- "api-version": "2016-11-01",
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "location": "EastUS2"
+ },
+ "responses": {
+ "200": {
+ "body": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "location": "EastUS2"
+ "state": "Registered",
+ "maxAccountCount": 150,
+ "accountCount": 100,
+ "migrationState": false
+ }
},
- "responses": {
- "200": {
- "body": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "state": "Registered",
- "maxAccountCount": 150,
- "accountCount": 100,
- "migrationState": false
- }
- },
- "404": {
- }
- }
+ "404": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json
index c16b26ab7e22..5b1bc50fd2ea 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/Operations_List.json
@@ -1,21 +1,23 @@
{
- "parameters": {
- "api-version": "2016-11-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "name": "Microsoft.DataLakeAnalytics/operations/read",
- "display": {
- "provider": "Microsoft DataLakeAnalytics",
- "resource": "Available Operations",
- "operation": "Get Available Operations",
- "description": "Get available operations of DataLakeAnalytics."
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.DataLakeAnalytics/operations/read",
+ "display": {
+ "provider": "Microsoft DataLakeAnalytics",
+ "resource": "Available Operations",
+ "operation": "Get Available Operations",
+ "description": "Get available operations of DataLakeAnalytics."
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json
index 631c6f8fb1f3..536e2eebafee 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Add.json
@@ -1,19 +1,18 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage",
- "parameters": {
- "properties": {
- "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "suffix": "test_suffix"
- }
- }
- },
- "responses": {
- "200": {
- }
+ "properties": {
+ "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "suffix": "test_suffix"
+ }
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json
index 4bbfc5535080..9dcbca8c42dd 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Delete.json
@@ -1,13 +1,12 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage"
- },
- "responses": {
- "200": {
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage"
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json
index 7108df56459a..910efe0766bb 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Get.json
@@ -1,21 +1,21 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage"
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json
index 74715e0a2159..732b7d348498 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_GetStorageContainer.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage",
- "containerName": "test_container"
- },
- "responses": {
- "200": {
- "body": {
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00"
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage",
+ "containerName": "test_container"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00"
}
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json
index e86f81925843..7ec163bfb791 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListByAccount.json
@@ -1,29 +1,31 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "$filter": "test_filter",
- "$top": 1,
- "$skip": 1,
- "$select": "test_select",
- "$orderby": "test_orderby",
- "$count": false
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "suffix": "test_suffix"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "$filter": "test_filter",
+ "$top": 1,
+ "$skip": 1,
+ "$select": "test_select",
+ "$orderby": "test_orderby",
+ "$count": false
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "suffix": "test_suffix"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json
index 7be802bcac66..6fe68e619157 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListSasTokens.json
@@ -1,20 +1,22 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage",
- "containerName": "test_container"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "accessToken": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346"
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
- }
- }
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage",
+ "containerName": "test_container"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "accessToken": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346"
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json
index 573524d96bc4..2b24017f689b 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_ListStorageContainers.json
@@ -1,24 +1,26 @@
{
- "parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage"
- },
- "responses": {
- "200": {
- "body": {
- "value": [{
- "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "name": "test_storage",
- "type": "test_type",
- "properties": {
- "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00"
- }
- }],
- "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "name": "test_storage",
+ "type": "test_type",
+ "properties": {
+ "lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00"
}
- }
+ }
+ ],
+ "nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2016-11-01&%24skiptoken="
+ }
}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json
index 631c6f8fb1f3..536e2eebafee 100644
--- a/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json
+++ b/specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/stable/2016-11-01/examples/StorageAccounts_Update.json
@@ -1,19 +1,18 @@
{
+ "parameters": {
+ "api-version": "2016-11-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "contosorg",
+ "accountName": "contosoadla",
+ "storageAccountName": "test_storage",
"parameters": {
- "api-version": "2016-11-01",
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "contosorg",
- "accountName": "contosoadla",
- "storageAccountName": "test_storage",
- "parameters": {
- "properties": {
- "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
- "suffix": "test_suffix"
- }
- }
- },
- "responses": {
- "200": {
- }
+ "properties": {
+ "accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
+ "suffix": "test_suffix"
+ }
}
+ },
+ "responses": {
+ "200": {}
+ }
}
diff --git a/specification/datalake-analytics/resource-manager/readme.md b/specification/datalake-analytics/resource-manager/readme.md
index 06ba974f042e..3499f82c1ce5 100644
--- a/specification/datalake-analytics/resource-manager/readme.md
+++ b/specification/datalake-analytics/resource-manager/readme.md
@@ -73,6 +73,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -166,3 +167,29 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DataLakeAnalytics/stable/2016-11-01/account.json
+ - $(this-folder)/Microsoft.DataLakeAnalytics/preview/2015-10-01-preview/account.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json
index 13013e316bf9..b34de8e52650 100644
--- a/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json
+++ b/specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/2016-11-01/examples/FileSystem_GetAclStatus.json
@@ -9,15 +9,17 @@
},
"responses": {
"200": {
- "AclStatus": {
- "entries": [
- "test_entry_1",
- "test_entry_2"
- ],
- "group": "test_group",
- "owner": "test_owner",
- "permission": "1",
- "stickyBit": false
+ "body": {
+ "aclStatus": {
+ "entries": [
+ "test_entry_1",
+ "test_entry_2"
+ ],
+ "group": "test_group",
+ "owner": "test_owner",
+ "permission": "1",
+ "stickyBit": false
+ }
}
}
}
diff --git a/specification/datalake-store/data-plane/readme.md b/specification/datalake-store/data-plane/readme.md
index e755ae825d69..837954fd458f 100644
--- a/specification/datalake-store/data-plane/readme.md
+++ b/specification/datalake-store/data-plane/readme.md
@@ -94,3 +94,29 @@ java:
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-datalake/store
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DataLakeStore/stable/2016-11-01/filesystem.json
+ - $(this-folder)/Microsoft.DataLakeStore/preview/2015-10-01-preview/filesystem.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/datalake-store/resource-manager/readme.md b/specification/datalake-store/resource-manager/readme.md
index 37fc3f33809f..957bfc47afd6 100644
--- a/specification/datalake-store/resource-manager/readme.md
+++ b/specification/datalake-store/resource-manager/readme.md
@@ -75,6 +75,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -178,3 +179,29 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DataLakeStore/stable/2016-11-01/account.json
+ - $(this-folder)/Microsoft.DataLakeStore/preview/2015-10-01-preview/account.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Common.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Common.json
index 6549b3558e6c..005287b48330 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Common.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Common.json
@@ -226,7 +226,6 @@
"ConnectionInfo": {
"type": "object",
"description": "Defines the connection properties of a server",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"type": {
"type": "string",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Tasks.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Tasks.json
index af7c2fe56d1d..a190d98f0bfa 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Tasks.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Tasks.json
@@ -20,7 +20,6 @@
"ProjectTaskProperties": {
"type": "object",
"description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned.",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"taskType": {
"description": "Task type.",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Projects_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Projects_Delete.json
index c1af9cd40cf2..4bc7a548a680 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Projects_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Projects_Delete.json
@@ -7,11 +7,7 @@
"api-version": "2017-11-15-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Delete.json
index 19646568ce48..2b1a2d892240 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Delete.json
@@ -7,9 +7,7 @@
},
"responses": {
"200": {},
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Start.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Start.json
index da650394b9b1..7457bbbb1f2a 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Start.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Start.json
@@ -6,11 +6,7 @@
"api-version": "2017-11-15-preview"
},
"responses": {
- "202": {
- "body": ""
- },
- "200": {
- "body": ""
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Stop.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Stop.json
index da650394b9b1..7457bbbb1f2a 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Stop.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Services_Stop.json
@@ -6,11 +6,7 @@
"api-version": "2017-11-15-preview"
},
"responses": {
- "202": {
- "body": ""
- },
- "200": {
- "body": ""
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Tasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Tasks_Delete.json
index d4ea93c8e322..786f7259c5a5 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Tasks_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2017-11-15-preview/examples/Tasks_Delete.json
@@ -8,11 +8,7 @@
"api-version": "2017-11-15-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Common.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Common.json
index cf40cb1b52a2..fa4ab96ff2f6 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Common.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Common.json
@@ -226,7 +226,6 @@
"ConnectionInfo": {
"type": "object",
"description": "Defines the connection properties of a server",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"type": {
"type": "string",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Tasks.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Tasks.json
index 13e3955198a7..0929346bb8ff 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Tasks.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Tasks.json
@@ -20,7 +20,6 @@
"ProjectTaskProperties": {
"type": "object",
"description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned.",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"taskType": {
"description": "Task type.",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Projects_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Projects_Delete.json
index c020ec725f08..5aac822d4ab6 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Projects_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Projects_Delete.json
@@ -7,11 +7,7 @@
"api-version": "2018-03-15-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Delete.json
index eb1e827ecc47..755c8163f7b4 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Delete.json
@@ -7,9 +7,7 @@
},
"responses": {
"200": {},
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Start.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Start.json
index 4403a3f61948..a7f69ae432b9 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Start.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Start.json
@@ -6,11 +6,7 @@
"api-version": "2018-03-15-preview"
},
"responses": {
- "202": {
- "body": ""
- },
- "200": {
- "body": ""
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Stop.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Stop.json
index 4403a3f61948..a7f69ae432b9 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Stop.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Services_Stop.json
@@ -6,11 +6,7 @@
"api-version": "2018-03-15-preview"
},
"responses": {
- "202": {
- "body": ""
- },
- "200": {
- "body": ""
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Tasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Tasks_Delete.json
index ee46d51f9dba..300999e84157 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Tasks_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-15-preview/examples/Tasks_Delete.json
@@ -8,11 +8,7 @@
"api-version": "2018-03-15-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Common.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Common.json
index b854b04aea65..44aaf3bc1a29 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Common.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Common.json
@@ -226,7 +226,6 @@
"ConnectionInfo": {
"type": "object",
"description": "Defines the connection properties of a server",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"type": {
"type": "string",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Tasks.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Tasks.json
index 40350b3f721f..67281236879f 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Tasks.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Tasks.json
@@ -20,7 +20,6 @@
"ProjectTaskProperties": {
"type": "object",
"description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned.",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"taskType": {
"description": "Task type.",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Projects_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Projects_Delete.json
index 3586f57e6fcf..fe6ed3465ef6 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Projects_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Projects_Delete.json
@@ -7,11 +7,7 @@
"api-version": "2018-03-31-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Delete.json
index 76db9aa89856..1140ad6e70d6 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Delete.json
@@ -7,9 +7,7 @@
},
"responses": {
"200": {},
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Start.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Start.json
index 316eb74b5589..f4aa3c470af8 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Start.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Start.json
@@ -6,11 +6,7 @@
"api-version": "2018-03-31-preview"
},
"responses": {
- "202": {
- "body": ""
- },
- "200": {
- "body": ""
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Stop.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Stop.json
index 316eb74b5589..f4aa3c470af8 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Stop.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Services_Stop.json
@@ -6,11 +6,7 @@
"api-version": "2018-03-31-preview"
},
"responses": {
- "202": {
- "body": ""
- },
- "200": {
- "body": ""
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Tasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Tasks_Delete.json
index 632384179449..b3a32d15bfe7 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Tasks_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-03-31-preview/examples/Tasks_Delete.json
@@ -8,11 +8,7 @@
"api-version": "2018-03-31-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Commands.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Commands.json
index defe9abbb3b6..92af6a9a11dd 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Commands.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Commands.json
@@ -20,7 +20,6 @@
"CommandProperties": {
"type": "object",
"description": "Base class for all types of DMS command properties. If command is not supported by current client, this object is returned.",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"commandType": {
"description": "Command type.",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Common.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Common.json
index 962a5b8cf42d..651b9c6840cf 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Common.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Common.json
@@ -230,7 +230,6 @@
"ConnectionInfo": {
"type": "object",
"description": "Defines the connection properties of a server",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"type": {
"type": "string",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json
index 292e118e49e8..8a573d43aafe 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json
@@ -29,6 +29,11 @@
"$ref": "./Common.json#/definitions/ServerLevelPermissionsGroup",
"description": "Permission group for validations"
},
+ "collectDatabases": {
+ "type": "boolean",
+ "description": "Flag for whether to collect databases from source server.",
+ "default": true
+ },
"collectLogins": {
"type": "boolean",
"description": "Flag for whether to collect logins from source server.",
@@ -43,6 +48,11 @@
"type": "boolean",
"description": "Flag for whether to collect TDE Certificate names from source server.",
"default": false
+ },
+ "validateSsisCatalogOnly": {
+ "type": "boolean",
+ "description": "Flag for whether to validate SSIS catalog is reachable on the source server.",
+ "default": false
}
},
"required": [
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json
index 71a8f095ae91..90d9acf66450 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json
@@ -24,6 +24,21 @@
"targetConnectionInfo": {
"description": "Connection information for target SQL Server",
"$ref": "./Common.json#/definitions/SqlConnectionInfo"
+ },
+ "collectLogins": {
+ "type": "boolean",
+ "description": "Flag for whether to collect logins from target SQL MI server.",
+ "default": true
+ },
+ "collectAgentJobs": {
+ "type": "boolean",
+ "description": "Flag for whether to collect agent jobs from target SQL MI server.",
+ "default": true
+ },
+ "validateSsisCatalogOnly": {
+ "type": "boolean",
+ "description": "Flag for whether to validate SSIS catalog is reachable on the target SQL MI server.",
+ "default": false
}
},
"required": [
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Files.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Files.json
index 3fb111285387..67d2a32d08a0 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Files.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Files.json
@@ -86,7 +86,6 @@
"FileStorageInfo": {
"type": "object",
"description": "File storage information.",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"uri": {
"description": "A URI that can be used to access the file content.",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json
new file mode 100644
index 000000000000..38df9713771b
--- /dev/null
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json
@@ -0,0 +1,178 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Database Migration Service Resource Provider",
+ "version": "2018-07-15-preview"
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {},
+ "definitions": {
+ "MigrateSsisTaskInput": {
+ "type": "object",
+ "description": "Input for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance.",
+ "allOf": [
+ {
+ "$ref": "./TasksCommon.json#/definitions/SqlMigrationTaskInput"
+ }
+ ],
+ "properties": {
+ "ssisMigrationInfo": {
+ "$ref": "./TasksCommon.json#/definitions/SsisMigrationInfo",
+ "description": "SSIS package migration information."
+ }
+ },
+ "required": [
+ "ssisMigrationInfo"
+ ]
+ },
+ "MigrateSsisTaskOutput": {
+ "type": "object",
+ "description": "Output for task that migrates SSIS packages from SQL Server to Azure SQL Database Managed Instance.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Result identifier",
+ "readOnly": true
+ },
+ "resultType": {
+ "description": "Result type",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "discriminator": "resultType"
+ },
+ "MigrateSsisTaskOutputMigrationLevel": {
+ "type": "object",
+ "x-ms-discriminator-value": "MigrationLevelOutput",
+ "properties": {
+ "startedOn": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Migration start time",
+ "readOnly": true
+ },
+ "endedOn": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Migration end time",
+ "readOnly": true
+ },
+ "status": {
+ "$ref": "TasksCommon.json#/definitions/MigrationStatus",
+ "description": "Current status of migration",
+ "readOnly": true
+ },
+ "message": {
+ "type": "string",
+ "description": "Migration progress message",
+ "readOnly": true
+ },
+ "sourceServerVersion": {
+ "type": "string",
+ "description": "Source server version",
+ "readOnly": true
+ },
+ "sourceServerBrandVersion": {
+ "type": "string",
+ "description": "Source server brand version",
+ "readOnly": true
+ },
+ "targetServerVersion": {
+ "type": "string",
+ "description": "Target server version",
+ "readOnly": true
+ },
+ "targetServerBrandVersion": {
+ "type": "string",
+ "description": "Target server brand version",
+ "readOnly": true
+ },
+ "exceptionsAndWarnings": {
+ "description": "Migration exceptions and warnings.",
+ "type": "array",
+ "items": {
+ "$ref": "./Common.json#/definitions/ReportableException"
+ },
+ "readOnly": true
+ },
+ "stage": {
+ "description": "Stage of SSIS migration.",
+ "$ref": "./TasksCommon.json#/definitions/SsisMigrationStage",
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/MigrateSsisTaskOutput"
+ }
+ ]
+ },
+ "MigrateSsisTaskOutputProjectLevel": {
+ "type": "object",
+ "x-ms-discriminator-value": "SsisProjectLevelOutput",
+ "properties": {
+ "folderName": {
+ "type": "string",
+ "description": "Name of the folder",
+ "readOnly": true
+ },
+ "projectName": {
+ "type": "string",
+ "description": "Name of the project",
+ "readOnly": true
+ },
+ "state": {
+ "$ref": "./TasksCommon.json#/definitions/MigrationState",
+ "description": "Current state of migration",
+ "readOnly": true
+ },
+ "stage": {
+ "description": "Stage of SSIS migration.",
+ "$ref": "./TasksCommon.json#/definitions/SsisMigrationStage",
+ "readOnly": true
+ },
+ "startedOn": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Migration start time",
+ "readOnly": true
+ },
+ "endedOn": {
+ "type": "string",
+ "format": "date-time",
+ "description": "Migration end time",
+ "readOnly": true
+ },
+ "message": {
+ "type": "string",
+ "description": "Migration progress message",
+ "readOnly": true
+ },
+ "exceptionsAndWarnings": {
+ "description": "Migration exceptions and warnings",
+ "type": "array",
+ "items": {
+ "$ref": "Common.json#/definitions/ReportableException"
+ },
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/MigrateSsisTaskOutput"
+ }
+ ]
+ }
+ }
+}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json
index 2e189177cf3c..b647d8d3ab5e 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json
@@ -97,6 +97,120 @@
"description": "Target server brand version",
"readOnly": true
},
+ "validationErrors": {
+ "description": "Validation errors associated with the task",
+ "type": "array",
+ "items": {
+ "$ref": "./Common.json#/definitions/ReportableException"
+ },
+ "readOnly": true
+ },
+ "databaseSchemaMap": {
+ "type": "array",
+ "description": "Mapping of schemas per database",
+ "items": {
+ "type": "object",
+ "properties": {
+ "database": {
+ "type": "string"
+ },
+ "schemas": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "GetUserTablesOracleTaskInput": {
+ "type": "object",
+ "description": "Input for the task that gets the list of tables contained within a provided list of Oracle schemas.",
+ "properties": {
+ "connectionInfo": {
+ "$ref": "./Common.json#/definitions/OracleConnectionInfo",
+ "description": "Information for connecting to Oracle source"
+ },
+ "selectedSchemas": {
+ "type": "array",
+ "description": "List of Oracle schemas for which to collect tables",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "connectionInfo",
+ "selectedSchemas"
+ ]
+ },
+ "GetUserTablesOracleTaskOutput": {
+ "type": "object",
+ "description": "Output for the task that gets the list of tables contained within a provided list of Oracle schemas.",
+ "properties": {
+ "schemaName": {
+ "type": "string",
+ "description": "The schema this result is for",
+ "readOnly": true
+ },
+ "tables": {
+ "type": "array",
+ "description": "List of valid tables found for this schema",
+ "items": {
+ "$ref": "./TasksCommon.json#/definitions/DatabaseTable"
+ },
+ "readOnly": true
+ },
+ "validationErrors": {
+ "description": "Validation errors associated with the task",
+ "type": "array",
+ "items": {
+ "$ref": "./Common.json#/definitions/ReportableException"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "GetUserTablesPostgreSqlTaskInput": {
+ "type": "object",
+ "description": "Input for the task that gets the list of tables for a provided list of PostgreSQL databases.",
+ "properties": {
+ "connectionInfo": {
+ "$ref": "./Common.json#/definitions/PostgreSqlConnectionInfo",
+ "description": "Information for connecting to PostgreSQL source"
+ },
+ "selectedDatabases": {
+ "type": "array",
+ "description": "List of PostgreSQL databases for which to collect tables",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "connectionInfo",
+ "selectedDatabases"
+ ]
+ },
+ "GetUserTablesPostgreSqlTaskOutput": {
+ "type": "object",
+ "description": "Output for the task that gets the list of tables for a provided list of PostgreSQL databases.",
+ "properties": {
+ "databaseName": {
+ "type": "string",
+ "description": "The database this result is for",
+ "readOnly": true
+ },
+ "tables": {
+ "type": "array",
+ "description": "List of valid tables found for this database",
+ "items": {
+ "$ref": "./TasksCommon.json#/definitions/DatabaseTable"
+ },
+ "readOnly": true
+ },
"validationErrors": {
"description": "Validation errors associated with the task",
"type": "array",
@@ -433,6 +547,10 @@
"type": "object",
"description": "Database specific information for Oracle to Azure Database for PostgreSQL migration task inputs",
"properties": {
+ "caseManipulation": {
+ "type": "string",
+ "description": "How to handle object name casing: either Preserve or ToLower"
+ },
"name": {
"type": "string",
"description": "Name of the migration pipeline"
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json
index a8478951b492..8c8798a0d89b 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json
@@ -20,7 +20,6 @@
"ProjectTaskProperties": {
"type": "object",
"description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned.",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"taskType": {
"description": "Task type.",
@@ -373,6 +372,54 @@
}
]
},
+ "GetUserTablesOracleTaskProperties": {
+ "x-ms-discriminator-value": "GetUserTablesOracle",
+ "type": "object",
+ "description": "Properties for the task that collects user tables for the given list of Oracle schemas",
+ "properties": {
+ "input": {
+ "description": "Task input",
+ "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesOracleTaskInput"
+ },
+ "output": {
+ "description": "Task output. This is ignored if submitted.",
+ "type": "array",
+ "items": {
+ "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesOracleTaskOutput"
+ },
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ }
+ ]
+ },
+ "GetUserTablesPostgreSqlTaskProperties": {
+ "x-ms-discriminator-value": "GetUserTablesPostgreSql",
+ "type": "object",
+ "description": "Properties for the task that collects user tables for the given list of databases",
+ "properties": {
+ "input": {
+ "description": "Task input",
+ "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesPostgreSqlTaskInput"
+ },
+ "output": {
+ "description": "Task output. This is ignored if submitted.",
+ "type": "array",
+ "items": {
+ "$ref": "./OracleAzureDbPostgreSqlSyncTask.json#/definitions/GetUserTablesPostgreSqlTaskOutput"
+ },
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ }
+ ]
+ },
"ConnectToTargetSqlMITaskProperties": {
"x-ms-discriminator-value": "ConnectToTarget.AzureSqlDbMI",
"type": "object",
@@ -612,7 +659,7 @@
]
},
"MigrateOracleAzureDbForPostgreSqlSyncTaskProperties": {
- "x-ms-discriminator-value": "Migrate.Oracle.Sql.Sync",
+ "x-ms-discriminator-value": "Migrate.Oracle.AzureDbForPostgreSql.Sync",
"type": "object",
"description": "Properties for the task that migrates Oracle to Azure Database for PostgreSQL for online migrations",
"properties": {
@@ -776,6 +823,30 @@
"$ref": "#/definitions/ProjectTaskProperties"
}
]
+ },
+ "MigrateSsisTaskProperties": {
+ "x-ms-discriminator-value": "Migrate.Ssis",
+ "type": "object",
+ "description": "Properties for task that migrates SSIS packages from SQL Server databases to Azure SQL Database Managed Instance.",
+ "properties": {
+ "input": {
+ "description": "Task input",
+ "$ref": "./MigrateSsisTask.json#/definitions/MigrateSsisTaskInput"
+ },
+ "output": {
+ "description": "Task output. This is ignored if submitted.",
+ "type": "array",
+ "items": {
+ "$ref": "./MigrateSsisTask.json#/definitions/MigrateSsisTaskOutput"
+ },
+ "readOnly": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProjectTaskProperties"
+ }
+ ]
}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json
index b638c99db158..aebe0e18411a 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json
@@ -1182,6 +1182,61 @@
"name": "DatabaseMigrationState",
"modelAsString": true
}
+ },
+ "SsisMigrationInfo": {
+ "type": "object",
+ "description": "SSIS migration info with SSIS store type, overwrite policy.",
+ "properties": {
+ "ssisStoreType": {
+ "$ref": "#/definitions/SsisStoreType",
+ "description": "The SSIS store type of source, only SSIS catalog is supported now in DMS"
+ },
+ "projectOverwriteOption": {
+ "$ref": "#/definitions/SsisMigrationOverwriteOption",
+ "description": "The overwrite option for the SSIS project migration"
+ },
+ "environmentOverwriteOption": {
+ "$ref": "#/definitions/SsisMigrationOverwriteOption",
+ "description": "The overwrite option for the SSIS environment migration"
+ }
+ }
+ },
+ "SsisStoreType": {
+ "type": "string",
+ "description": "An enumeration of supported source SSIS store type in DMS",
+ "enum": [
+ "SsisCatalog"
+ ],
+ "x-ms-enum": {
+ "name": "SsisStoreType",
+ "modelAsString": true
+ }
+ },
+ "SsisMigrationOverwriteOption": {
+ "type": "string",
+ "description": "The overwrite option for SSIS object migration, only ignore and overwrite are supported in DMS now and future may add Reuse option for container object",
+ "enum": [
+ "Ignore",
+ "Overwrite"
+ ],
+ "x-ms-enum": {
+ "name": "SsisMigrationOverwriteOption",
+ "modelAsString": true
+ }
+ },
+ "SsisMigrationStage": {
+ "type": "string",
+ "description": "Current stage of SSIS migration",
+ "enum": [
+ "None",
+ "Initialize",
+ "InProgress",
+ "Completed"
+ ],
+ "x-ms-enum": {
+ "name": "SsisMigrationStage",
+ "modelAsString": true
+ }
}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Files_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Files_Delete.json
index 0aed4cdfcba6..834beea8673a 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Files_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Files_Delete.json
@@ -8,11 +8,7 @@
"api-version": "2018-07-15-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Projects_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Projects_Delete.json
index aa1f249390cf..2415228a11bb 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Projects_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Projects_Delete.json
@@ -7,11 +7,7 @@
"api-version": "2018-07-15-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json
index 7c5fd00999e2..ad1b0d4b80b0 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/ServiceTasks_Delete.json
@@ -7,11 +7,7 @@
"api-version": "2018-07-15-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Delete.json
index c7492fd18630..63e585c067fb 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Delete.json
@@ -6,9 +6,7 @@
"api-version": "2018-07-15-preview"
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"200": {},
"204": {}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Start.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Start.json
index 85f9f1e7cb45..5a6d0658bd17 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Start.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Start.json
@@ -6,11 +6,7 @@
"api-version": "2018-07-15-preview"
},
"responses": {
- "202": {
- "body": ""
- },
- "200": {
- "body": ""
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Stop.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Stop.json
index 85f9f1e7cb45..5a6d0658bd17 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Stop.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Services_Stop.json
@@ -6,11 +6,7 @@
"api-version": "2018-07-15-preview"
},
"responses": {
- "202": {
- "body": ""
- },
- "200": {
- "body": ""
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Tasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Tasks_Delete.json
index cad5eafa7417..20b8c4165a0e 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Tasks_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/preview/2018-07-15-preview/examples/Tasks_Delete.json
@@ -8,11 +8,7 @@
"api-version": "2018-07-15-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Commands.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Commands.json
index d64ec7602b6f..8280bb0ca60f 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Commands.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Commands.json
@@ -20,7 +20,6 @@
"CommandProperties": {
"type": "object",
"description": "Base class for all types of DMS command properties. If command is not supported by current client, this object is returned.",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"commandType": {
"description": "Command type.",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Common.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Common.json
index 5e7c7e93e173..5a446ff1378d 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Common.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Common.json
@@ -241,7 +241,6 @@
"ConnectionInfo": {
"type": "object",
"description": "Defines the connection properties of a server",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"type": {
"type": "string",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Tasks.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Tasks.json
index 8eeb0ef0b4a3..82b295eb649e 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Tasks.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/definitions/Tasks.json
@@ -20,7 +20,6 @@
"ProjectTaskProperties": {
"type": "object",
"description": "Base class for all types of DMS task properties. If task is not supported by current client, this object is returned.",
- "x-ms-discriminator-value": "Unknown",
"properties": {
"taskType": {
"description": "Task type.",
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Projects_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Projects_Delete.json
index 1ca3cf94f885..28efc7fb1d13 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Projects_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Projects_Delete.json
@@ -7,11 +7,7 @@
"api-version": "2018-04-19"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Delete.json
index fe08f524ec9a..e6614aa25e3a 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Delete.json
@@ -7,9 +7,7 @@
},
"responses": {
"200": {},
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Start.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Start.json
index a5b2cdc6786d..27f5738628ae 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Start.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Start.json
@@ -6,11 +6,7 @@
"api-version": "2018-04-19"
},
"responses": {
- "202": {
- "body": ""
- },
- "200": {
- "body": ""
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Stop.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Stop.json
index a5b2cdc6786d..27f5738628ae 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Stop.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Services_Stop.json
@@ -6,11 +6,7 @@
"api-version": "2018-04-19"
},
"responses": {
- "202": {
- "body": ""
- },
- "200": {
- "body": ""
- }
+ "202": {},
+ "200": {}
}
}
diff --git a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Tasks_Delete.json b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Tasks_Delete.json
index 127e2379dbd1..727f4431d06d 100644
--- a/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Tasks_Delete.json
+++ b/specification/datamigration/resource-manager/Microsoft.DataMigration/stable/2018-04-19/examples/Tasks_Delete.json
@@ -8,11 +8,7 @@
"api-version": "2018-04-19"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
diff --git a/specification/datamigration/resource-manager/readme.java.md b/specification/datamigration/resource-manager/readme.java.md
new file mode 100644
index 000000000000..a7aa7dec7a71
--- /dev/null
+++ b/specification/datamigration/resource-manager/readme.java.md
@@ -0,0 +1,61 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.datamigration
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datamigration
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-07-15-preview
+ - tag: package-2017-11-15-preview
+ - tag: package-2018-03-31-preview
+```
+
+### Tag: package-2018-07-15-preview and java
+
+These settings apply only when `--tag=package-2018-07-15-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-07-15-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.datamigration.v2018_07_15_preview
+ output-folder: $(azure-libraries-for-java-folder)/datamigration/resource-manager/v2018_07_15_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2017-11-15-preview and java
+
+These settings apply only when `--tag=package-2017-11-15-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2017-11-15-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.datamigration.v2017_11_15_preview
+ output-folder: $(azure-libraries-for-java-folder)/datamigration/resource-manager/v2017_11_15_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2018-03-31-preview and java
+
+These settings apply only when `--tag=package-2018-03-31-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-03-31-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.datamigration.v2018_03_31_preview
+ output-folder: $(azure-libraries-for-java-folder)/datamigration/resource-manager/v2018_03_31_preview
+regenerate-manager: true
+generate-interface: true
+```
diff --git a/specification/datamigration/resource-manager/readme.md b/specification/datamigration/resource-manager/readme.md
index 92226f984ab6..52e90b3fd384 100644
--- a/specification/datamigration/resource-manager/readme.md
+++ b/specification/datamigration/resource-manager/readme.md
@@ -95,6 +95,7 @@ input-file:
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlDbTask.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlMiSyncTask.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlMITask.json
+- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrationValidation.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MongoDbTasks.json
- Microsoft.DataMigration/preview/2018-07-15-preview/definitions/GetTdeCertificatesSqlTask.json
@@ -185,6 +186,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
@@ -212,64 +214,131 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
+See configuration in [readme.java.md](./readme.java.md)
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.datamigration
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datamigration
-```
-
-### Java multi-api
+## Multi-API/Profile support for AutoRest v3 generators
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2018-07-15-preview
- - tag: package-2017-11-15-preview
- - tag: package-2018-03-31-preview
-```
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
-### Tag: package-2018-07-15-preview and java
+This block is updated by an automatic script. Edits may be lost!
-These settings apply only when `--tag=package-2018-07-15-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-07-15-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.azuredatabasemigrationservice.v2018_07_15_preview
- output-folder: $(azure-libraries-for-java-folder)/azuredatabasemigrationservice/resource-manager/v2018_07_15_preview
-regenerate-manager: true
-generate-interface: true
-```
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
-### Tag: package-2017-11-15-preview and java
-
-These settings apply only when `--tag=package-2017-11-15-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/datamigration.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/Commands.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/Common.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ConnectToSourceMySqlTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ConnectToSourcePostgreSqlSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ConnectToSourceSqlServerTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ConnectToTargetAzureDbForMySqlTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ConnectToTargetAzureDbForPostgreSqlSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ConnectToTargetSqlDbTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ConnectToTargetSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ConnectToTargetSqlMiSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ConnectToTargetSqlSqlDbSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/GetTdeCertificatesSqlTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/GetUserTablesSqlSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/GetUserTablesSqlTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/MigrateMySqlAzureDbForMySqlSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/MigrateSqlServerSqlDbSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/MigrateSqlServerSqlDbTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/MigrateSqlServerSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/MigrateSqlServerSqlMiSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/Projects.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/Services.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/Tasks.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/TasksCommon.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/MigrationValidation.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ValidateMigrationInputSqlServerSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ValidateMigrationInputSqlServerSqlMiSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/stable/2018-04-19/definitions/ValidateSyncMigrationInputSqlServerTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/datamigration.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Commands.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Common.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceMySqlTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourceSqlServerTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToSourcePostgreSqlSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetAzureDbForMySqlTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlDbTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMiSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetSqlSqlDbSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ConnectToTargetAzureDbForPostgreSqlSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/GetUserTablesSqlSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/GetUserTablesSqlTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSchemaSqlServerSqlDbTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateMySqlAzureDbForMySqlSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigratePostgreSqlAzureDbForPostgreSqlSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlDbSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlDbTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlMiSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSqlServerSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrateSsisTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MigrationValidation.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/MongoDbTasks.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/GetTdeCertificatesSqlTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/OracleAzureDbPostgreSqlSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Projects.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ServiceFeatureOCITask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Services.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ServiceTasks.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/Tasks.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/TasksCommon.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ValidateMigrationInputSqlServerSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ValidateSyncMigrationInputSqlServerTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-07-15-preview/definitions/ValidateMigrationInputSqlServerSqlMiSyncTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/datamigration.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Common.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/ConnectToSourceSqlServerTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/ConnectToTargetSqlDbTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/ConnectToTargetSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/GetUserTablesSqlTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/MigrateSqlServerSqlDbTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/MigrateSqlServerSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Projects.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Services.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/Tasks.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/TasksCommon.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/MigrationValidation.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-31-preview/definitions/ValidateMigrationInputSqlServerSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/datamigration.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Common.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/ConnectToSourceSqlServerTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/ConnectToTargetSqlDbTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/ConnectToTargetSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/GetUserTablesSqlTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/MigrateSqlServerSqlDbTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/MigrateSqlServerSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Projects.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Services.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/Tasks.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/TasksCommon.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/MigrationValidation.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2018-03-15-preview/definitions/ValidateMigrationInputSqlServerSqlMITask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2017-11-15-preview/datamigration.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Common.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/ConnectToSourceSqlServerTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/ConnectToTargetSqlDbTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/GetUserTablesSqlTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/MigrateSqlServerSqlDbTask.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Projects.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Services.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/Tasks.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/TasksCommon.json
+ - $(this-folder)/Microsoft.DataMigration/preview/2017-11-15-preview/definitions/MigrationValidation.json
-``` yaml $(tag) == 'package-2017-11-15-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.azuredatabasemigrationservice.v2017_11_15_preview
- output-folder: $(azure-libraries-for-java-folder)/azuredatabasemigrationservice/resource-manager/v2017_11_15_preview
-regenerate-manager: true
-generate-interface: true
```
-### Tag: package-2018-03-31-preview and java
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
-These settings apply only when `--tag=package-2018-03-31-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-03-31-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.azuredatabasemigrationservice.v2018_03_31_preview
- output-folder: $(azure-libraries-for-java-folder)/azuredatabasemigrationservice/resource-manager/v2018_03_31_preview
-regenerate-manager: true
-generate-interface: true
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
diff --git a/specification/datamigration/resource-manager/readme.typescript.md b/specification/datamigration/resource-manager/readme.typescript.md
index 86dcd424b9c7..b43aa2c0f365 100644
--- a/specification/datamigration/resource-manager/readme.typescript.md
+++ b/specification/datamigration/resource-manager/readme.typescript.md
@@ -7,6 +7,6 @@ Please also specify `--typescript-sdks-folder=`.
+
+``` yaml $(tag) == 'package-2018-11-01-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/datashare/mgmt/2018-11-01-preview/$(namespace)
+```
\ No newline at end of file
diff --git a/specification/datashare/resource-manager/readme.md b/specification/datashare/resource-manager/readme.md
new file mode 100644
index 000000000000..5943db1b4950
--- /dev/null
+++ b/specification/datashare/resource-manager/readme.md
@@ -0,0 +1,128 @@
+# DataShare
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for DataShare.
+
+
+
+---
+## Getting Started
+To build the SDK for DataShare, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+
+
+
+### Basic Information
+These are the global settings for the DataShare API.
+
+``` yaml
+openapi-type: arm
+tag: package-2018-11-01-preview
+```
+
+
+### Tag: package-2018-11-01-preview
+
+These settings apply only when `--tag=package-2018-11-01-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2018-11-01-preview'
+input-file:
+- Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
+```
+
+---
+# Code Generation
+
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+``` yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-net
+ - repo: azure-sdk-for-python
+ - repo: azure-sdk-for-go
+```
+
+
+## C#
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+``` yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ namespace: Microsoft.Azure.Management.DataShare
+ output-folder: $(csharp-sdks-folder)/datashare/Microsoft.Azure.Management.DataShare/src/Generated
+ clear-output-folder: true
+```
+
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
+
+``` yaml $(python)
+python-mode: create
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.mgmt.DataShare
+ package-name: azure-mgmt-DataShare
+ clear-output-folder: true
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/azure-mgmt-DataShare/azure/mgmt/DataShare
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/azure-mgmt-DataShare
+```
+
+
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DataShare/preview/2018-11-01-preview/DataShare.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/deploymentmanager/resource-manager/readme.md b/specification/deploymentmanager/resource-manager/readme.md
index f6a785bb254e..d3e274de3163 100644
--- a/specification/deploymentmanager/resource-manager/readme.md
+++ b/specification/deploymentmanager/resource-manager/readme.md
@@ -75,6 +75,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -166,3 +167,28 @@ java:
regenerate-manager: true
generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DeploymentManager/preview/2018-09-01-preview/deploymentmanager.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/deviceprovisioningservices/resource-manager/readme.md b/specification/deviceprovisioningservices/resource-manager/readme.md
index 34a7848ff58a..18155cc20851 100644
--- a/specification/deviceprovisioningservices/resource-manager/readme.md
+++ b/specification/deviceprovisioningservices/resource-manager/readme.md
@@ -65,6 +65,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -181,3 +182,30 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Devices/preview/2017-08-21-preview/iotdps.json
+ - $(this-folder)/Microsoft.Devices/stable/2017-11-15/iotdps.json
+ - $(this-folder)/Microsoft.Devices/stable/2018-01-22/iotdps.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json
new file mode 100644
index 000000000000..45b65c921dd3
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/devops.json
@@ -0,0 +1,870 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure DevOps",
+ "description": "Azure DevOps Resource Provider",
+ "version": "2019-07-01-preview",
+ "x-ms-code-generation-settings": {
+ "name": "DevOpsClient"
+ }
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.DevOps/operations": {
+ "get": {
+ "operationId": "Operations_List",
+ "description": "Lists all the operations supported by Microsoft.DevOps resource provider.",
+ "tags": [
+ "Operations"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The list of supported operations has been fetched successfully.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get a list of operations supported by Microsoft.DevOps resource provider": {
+ "$ref": "./examples/ListOperations.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.DevOps/pipelineTemplateDefinitions": {
+ "get": {
+ "tags": [
+ "PipelineTemplateDefinitions"
+ ],
+ "operationId": "PipelineTemplateDefinitions_List",
+ "description": "Lists all pipeline templates which can be used to configure an Azure Pipeline.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "responses": {
+ "200": {
+ "description": "The pipeline template definitions have been fetched successfully.",
+ "schema": {
+ "$ref": "#/definitions/PipelineTemplateDefinitionListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get the list of pipeline template definitions": {
+ "$ref": "./examples/ListPipelineTemplateDefinitions.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOps/pipelines/{pipelineName}": {
+ "put": {
+ "operationId": "Pipelines_CreateOrUpdate",
+ "description": "Creates or updates an Azure Pipeline.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "pipelineName",
+ "description": "The name of the Azure Pipeline resource in ARM.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "createOperationParameters",
+ "description": "The request payload to create the Azure Pipeline.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Pipeline"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The request has been accepted for processing and the Azure Pipeline will be configured asynchronously."
+ },
+ "200": {
+ "description": "The Azure Pipeline has been configured successfully.",
+ "schema": {
+ "$ref": "#/definitions/Pipeline"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-examples": {
+ "Create an Azure pipeline to deploy a sample ASP.Net application to Azure web-app": {
+ "$ref": "./examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json"
+ }
+ }
+ },
+ "get": {
+ "operationId": "Pipelines_Get",
+ "description": "Gets an existing Azure Pipeline.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "pipelineName",
+ "description": "The name of the Azure Pipeline resource in ARM.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been fetched successfully.",
+ "schema": {
+ "$ref": "#/definitions/Pipeline"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get an existing Azure pipeline": {
+ "$ref": "./examples/GetAzurePipeline.json"
+ }
+ }
+ },
+ "patch": {
+ "operationId": "Pipelines_Update",
+ "description": "Updates the properties of an Azure Pipeline. Currently, only tags can be updated.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "pipelineName",
+ "description": "The name of the Azure Pipeline resource.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ },
+ {
+ "name": "updateOperationParameters",
+ "description": "The request payload containing the properties to update in the Azure Pipeline.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PipelineUpdateParameters"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been updated successfully.",
+ "schema": {
+ "$ref": "#/definitions/Pipeline"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get an existing Azure pipeline": {
+ "$ref": "./examples/UpdateAzurePipeline.json"
+ }
+ }
+ },
+ "delete": {
+ "operationId": "Pipelines_Delete",
+ "description": "Deletes an Azure Pipeline.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "pipelineName",
+ "description": "The name of the Azure Pipeline resource.",
+ "in": "path",
+ "type": "string",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been deleted successfully."
+ },
+ "204": {
+ "description": "The Azure Pipeline is not found or has been deleted already."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get an existing Azure pipeline": {
+ "$ref": "./examples/DeleteAzurePipeline.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOps/pipelines": {
+ "get": {
+ "operationId": "Pipelines_ListByResourceGroup",
+ "description": "Lists all Azure Pipelines under the specified resource group.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Azure Pipelines have been fetched successfully.",
+ "schema": {
+ "$ref": "#/definitions/PipelineListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List all Azure Pipelines under the specified resource group": {
+ "$ref": "./examples/ListAzurePipelinesByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.DevOps/pipelines": {
+ "get": {
+ "operationId": "Pipelines_ListBySubscription",
+ "description": "Lists all Azure Pipelines under the specified subscription.",
+ "tags": [
+ "Pipelines"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Azure Pipelines have been fetched successfully.",
+ "schema": {
+ "$ref": "#/definitions/PipelineListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/CloudError"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List all Azure pipelines under the specified subscription": {
+ "$ref": "./examples/ListAzurePipelinesBySubscription.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "CloudError": {
+ "x-ms-external": true,
+ "properties": {
+ "error": {
+ "description": "Details of the error from the Pipelines Resource Provider.",
+ "$ref": "#/definitions/CloudErrorBody"
+ }
+ },
+ "description": "An error response from the Pipelines Resource Provider."
+ },
+ "CloudErrorBody": {
+ "x-ms-external": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically."
+ },
+ "message": {
+ "type": "string",
+ "description": "A message describing the error, intended to be suitable for display in a user interface."
+ },
+ "target": {
+ "type": "string",
+ "description": "The target of the particular error. For example, the name of the property in error or the method where the error occurred."
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CloudErrorBody"
+ },
+ "description": "A list of additional details about the error."
+ }
+ },
+ "description": "An error response from the Pipelines Resource Provider."
+ },
+ "OperationListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of operations supported by Microsoft.DevOps resource provider."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of operations, if there are any."
+ }
+ },
+ "description": "Result of a request to list all operations supported by Microsoft.DevOps resource provider."
+ },
+ "Operation": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Name of the operation."
+ },
+ "isDataAction": {
+ "type": "string",
+ "description": "Indicates whether the operation applies to data-plane."
+ },
+ "display": {
+ "description": "Display information of the operation.",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/OperationDisplayValue"
+ }
+ },
+ "description": "Properties of an Operation."
+ },
+ "OperationDisplayValue": {
+ "properties": {
+ "operation": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Friendly name of the operation."
+ },
+ "resource": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Friendly name of the resource type the operation applies to."
+ },
+ "description": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Friendly description of the operation."
+ },
+ "provider": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Friendly name of the resource provider."
+ }
+ },
+ "description": "Display information of an operation."
+ },
+ "PipelineTemplateDefinitionListResult": {
+ "type": "object",
+ "description": "Result of a request to list all pipeline template definitions.",
+ "properties": {
+ "value": {
+ "description": "List of pipeline template definitions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PipelineTemplateDefinition"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of pipeline template definitions, if there are any."
+ }
+ }
+ },
+ "PipelineTemplateDefinition": {
+ "type": "object",
+ "description": "Definition of a pipeline template.",
+ "properties": {
+ "id": {
+ "description": "Unique identifier of the pipeline template.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the pipeline enabled by the template.",
+ "type": "string"
+ },
+ "inputs": {
+ "description": "List of input parameters required by the template to create a pipeline.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InputDescriptor"
+ }
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "InputDescriptor": {
+ "type": "object",
+ "description": "Representation of a pipeline template input parameter.",
+ "properties": {
+ "id": {
+ "description": "Identifier of the input parameter.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Description of the input parameter.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Data type of the value of the input parameter.",
+ "type": "string",
+ "enum": [
+ "String",
+ "SecureString",
+ "Int",
+ "Bool",
+ "Authorization"
+ ],
+ "x-ms-enum": {
+ "name": "InputDataType",
+ "modelAsString": true
+ }
+ },
+ "possibleValues": {
+ "description": "List of possible values for the input parameter.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/InputValue"
+ }
+ }
+ },
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "InputValue": {
+ "type": "object",
+ "description": "Representation of a pipeline template input parameter value.",
+ "properties": {
+ "value": {
+ "description": "Value of an input parameter.",
+ "type": "string"
+ },
+ "displayValue": {
+ "description": "Description of the input parameter value.",
+ "type": "string"
+ }
+ }
+ },
+ "Pipeline": {
+ "type": "object",
+ "description": "Azure DevOps Pipeline used to configure Continuous Integration (CI) & Continuous Delivery (CD) for Azure resources.",
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/PipelineProperties",
+ "description": "Custom properties of the Pipeline.",
+ "x-ms-client-flatten": true
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ]
+ },
+ "PipelineProperties": {
+ "type": "object",
+ "description": "Custom properties of a Pipeline.",
+ "properties": {
+ "pipelineId": {
+ "type": "integer",
+ "readOnly": true,
+ "description": "Unique identifier of the Azure Pipeline within the Azure DevOps Project."
+ },
+ "organization": {
+ "$ref": "#/definitions/OrganizationReference",
+ "description": "Reference to the Azure DevOps Organization containing the Pipeline."
+ },
+ "project": {
+ "$ref": "#/definitions/ProjectReference",
+ "description": "Reference to the Azure DevOps Project containing the Pipeline."
+ },
+ "bootstrapConfiguration": {
+ "$ref": "#/definitions/BootstrapConfiguration",
+ "description": "Configuration used to bootstrap the Pipeline."
+ }
+ },
+ "required": [
+ "organization",
+ "project",
+ "bootstrapConfiguration"
+ ]
+ },
+ "OrganizationReference": {
+ "type": "object",
+ "description": "Reference to an Azure DevOps Organization.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique immutable identifier for the Azure DevOps Organization."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Azure DevOps Organization."
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "ProjectReference": {
+ "type": "object",
+ "description": "Reference to an Azure DevOps Project.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Unique immutable identifier of the Azure DevOps Project."
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the Azure DevOps Project."
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "BootstrapConfiguration": {
+ "type": "object",
+ "description": "Configuration used to bootstrap a Pipeline.",
+ "properties": {
+ "repository": {
+ "$ref": "#/definitions/CodeRepository",
+ "description": "Repository containing the source code for the pipeline."
+ },
+ "template": {
+ "$ref": "#/definitions/PipelineTemplate",
+ "description": "Template used to bootstrap the pipeline."
+ }
+ },
+ "required": [
+ "template"
+ ]
+ },
+ "CodeRepository": {
+ "type": "object",
+ "description": "Repository containing the source code for a pipeline.",
+ "properties": {
+ "repositoryType": {
+ "description": "Type of code repository.",
+ "type": "string",
+ "enum": [
+ "gitHub",
+ "vstsGit"
+ ],
+ "x-ms-enum": {
+ "name": "CodeRepositoryType",
+ "modelAsString": true
+ }
+ },
+ "id": {
+ "description": "Unique immutable identifier of the code repository.",
+ "type": "string"
+ },
+ "defaultBranch": {
+ "description": "Default branch used to configure Continuous Integration (CI) in the pipeline.",
+ "type": "string"
+ },
+ "authorization": {
+ "description": "Authorization info to access the code repository.",
+ "$ref": "#/definitions/Authorization"
+ },
+ "properties": {
+ "description": "Repository-specific properties.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-ms-client-flatten": true
+ }
+ },
+ "required": [
+ "repositoryType",
+ "id",
+ "defaultBranch"
+ ]
+ },
+ "Authorization": {
+ "description": "Authorization info used to access a resource (like code repository).",
+ "type": "object",
+ "properties": {
+ "authorizationType": {
+ "description": "Type of authorization.",
+ "type": "string",
+ "enum": [
+ "personalAccessToken"
+ ],
+ "x-ms-enum": {
+ "name": "AuthorizationType",
+ "modelAsString": true
+ }
+ },
+ "parameters": {
+ "description": "Authorization parameters corresponding to the authorization type.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "authorizationType"
+ ]
+ },
+ "PipelineTemplate": {
+ "type": "object",
+ "description": "Template used to bootstrap the pipeline.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Unique identifier of the pipeline template."
+ },
+ "parameters": {
+ "type": "object",
+ "description": "Dictionary of input parameters used in the pipeline template.",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "Resource": {
+ "type": "object",
+ "description": "An Azure Resource Manager (ARM) resource.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Id"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Type"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource Tags"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource Location"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource Name"
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "PipelineUpdateParameters": {
+ "type": "object",
+ "description": "Request payload used to update an existing Azure Pipeline.",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "description": "Dictionary of key-value pairs to be set as tags on the Azure Pipeline. This will overwrite any existing tags.",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "PipelineListResult": {
+ "description": "Result of a request to list all Azure Pipelines under a given scope.",
+ "properties": {
+ "value": {
+ "description": "List of pipelines.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Pipeline"
+ }
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of Pipelines, if there are any."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Unique identifier of the Azure subscription. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the resource group within the Azure subscription.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "API version to be used with the HTTP request."
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json
new file mode 100644
index 000000000000..0a6934d91396
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/CreateAzurePipeline-Sample-AspNet-WindowsWebApp.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myAspNetWebAppPipeline-rg",
+ "pipelineName": "myAspNetWebAppPipeline",
+ "api-version": "2019-07-01-preview",
+ "createOperationParameters": {
+ "location": "South India",
+ "tags": {},
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": "{\"scheme\":\"ServicePrincipal\",\"parameters\":{\"tenantid\":\"{subscriptionTenantId}\",\"objectid\":\"{appObjectId}\",\"serviceprincipalid\":\"{appId}\",\"serviceprincipalkey\":\"{appSecret}\"}}"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "202": {
+ "description": "The request has been accepted for processing and the Azure Pipeline will be configured asynchronously.",
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline/operations/{operationId}",
+ "retry-after": "5"
+ }
+ },
+ "200": {
+ "description": "The Azure Pipeline has been configured successfully.",
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline",
+ "name": "myAspNetWebAppPipeline",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/DeleteAzurePipeline.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/DeleteAzurePipeline.json
new file mode 100644
index 000000000000..87a96b97812a
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/DeleteAzurePipeline.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myAspNetWebAppPipeline-rg",
+ "pipelineName": "myAspNetWebAppPipeline",
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been deleted successfully."
+ },
+ "204": {
+ "description": "The Azure Pipeline is not found or has been deleted already."
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json
new file mode 100644
index 000000000000..e76aa49aeca0
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/GetAzurePipeline.json
@@ -0,0 +1,41 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myAspNetWebAppPipeline-rg",
+ "pipelineName": "myAspNetWebAppPipeline",
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been configured successfully.",
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline",
+ "name": "myAspNetWebAppPipeline",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json
new file mode 100644
index 000000000000..e6b20a3bc65c
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesByResourceGroup.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myAspNetWebAppPipeline-rg",
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The Azure Pipelines has been fetched successfully.",
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline",
+ "name": "myAspNetWebAppPipeline",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json
new file mode 100644
index 000000000000..f4efc388d643
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListAzurePipelinesBySubscription.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The Azure Pipelines have been fetched successfully.",
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline",
+ "name": "myAspNetWebAppPipeline",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg1/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline1",
+ "name": "myAspNetWebAppPipeline1",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org1"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project1"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListOperations.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListOperations.json
new file mode 100644
index 000000000000..94b99e0ce784
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListOperations.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The list of supported operations has been fetched successfully.",
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.DevOps/register/action",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft DevOps",
+ "resource": "register",
+ "operation": "Register for Microsoft.DevOps",
+ "description": "Registers the specified subscription with Microsoft.DevOps resource provider and enables the creation of Pipelines"
+ }
+ },
+ {
+ "name": "Microsoft.DevOps/pipelines/write",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft DevOps",
+ "resource": "Pipelines",
+ "operation": "Create or Update Pipeline",
+ "description": "Creates or Updates any Pipeline"
+ }
+ },
+ {
+ "name": "Microsoft.DevOps/pipelines/read",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft DevOps",
+ "resource": "Pipelines",
+ "operation": "Read Pipeline",
+ "description": "Reads any Pipeline"
+ }
+ },
+ {
+ "name": "Microsoft.DevOps/pipelines/delete",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft DevOps",
+ "resource": "Pipelines",
+ "operation": "Delete Pipeline",
+ "description": "Deletes any Pipeline"
+ }
+ },
+ {
+ "name": "Microsoft.DevOps/pipelineTemplateDefinitions/read",
+ "isDataAction": "false",
+ "display": {
+ "provider": "Microsoft DevOps",
+ "resource": "PipelineTemplateDefinitions",
+ "operation": "Read PipelineTemplateDefinition",
+ "description": "Reads any PipelineTemplateDefinition"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListPipelineTemplateDefinitions.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListPipelineTemplateDefinitions.json
new file mode 100644
index 000000000000..75e8bfc6863f
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/ListPipelineTemplateDefinitions.json
@@ -0,0 +1,107 @@
+{
+ "parameters": {
+ "api-version": "2019-07-01-preview"
+ },
+ "responses": {
+ "200": {
+ "description": "The pipeline template definitions have been fetched successfully.",
+ "body": {
+ "value": [
+ {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "description": "Template for configuring CI/CD pipeline for ASP.Net app on Azure windows app service",
+ "inputs": [
+ {
+ "id": "azureAuth",
+ "description": "Authorization for Azure ARM endpoints.",
+ "type": "String",
+ "possibleValues": []
+ },
+ {
+ "id": "subscriptionId",
+ "description": "Id of subscription where azure resources will be created.",
+ "type": "String",
+ "possibleValues": []
+ },
+ {
+ "id": "resourceGroup",
+ "description": "A resource group is a collection of resources that share the same lifecycle, permissions, and policies. Name of resource group which should contain web app.",
+ "type": "String",
+ "possibleValues": []
+ },
+ {
+ "id": "webAppName",
+ "description": "Name of web app to be created",
+ "type": "String",
+ "possibleValues": []
+ },
+ {
+ "id": "location",
+ "description": "Choose the Azure region that's right for you and your customers.",
+ "type": "String",
+ "possibleValues": []
+ },
+ {
+ "id": "appServicePlan",
+ "description": "Details of cost and compute resource associated with the web app",
+ "type": "String",
+ "possibleValues": [
+ {
+ "value": "P1 Premium",
+ "displayValue": "P1 Premium (1 Core, 1.75 GB RAM)"
+ },
+ {
+ "value": "P2 Premium",
+ "displayValue": "P2 Premium (2 Core, 3.5 GB RAM)"
+ },
+ {
+ "value": "P3 Premium",
+ "displayValue": "P3 Premium (4 Core, 7 GB RAM)"
+ },
+ {
+ "value": "S1 Standard",
+ "displayValue": "S1 Standard (1 Core, 1.75 GB RAM)"
+ },
+ {
+ "value": "S2 Standard",
+ "displayValue": "S2 Standard (2 Core, 3.5 GB RAM)"
+ },
+ {
+ "value": "S3 Standard",
+ "displayValue": "S3 Standard (4 Core, 7 GB RAM)"
+ },
+ {
+ "value": "B1 Basic",
+ "displayValue": "B1 Basic (1 Core, 1.75 GB RAM)"
+ },
+ {
+ "value": "B2 Basic",
+ "displayValue": "B2 Basic (2 Core, 3.5 GB RAM)"
+ },
+ {
+ "value": "B3 Basic",
+ "displayValue": "B3 Basic (4 Core, 7 GB RAM)"
+ },
+ {
+ "value": "F1 Free",
+ "displayValue": "F1 Free"
+ },
+ {
+ "value": "D1 Shared",
+ "displayValue": "D1 Shared"
+ }
+ ]
+ },
+ {
+ "id": "appInsightLocation",
+ "description": "Collect application monitoring data using Application Insights.",
+ "type": "String",
+ "possibleValues": []
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json
new file mode 100644
index 000000000000..e43c73c93596
--- /dev/null
+++ b/specification/devops/resource-manager/Microsoft.DevOps/preview/2019-07-01-preview/examples/UpdateAzurePipeline.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroupName": "myAspNetWebAppPipeline-rg",
+ "pipelineName": "myAspNetWebAppPipeline",
+ "api-version": "2019-07-01-preview",
+ "updateOperationParameters": {
+ "tags": {
+ "tagKey": "tagvalue"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "The Azure Pipeline has been updated successfully.",
+ "body": {
+ "id": "/subscriptions/{subscriptionId}/resourceGroups/myAspNetWebAppPipeline-rg/providers/Microsoft.DevOps/pipelines/myAspNetWebAppPipeline",
+ "name": "myAspNetWebAppPipeline",
+ "type": "Microsoft.DevOps/pipelines",
+ "location": "South India",
+ "tags": {
+ "tagKey": "tagvalue"
+ },
+ "properties": {
+ "organization": {
+ "name": "myAspNetWebAppPipeline-org"
+ },
+ "project": {
+ "name": "myAspNetWebAppPipeline-project"
+ },
+ "bootstrapConfiguration": {
+ "template": {
+ "id": "ms.vss-continuous-delivery-pipeline-templates.aspnet-windowswebapp",
+ "parameters": {
+ "subscriptionId": "{subscriptionId}",
+ "resourceGroup": "myAspNetWebAppPipeline-rg",
+ "webAppName": "myAspNetWebApp",
+ "location": "South India",
+ "appServicePlan": "S1 Standard",
+ "appInsightLocation": "South India",
+ "azureAuth": null
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/devops/resource-manager/readme.csharp.md b/specification/devops/resource-manager/readme.csharp.md
new file mode 100644
index 000000000000..e57eee4b0e72
--- /dev/null
+++ b/specification/devops/resource-manager/readme.csharp.md
@@ -0,0 +1,15 @@
+## C
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+```yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 1
+ clear-output-folder: true
+ client-side-validation: false
+ namespace: Microsoft.Azure.Management.DevOps
+ output-folder: $(csharp-sdks-folder)/devops/Microsoft.Azure.Management.DevOps/src/Generated
+```
diff --git a/specification/devops/resource-manager/readme.go.md b/specification/devops/resource-manager/readme.go.md
new file mode 100644
index 000000000000..70edb4ea11ce
--- /dev/null
+++ b/specification/devops/resource-manager/readme.go.md
@@ -0,0 +1,26 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+```yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: devops
+ clear-output-folder: true
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-07-01-preview
+```
+
+### Tag: package-2019-07-01-preview and go
+
+These settings apply only when `--tag=package-2019-07-01-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag) == 'package-2019-07-01-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-07-01-preview/$(namespace)
+```
diff --git a/specification/devops/resource-manager/readme.md b/specification/devops/resource-manager/readme.md
new file mode 100644
index 000000000000..f534d4c2d21b
--- /dev/null
+++ b/specification/devops/resource-manager/readme.md
@@ -0,0 +1,105 @@
+# devops
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for devops.
+
+## Getting Started
+
+To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run:
+
+> `autorest readme.md`
+
+To see additional help and options, run:
+
+> `autorest --help`
+
+For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page.
+
+---
+
+## Configuration
+
+### Basic Information
+
+These are the global settings for the devops.
+
+```yaml
+openapi-type: arm
+tag: package-2019-07-01-preview
+```
+
+### Tag: package-2019-07-01-preview
+
+These settings apply only when `--tag=package-2019-07-01-preview` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-07-01-preview'
+input-file:
+ - Microsoft.DevOps/preview/2019-07-01-preview/devops.json
+```
+
+---
+
+# Code Generation
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+```yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-net
+ - repo: azure-sdk-for-python
+ - repo: azure-sdk-for-java
+ - repo: azure-sdk-for-go
+ - repo: azure-sdk-for-js
+ - repo: azure-sdk-for-ruby
+ after_scripts:
+ - bundle install && rake arm:regen_all_profiles['azure_mgmt_devops']
+```
+
+## Go
+
+See configuration in [readme.go.md](./readme.go.md)
+
+## Python
+
+See configuration in [readme.python.md](./readme.python.md)
+
+## Ruby
+
+See configuration in [readme.ruby.md](./readme.ruby.md)
+
+## TypeScript
+
+See configuration in [readme.typescript.md](./readme.typescript.md)
+
+## CSharp
+
+See configuration in [readme.csharp.md](./readme.csharp.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DevOps/preview/2019-07-01-preview/devops.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/devops/resource-manager/readme.python.md b/specification/devops/resource-manager/readme.python.md
new file mode 100644
index 000000000000..d8329e41d90e
--- /dev/null
+++ b/specification/devops/resource-manager/readme.python.md
@@ -0,0 +1,21 @@
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+
+```yaml $(python)
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.mgmt.devops
+ package-name: azure-mgmt-devops
+ package-version: 2019-07-01-preview
+ clear-output-folder: true
+```
+
+```yaml $(python)
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/devops/azure-mgmt-devops/azure/mgmt/devops
+```
diff --git a/specification/devops/resource-manager/readme.ruby.md b/specification/devops/resource-manager/readme.ruby.md
new file mode 100644
index 000000000000..3522830affc4
--- /dev/null
+++ b/specification/devops/resource-manager/readme.ruby.md
@@ -0,0 +1,19 @@
+## Ruby
+
+These settings apply only when `--ruby` is specified on the command line.
+
+```yaml
+package-name: azure_mgmt_devops
+package-version: 2019-07-01-preview
+azure-arm: true
+```
+
+### Tag: package-2019-07-01-preview and ruby
+
+These settings apply only when `--tag=package-2019-07-01-preview --ruby` is specified on the command line.
+Please also specify `--ruby-sdks-folder=`.
+
+```yaml $(tag) == 'package-2019-07-01-preview' && $(ruby)
+namespace: Azure::DevOps::Mgmt::V2019_07_01_preview
+output-folder: $(ruby-sdks-folder)/management/azure_mgmt_devops/lib
+```
diff --git a/specification/devops/resource-manager/readme.typescript.md b/specification/devops/resource-manager/readme.typescript.md
new file mode 100644
index 000000000000..e6d6211f234a
--- /dev/null
+++ b/specification/devops/resource-manager/readme.typescript.md
@@ -0,0 +1,13 @@
+## TypeScript
+
+These settings apply only when `--typescript` is specified on the command line.
+Please also specify `--typescript-sdks-folder=`.
+
+```yaml $(typescript)
+typescript:
+ azure-arm: true
+ package-name: "@azure/arm-devops"
+ output-folder: "$(typescript-sdks-folder)/sdk/devops/arm-devops"
+ payload-flattening-threshold: 1
+ generate-metadata: true
+```
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json
deleted file mode 100644
index a39810c4acb0..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json
+++ /dev/null
@@ -1,789 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2018-06-01-preview",
- "title": "DevSpacesManagement",
- "description": "Dev Spaces REST API"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping": {
- "post": {
- "tags": [
- "ContainerHostMappings"
- ],
- "summary": "Returns container host mapping object for a container host resource ID if an associated controller exists.",
- "operationId": "ContainerHostMappings_GetContainerHostMapping",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "containerHostMapping",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ContainerHostMapping"
- }
- },
- {
- "name": "location",
- "in": "path",
- "description": "Location of the container host.",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {}
- }
- },
- "x-ms-examples": {
- "ContainerHostMappingsGetContainerHostMapping": {
- "$ref": "./examples/ContainerHostMappingsGetContainerHostMapping_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Gets an Azure Dev Spaces Controller.",
- "description": "Gets the properties for an Azure Dev Spaces Controller.",
- "operationId": "Controllers_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the Azure Dev Spaces Controller.",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersGet": {
- "$ref": "./examples/ControllersGet_example.json"
- }
- }
- },
- "put": {
- "tags": [
- "Controllers"
- ],
- "summary": "Creates an Azure Dev Spaces Controller.",
- "description": "Creates an Azure Dev Spaces Controller with the specified create parameters.",
- "operationId": "Controllers_Create",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- },
- {
- "name": "controller",
- "in": "body",
- "description": "Controller create parameters.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the created Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "201": {
- "description": "The request was successful; Azure Dev Spaces Controller is being created.",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more creation parameters are invalid.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersCreate": {
- "$ref": "./examples/ControllersCreate_example.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "Controllers"
- ],
- "summary": "Deletes an Azure Dev Spaces Controller.",
- "description": "Deletes an existing Azure Dev Spaces Controller.",
- "operationId": "Controllers_Delete",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the Azure Dev Spaces Controller is deleted."
- },
- "202": {
- "description": "The request was successful; Azure Dev Spaces Controller is being deleted."
- },
- "204": {
- "description": "The request was successful; Azure Dev Spaces Controller does not exist."
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 409 - Conflict(Azure Dev Spaces Controller is already getting deleted.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersDelete": {
- "$ref": "./examples/ControllersDelete_example.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "patch": {
- "tags": [
- "Controllers"
- ],
- "summary": "Updates an Azure Dev Spaces Controller.",
- "description": "Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.",
- "operationId": "Controllers_Update",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- },
- {
- "name": "controllerUpdateParameters",
- "in": "body",
- "description": "Parameters for updating the Azure Dev Spaces Controller.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ControllerUpdateParameters"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the updated Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more update parameters are invalid.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersUpdate": {
- "$ref": "./examples/ControllersUpdate_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists the Azure Dev Spaces Controllers in a resource group.",
- "description": "Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.",
- "operationId": "Controllers_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the resource group.",
- "schema": {
- "$ref": "#/definitions/ControllerList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersListByResourceGroup": {
- "$ref": "./examples/ControllersListByResourceGroup_example.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists the Azure Dev Spaces Controllers in a subscription.",
- "description": "Lists all the Azure Dev Spaces Controllers with their properties in the subscription.",
- "operationId": "Controllers_List",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the subscription.",
- "schema": {
- "$ref": "#/definitions/ControllerList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersList": {
- "$ref": "./examples/ControllersList_example.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails": {
- "post": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists connection details for an Azure Dev Spaces Controller.",
- "description": "Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.",
- "operationId": "Controllers_ListConnectionDetails",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of connection details for the Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/ControllerConnectionDetailsList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersListConnectionDetails": {
- "$ref": "./examples/ControllersListConnectionDetails_example.json"
- }
- }
- }
- },
- "/providers/Microsoft.DevSpaces/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "summary": "Lists operations for the resource provider.",
- "description": "Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.",
- "operationId": "Operations_List",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of operations under Microsoft.DevSpaces resource provider.",
- "schema": {
- "$ref": "#/definitions/ResourceProviderOperationList"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- }
- },
- "definitions": {
- "ContainerHostMapping": {
- "description": "Container host mapping object specifying the Container host resource ID and its associated Controller resource.",
- "properties": {
- "containerHostResourceId": {
- "description": "ARM ID of the Container Host resource",
- "type": "string"
- },
- "mappedControllerResourceId": {
- "description": "ARM ID of the mapped Controller resource",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "Controller": {
- "required": [
- "properties",
- "sku",
- "location"
- ],
- "allOf": [
- {
- "$ref": "#/definitions/TrackedResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/ControllerProperties",
- "x-ms-client-flatten": true
- },
- "sku": {
- "$ref": "#/definitions/Sku"
- }
- }
- },
- "ControllerProperties": {
- "required": [
- "hostSuffix",
- "targetContainerHostResourceId",
- "targetContainerHostCredentialsBase64"
- ],
- "properties": {
- "provisioningState": {
- "description": "Provisioning state of the Azure Dev Spaces Controller.",
- "enum": [
- "Succeeded",
- "Failed",
- "Canceled",
- "Updating",
- "Creating",
- "Deleting",
- "Deleted"
- ],
- "type": "string",
- "readOnly": true,
- "x-ms-enum": {
- "name": "ProvisioningState",
- "modelAsString": true
- }
- },
- "hostSuffix": {
- "description": "DNS suffix for public endpoints running in the Azure Dev Spaces Controller.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "dataPlaneFqdn": {
- "description": "DNS name for accessing DataPlane services",
- "type": "string",
- "readOnly": true
- },
- "targetContainerHostResourceId": {
- "description": "Resource ID of the target container host",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "targetContainerHostCredentialsBase64": {
- "description": "Credentials of the target container host (base64).",
- "type": "string",
- "x-ms-mutability": [
- "create"
- ]
- }
- }
- },
- "Sku": {
- "description": "Model representing SKU for Azure Dev Spaces Controller.",
- "required": [
- "name"
- ],
- "properties": {
- "name": {
- "description": "The name of the SKU for Azure Dev Spaces Controller.",
- "enum": [
- "S1"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "SkuName",
- "modelAsString": true
- }
- },
- "tier": {
- "description": "The tier of the SKU for Azure Dev Spaces Controller.",
- "enum": [
- "Standard"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "SkuTier",
- "modelAsString": true
- }
- }
- }
- },
- "ControllerUpdateParameters": {
- "description": "Parameters for updating an Azure Dev Spaces Controller.",
- "properties": {
- "tags": {
- "description": "Tags for the Azure Dev Spaces Controller.",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
- "ControllerList": {
- "properties": {
- "value": {
- "description": "List of Azure Dev Spaces Controllers.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Controller"
- }
- },
- "nextLink": {
- "description": "The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ControllerConnectionDetailsList": {
- "properties": {
- "connectionDetailsList": {
- "description": "List of Azure Dev Spaces Controller connection details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ControllerConnectionDetails"
- }
- }
- }
- },
- "ControllerConnectionDetails": {
- "properties": {
- "authKey": {
- "description": "Authentication key for communicating with services.",
- "type": "string",
- "readOnly": true
- },
- "workspaceStorageAccountName": {
- "description": "Workspace storage account name.",
- "type": "string",
- "readOnly": true
- },
- "workspaceStorageSasToken": {
- "description": "Workspace storage account SAS token.",
- "type": "string",
- "readOnly": true
- },
- "orchestratorSpecificConnectionDetails": {
- "$ref": "#/definitions/OrchestratorSpecificConnectionDetails"
- }
- }
- },
- "OrchestratorSpecificConnectionDetails": {
- "description": "Base class for types that supply values used to connect to container orchestrators",
- "properties": {
- "instanceType": {
- "description": "Gets the Instance type.",
- "type": "string",
- "readOnly": true
- }
- },
- "discriminator": "instanceType"
- },
- "TrackedResource": {
- "description": "The resource model definition for a ARM tracked top level resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "tags": {
- "description": "Tags for the Azure resource.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ]
- },
- "location": {
- "description": "Region where the Azure resource is located.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- }
- }
- },
- "ResourceProviderOperationList": {
- "properties": {
- "value": {
- "description": "Resource provider operations list.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ResourceProviderOperationDefinition"
- }
- },
- "nextLink": {
- "description": "The URI that can be used to request the next page for list of Azure operations.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ResourceProviderOperationDefinition": {
- "properties": {
- "name": {
- "description": "Resource provider operation name.",
- "type": "string"
- },
- "display": {
- "$ref": "#/definitions/ResourceProviderOperationDisplay"
- }
- }
- },
- "ResourceProviderOperationDisplay": {
- "properties": {
- "provider": {
- "description": "Name of the resource provider.",
- "type": "string"
- },
- "resource": {
- "description": "Name of the resource type.",
- "type": "string"
- },
- "operation": {
- "description": "Name of the resource provider operation.",
- "type": "string"
- },
- "description": {
- "description": "Description of the resource provider operation.",
- "type": "string"
- }
- }
- },
- "Resource": {
- "description": "An Azure resource.",
- "properties": {
- "id": {
- "description": "Fully qualified resource Id for the resource.",
- "type": "string",
- "readOnly": true
- },
- "name": {
- "description": "The name of the resource.",
- "type": "string",
- "readOnly": true
- },
- "type": {
- "description": "The type of the resource.",
- "type": "string",
- "readOnly": true
- }
- },
- "x-ms-azure-resource": true
- },
- "KubernetesConnectionDetails": {
- "description": "Contains information used to connect to a Kubernetes cluster",
- "allOf": [
- {
- "$ref": "#/definitions/OrchestratorSpecificConnectionDetails"
- }
- ],
- "properties": {
- "kubeConfig": {
- "description": "Gets the kubeconfig for the cluster.",
- "type": "string"
- }
- },
- "x-ms-discriminator-value": "Kubernetes"
- },
- "ErrorResponse": {
- "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
- "properties": {
- "error": {
- "$ref": "#/definitions/ErrorDetails",
- "description": "The details of the error."
- }
- }
- },
- "ErrorDetails": {
- "properties": {
- "code": {
- "description": "Status code for the error.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Error message describing the error in detail.",
- "type": "string",
- "readOnly": true
- },
- "target": {
- "description": "The target of the particular error.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "description": "Azure subscription ID.",
- "required": true,
- "type": "string"
- },
- "ResourceGroupParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "description": "Resource group to which the resource belongs.",
- "required": true,
- "type": "string",
- "maxLength": 90,
- "minLength": 1,
- "x-ms-parameter-location": "method"
- },
- "NameParameter": {
- "name": "name",
- "in": "path",
- "description": "Name of the resource.",
- "required": true,
- "type": "string",
- "maxLength": 31,
- "minLength": 3,
- "pattern": "^[a-zA-Z0-9](-?[a-zA-Z0-9])*$",
- "x-ms-parameter-location": "method"
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "description": "Client API version.",
- "required": true,
- "type": "string"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "description": "Azure Active Directory OAuth2 Flow",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json
deleted file mode 100644
index 23e38a3aabb8..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "location": "eastus",
- "containerHostMapping": {
- "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- },
- "responses": {
- "200": {
- "body": {
- "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster",
- "mappedControllerResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myController"
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json
deleted file mode 100644
index 5798550f09bf..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersCreate_example.json
+++ /dev/null
@@ -1,61 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource",
- "controller": {
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "hostSuffix": "suffix",
- "targetContainerHostCredentialsBase64": "QmFzZTY0IEVuY29kZWQgVmFsdWUK",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Creating",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json
deleted file mode 100644
index ea383f5e5396..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersDelete_example.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevSpaces/operationresults/00000000-0000-0000-0000-000000000000"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json
deleted file mode 100644
index 654fe322419b..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersGet_example.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json
deleted file mode 100644
index 4a352ae92104..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListByResourceGroup_example.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json
deleted file mode 100644
index ca66caf7b7cf..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersListConnectionDetails_example.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {
- "body": {
- "connectionDetailsList": [
- {
- "authKey": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
- "workspaceStorageAccountName": "storageAccount",
- "workspaceStorageSasToken": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
- "orchestratorSpecificConnectionDetails": {
- "instanceType": "Kubernetes",
- "kubeConfig": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json
deleted file mode 100644
index be06d920d7a1..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersList_example.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json
deleted file mode 100644
index 3aad3140b22e..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2018-06-01-preview/examples/ControllersUpdate_example.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-06-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource",
- "controllerUpdateParameters": {
- "tags": {
- "key": "value"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedCluster/myCluster"
- }
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json
deleted file mode 100644
index 193c945e342e..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json
+++ /dev/null
@@ -1,781 +0,0 @@
-{
- "swagger": "2.0",
- "info": {
- "version": "2019-01-01-preview",
- "title": "DevSpacesManagement",
- "description": "Dev Spaces REST API"
- },
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping": {
- "post": {
- "tags": [
- "ContainerHostMappings"
- ],
- "summary": "Returns container host mapping object for a container host resource ID if an associated controller exists.",
- "operationId": "ContainerHostMappings_GetContainerHostMapping",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "containerHostMapping",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ContainerHostMapping"
- }
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "name": "location",
- "in": "path",
- "description": "Location of the container host.",
- "required": true,
- "type": "string"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {}
- }
- },
- "x-ms-examples": {
- "ContainerHostMappingsGetContainerHostMapping": {
- "$ref": "./examples/ContainerHostMappingsGetContainerHostMapping_example.json"
- }
- }
- }
- },
- "/providers/Microsoft.DevSpaces/operations": {
- "get": {
- "tags": [
- "Operations"
- ],
- "summary": "Lists operations for the resource provider.",
- "description": "Lists all the supported operations by the Microsoft.DevSpaces resource provider along with their description.",
- "operationId": "Operations_List",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of operations under Microsoft.DevSpaces resource provider.",
- "schema": {
- "$ref": "#/definitions/ResourceProviderOperationList"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Gets an Azure Dev Spaces Controller.",
- "description": "Gets the properties for an Azure Dev Spaces Controller.",
- "operationId": "Controllers_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the Azure Dev Spaces Controller.",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersGet": {
- "$ref": "./examples/ControllersGet_example.json"
- }
- }
- },
- "put": {
- "tags": [
- "Controllers"
- ],
- "summary": "Creates an Azure Dev Spaces Controller.",
- "description": "Creates an Azure Dev Spaces Controller with the specified create parameters.",
- "operationId": "Controllers_Create",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- },
- {
- "name": "controller",
- "in": "body",
- "description": "Controller create parameters.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the created Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "201": {
- "description": "The request was successful; Azure Dev Spaces Controller is being created.",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more creation parameters are invalid.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersCreate": {
- "$ref": "./examples/ControllersCreate_example.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "delete": {
- "tags": [
- "Controllers"
- ],
- "summary": "Deletes an Azure Dev Spaces Controller.",
- "description": "Deletes an existing Azure Dev Spaces Controller.",
- "operationId": "Controllers_Delete",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; the Azure Dev Spaces Controller is deleted."
- },
- "202": {
- "description": "The request was successful; Azure Dev Spaces Controller is being deleted."
- },
- "204": {
- "description": "The request was successful; Azure Dev Spaces Controller does not exist."
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 409 - Conflict(Azure Dev Spaces Controller is already getting deleted.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersDelete": {
- "$ref": "./examples/ControllersDelete_example.json"
- }
- },
- "x-ms-long-running-operation": true
- },
- "patch": {
- "tags": [
- "Controllers"
- ],
- "summary": "Updates an Azure Dev Spaces Controller.",
- "description": "Updates the properties of an existing Azure Dev Spaces Controller with the specified update parameters.",
- "operationId": "Controllers_Update",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- },
- {
- "name": "controllerUpdateParameters",
- "in": "body",
- "description": "Parameters for updating the Azure Dev Spaces Controller.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ControllerUpdateParameters"
- }
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the updated Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/Controller"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.), 400 - BadRequest(One or more update parameters are invalid.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersUpdate": {
- "$ref": "./examples/ControllersUpdate_example.json"
- }
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists the Azure Dev Spaces Controllers in a resource group.",
- "description": "Lists all the Azure Dev Spaces Controllers with their properties in the specified resource group and subscription.",
- "operationId": "Controllers_ListByResourceGroup",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the resource group.",
- "schema": {
- "$ref": "#/definitions/ControllerList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersListByResourceGroup": {
- "$ref": "./examples/ControllersListByResourceGroup_example.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers": {
- "get": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists the Azure Dev Spaces Controllers in a subscription.",
- "description": "Lists all the Azure Dev Spaces Controllers with their properties in the subscription.",
- "operationId": "Controllers_List",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of Azure Dev Spaces Controllers in the subscription.",
- "schema": {
- "$ref": "#/definitions/ControllerList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersList": {
- "$ref": "./examples/ControllersList_example.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- }
- }
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails": {
- "post": {
- "tags": [
- "Controllers"
- ],
- "summary": "Lists connection details for an Azure Dev Spaces Controller.",
- "description": "Lists connection details for the underlying container resources of an Azure Dev Spaces Controller.",
- "operationId": "Controllers_ListConnectionDetails",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupParameter"
- },
- {
- "$ref": "#/parameters/NameParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request was successful; response contains the list of connection details for the Azure Dev Spaces Controller .",
- "schema": {
- "$ref": "#/definitions/ControllerConnectionDetailsList"
- }
- },
- "default": {
- "description": "Error response describing the reason for operation failure. 404 - NotFound(Azure Dev Spaces Controller doesn't exist.)",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "ControllersListConnectionDetails": {
- "$ref": "./examples/ControllersListConnectionDetails_example.json"
- }
- }
- }
- }
- },
- "definitions": {
- "ContainerHostMapping": {
- "description": "Container host mapping object specifying the Container host resource ID and its associated Controller resource.",
- "properties": {
- "containerHostResourceId": {
- "description": "ARM ID of the Container Host resource",
- "type": "string"
- },
- "mappedControllerResourceId": {
- "description": "ARM ID of the mapped Controller resource",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "TrackedResource": {
- "description": "The resource model definition for a ARM tracked top level resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "tags": {
- "description": "Tags for the Azure resource.",
- "type": "object",
- "additionalProperties": {
- "type": "string"
- },
- "x-ms-mutability": [
- "read",
- "create",
- "update"
- ]
- },
- "location": {
- "description": "Region where the Azure resource is located.",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- }
- }
- },
- "ResourceProviderOperationList": {
- "properties": {
- "value": {
- "description": "Resource provider operations list.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ResourceProviderOperationDefinition"
- }
- },
- "nextLink": {
- "description": "The URI that can be used to request the next page for list of Azure operations.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ResourceProviderOperationDefinition": {
- "properties": {
- "name": {
- "description": "Resource provider operation name.",
- "type": "string"
- },
- "display": {
- "$ref": "#/definitions/ResourceProviderOperationDisplay"
- }
- }
- },
- "ResourceProviderOperationDisplay": {
- "properties": {
- "provider": {
- "description": "Name of the resource provider.",
- "type": "string"
- },
- "resource": {
- "description": "Name of the resource type.",
- "type": "string"
- },
- "operation": {
- "description": "Name of the resource provider operation.",
- "type": "string"
- },
- "description": {
- "description": "Description of the resource provider operation.",
- "type": "string"
- }
- }
- },
- "Controller": {
- "required": [
- "properties",
- "sku",
- "location"
- ],
- "allOf": [
- {
- "$ref": "#/definitions/TrackedResource"
- }
- ],
- "properties": {
- "properties": {
- "$ref": "#/definitions/ControllerProperties",
- "x-ms-client-flatten": true
- },
- "sku": {
- "$ref": "#/definitions/Sku"
- }
- }
- },
- "ControllerProperties": {
- "required": [
- "targetContainerHostResourceId",
- "targetContainerHostCredentialsBase64"
- ],
- "properties": {
- "provisioningState": {
- "description": "Provisioning state of the Azure Dev Spaces Controller.",
- "enum": [
- "Succeeded",
- "Failed",
- "Canceled",
- "Updating",
- "Creating",
- "Deleting",
- "Deleted"
- ],
- "type": "string",
- "readOnly": true,
- "x-ms-enum": {
- "name": "ProvisioningState",
- "modelAsString": true
- }
- },
- "hostSuffix": {
- "description": "DNS suffix for public endpoints running in the Azure Dev Spaces Controller.",
- "type": "string",
- "readOnly": true
- },
- "dataPlaneFqdn": {
- "description": "DNS name for accessing DataPlane services",
- "type": "string",
- "readOnly": true
- },
- "targetContainerHostResourceId": {
- "description": "Resource ID of the target container host",
- "type": "string",
- "x-ms-mutability": [
- "read",
- "create"
- ]
- },
- "targetContainerHostCredentialsBase64": {
- "description": "Credentials of the target container host (base64).",
- "type": "string",
- "x-ms-mutability": [
- "create"
- ]
- }
- }
- },
- "Sku": {
- "description": "Model representing SKU for Azure Dev Spaces Controller.",
- "required": [
- "name"
- ],
- "properties": {
- "name": {
- "description": "The name of the SKU for Azure Dev Spaces Controller.",
- "enum": [
- "S1"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "SkuName",
- "modelAsString": true
- }
- },
- "tier": {
- "description": "The tier of the SKU for Azure Dev Spaces Controller.",
- "enum": [
- "Standard"
- ],
- "type": "string",
- "x-ms-enum": {
- "name": "SkuTier",
- "modelAsString": true
- }
- }
- }
- },
- "ControllerUpdateParameters": {
- "description": "Parameters for updating an Azure Dev Spaces Controller.",
- "properties": {
- "tags": {
- "description": "Tags for the Azure Dev Spaces Controller.",
- "additionalProperties": {
- "type": "string"
- }
- }
- }
- },
- "ControllerList": {
- "properties": {
- "value": {
- "description": "List of Azure Dev Spaces Controllers.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/Controller"
- }
- },
- "nextLink": {
- "description": "The URI that can be used to request the next page for list of Azure Dev Spaces Controllers.",
- "type": "string",
- "readOnly": true
- }
- }
- },
- "ControllerConnectionDetailsList": {
- "properties": {
- "connectionDetailsList": {
- "description": "List of Azure Dev Spaces Controller connection details.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ControllerConnectionDetails"
- }
- }
- }
- },
- "ControllerConnectionDetails": {
- "properties": {
- "authKey": {
- "description": "Authentication key for communicating with services.",
- "type": "string",
- "readOnly": true
- },
- "orchestratorSpecificConnectionDetails": {
- "$ref": "#/definitions/OrchestratorSpecificConnectionDetails"
- }
- }
- },
- "OrchestratorSpecificConnectionDetails": {
- "description": "Base class for types that supply values used to connect to container orchestrators",
- "properties": {
- "instanceType": {
- "description": "Gets the Instance type.",
- "type": "string",
- "readOnly": true
- }
- },
- "discriminator": "instanceType"
- },
- "Resource": {
- "description": "An Azure resource.",
- "properties": {
- "id": {
- "description": "Fully qualified resource Id for the resource.",
- "type": "string",
- "readOnly": true
- },
- "name": {
- "description": "The name of the resource.",
- "type": "string",
- "readOnly": true
- },
- "type": {
- "description": "The type of the resource.",
- "type": "string",
- "readOnly": true
- }
- },
- "x-ms-azure-resource": true
- },
- "KubernetesConnectionDetails": {
- "description": "Contains information used to connect to a Kubernetes cluster",
- "allOf": [
- {
- "$ref": "#/definitions/OrchestratorSpecificConnectionDetails"
- }
- ],
- "properties": {
- "kubeConfig": {
- "description": "Gets the kubeconfig for the cluster.",
- "type": "string"
- }
- },
- "x-ms-discriminator-value": "Kubernetes"
- },
- "ErrorResponse": {
- "description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
- "properties": {
- "error": {
- "$ref": "#/definitions/ErrorDetails",
- "description": "The details of the error."
- }
- }
- },
- "ErrorDetails": {
- "properties": {
- "code": {
- "description": "Status code for the error.",
- "type": "string",
- "readOnly": true
- },
- "message": {
- "description": "Error message describing the error in detail.",
- "type": "string",
- "readOnly": true
- },
- "target": {
- "description": "The target of the particular error.",
- "type": "string",
- "readOnly": true
- }
- }
- }
- },
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "description": "Azure subscription ID.",
- "required": true,
- "type": "string"
- },
- "ResourceGroupParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "description": "Resource group to which the resource belongs.",
- "required": true,
- "type": "string",
- "maxLength": 90,
- "minLength": 1,
- "x-ms-parameter-location": "method"
- },
- "NameParameter": {
- "name": "name",
- "in": "path",
- "description": "Name of the resource.",
- "required": true,
- "type": "string",
- "maxLength": 31,
- "minLength": 3,
- "pattern": "^[a-zA-Z0-9](-?[a-zA-Z0-9])*$",
- "x-ms-parameter-location": "method"
- },
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "description": "Client API version.",
- "required": true,
- "type": "string"
- }
- },
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "description": "Azure Active Directory OAuth2 Flow",
- "flow": "implicit",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json
deleted file mode 100644
index adc9b2ef040f..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ContainerHostMappingsGetContainerHostMapping_example.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "location": "eastus",
- "containerHostMapping": {
- "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- },
- "responses": {
- "200": {
- "body": {
- "containerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster",
- "mappedControllerResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myController"
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json
deleted file mode 100644
index b15b8c8ce608..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersCreate_example.json
+++ /dev/null
@@ -1,58 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource",
- "controller": {
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "targetContainerHostCredentialsBase64": "QmFzZTY0IEVuY29kZWQgVmFsdWUK",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix.azds.io",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Creating",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json
deleted file mode 100644
index 64b07e0568cb..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersDelete_example.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Location": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.DevSpaces/operationresults/00000000-0000-0000-0000-000000000000"
- }
- },
- "204": {}
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json
deleted file mode 100644
index 23ec5e93df6f..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersGet_example.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix.azds.io",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json
deleted file mode 100644
index f77b862515bc..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListByResourceGroup_example.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix.azds.io",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json
deleted file mode 100644
index a0b7175dcbaf..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersListConnectionDetails_example.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource"
- },
- "responses": {
- "200": {
- "body": {
- "connectionDetailsList": [
- {
- "authKey": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
- "orchestratorSpecificConnectionDetails": {
- "instanceType": "Kubernetes",
- "kubeConfig": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json
deleted file mode 100644
index 7db9ae039ab0..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersList_example.json
+++ /dev/null
@@ -1,31 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {},
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix.azds.io",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- ]
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json b/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json
deleted file mode 100644
index 4f9bd133c3c5..000000000000
--- a/specification/devspaces/resource-manager/Microsoft.DevSpaces/preview/2019-01-01-preview/examples/ControllersUpdate_example.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "parameters": {
- "api-version": "2019-01-01-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "name": "myControllerResource",
- "controllerUpdateParameters": {
- "tags": {
- "key": "value"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DevSpaces/controllers/myControllerResource",
- "name": "myControllerResource",
- "type": "Microsoft.DevSpaces/controllers",
- "location": "eastus",
- "tags": {
- "key": "value"
- },
- "sku": {
- "name": "S1",
- "tier": "Standard"
- },
- "properties": {
- "provisioningState": "Succeeded",
- "hostSuffix": "suffix.azds.io",
- "dataPlaneFqdn": "dataplane.azds.io",
- "targetContainerHostResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.ContainerService/managedClusters/myCluster"
- }
- }
- }
- }
-}
diff --git a/specification/devspaces/resource-manager/readme.go.md b/specification/devspaces/resource-manager/readme.go.md
index d6f9bb313f0e..3bf8fa8f5bbb 100644
--- a/specification/devspaces/resource-manager/readme.go.md
+++ b/specification/devspaces/resource-manager/readme.go.md
@@ -14,33 +14,13 @@ go:
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2019-04-01
- - tag: package-2019-01-01-preview
- - tag: package-2018-06-01-preview
```
-### Tag: package-2019-01-01-preview and go
+### Tag: package-2019-04-01 and go
These settings apply only when `--tag=package-2019-04-01 --go` is specified on the command line.
Please also specify `--go-sdk-folder=`.
``` yaml $(tag) == 'package-2019-04-01' && $(go)
output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-04-01/$(namespace)
-```
-
-### Tag: package-2019-01-01-preview and go
-
-These settings apply only when `--tag=package-2019-01-01-preview --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2019-01-01-preview' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-01-01-preview/$(namespace)
-```
-
-### Tag: package-2018-06-01-preview and go
-
-These settings apply only when `--tag=package-2018-06-01-preview --go` is specified on the command line.
-Please also specify `--go-sdk-folder=`.
-
-``` yaml $(tag) == 'package-2018-06-01-preview' && $(go)
-output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-06-01-preview/$(namespace)
```
\ No newline at end of file
diff --git a/specification/devspaces/resource-manager/readme.md b/specification/devspaces/resource-manager/readme.md
index efcef02e7bc7..2ed721e861f0 100644
--- a/specification/devspaces/resource-manager/readme.md
+++ b/specification/devspaces/resource-manager/readme.md
@@ -39,24 +39,6 @@ input-file:
- Microsoft.DevSpaces/stable/2019-04-01/devspaces.json
```
-### Tag: package-2019-01-01-preview
-
-These settings apply only when `--tag=package-2019-01-01-preview` is specified on the command line.
-
-``` yaml $(tag) == 'package-2019-01-01-preview'
-input-file:
-- Microsoft.DevSpaces/preview/2019-01-01-preview/devspaces.json
-```
-
-### Tag: package-2018-06-01-preview
-
-These settings apply only when `--tag=package-2018-06-01-preview` is specified on the command line.
-
-``` yaml $(tag) == 'package-2018-06-01-preview'
-input-file:
-- Microsoft.DevSpaces/preview/2018-06-01-preview/devspaces.json
-```
-
---
# Code Generation
@@ -68,6 +50,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-java
- repo: azure-sdk-for-python
- repo: azure-sdk-for-js
@@ -112,32 +95,43 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devspaces
``` yaml $(java) && $(multiapi)
batch:
- - tag: package-2018-06-01-preview
- - tag: package-2019-01-01-preview
+ - tag: package-2019-04-01
```
-### Tag: package-2018-06-01-preview and java
+### Tag: package-2019-04-01-preview and java
-These settings apply only when `--tag=2018-06-01-preview --java` is specified on the command line.
+These settings apply only when `--tag=2019-04-01 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=`.
-``` yaml $(tag)=='package-2018-06-01-preview' && $(java) && $(multiapi)
+``` yaml $(tag)=='package-2019-04-01' && $(java) && $(multiapi)
java:
- namespace: com.microsoft.azure.management.devspaces.v2018_06_01_preview
- output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2018_06_01_preview
+ namespace: com.microsoft.azure.management.devspaces.v2019_04_01
+ output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2019_04_01
regenerate-manager: true
generate-interface: true
```
-### Tag: package-2019-01-01-preview and java
+## Multi-API/Profile support for AutoRest v3 generators
-These settings apply only when `--tag=2019-01-01-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DevSpaces/stable/2019-04-01/devspaces.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
-``` yaml $(tag)=='package-2019-01-01-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.devspaces.v2019_01_01_preview
- output-folder: $(azure-libraries-for-java-folder)/devspaces/resource-manager/v2019_01_01_preview
-regenerate-manager: true
-generate-interface: true
-```
\ No newline at end of file
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json
index 0f95e1b0fca3..74d5b0ed98f2 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/DTL.json
@@ -61,21 +61,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -83,7 +80,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -171,21 +167,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -193,7 +186,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -238,21 +230,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -260,7 +249,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -317,21 +305,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=displayName)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -339,7 +324,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -398,21 +382,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=displayName)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -420,7 +401,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -478,7 +458,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the azure Resource Manager template.",
+ "description": "The name of the azure resource manager template.",
"required": true,
"type": "string"
},
@@ -486,7 +466,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=displayName)'",
- "required": false,
"type": "string"
},
{
@@ -541,21 +520,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=title)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -563,7 +539,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -629,7 +604,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=title)'",
- "required": false,
"type": "string"
},
{
@@ -748,7 +722,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=displayName)'",
- "required": false,
"type": "string"
},
{
@@ -881,7 +854,7 @@
"tags": [
"ArtifactSources"
],
- "description": "Modify properties of artifact sources.",
+ "description": "Allows modifying tags of artifact sources. All other properties will be ignored.",
"operationId": "ArtifactSources_Update",
"parameters": [
{
@@ -965,7 +938,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=labCostDetails)'",
- "required": false,
"type": "string"
},
{
@@ -1074,21 +1046,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=vm)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -1096,7 +1065,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -1155,7 +1123,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=vm)'",
- "required": false,
"type": "string"
},
{
@@ -1293,7 +1260,7 @@
"tags": [
"CustomImages"
],
- "description": "Modify properties of custom images.",
+ "description": "Allows modifying tags of custom images. All other properties will be ignored.",
"operationId": "CustomImages_Update",
"parameters": [
{
@@ -1370,21 +1337,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=description)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -1392,7 +1356,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -1451,7 +1414,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=description)'",
- "required": false,
"type": "string"
},
{
@@ -1477,7 +1439,7 @@
"tags": [
"Formulas"
],
- "description": "Create or replace an existing Formula. This operation can take a while to complete.",
+ "description": "Create or replace an existing formula. This operation can take a while to complete.",
"operationId": "Formulas_CreateOrUpdate",
"parameters": [
{
@@ -1585,7 +1547,7 @@
"tags": [
"Formulas"
],
- "description": "Modify properties of formulas.",
+ "description": "Allows modifying tags of formulas. All other properties will be ignored.",
"operationId": "Formulas_Update",
"parameters": [
{
@@ -1662,21 +1624,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=author)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -1684,7 +1643,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -1736,21 +1694,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=webHookUrl)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -1758,7 +1713,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -1809,7 +1763,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the notificationChannel.",
+ "description": "The name of the notification channel.",
"required": true,
"type": "string"
},
@@ -1817,7 +1771,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=webHookUrl)'",
- "required": false,
"type": "string"
},
{
@@ -1843,7 +1796,7 @@
"tags": [
"NotificationChannels"
],
- "description": "Create or replace an existing notificationChannel.",
+ "description": "Create or replace an existing notification channel.",
"operationId": "NotificationChannels_CreateOrUpdate",
"parameters": [
{
@@ -1862,7 +1815,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the notificationChannel.",
+ "description": "The name of the notification channel.",
"required": true,
"type": "string"
},
@@ -1923,7 +1876,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the notificationChannel.",
+ "description": "The name of the notification channel.",
"required": true,
"type": "string"
},
@@ -1950,7 +1903,7 @@
"tags": [
"NotificationChannels"
],
- "description": "Modify properties of notification channels.",
+ "description": "Allows modifying tags of notification channels. All other properties will be ignored.",
"operationId": "NotificationChannels_Update",
"parameters": [
{
@@ -1969,7 +1922,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the notificationChannel.",
+ "description": "The name of the notification channel.",
"required": true,
"type": "string"
},
@@ -2026,7 +1979,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the notificationChannel.",
+ "description": "The name of the notification channel.",
"required": true,
"type": "string"
},
@@ -2145,21 +2098,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=description)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -2167,7 +2117,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -2233,7 +2182,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=description)'",
- "required": false,
"type": "string"
},
{
@@ -2380,7 +2328,7 @@
"tags": [
"Policies"
],
- "description": "Modify properties of policies.",
+ "description": "Allows modifying tags of policies. All other properties will be ignored.",
"operationId": "Policies_Update",
"parameters": [
{
@@ -2464,21 +2412,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -2486,7 +2431,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -2545,7 +2489,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
@@ -2678,7 +2621,7 @@
"tags": [
"Schedules"
],
- "description": "Modify properties of schedules.",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
"operationId": "Schedules_Update",
"parameters": [
{
@@ -2830,73 +2773,6 @@
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners": {
- "get": {
- "tags": [
- "ServiceRunners"
- ],
- "description": "List service runners in a given lab.",
- "operationId": "ServiceRunners_List",
- "parameters": [
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupName"
- },
- {
- "name": "labName",
- "in": "path",
- "description": "The name of the lab.",
- "required": true,
- "type": "string"
- },
- {
- "name": "$filter",
- "in": "query",
- "description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
- "type": "string"
- },
- {
- "name": "$top",
- "in": "query",
- "description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
- "type": "integer",
- "format": "int32"
- },
- {
- "name": "$orderby",
- "in": "query",
- "description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
- "type": "string"
- },
- {
- "$ref": "#/parameters/api-version"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ServiceRunnerList"
- }
- },
- "default": {
- "description": "BadRequest",
- "schema": {
- "$ref": "#/definitions/CloudError"
- }
- }
- },
- "x-ms-pageable": {
- "nextLinkName": "nextLink"
- },
- "x-ms-odata": "#/definitions/ServiceRunner"
- }
- },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/servicerunners/{name}": {
"get": {
"tags": [
@@ -2948,7 +2824,7 @@
"tags": [
"ServiceRunners"
],
- "description": "Create or replace an existing Service runner.",
+ "description": "Create or replace an existing service runner.",
"operationId": "ServiceRunners_CreateOrUpdate",
"parameters": [
{
@@ -3077,21 +2953,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=identity)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -3099,7 +2972,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -3158,7 +3030,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=identity)'",
- "required": false,
"type": "string"
},
{
@@ -3296,7 +3167,7 @@
"tags": [
"Users"
],
- "description": "Modify properties of user profiles.",
+ "description": "Allows modifying tags of user profiles. All other properties will be ignored.",
"operationId": "Users_Update",
"parameters": [
{
@@ -3380,21 +3251,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=diskType)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -3402,7 +3270,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -3468,7 +3335,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=diskType)'",
- "required": false,
"type": "string"
},
{
@@ -3620,7 +3486,7 @@
"tags": [
"Disks"
],
- "description": "Modify properties of disks.",
+ "description": "Allows modifying tags of disks. All other properties will be ignored.",
"operationId": "Disks_Update",
"parameters": [
{
@@ -3841,21 +3707,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -3863,7 +3726,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -3929,7 +3791,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=deploymentProperties)'",
- "required": false,
"type": "string"
},
{
@@ -4081,7 +3942,7 @@
"tags": [
"Environments"
],
- "description": "Modify properties of environments.",
+ "description": "Allows modifying tags of environments. All other properties will be ignored.",
"operationId": "Environments_Update",
"parameters": [
{
@@ -4172,21 +4033,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=value)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -4194,7 +4052,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -4260,7 +4117,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=value)'",
- "required": false,
"type": "string"
},
{
@@ -4408,7 +4264,7 @@
"tags": [
"Secrets"
],
- "description": "Modify properties of secrets.",
+ "description": "Allows modifying tags of secrets. All other properties will be ignored.",
"operationId": "Secrets_Update",
"parameters": [
{
@@ -4499,21 +4355,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -4521,7 +4374,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -4579,7 +4431,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4587,7 +4439,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=applicableSchedule)'",
- "required": false,
"type": "string"
},
{
@@ -4613,7 +4464,7 @@
"tags": [
"ServiceFabrics"
],
- "description": "Create or replace an existing Service Fabric. This operation can take a while to complete.",
+ "description": "Create or replace an existing service fabric. This operation can take a while to complete.",
"operationId": "ServiceFabrics_CreateOrUpdate",
"parameters": [
{
@@ -4639,7 +4490,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4708,7 +4559,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4739,7 +4590,7 @@
"tags": [
"ServiceFabrics"
],
- "description": "Modify properties of service fabrics.",
+ "description": "Allows modifying tags of service fabrics. All other properties will be ignored.",
"operationId": "ServiceFabrics_Update",
"parameters": [
{
@@ -4765,7 +4616,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4829,7 +4680,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4884,7 +4735,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4940,7 +4791,7 @@
{
"name": "name",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -4996,7 +4847,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5004,21 +4855,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -5026,7 +4874,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -5084,7 +4931,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5099,7 +4946,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
@@ -5151,7 +4997,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5226,7 +5072,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5260,7 +5106,7 @@
"tags": [
"ServiceFabricSchedules"
],
- "description": "Modify properties of schedules.",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
"operationId": "ServiceFabricSchedules_Update",
"parameters": [
{
@@ -5286,7 +5132,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5357,7 +5203,7 @@
{
"name": "serviceFabricName",
"in": "path",
- "description": "The name of the service Fabric.",
+ "description": "The name of the service fabric.",
"required": true,
"type": "string"
},
@@ -5414,21 +5260,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -5436,7 +5279,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -5500,7 +5342,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=artifacts,computeVm,networkInterface,applicableSchedule)'",
- "required": false,
"type": "string"
},
{
@@ -5531,7 +5372,7 @@
"tags": [
"VirtualMachines"
],
- "description": "Create or replace an existing Virtual machine. This operation can take a while to complete.",
+ "description": "Create or replace an existing virtual machine. This operation can take a while to complete.",
"operationId": "VirtualMachines_CreateOrUpdate",
"parameters": [
{
@@ -5653,7 +5494,7 @@
"tags": [
"VirtualMachines"
],
- "description": "Modify properties of virtual machines.",
+ "description": "Allows modifying tags of virtual machines. All other properties will be ignored.",
"operationId": "VirtualMachines_Update",
"parameters": [
{
@@ -6453,21 +6294,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -6475,7 +6313,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -6541,7 +6378,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
@@ -6688,7 +6524,7 @@
"tags": [
"VirtualMachineSchedules"
],
- "description": "Modify properties of schedules.",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
"operationId": "VirtualMachineSchedules_Update",
"parameters": [
{
@@ -6828,21 +6664,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -6850,7 +6683,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -6914,7 +6746,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($expand=externalSubnets)'",
- "required": false,
"type": "string"
},
{
@@ -7067,7 +6898,7 @@
"tags": [
"VirtualNetworks"
],
- "description": "Modify properties of virtual networks.",
+ "description": "Allows modifying tags of virtual networks. All other properties will be ignored.",
"operationId": "VirtualNetworks_Update",
"parameters": [
{
@@ -7149,7 +6980,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=defaultStorageAccount)'",
- "required": false,
"type": "string"
},
{
@@ -7288,7 +7118,7 @@
"tags": [
"Labs"
],
- "description": "Modify properties of labs.",
+ "description": "Allows modifying tags of labs. All other properties will be ignored.",
"operationId": "Labs_Update",
"parameters": [
{
@@ -7660,21 +7490,18 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
"name": "$filter",
"in": "query",
"description": "The filter to apply to the operation. Example: '$filter=contains(name,'myName')",
- "required": false,
"type": "string"
},
{
"name": "$top",
"in": "query",
"description": "The maximum number of resources to return from the operation. Example: '$top=10'",
- "required": false,
"type": "integer",
"format": "int32"
},
@@ -7682,7 +7509,6 @@
"name": "$orderby",
"in": "query",
"description": "The ordering expression for the results, using OData notation. Example: '$orderby=name desc'",
- "required": false,
"type": "string"
},
{
@@ -7734,7 +7560,6 @@
"name": "$expand",
"in": "query",
"description": "Specify the $expand query. Example: 'properties($select=status)'",
- "required": false,
"type": "string"
},
{
@@ -7853,7 +7678,7 @@
"tags": [
"GlobalSchedules"
],
- "description": "Modify properties of schedules.",
+ "description": "Allows modifying tags of schedules. All other properties will be ignored.",
"operationId": "GlobalSchedules_Update",
"parameters": [
{
@@ -8616,7 +8441,7 @@
"properties": {
"diskSizeGiB": {
"format": "int32",
- "description": "Size of the disk to be attached in Gibibytes.",
+ "description": "Size of the disk to be attached in GibiBytes.",
"type": "integer"
},
"diskName": {
@@ -8627,7 +8452,8 @@
"description": "The storage type for the disk (i.e. Standard, Premium).",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -8643,7 +8469,7 @@
"properties": {
"diskSizeGiB": {
"format": "int32",
- "description": "Size of the disk to be attached in Gibibytes.",
+ "description": "Size of the disk to be attached in GibiBytes.",
"type": "integer"
},
"diskName": {
@@ -8654,7 +8480,8 @@
"description": "The storage type for the disk (i.e. Standard, Premium).",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -9286,7 +9113,8 @@
"description": "Disk Storage Type",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -9308,7 +9136,8 @@
"description": "Disk Storage Type",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -9418,7 +9247,8 @@
"description": "The storage type for the disk (i.e. Standard, Premium).",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -9428,7 +9258,7 @@
},
"diskSizeGiB": {
"format": "int32",
- "description": "The size of the disk in Gibibytes.",
+ "description": "The size of the disk in GibiBytes.",
"type": "integer"
},
"leasedByLabVmId": {
@@ -9477,7 +9307,8 @@
"description": "The storage type for the disk (i.e. Standard, Premium).",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -9487,7 +9318,7 @@
},
"diskSizeGiB": {
"format": "int32",
- "description": "The size of the disk in Gibibytes.",
+ "description": "The size of the disk in GibiBytes.",
"type": "integer"
},
"leasedByLabVmId": {
@@ -10489,7 +10320,8 @@
"description": "Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -10550,7 +10382,7 @@
"description": "The properties of any lab support message associated with this lab"
},
"vmCreationResourceGroup": {
- "description": "The resource group in which lab virtual machines will be created in.",
+ "description": "The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.",
"type": "string",
"readOnly": true
},
@@ -10596,7 +10428,8 @@
"description": "Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.",
"enum": [
"Standard",
- "Premium"
+ "Premium",
+ "StandardSSD"
],
"type": "string",
"x-ms-enum": {
@@ -10965,7 +10798,8 @@
"description": "Tells source of creation of lab virtual machine. Output property only.",
"enum": [
"FromCustomImage",
- "FromGalleryImage"
+ "FromGalleryImage",
+ "FromSharedGalleryImage"
],
"type": "string",
"x-ms-enum": {
@@ -11118,7 +10952,8 @@
"description": "Tells source of creation of lab virtual machine. Output property only.",
"enum": [
"FromCustomImage",
- "FromGalleryImage"
+ "FromGalleryImage",
+ "FromSharedGalleryImage"
],
"type": "string",
"x-ms-enum": {
@@ -11310,7 +11145,8 @@
"description": "Tells source of creation of lab virtual machine. Output property only.",
"enum": [
"FromCustomImage",
- "FromGalleryImage"
+ "FromGalleryImage",
+ "FromSharedGalleryImage"
],
"type": "string",
"x-ms-enum": {
@@ -11469,7 +11305,8 @@
"description": "Tells source of creation of lab virtual machine. Output property only.",
"enum": [
"FromCustomImage",
- "FromGalleryImage"
+ "FromGalleryImage",
+ "FromSharedGalleryImage"
],
"type": "string",
"x-ms-enum": {
@@ -12846,23 +12683,6 @@
}
}
},
- "ServiceRunnerList": {
- "description": "The response of a list operation.",
- "type": "object",
- "properties": {
- "value": {
- "description": "Results of the list operation.",
- "type": "array",
- "items": {
- "$ref": "#/definitions/ServiceRunner"
- }
- },
- "nextLink": {
- "description": "Link for next set of results.",
- "type": "string"
- }
- }
- },
"SharedPublicIpAddressConfiguration": {
"description": "Properties of a virtual machine that determine how it is connected to a load balancer.",
"type": "object",
@@ -13598,13 +13418,13 @@
},
"securityDefinitions": {
"azure_auth": {
- "type": "oauth2",
- "description": "OAuth2 Implicit Grant",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "Access Microsoft Azure"
- }
+ },
+ "type": "oauth2",
+ "description": "OAuth2 Implicit Grant"
}
},
"security": [
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json
index 09ad003c2b9f..5a656e392f58 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_ClaimAnyVm.json
@@ -7,11 +7,7 @@
"monitor": "true"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json
index df19c66124ae..9ade4318f1ef 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_CreateEnvironment.json
@@ -31,11 +31,7 @@
}
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json
index 77e16cc7eada..6b4b5a2a48f4 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/Labs_Delete.json
@@ -6,14 +6,8 @@
"api-version": "2018-09-15"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json
index a224814ddf06..3f7db707c177 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Claim.json
@@ -7,11 +7,7 @@
"api-version": "2018-09-15"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json
index 434631786d71..a1aafb6bfe79 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Delete.json
@@ -7,14 +7,8 @@
"api-version": "2018-09-15"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json
index d072ba194309..a8bfaf2ad517 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Redeploy.json
@@ -8,11 +8,7 @@
"monitor": "true"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json
index ba1e766ac5b5..754ec9a5df56 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Resize.json
@@ -11,11 +11,7 @@
}
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json
index d072ba194309..a8bfaf2ad517 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Restart.json
@@ -8,11 +8,7 @@
"monitor": "true"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json
index d072ba194309..a8bfaf2ad517 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Start.json
@@ -8,11 +8,7 @@
"monitor": "true"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json
index a224814ddf06..3f7db707c177 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_Stop.json
@@ -7,11 +7,7 @@
"api-version": "2018-09-15"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json
index d072ba194309..a8bfaf2ad517 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualMachines_UnClaim.json
@@ -8,11 +8,7 @@
"monitor": "true"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json
index 267520b2dc4e..81e4b24e8741 100644
--- a/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json
+++ b/specification/devtestlabs/resource-manager/Microsoft.DevTestLab/stable/2018-09-15/examples/VirtualNetworks_Delete.json
@@ -7,14 +7,8 @@
"api-version": "2018-09-15"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/devtestlabs/resource-manager/readme.java.md b/specification/devtestlabs/resource-manager/readme.java.md
new file mode 100644
index 000000000000..353933d0fcb5
--- /dev/null
+++ b/specification/devtestlabs/resource-manager/readme.java.md
@@ -0,0 +1,62 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.devtestlabs
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devtestlabs
+service-name: DevTestLabs
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-09
+ - tag: package-2016-05
+ - tag: package-2015-05-preview
+```
+
+### Tag: package-2018-09 and java
+
+These settings apply only when `--tag=package-2018-09 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-09' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.devtestlabs.v2018_09_15
+ output-folder: $(azure-libraries-for-java-folder)/devtestlabs/resource-manager/v2018_09_15
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2016-05 and java
+
+These settings apply only when `--tag=package-2016-05 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2016-05' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.devtestlabs.v2016_05_15
+ output-folder: $(azure-libraries-for-java-folder)/devtestlabs/resource-manager/v2016_05_15
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2015-05-preview and java
+
+These settings apply only when `--tag=package-2015-05-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2015-05-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.devtestlabs.v2015_05_21_preview
+ output-folder: $(azure-libraries-for-java-folder)/devtestlabs/resource-manager/v2015_05_21_preview
+regenerate-manager: true
+generate-interface: true
+```
diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md
index 929dab3a3ae8..1e4ac41bae02 100644
--- a/specification/devtestlabs/resource-manager/readme.md
+++ b/specification/devtestlabs/resource-manager/readme.md
@@ -69,6 +69,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -127,64 +128,31 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
+See configuration in [readme.java.md](./readme.java.md)
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.devtestlabs
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devtestlabs
-```
-
-### Java multi-api
+## Multi-API/Profile support for AutoRest v3 generators
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2018-09
- - tag: package-2016-05
- - tag: package-2015-05-preview
-```
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
-### Tag: package-2018-09 and java
+This block is updated by an automatic script. Edits may be lost!
-These settings apply only when `--tag=package-2018-09 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-09' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.devtestlab.v2018_09_15
- output-folder: $(azure-libraries-for-java-folder)/devtestlab/resource-manager/v2018_09_15
-regenerate-manager: true
-generate-interface: true
-```
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
-### Tag: package-2016-05 and java
-
-These settings apply only when `--tag=package-2016-05 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DevTestLab/stable/2018-09-15/DTL.json
+ - $(this-folder)/Microsoft.DevTestLab/stable/2016-05-15/DTL.json
+ - $(this-folder)/Microsoft.DevTestLab/preview/2015-05-21-preview/DTL.json
-``` yaml $(tag) == 'package-2016-05' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.devtestlab.v2016_05_15
- output-folder: $(azure-libraries-for-java-folder)/devtestlab/resource-manager/v2016_05_15
-regenerate-manager: true
-generate-interface: true
```
-### Tag: package-2015-05-preview and java
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
-These settings apply only when `--tag=package-2015-05-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2015-05-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.devtestlab.v2015_05_21_preview
- output-folder: $(azure-libraries-for-java-folder)/devtestlab/resource-manager/v2015_05_21_preview
-regenerate-manager: true
-generate-interface: true
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
diff --git a/specification/dns/resource-manager/readme.md b/specification/dns/resource-manager/readme.md
index 6b589d51b724..d54ee0216ba4 100644
--- a/specification/dns/resource-manager/readme.md
+++ b/specification/dns/resource-manager/readme.md
@@ -223,3 +223,33 @@ Creating this tag to pick proper resources from the hybrid profile.
input-file:
- Microsoft.Network/stable/2016-04-01/dns.json
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Network/stable/2018-05-01/dns.json
+ - $(this-folder)/Microsoft.Network/preview/2018-03-01-preview/dns.json
+ - $(this-folder)/Microsoft.Network/stable/2017-10-01/dns.json
+ - $(this-folder)/Microsoft.Network/stable/2017-09-01/dns.json
+ - $(this-folder)/Microsoft.Network/stable/2016-04-01/dns.json
+ - $(this-folder)/Microsoft.Network/preview/2015-05-04-preview/dns.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/domainservices/resource-manager/readme.md b/specification/domainservices/resource-manager/readme.md
index 0a169d44c0c7..ca3f980926f6 100644
--- a/specification/domainservices/resource-manager/readme.md
+++ b/specification/domainservices/resource-manager/readme.md
@@ -58,6 +58,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
@@ -74,7 +75,7 @@ csharp:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.DomainServices
payload-flattening-threshold: 2
- output-folder: $(csharp-sdks-folder)/DomainServices/Management.DomainServices/Generated
+ output-folder: $(csharp-sdks-folder)/domainservices/Microsoft.Azure.Management.DomainServices/src/Generated
clear-output-folder: true
```
@@ -131,3 +132,29 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.AAD/stable/2017-06-01/domainservices.json
+ - $(this-folder)/Microsoft.AAD/stable/2017-01-01/domainservices.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthScheduleDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthScheduleDelete.json
index 06409da9941c..c73e97af3845 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthScheduleDelete.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthScheduleDelete.json
@@ -10,12 +10,8 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
+ "200": {},
+ "202": {},
"204": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthSchedulePut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthSchedulePut.json
index 6a04074239a3..b039cfa005b4 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthSchedulePut.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/BandwidthSchedulePut.json
@@ -49,8 +49,6 @@
"type": "dataBoxEdgeDevices/bandwidthSchedules"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DataBoxEdgeDeviceDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DataBoxEdgeDeviceDelete.json
index d4996c74daf2..ac93980803ff 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DataBoxEdgeDeviceDelete.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DataBoxEdgeDeviceDelete.json
@@ -12,12 +12,8 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
+ "200": {},
+ "202": {},
"204": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DownloadUpdatesPost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DownloadUpdatesPost.json
index 920d64ff998c..6c6fecf2e72c 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DownloadUpdatesPost.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/DownloadUpdatesPost.json
@@ -18,11 +18,7 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/InstallUpdatesPost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/InstallUpdatesPost.json
index 920d64ff998c..6c6fecf2e72c 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/InstallUpdatesPost.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/InstallUpdatesPost.json
@@ -18,11 +18,7 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderDelete.json
index d4996c74daf2..ac93980803ff 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderDelete.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderDelete.json
@@ -12,12 +12,8 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
+ "200": {},
+ "202": {},
"204": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderPut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderPut.json
index 5575a3b4655d..bdbb6747b11c 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderPut.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/OrderPut.json
@@ -83,8 +83,6 @@
}
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RoleDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RoleDelete.json
index 8df3a8dd54e7..ebdd3b6bfc90 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RoleDelete.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RoleDelete.json
@@ -10,12 +10,8 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
+ "200": {},
+ "202": {},
"204": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RolePut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RolePut.json
index 53eb42489913..0e5c6e435f4d 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RolePut.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/RolePut.json
@@ -83,8 +83,6 @@
"type": "dataBoxEdgeDevices/roles"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACDelete.json
index 72d4d68271e5..899d4f6eb3ef 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACDelete.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACDelete.json
@@ -13,12 +13,8 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
+ "200": {},
+ "202": {},
"204": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACPut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACPut.json
index 51fdd14745f7..6189f1131b4d 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACPut.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SACPut.json
@@ -46,8 +46,6 @@
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/storageAccountCredentials"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ScanForUpdatesPost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ScanForUpdatesPost.json
index 920d64ff998c..6c6fecf2e72c 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ScanForUpdatesPost.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ScanForUpdatesPost.json
@@ -18,11 +18,7 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SecuritySettingsUpdatePost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SecuritySettingsUpdatePost.json
index 5f2cb1062fa3..2ea930bd2c2a 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SecuritySettingsUpdatePost.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SecuritySettingsUpdatePost.json
@@ -30,9 +30,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"204": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json
index a7ab923549cd..e6d7c4fd52e1 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareDelete.json
@@ -13,12 +13,8 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
+ "200": {},
+ "202": {},
"204": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json
index 3c2d8d597270..09856ca5abe4 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/SharePut.json
@@ -68,8 +68,6 @@
"type": "dataBoxEdgeDevices/shares"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json
index 0f0b398ffb7a..5a71cfd977ee 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/ShareRefreshPost.json
@@ -19,11 +19,7 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- }
+ "200": {},
+ "202": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerDelete.json
index 41ebef6f9af5..566a90ea402c 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerDelete.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerDelete.json
@@ -13,12 +13,8 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
+ "200": {},
+ "202": {},
"204": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerPut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerPut.json
index f67faf57b6d8..c6e550e6e404 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerPut.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/TriggerPut.json
@@ -51,8 +51,6 @@
"kind": "FileEvent"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserDelete.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserDelete.json
index e795417316fb..3e8de067bca0 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserDelete.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserDelete.json
@@ -19,12 +19,8 @@
]
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
+ "200": {},
+ "202": {},
"204": {}
}
}
diff --git a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserPut.json b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserPut.json
index 702350716a99..0d80882deef3 100644
--- a/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserPut.json
+++ b/specification/edgegateway/resource-manager/Microsoft.DataBoxEdge/stable/2019-03-01/examples/UserPut.json
@@ -39,8 +39,6 @@
"type": "Microsoft.DataBoxEdge/dataBoxEdgeDevices/users"
}
},
- "202": {
- "body": ""
- }
+ "202": {}
}
}
diff --git a/specification/edgegateway/resource-manager/readme.md b/specification/edgegateway/resource-manager/readme.md
index abdb058d5992..0112771ddc2f 100644
--- a/specification/edgegateway/resource-manager/readme.md
+++ b/specification/edgegateway/resource-manager/readme.md
@@ -49,6 +49,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-js
- repo: azure-sdk-for-go
@@ -144,3 +145,28 @@ java:
regenerate-manager: true
generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DataBoxEdge/stable/2019-03-01/edgegateway.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/engagementfabric/resource-manager/readme.md b/specification/engagementfabric/resource-manager/readme.md
index 2d491db5a1ce..728d6321e9fd 100644
--- a/specification/engagementfabric/resource-manager/readme.md
+++ b/specification/engagementfabric/resource-manager/readme.md
@@ -51,6 +51,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -71,7 +72,7 @@ csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.EngagementFabric
- output-folder: $(csharp-sdks-folder)/EngagementFabric/Management.EngagementFabric/Generated
+ output-folder: $(csharp-sdks-folder)/engagementfabric/Microsoft.Azure.Management.EngagementFabric/src/Generated
clear-output-folder: true
```
@@ -121,4 +122,29 @@ namespace: com.microsoft.azure.management.engagementfabric
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-engagementfabric
-```
\ No newline at end of file
+```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.EngagementFabric/preview/2018-09-01/EngagementFabric.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
index 0d2582a667dc..b84735e9dc70 100644
--- a/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
+++ b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
@@ -16,7 +16,7 @@
"format": "date-time",
"type": "string"
},
- "hub": {
+ "hubName": {
"description": "The hub of connected client connection.",
"type": "string"
},
@@ -39,7 +39,7 @@
"format": "date-time",
"type": "string"
},
- "hub": {
+ "hubName": {
"description": "The hub of connected client connection.",
"type": "string"
},
diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md
index d48d2be1cf34..7eab6e07b842 100644
--- a/specification/eventgrid/data-plane/readme.md
+++ b/specification/eventgrid/data-plane/readme.md
@@ -109,3 +109,38 @@ license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/eventgrid/data-plane
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Storage/stable/2018-01-01/Storage.json
+ - $(this-folder)/Microsoft.EventHub/stable/2018-01-01/EventHub.json
+ - $(this-folder)/Microsoft.Resources/stable/2018-01-01/Resources.json
+ - $(this-folder)/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json
+ - $(this-folder)/Microsoft.Devices/stable/2018-01-01/IotHub.json
+ - $(this-folder)/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json
+ - $(this-folder)/Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json
+ - $(this-folder)/Microsoft.Media/stable/2018-01-01/MediaServices.json
+ - $(this-folder)/Microsoft.Maps/stable/2018-01-01/Maps.json
+ - $(this-folder)/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json
+ - $(this-folder)/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md
index 89ea7bdd6ad5..b36653107114 100644
--- a/specification/eventgrid/resource-manager/readme.md
+++ b/specification/eventgrid/resource-manager/readme.md
@@ -137,6 +137,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -168,4 +169,36 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-See configuration in [readme.java.md](./readme.java.md)
\ No newline at end of file
+See configuration in [readme.java.md](./readme.java.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.EventGrid/stable/2019-06-01/EventGrid.json
+ - $(this-folder)/Microsoft.EventGrid/preview/2019-02-01-preview/EventGrid.json
+ - $(this-folder)/Microsoft.EventGrid/stable/2019-01-01/EventGrid.json
+ - $(this-folder)/Microsoft.EventGrid/preview/2018-09-15-preview/EventGrid.json
+ - $(this-folder)/Microsoft.EventGrid/preview/2018-05-01-preview/EventGrid.json
+ - $(this-folder)/Microsoft.EventGrid/stable/2018-01-01/EventGrid.json
+ - $(this-folder)/Microsoft.EventGrid/preview/2017-09-15-preview/EventGrid.json
+ - $(this-folder)/Microsoft.EventGrid/preview/2017-06-15-preview/EventGrid.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json
index cf1f9218496d..c9c13c235a16 100644
--- a/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json
+++ b/specification/eventhub/resource-manager/Microsoft.EventHub/stable/2015-08-01/EventHub.json
@@ -920,7 +920,7 @@
"tags": [
"EventHubs"
],
- "operationId": "EventHubs_PosttAuthorizationRule",
+ "operationId": "EventHubs_PostAuthorizationRule",
"x-ms-examples": {
"EventHubAuthorizationRuleGet": {
"$ref": "./examples/EHEventHubAuthorizationRuleGet.json"
diff --git a/specification/eventhub/resource-manager/readme.java.md b/specification/eventhub/resource-manager/readme.java.md
new file mode 100644
index 000000000000..3b9b1a0e5243
--- /dev/null
+++ b/specification/eventhub/resource-manager/readme.java.md
@@ -0,0 +1,62 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.eventhubs
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventhubs
+service-name: EventHubs
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-01-preview
+ - tag: package-2015-08
+ - tag: package-2017-04
+```
+
+### Tag: package-2018-01-preview and java
+
+These settings apply only when `--tag=package-2018-01-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-01-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.eventhubs.v2018_01_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2018_01_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2015-08 and java
+
+These settings apply only when `--tag=package-2015-08 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2015-08' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.eventhubs.v2015_08_01
+ output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2015_08_01
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2017-04 and java
+
+These settings apply only when `--tag=package-2017-04 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.eventhubs.v2017_04_01
+ output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2017_04_01
+regenerate-manager: true
+generate-interface: true
+```
diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md
index c616b290721f..79f815441b8b 100644
--- a/specification/eventhub/resource-manager/readme.md
+++ b/specification/eventhub/resource-manager/readme.md
@@ -81,6 +81,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
after_scripts:
- python ./scripts/multiapi_init_gen.py azure-mgmt-eventhub
@@ -118,64 +119,32 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
+See configuration in [readme.java.md](./readme.java.md)
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.eventhub
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventhub
-```
-
-### Java multi-api
+## Multi-API/Profile support for AutoRest v3 generators
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2018-01-preview
- - tag: package-2015-08
- - tag: package-2017-04
-```
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
-### Tag: package-2018-01-preview and java
+This block is updated by an automatic script. Edits may be lost!
-These settings apply only when `--tag=package-2018-01-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2018-01-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.eventhub.v2018_01_01_preview
- output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2018_01_01_preview
-regenerate-manager: true
-generate-interface: true
-```
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
-### Tag: package-2015-08 and java
-
-These settings apply only when `--tag=package-2015-08 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.EventHub/stable/2017-04-01/EventHub.json
+ - $(this-folder)/Microsoft.EventHub/stable/2015-08-01/EventHub.json
+ - $(this-folder)/Microsoft.EventHub/stable/2014-09-01/EventHub.json
+ - $(this-folder)/Microsoft.EventHub/preview/2018-01-01-preview/EventHub-preview.json
-``` yaml $(tag) == 'package-2015-08' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.eventhub.v2015_08_01
- output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2015_08_01
-regenerate-manager: true
-generate-interface: true
```
-### Tag: package-2017-04 and java
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
-These settings apply only when `--tag=package-2017-04 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java=`.
-
-``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.eventhub.v2017_04_01
- output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2017_04_01
-regenerate-manager: true
-generate-interface: true
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
-
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/README.md b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/README.md
new file mode 100644
index 000000000000..cdb350ea928f
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/README.md
@@ -0,0 +1,21 @@
+# General Availability API specification for FrontDoor Azure Resource
+> see https://aka.ms/autorest
+
+This directory contains the schema specifications for the Front Door Azure Resource. The API will be added to support Front Door on Azure Resource Manager.
+
+The base swagger document for new features for Frontdoor: [frontdoor.json](./frontdoor.json)
+
+## Overview
+The Front Door ARM API supports CRUD functionality on four objects in the resource schema:
+`FrontDoor`, a collection of child objects `BackendPool`, a collection of child objects `FrontendEndpoints` and the primary child object `RoutingRule`, which each reference one `BackendPool` and `FrontendEndpoints` . Each routing rule encapsulates
+all of the settings needed to configure the AzureFD backend infrastructure to set up a
+reverse-proxy route to accelerate traffic, detect backend availability,
+and balance between healthy members of the pool.
+
+## Generated object-model UML diagram
+This diagram is generated from the swagger spec by "[`oav`](https://github.com/Azure/oav) `generate-uml`"
+
+
+## Swagger and JSON specification reference and tools
+- [OpenAPI specification v2.0 (aka Swagger 2.0)](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md)
+- [Swagger.io online editor](https://editor.swagger.io/)
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/assets/frontdoor.svg b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/assets/frontdoor.svg
new file mode 100644
index 000000000000..2806bba823df
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/assets/frontdoor.svg
@@ -0,0 +1,668 @@
+
+
+
+
+
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailability.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailability.json
new file mode 100644
index 000000000000..f14c8283f56a
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailability.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "checkFrontDoorNameAvailabilityInput": {
+ "name": "sampleName",
+ "type": "Microsoft.Network/frontDoors"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailability": "Unavailable",
+ "reason": "Name is already in use",
+ "message": "Name not available"
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json
new file mode 100644
index 000000000000..99f3651cc57c
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/CheckFrontdoorNameAvailabilityWithSubscription.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "checkFrontDoorNameAvailabilityInput": {
+ "name": "sampleName",
+ "type": "Microsoft.Network/frontDoors/frontendEndpoints"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "nameAvailability": "Unavailable",
+ "reason": "Name is already in use",
+ "message": "Name not available"
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolCreate.json
new file mode 100644
index 000000000000..173d7a44b340
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolCreate.json
@@ -0,0 +1,165 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "backendPoolName": "backendPool1",
+ "backendPoolParameters": {
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolDelete.json
new file mode 100644
index 000000000000..90cff1080966
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "backendPoolName": "backendPool1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolGet.json
new file mode 100644
index 000000000000..27302d8e8160
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolGet.json
@@ -0,0 +1,51 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "backendPoolName": "backendPool1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolList.json
new file mode 100644
index 000000000000..cdf8b2d57b7e
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorBackendPoolList.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorCreate.json
new file mode 100644
index 000000000000..2620327488ce
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorCreate.json
@@ -0,0 +1,533 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "frontDoorParameters": {
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "routingRules": [
+ {
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ ],
+ "healthProbeSettings": [
+ {
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled",
+ "healthProbeMethod": "HEAD"
+ }
+ }
+ ],
+ "loadBalancingSettings": [
+ {
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ ],
+ "backendPools": [
+ {
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ ],
+ "frontendEndpoints": [
+ {
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ },
+ {
+ "name": "default",
+ "properties": {
+ "hostName": "frontDoor1.azurefd.net"
+ }
+ }
+ ],
+ "backendPoolsSettings": {
+ "enforceCertificateNameCheck": "Enabled",
+ "sendRecvTimeoutSeconds": 60
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1",
+ "name": "frontDoor1",
+ "type": "Microsoft.Network/frontDoor",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "routingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1",
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "customForwardingPath": "",
+ "forwardingProtocol": "MatchRequest",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ ],
+ "healthProbeSettings": [
+ {
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled",
+ "healthProbeMethod": "HEAD"
+ }
+ }
+ ],
+ "loadBalancingSettings": [
+ {
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ ],
+ "backendPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ ],
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default",
+ "name": "default",
+ "properties": {
+ "hostName": "frontDoor1.azurefd.net"
+ }
+ }
+ ],
+ "backendPoolsSettings": {
+ "enforceCertificateNameCheck": "Enabled",
+ "sendRecvTimeoutSeconds": 60
+ },
+ "enabledState": "Enabled",
+ "resourceState": "Creating",
+ "provisioningState": "Succeeded",
+ "cname": "frontDoor1.azurefd.net"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1",
+ "name": "frontDoor1",
+ "type": "Microsoft.Network/frontDoor",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "routingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1",
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "customForwardingPath": "",
+ "forwardingProtocol": "MatchRequest",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ ],
+ "healthProbeSettings": [
+ {
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled",
+ "healthProbeMethod": "HEAD"
+ }
+ }
+ ],
+ "loadBalancingSettings": [
+ {
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ ],
+ "backendPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ ],
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default",
+ "name": "default",
+ "properties": {
+ "hostName": "frontDoor1.azurefd.net"
+ }
+ }
+ ],
+ "backendPoolsSettings": {
+ "enforceCertificateNameCheck": "Enabled",
+ "sendRecvTimeoutSeconds": 60
+ },
+ "enabledState": "Enabled",
+ "resourceState": "Creating",
+ "provisioningState": "Provisioning",
+ "cname": "frontDoor1.azurefd.net"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1",
+ "name": "frontDoor1",
+ "type": "Microsoft.Network/frontDoor",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "routingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1",
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "customForwardingPath": "",
+ "forwardingProtocol": "MatchRequest",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ ],
+ "healthProbeSettings": [
+ {
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled",
+ "healthProbeMethod": "HEAD"
+ }
+ }
+ ],
+ "loadBalancingSettings": [
+ {
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ ],
+ "backendPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ ],
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default",
+ "name": "default",
+ "properties": {
+ "hostName": "frontDoor1.azurefd.net"
+ }
+ }
+ ],
+ "backendPoolsSettings": {
+ "enforceCertificateNameCheck": "Enabled",
+ "sendRecvTimeoutSeconds": 60
+ },
+ "enabledState": "Enabled",
+ "resourceState": "Creating",
+ "provisioningState": "Provisioning",
+ "cname": "frontDoor1.azurefd.net"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDelete.json
new file mode 100644
index 000000000000..24bd1ac8e15d
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDelete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDisableHttps.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDisableHttps.json
new file mode 100644
index 000000000000..42f17fb474fd
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorDisableHttps.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "frontendEndpointName": "frontendEndpoint1"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorEnableHttps.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorEnableHttps.json
new file mode 100644
index 000000000000..53d20926cc0c
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorEnableHttps.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "frontendEndpointName": "frontendEndpoint1",
+ "customHttpsConfiguration": {
+ "certificateSource": "AzureKeyVault",
+ "protocolType": "ServerNameIndication",
+ "minimumTlsVersion": "1.0",
+ "keyVaultCertificateSourceParameters": {
+ "vault": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.KeyVault/vaults/vault1"
+ },
+ "secretName": "secret1",
+ "secretVersion": "00000000-0000-0000-0000-000000000000"
+ }
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointCreate.json
new file mode 100644
index 000000000000..9d6c548a8d5f
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointCreate.json
@@ -0,0 +1,64 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "frontendEndpointName": "frontDoorEndpoint1",
+ "frontendEndpointParameters": {
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointDelete.json
new file mode 100644
index 000000000000..49981f5191da
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "frontendEndpointName": "frontendEndpoint1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointGet.json
new file mode 100644
index 000000000000..337e24bdeba2
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointGet.json
@@ -0,0 +1,25 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "frontendEndpointName": "frontendEndpoint1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointList.json
new file mode 100644
index 000000000000..24c4b57d0f41
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorFrontendEndpointList.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorGet.json
new file mode 100644
index 000000000000..9f7ee4677cb6
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorGet.json
@@ -0,0 +1,145 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1",
+ "name": "frontDoor1",
+ "type": "Microsoft.Network/frontDoor",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "routingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1",
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "customForwardingPath": "",
+ "forwardingProtocol": "MatchRequest",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ ],
+ "healthProbeSettings": [
+ {
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled",
+ "healthProbeMethod": "HEAD"
+ }
+ }
+ ],
+ "loadBalancingSettings": [
+ {
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ ],
+ "backendPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ ],
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default",
+ "name": "default",
+ "properties": {
+ "hostName": "frontDoor1.azurefd.net"
+ }
+ }
+ ],
+ "backendPoolsSettings": {
+ "enforceCertificateNameCheck": "Enabled",
+ "sendRecvTimeoutSeconds": 60
+ },
+ "enabledState": "Enabled",
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "cname": "frontDoor1.azurefd.net"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsCreate.json
new file mode 100644
index 000000000000..7ce9145d834a
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsCreate.json
@@ -0,0 +1,56 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "healthProbeSettingsName": "healthProbeSettings1",
+ "healthProbeSettingsParameters": {
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1",
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1",
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1",
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsDelete.json
new file mode 100644
index 000000000000..8e0660c6269a
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "healthProbeSettingsName": "healthProbeSettings1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsGet.json
new file mode 100644
index 000000000000..05ec6f5747cd
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsGet.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "healthProbeSettingsName": "healthProbeSettings1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1",
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled",
+ "healthProbeMethod": "HEAD"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsList.json
new file mode 100644
index 000000000000..fc21bfbdff29
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorHealthProbeSettingsList.json
@@ -0,0 +1,27 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1",
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled",
+ "healthProbeMethod": "HEAD"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorList.json
new file mode 100644
index 000000000000..b38a3201d8d8
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorList.json
@@ -0,0 +1,148 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1",
+ "name": "frontDoor1",
+ "type": "Microsoft.Network/frontDoor",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "routingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1",
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "customForwardingPath": "",
+ "forwardingProtocol": "MatchRequest",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ ],
+ "healthProbeSettings": [
+ {
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled",
+ "healthProbeMethod": "HEAD"
+ }
+ }
+ ],
+ "loadBalancingSettings": [
+ {
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ ],
+ "backendPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ ],
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default",
+ "name": "default",
+ "properties": {
+ "hostName": "frontDoor1.azurefd.net"
+ }
+ }
+ ],
+ "backendPoolsSettings": {
+ "enforceCertificateNameCheck": "Enabled",
+ "sendRecvTimeoutSeconds": 60
+ },
+ "enabledState": "Enabled",
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "cname": "frontDoor1.azurefd.net"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorListAll.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorListAll.json
new file mode 100644
index 000000000000..4bf212cd88dd
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorListAll.json
@@ -0,0 +1,146 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1",
+ "name": "frontDoor1",
+ "type": "Microsoft.Network/frontDoor",
+ "location": "westus",
+ "tags": {
+ "tag1": "value1",
+ "tag2": "value2"
+ },
+ "properties": {
+ "routingRules": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1",
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "customForwardingPath": "",
+ "forwardingProtocol": "MatchRequest",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ ],
+ "healthProbeSettings": [
+ {
+ "name": "healthProbeSettings1",
+ "properties": {
+ "path": "/",
+ "protocol": "Http",
+ "intervalInSeconds": 120,
+ "enabledState": "Enabled",
+ "healthProbeMethod": "HEAD"
+ }
+ }
+ ],
+ "loadBalancingSettings": [
+ {
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ ],
+ "backendPools": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1",
+ "name": "backendPool1",
+ "properties": {
+ "backends": [
+ {
+ "address": "w3.contoso.com",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 2
+ },
+ {
+ "address": "contoso.com.website-us-west-2.othercloud.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 2,
+ "priority": 1
+ },
+ {
+ "address": "contoso1.azurewebsites.net",
+ "httpPort": 80,
+ "httpsPort": 443,
+ "enabledState": "Enabled",
+ "weight": 1,
+ "priority": 1
+ }
+ ],
+ "loadBalancingSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadBalancingSettings1"
+ },
+ "healthProbeSettings": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/healthProbeSettings/healthProbeSettings1"
+ }
+ }
+ }
+ ],
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1",
+ "name": "frontendEndpoint1",
+ "properties": {
+ "hostName": "www.contoso.com",
+ "sessionAffinityEnabledState": "Enabled",
+ "sessionAffinityTtlSeconds": 60,
+ "webApplicationFirewallPolicyLink": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies/policy1"
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default",
+ "name": "default",
+ "properties": {
+ "hostName": "frontDoor1.azurefd.net"
+ }
+ }
+ ],
+ "backendPoolsSettings": {
+ "enforceCertificateNameCheck": "Enabled"
+ },
+ "enabledState": "Enabled",
+ "resourceState": "Enabled",
+ "provisioningState": "Succeeded",
+ "cname": "frontDoor1.azurefd.net"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsCreate.json
new file mode 100644
index 000000000000..d06b3e12d04d
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsCreate.json
@@ -0,0 +1,48 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "loadBalancingSettingsName": "loadBalancingSettings1",
+ "loadBalancingSettingsParameters": {
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadbalancingSettings1",
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadbalancingSettings1",
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadbalancingSettings1",
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsDelete.json
new file mode 100644
index 000000000000..a28375d1d443
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "loadBalancingSettingsName": "loadBalancingSettings1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsGet.json
new file mode 100644
index 000000000000..d6584f79194f
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsGet.json
@@ -0,0 +1,21 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "loadBalancingSettingsName": "loadBalancingSettings1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadbalancingSettings1",
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsList.json
new file mode 100644
index 000000000000..3fca126ab439
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorLoadBalancingSettingsList.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/loadBalancingSettings/loadbalancingSettings1",
+ "name": "loadBalancingSettings1",
+ "properties": {
+ "sampleSize": 4,
+ "successfulSamplesRequired": 2
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorPurgeContent.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorPurgeContent.json
new file mode 100644
index 000000000000..cb4608227472
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorPurgeContent.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "contentFilePaths": {
+ "contentPaths": [
+ "/pictures.aspx",
+ "/pictures/*"
+ ]
+ }
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleCreate.json
new file mode 100644
index 000000000000..fa146c71e1cf
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleCreate.json
@@ -0,0 +1,136 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "routingRuleName": "redirectRoutingRule1",
+ "routingRuleParameters": {
+ "name": "redirectRoutingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Https"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration",
+ "redirectType": "Moved",
+ "redirectProtocol": "HttpsOnly",
+ "customHost": "www.bing.com",
+ "customPath": "/api",
+ "customFragment": "fragment",
+ "customQueryString": "a=b"
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/redirectRoutingRule1",
+ "name": "redirectRoutingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Https"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration",
+ "redirectType": "Moved",
+ "redirectProtocol": "HttpsOnly",
+ "customHost": "www.bing.com",
+ "customPath": "/api",
+ "customFragment": "fragment",
+ "customQueryString": "a=b"
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/redirectRoutingRule1",
+ "name": "redirectRoutingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Https"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration",
+ "redirectType": "Moved",
+ "redirectProtocol": "HttpsOnly",
+ "customHost": "www.bing.com",
+ "customPath": "/api",
+ "customFragment": "fragment",
+ "customQueryString": "a=b"
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/redirectRoutingRule1",
+ "name": "redirectRoutingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Https"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration",
+ "redirectType": "Moved",
+ "redirectProtocol": "HttpsOnly",
+ "customHost": "www.bing.com",
+ "customPath": "/api",
+ "customFragment": "fragment",
+ "customQueryString": "a=b"
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleGet.json
new file mode 100644
index 000000000000..e7acb420d61f
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRedirectRoutingRuleGet.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "routingRuleName": "redirectRoutingRule1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/redirectRoutingRule1",
+ "name": "redirectRoutingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Https"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration",
+ "redirectType": "Moved",
+ "redirectProtocol": "HttpsOnly",
+ "customHost": "www.bing.com",
+ "customPath": "/api",
+ "customFragment": "fragment",
+ "customQueryString": "a=b"
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleCreate.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleCreate.json
new file mode 100644
index 000000000000..02e739ea6562
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleCreate.json
@@ -0,0 +1,130 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "routingRuleName": "routingRule1",
+ "routingRuleParameters": {
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1",
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "customForwardingPath": "",
+ "forwardingProtocol": "MatchRequest",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1",
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "customForwardingPath": "",
+ "forwardingProtocol": "MatchRequest",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ },
+ "202": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1",
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "customForwardingPath": "",
+ "forwardingProtocol": "MatchRequest",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleDelete.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleDelete.json
new file mode 100644
index 000000000000..11e04942505d
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "routingRuleName": "routingRule1"
+ },
+ "responses": {
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleGet.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleGet.json
new file mode 100644
index 000000000000..8947311421b1
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleGet.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "routingRuleName": "routingRule1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1",
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "customForwardingPath": "",
+ "forwardingProtocol": "MatchRequest",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleList.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleList.json
new file mode 100644
index 000000000000..50cf21f7dd3c
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorRoutingRuleList.json
@@ -0,0 +1,75 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/routingRule1",
+ "name": "routingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Http"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "customForwardingPath": "",
+ "forwardingProtocol": "MatchRequest",
+ "backendPool": {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/backendPools/backendPool1"
+ }
+ },
+ "enabledState": "Enabled"
+ }
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/routingRules/redirectRoutingRule1",
+ "name": "redirectRoutingRule1",
+ "properties": {
+ "frontendEndpoints": [
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/frontendEndpoint1"
+ },
+ {
+ "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/frontDoors/frontDoor1/frontendEndpoints/default"
+ }
+ ],
+ "acceptedProtocols": [
+ "Https"
+ ],
+ "patternsToMatch": [
+ "/*"
+ ],
+ "routeConfiguration": {
+ "@odata.type": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration",
+ "redirectType": "Moved",
+ "redirectProtocol": "HttpsOnly",
+ "customHost": "www.bing.com",
+ "customPath": "/api",
+ "customFragment": "fragment",
+ "customQueryString": "a=b"
+ },
+ "enabledState": "Enabled"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorValidateCustomDomain.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorValidateCustomDomain.json
new file mode 100644
index 000000000000..7b6bb8216c0f
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/examples/FrontdoorValidateCustomDomain.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-05-01",
+ "subscriptionId": "subid",
+ "resourceGroupName": "rg1",
+ "frontDoorName": "frontDoor1",
+ "customDomainProperties": {
+ "hostName": "www.someDomain.com"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "customDomainValidated": true,
+ "message": null,
+ "reason": null
+ }
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/frontdoor.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/frontdoor.json
new file mode 100644
index 000000000000..f41aad8fd5bc
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/frontdoor.json
@@ -0,0 +1,2711 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-05-01",
+ "title": "FrontDoorManagementClient",
+ "description": "Use these APIs to manage Azure Front Door resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/providers/Microsoft.Network/checkFrontDoorNameAvailability": {
+ "post": {
+ "tags": [
+ "CheckFrontDoorNameAvailability"
+ ],
+ "description": "Check the availability of a Front Door resource name.",
+ "operationId": "CheckFrontDoorNameAvailability",
+ "x-ms-examples": {
+ "CheckNameAvailability": {
+ "$ref": "./examples/CheckFrontdoorNameAvailability.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "checkFrontDoorNameAvailabilityInput",
+ "in": "body",
+ "description": "Input to check.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityInput"
+ }
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityOutput"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/checkFrontDoorNameAvailability": {
+ "post": {
+ "tags": [
+ "CheckFrontDoorNameAvailabilityWithSubscription"
+ ],
+ "description": "Check the availability of a Front Door subdomain.",
+ "operationId": "CheckFrontDoorNameAvailabilityWithSubscription",
+ "x-ms-examples": {
+ "CheckNameAvailabilityWithSubscription": {
+ "$ref": "./examples/CheckFrontdoorNameAvailabilityWithSubscription.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "checkFrontDoorNameAvailabilityInput",
+ "in": "body",
+ "description": "Input to check.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityInput"
+ }
+ },
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/CheckNameAvailabilityOutput"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/frontDoors": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Lists all of the Front Doors within an Azure subscription.",
+ "operationId": "FrontDoors_List",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/FrontDoorListResult"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List all Front Doors": {
+ "$ref": "./examples/FrontdoorListAll.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Lists all of the Front Doors within a resource group under a subscription.",
+ "operationId": "FrontDoors_ListByResourceGroup",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/FrontDoorListResult"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Front Doors in a Resource Group": {
+ "$ref": "./examples/FrontdoorList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Gets a Front Door with the specified Front Door name under the specified subscription and resource group.",
+ "operationId": "FrontDoors_Get",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/FrontDoor"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Front Door": {
+ "$ref": "./examples/FrontdoorGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Creates a new Front Door with a Front Door name under the specified subscription and resource group.",
+ "operationId": "FrontDoors_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "description": "Front Door properties needed to create a new Front Door.",
+ "in": "body",
+ "name": "frontDoorParameters",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FrontDoor"
+ }
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/FrontDoor"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new Front Door has been created.",
+ "schema": {
+ "$ref": "#/definitions/FrontDoor"
+ }
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/FrontDoor"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update specific Front Door": {
+ "$ref": "./examples/FrontdoorCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Deletes an existing Front Door with the specified parameters.",
+ "operationId": "FrontDoors_Delete",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the Front Door was not found."
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Front Door": {
+ "$ref": "./examples/FrontdoorDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/routingRules": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Lists all of the Routing Rules within a Front Door.",
+ "operationId": "RoutingRules_ListByFrontDoor",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/RoutingRuleListResult"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Routing Rules in a Front Door": {
+ "$ref": "./examples/FrontdoorRoutingRuleList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/routingRules/{routingRuleName}": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Gets a Routing Rule with the specified Rule name within the specified Front Door.",
+ "operationId": "RoutingRules_Get",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/routingRuleNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/RoutingRule"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Forwarding Routing Rule": {
+ "$ref": "./examples/FrontdoorRoutingRuleGet.json"
+ },
+ "Get Redirect Routing Rule": {
+ "$ref": "./examples/FrontdoorRedirectRoutingRuleGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Creates a new Routing Rule with the specified Rule name within the specified Front Door.",
+ "operationId": "RoutingRules_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/routingRuleNameParameter"
+ },
+ {
+ "description": "Routing Rule properties needed to create a new Front Door.",
+ "in": "body",
+ "name": "routingRuleParameters",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RoutingRule"
+ }
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/RoutingRule"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new RoutingRule has been created.",
+ "schema": {
+ "$ref": "#/definitions/RoutingRule"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/RoutingRule"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update specific Forwarding Routing Rule": {
+ "$ref": "./examples/FrontdoorRoutingRuleCreate.json"
+ },
+ "Create or update specific Redirect Routing Rule": {
+ "$ref": "./examples/FrontdoorRedirectRoutingRuleCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Deletes an existing Routing Rule with the specified parameters.",
+ "operationId": "RoutingRules_Delete",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/routingRuleNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the Routing Rule was not found."
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Routing Rule": {
+ "$ref": "./examples/FrontdoorRoutingRuleDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/healthProbeSettings": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Lists all of the HealthProbeSettings within a Front Door.",
+ "operationId": "HealthProbeSettings_ListByFrontDoor",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/HealthProbeSettingsListResult"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List HealthProbeSettings in a Front Door": {
+ "$ref": "./examples/FrontdoorHealthProbeSettingsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/healthProbeSettings/{healthProbeSettingsName}": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Gets a HealthProbeSettings with the specified Rule name within the specified Front Door.",
+ "operationId": "HealthProbeSettings_Get",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/healthProbeSettingsNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/HealthProbeSettingsModel"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get HealthProbeSettings": {
+ "$ref": "./examples/FrontdoorHealthProbeSettingsGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Creates a new HealthProbeSettings with the specified Rule name within the specified Front Door.",
+ "operationId": "HealthProbeSettings_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/healthProbeSettingsNameParameter"
+ },
+ {
+ "description": "HealthProbeSettings properties needed to create a new Front Door.",
+ "in": "body",
+ "name": "healthProbeSettingsParameters",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/HealthProbeSettingsModel"
+ }
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/HealthProbeSettingsModel"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new HealthProbeSettings has been created.",
+ "schema": {
+ "$ref": "#/definitions/HealthProbeSettingsModel"
+ }
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/HealthProbeSettingsModel"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update specific HealthProbeSettings": {
+ "$ref": "./examples/FrontdoorHealthProbeSettingsCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Deletes an existing HealthProbeSettings with the specified parameters.",
+ "operationId": "HealthProbeSettings_Delete",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/healthProbeSettingsNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the HealthProbeSettings was not found."
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete HealthProbeSettings": {
+ "$ref": "./examples/FrontdoorHealthProbeSettingsDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/loadBalancingSettings": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Lists all of the LoadBalancingSettings within a Front Door.",
+ "operationId": "LoadBalancingSettings_ListByFrontDoor",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancingSettingsListResult"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List LoadBalancingSettings in a Front Door": {
+ "$ref": "./examples/FrontdoorLoadBalancingSettingsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/loadBalancingSettings/{loadBalancingSettingsName}": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Gets a LoadBalancingSettings with the specified Rule name within the specified Front Door.",
+ "operationId": "LoadBalancingSettings_Get",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/loadBalancingSettingsNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancingSettingsModel"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get LoadBalancingSettings": {
+ "$ref": "./examples/FrontdoorLoadBalancingSettingsGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Creates a new LoadBalancingSettings with the specified Rule name within the specified Front Door.",
+ "operationId": "LoadBalancingSettings_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/loadBalancingSettingsNameParameter"
+ },
+ {
+ "description": "LoadBalancingSettings properties needed to create a new Front Door.",
+ "in": "body",
+ "name": "loadBalancingSettingsParameters",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/LoadBalancingSettingsModel"
+ }
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancingSettingsModel"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new LoadBalancingSettings has been created.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancingSettingsModel"
+ }
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/LoadBalancingSettingsModel"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update specific LoadBalancingSettings": {
+ "$ref": "./examples/FrontdoorLoadBalancingSettingsCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Deletes an existing LoadBalancingSettings with the specified parameters.",
+ "operationId": "LoadBalancingSettings_Delete",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/loadBalancingSettingsNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the LoadBalancingSettings was not found."
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete LoadBalancingSettings": {
+ "$ref": "./examples/FrontdoorLoadBalancingSettingsDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/backendPools": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Lists all of the Backend Pools within a Front Door.",
+ "operationId": "BackendPools_ListByFrontDoor",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/BackendPoolListResult"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Backend Pools in a Front Door": {
+ "$ref": "./examples/FrontdoorBackendPoolList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/backendPools/{backendPoolName}": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Gets a Backend Pool with the specified Pool name within the specified Front Door.",
+ "operationId": "BackendPools_Get",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/backendPoolNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/BackendPool"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Backend Pool": {
+ "$ref": "./examples/FrontdoorBackendPoolGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Creates a new Backend Pool with the specified Pool name within the specified Front Door.",
+ "operationId": "BackendPools_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/backendPoolNameParameter"
+ },
+ {
+ "description": "Backend Pool properties needed to create a new Pool.",
+ "in": "body",
+ "name": "backendPoolParameters",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/BackendPool"
+ }
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/BackendPool"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new BackendPool has been created.",
+ "schema": {
+ "$ref": "#/definitions/BackendPool"
+ }
+ },
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/BackendPool"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update specific Backend Pool": {
+ "$ref": "./examples/FrontdoorBackendPoolCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Deletes an existing Backend Pool with the specified parameters.",
+ "operationId": "BackendPools_Delete",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/backendPoolNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the Backend Pool was not found."
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Backend Pool": {
+ "$ref": "./examples/FrontdoorBackendPoolDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Lists all of the frontend endpoints within a Front Door.",
+ "operationId": "FrontendEndpoints_ListByFrontDoor",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/FrontendEndpointsListResult"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "List Frontend endpoints in a Front Door": {
+ "$ref": "./examples/FrontdoorFrontendEndpointList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}": {
+ "get": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Gets a Frontend endpoint with the specified name within the specified Front Door.",
+ "operationId": "FrontendEndpoints_Get",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontendEndpointNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/FrontendEndpoint"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Frontend Endpoint": {
+ "$ref": "./examples/FrontdoorFrontendEndpointGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Creates a new frontend endpoint with the specified host name within the specified Front Door.",
+ "operationId": "FrontendEndpoints_CreateOrUpdate",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontendEndpointNameParameter"
+ },
+ {
+ "description": "Frontend endpoint properties needed to create a new endpoint.",
+ "in": "body",
+ "name": "frontendEndpointParameters",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/FrontendEndpoint"
+ }
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/FrontendEndpoint"
+ }
+ },
+ "201": {
+ "description": "Created. The request has been fulfilled and a new frontend endpoint has been created.",
+ "schema": {
+ "$ref": "#/definitions/FrontendEndpoint"
+ }
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously.",
+ "schema": {
+ "$ref": "#/definitions/FrontendEndpoint"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create or update specific Frontend Endpoint": {
+ "$ref": "./examples/FrontdoorFrontendEndpointCreate.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ },
+ "delete": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Deletes an existing frontend endpoint with the specified parameters.",
+ "operationId": "FrontendEndpoints_Delete",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontendEndpointNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "No Content. The request has been accepted but the Backend Pool was not found."
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Backend Pool": {
+ "$ref": "./examples/FrontdoorFrontendEndpointDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/purge": {
+ "post": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Removes a content from Front Door.",
+ "operationId": "Endpoints_PurgeContent",
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "name": "contentFilePaths",
+ "in": "body",
+ "description": "The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/PurgeParameters"
+ }
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Purge content from Front Door": {
+ "$ref": "./examples/FrontdoorPurgeContent.json"
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}/enableHttps": {
+ "post": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Enables a frontendEndpoint for HTTPS traffic",
+ "operationId": "FrontendEndpoints_EnableHttps",
+ "x-ms-examples": {
+ "FrontendEndpoints_EnableHttps": {
+ "$ref": "./examples/FrontdoorEnableHttps.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontendEndpointNameParameter"
+ },
+ {
+ "name": "customHttpsConfiguration",
+ "in": "body",
+ "description": "The configuration specifying how to enable HTTPS",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CustomHttpsConfiguration"
+ }
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/frontendEndpoints/{frontendEndpointName}/disableHttps": {
+ "post": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Disables a frontendEndpoint for HTTPS traffic",
+ "operationId": "FrontendEndpoints_DisableHttps",
+ "x-ms-examples": {
+ "FrontendEndpoints_DisableHttps": {
+ "$ref": "./examples/FrontdoorDisableHttps.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontendEndpointNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-long-running-operation": true
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/validateCustomDomain": {
+ "post": {
+ "tags": [
+ "FrontDoors"
+ ],
+ "description": "Validates the custom domain mapping to ensure it maps to the correct Front Door endpoint in DNS.",
+ "operationId": "FrontDoors_ValidateCustomDomain",
+ "x-ms-examples": {
+ "FrontDoor_ValidateCustomDomain": {
+ "$ref": "./examples/FrontdoorValidateCustomDomain.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "./network.json#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/frontDoorNameParameter"
+ },
+ {
+ "$ref": "./network.json#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "customDomainProperties",
+ "in": "body",
+ "description": "Custom domain to be validated.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ValidateCustomDomainInput"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ValidateCustomDomainOutput"
+ }
+ },
+ "default": {
+ "description": "Front Door error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "FrontDoor": {
+ "properties": {
+ "properties": {
+ "description": "Properties of the Front Door Load Balancer",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/FrontDoorProperties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/Resource"
+ }
+ ],
+ "description": "Front Door represents a collection of backend endpoints to route traffic to along with rules that specify how traffic is sent there."
+ },
+ "FrontDoorUpdateParameters": {
+ "description": "The properties needed to update a Front Door",
+ "properties": {
+ "friendlyName": {
+ "description": "A friendly name for the frontDoor",
+ "type": "string"
+ },
+ "routingRules": {
+ "description": "Routing rules associated with this Front Door.",
+ "type": "array",
+ "items": {
+ "description": "A routing rule",
+ "$ref": "#/definitions/RoutingRule"
+ }
+ },
+ "loadBalancingSettings": {
+ "description": "Load balancing settings associated with this Front Door instance.",
+ "type": "array",
+ "items": {
+ "description": "A load balancing settings",
+ "$ref": "#/definitions/LoadBalancingSettingsModel"
+ }
+ },
+ "healthProbeSettings": {
+ "description": "Health probe settings associated with this Front Door instance.",
+ "type": "array",
+ "items": {
+ "description": "A health probe settings",
+ "$ref": "#/definitions/HealthProbeSettingsModel"
+ }
+ },
+ "backendPools": {
+ "description": "Backend pools available to routing rules.",
+ "type": "array",
+ "items": {
+ "description": "A backend pool",
+ "$ref": "#/definitions/BackendPool"
+ }
+ },
+ "frontendEndpoints": {
+ "description": "Frontend endpoints available to routing rules.",
+ "type": "array",
+ "items": {
+ "description": "A frontend endpoint",
+ "$ref": "#/definitions/FrontendEndpoint"
+ }
+ },
+ "backendPoolsSettings": {
+ "description": "Settings for all backendPools",
+ "$ref": "#/definitions/BackendPoolsSettings"
+ },
+ "enabledState": {
+ "description": "Operational status of the Front Door load balancer. Permitted values are 'Enabled' or 'Disabled'",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "FrontDoorEnabledState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "FrontDoorProperties": {
+ "description": "The JSON object that contains the properties required to create an endpoint.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FrontDoorUpdateParameters"
+ }
+ ],
+ "properties": {
+ "resourceState": {
+ "description": "Resource status of the Front Door.",
+ "$ref": "#/definitions/ResourceState"
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Provisioning state of the Front Door."
+ },
+ "cname": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The host that each frontendEndpoint must CNAME to."
+ }
+ }
+ },
+ "FrontDoorListResult": {
+ "description": "Result of the request to list Front Doors. It contains a list of Front Door objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/FrontDoor"
+ },
+ "description": "List of Front Doors within a resource group."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of Front Door objects if there are any."
+ }
+ }
+ },
+ "PurgeParameters": {
+ "type": "object",
+ "description": "Parameters required for content purge.",
+ "required": [
+ "contentPaths"
+ ],
+ "properties": {
+ "contentPaths": {
+ "description": "The path to the content to be purged. Can describe a file path or a wild card directory.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "RoutingRule": {
+ "properties": {
+ "properties": {
+ "description": "Properties of the Front Door Routing Rule",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/RoutingRuleProperties"
+ },
+ "name": {
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "A routing rule represents a specification for traffic to treat and where to send it, along with health probe information."
+ },
+ "RoutingRuleProperties": {
+ "description": "The JSON object that contains the properties required to create a routing rule.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/RoutingRuleUpdateParameters"
+ }
+ ],
+ "properties": {
+ "resourceState": {
+ "description": "Resource status.",
+ "$ref": "#/definitions/ResourceState"
+ }
+ }
+ },
+ "RoutingRuleListResult": {
+ "description": "Result of the request to list Routing Rules. It contains a list of Routing Rule objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/RoutingRule"
+ },
+ "description": "List of Routing Rules within a Front Door."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of RoutingRule objects if there are any."
+ }
+ }
+ },
+ "RoutingRuleUpdateParameters": {
+ "description": "Routing rules to apply to an endpoint",
+ "type": "object",
+ "properties": {
+ "frontendEndpoints": {
+ "description": "Frontend endpoints associated with this rule",
+ "type": "array",
+ "items": {
+ "description": "A reference to a frontend endpoint",
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ },
+ "acceptedProtocols": {
+ "description": "Protocol schemes to match for this rule",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "Accepted protocol schemes.",
+ "enum": [
+ "Http",
+ "Https"
+ ],
+ "x-ms-enum": {
+ "name": "FrontDoorProtocol",
+ "modelAsString": true
+ }
+ }
+ },
+ "patternsToMatch": {
+ "description": "The route patterns of the rule.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "A route pattern of the rule. Must not have any * except possibly after the final / at the end of the path."
+ }
+ },
+ "enabledState": {
+ "description": "Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "routingRuleEnabledState",
+ "modelAsString": true
+ }
+ },
+ "routeConfiguration": {
+ "description": "A reference to the routing configuration.",
+ "$ref": "#/definitions/RouteConfiguration"
+ }
+ }
+ },
+ "RouteConfiguration": {
+ "discriminator": "@odata.type",
+ "description": "Base class for all types of Route.",
+ "properties": {
+ "@odata.type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "@odata.type"
+ ]
+ },
+ "ForwardingConfiguration": {
+ "description": "Describes Forwarding Route.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.FrontDoor.Models.FrontdoorForwardingConfiguration",
+ "properties": {
+ "customForwardingPath": {
+ "description": "A custom path used to rewrite resource paths matched by this rule. Leave empty to use incoming path.",
+ "type": "string"
+ },
+ "forwardingProtocol": {
+ "description": "Protocol this rule will use when forwarding traffic to backends.",
+ "type": "string",
+ "enum": [
+ "HttpOnly",
+ "HttpsOnly",
+ "MatchRequest"
+ ],
+ "x-ms-enum": {
+ "name": "FrontDoorForwardingProtocol",
+ "modelAsString": true
+ }
+ },
+ "cacheConfiguration": {
+ "description": "The caching configuration associated with this rule.",
+ "$ref": "#/definitions/CacheConfiguration"
+ },
+ "backendPool": {
+ "description": "A reference to the BackendPool which this rule routes to.",
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/RouteConfiguration"
+ }
+ ]
+ },
+ "RedirectConfiguration": {
+ "description": "Describes Redirect Route.",
+ "x-ms-discriminator-value": "#Microsoft.Azure.FrontDoor.Models.FrontdoorRedirectConfiguration",
+ "properties": {
+ "redirectType": {
+ "description": "The redirect type the rule will use when redirecting traffic.",
+ "type": "string",
+ "enum": [
+ "Moved",
+ "Found",
+ "TemporaryRedirect",
+ "PermanentRedirect"
+ ],
+ "x-ms-enum": {
+ "name": "FrontDoorRedirectType",
+ "modelAsString": true
+ }
+ },
+ "redirectProtocol": {
+ "description": "The protocol of the destination to where the traffic is redirected",
+ "type": "string",
+ "enum": [
+ "HttpOnly",
+ "HttpsOnly",
+ "MatchRequest"
+ ],
+ "x-ms-enum": {
+ "name": "FrontDoorRedirectProtocol",
+ "modelAsString": true
+ }
+ },
+ "customHost": {
+ "type": "string",
+ "description": "Host to redirect. Leave empty to use the incoming host as the destination host."
+ },
+ "customPath": {
+ "type": "string",
+ "description": "The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path."
+ },
+ "customFragment": {
+ "type": "string",
+ "description": "Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #."
+ },
+ "customQueryString": {
+ "description": "The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. The first ? and & will be added automatically so do not include them in the front, but do separate multiple query strings with &.",
+ "type": "string"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/RouteConfiguration"
+ }
+ ]
+ },
+ "Backend": {
+ "description": "Backend address of a frontDoor load balancer.",
+ "type": "object",
+ "properties": {
+ "address": {
+ "description": "Location of the backend (IP address or FQDN)",
+ "type": "string"
+ },
+ "httpPort": {
+ "description": "The HTTP TCP port number. Must be between 1 and 65535.",
+ "type": "integer",
+ "maximum": 65535,
+ "exclusiveMaximum": false,
+ "minimum": 1,
+ "exclusiveMinimum": false
+ },
+ "httpsPort": {
+ "description": "The HTTPS TCP port number. Must be between 1 and 65535.",
+ "type": "integer",
+ "maximum": 65535,
+ "exclusiveMaximum": false,
+ "minimum": 1,
+ "exclusiveMinimum": false
+ },
+ "enabledState": {
+ "description": "Whether to enable use of this backend. Permitted values are 'Enabled' or 'Disabled'",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "backendEnabledState",
+ "modelAsString": true
+ }
+ },
+ "priority": {
+ "description": "Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy.",
+ "type": "integer",
+ "maximum": 5,
+ "minimum": 1
+ },
+ "weight": {
+ "description": "Weight of this endpoint for load balancing purposes.",
+ "type": "integer",
+ "maximum": 1000,
+ "minimum": 1
+ },
+ "backendHostHeader": {
+ "description": "The value to use as the host header sent to the backend. If blank or unspecified, this defaults to the incoming host.",
+ "type": "string"
+ }
+ }
+ },
+ "LoadBalancingSettingsModel": {
+ "properties": {
+ "properties": {
+ "description": "Properties of the load balancing settings",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/LoadBalancingSettingsProperties"
+ },
+ "name": {
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Load balancing settings for a backend pool"
+ },
+ "LoadBalancingSettingsProperties": {
+ "description": "The JSON object that contains the properties required to create load balancing settings",
+ "allOf": [
+ {
+ "$ref": "#/definitions/LoadBalancingSettingsUpdateParameters"
+ }
+ ],
+ "properties": {
+ "resourceState": {
+ "description": "Resource status.",
+ "$ref": "#/definitions/ResourceState"
+ }
+ }
+ },
+ "LoadBalancingSettingsListResult": {
+ "description": "Result of the request to list load balancing settings. It contains a list of load balancing settings objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/LoadBalancingSettingsModel"
+ },
+ "description": "List of Backend Pools within a Front Door."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of LoadBalancingSettings objects if there are any."
+ }
+ }
+ },
+ "LoadBalancingSettingsUpdateParameters": {
+ "description": "Round-Robin load balancing settings for a backend pool",
+ "type": "object",
+ "properties": {
+ "sampleSize": {
+ "description": "The number of samples to consider for load balancing decisions",
+ "type": "integer"
+ },
+ "successfulSamplesRequired": {
+ "description": "The number of samples within the sample period that must succeed",
+ "type": "integer"
+ },
+ "additionalLatencyMilliseconds": {
+ "description": "The additional latency in milliseconds for probes to fall into the lowest latency bucket",
+ "type": "integer"
+ }
+ }
+ },
+ "HealthProbeSettingsModel": {
+ "properties": {
+ "properties": {
+ "description": "Properties of the health probe settings",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/HealthProbeSettingsProperties"
+ },
+ "name": {
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "Load balancing settings for a backend pool"
+ },
+ "HealthProbeSettingsProperties": {
+ "description": "The JSON object that contains the properties required to create a health probe settings.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HealthProbeSettingsUpdateParameters"
+ }
+ ],
+ "properties": {
+ "resourceState": {
+ "description": "Resource status.",
+ "$ref": "#/definitions/ResourceState"
+ }
+ }
+ },
+ "HealthProbeSettingsListResult": {
+ "description": "Result of the request to list HealthProbeSettings. It contains a list of HealthProbeSettings objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/HealthProbeSettingsModel"
+ },
+ "description": "List of HealthProbeSettings within a Front Door."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of HealthProbeSettings objects if there are any."
+ }
+ }
+ },
+ "HealthProbeSettingsUpdateParameters": {
+ "description": "L7 health probe settings for a backend pool",
+ "type": "object",
+ "properties": {
+ "path": {
+ "description": "The path to use for the health probe. Default is /",
+ "type": "string"
+ },
+ "protocol": {
+ "description": "Protocol scheme to use for this probe",
+ "type": "string",
+ "enum": [
+ "Http",
+ "Https"
+ ],
+ "x-ms-enum": {
+ "name": "FrontDoorProtocol",
+ "modelAsString": true
+ }
+ },
+ "intervalInSeconds": {
+ "description": "The number of seconds between health probes.",
+ "type": "integer"
+ },
+ "healthProbeMethod": {
+ "description": "Configures which HTTP method to use to probe the backends defined under backendPools.",
+ "type": "string",
+ "enum": [
+ "GET",
+ "HEAD"
+ ],
+ "x-ms-enum": {
+ "name": "FrontDoorHealthProbeMethod",
+ "modelAsString": true
+ },
+ "default": "HEAD"
+ },
+ "enabledState": {
+ "description": "Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool.",
+ "type": "string",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "x-ms-enum": {
+ "name": "HealthProbeEnabled",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "BackendPool": {
+ "properties": {
+ "properties": {
+ "description": "Properties of the Front Door Backend Pool",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BackendPoolProperties"
+ },
+ "name": {
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "A backend pool is a collection of backends that can be routed to."
+ },
+ "BackendPoolUpdateParameters": {
+ "description": "A collection of backends that can be routed to.",
+ "type": "object",
+ "properties": {
+ "backends": {
+ "description": "The set of backends for this pool",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Backend"
+ }
+ },
+ "loadBalancingSettings": {
+ "description": "Load balancing settings for a backend pool",
+ "$ref": "./network.json#/definitions/SubResource"
+ },
+ "healthProbeSettings": {
+ "description": "L7 health probe settings for a backend pool",
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ }
+ },
+ "BackendPoolProperties": {
+ "description": "The JSON object that contains the properties required to create a routing rule.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/BackendPoolUpdateParameters"
+ }
+ ],
+ "properties": {
+ "resourceState": {
+ "description": "Resource status.",
+ "$ref": "#/definitions/ResourceState"
+ }
+ }
+ },
+ "BackendPoolListResult": {
+ "description": "Result of the request to list Backend Pools. It contains a list of Backend Pools objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/BackendPool"
+ },
+ "description": "List of Backend Pools within a Front Door."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of BackendPool objects if there are any."
+ }
+ }
+ },
+ "CacheConfiguration": {
+ "description": "Caching settings for a caching-type route. To disable caching, do not provide a cacheConfiguration object.",
+ "type": "object",
+ "properties": {
+ "queryParameterStripDirective": {
+ "description": "Treatment of URL query terms when forming the cache key.",
+ "enum": [
+ "StripNone",
+ "StripAll"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "FrontDoorQuery",
+ "modelAsString": true
+ }
+ },
+ "dynamicCompression": {
+ "description": "Whether to use dynamic compression for cached content",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DynamicCompressionEnabled",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "KeyVaultCertificateSourceParameters": {
+ "description": "Parameters required for bring-your-own-certification via Key Vault",
+ "type": "object",
+ "properties": {
+ "vault": {
+ "description": "The Key Vault containing the SSL certificate",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource ID."
+ }
+ }
+ },
+ "secretName": {
+ "type": "string",
+ "description": "The name of the Key Vault secret representing the full certificate PFX"
+ },
+ "secretVersion": {
+ "type": "string",
+ "description": "The version of the Key Vault secret representing the full certificate PFX"
+ }
+ }
+ },
+ "FrontDoorCertificateSourceParameters": {
+ "description": "Parameters required for enabling SSL with Front Door-managed certificates",
+ "type": "object",
+ "properties": {
+ "certificateType": {
+ "description": "Defines the type of the certificate used for secure connections to a frontendEndpoint",
+ "enum": [
+ "Dedicated"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "FrontDoorCertificateType",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "CustomHttpsConfiguration": {
+ "description": "Https settings for a domain",
+ "type": "object",
+ "required": [
+ "minimumTlsVersion",
+ "certificateSource",
+ "protocolType"
+ ],
+ "properties": {
+ "certificateSource": {
+ "description": "Defines the source of the SSL certificate",
+ "enum": [
+ "AzureKeyVault",
+ "FrontDoor"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "FrontDoorCertificateSource",
+ "modelAsString": true
+ }
+ },
+ "protocolType": {
+ "description": "Defines the TLS extension protocol that is used for secure delivery",
+ "enum": [
+ "ServerNameIndication"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "FrontDoorTlsProtocolType",
+ "modelAsString": true
+ }
+ },
+ "minimumTlsVersion": {
+ "description": "The minimum TLS version required from the clients to establish an SSL handshake with Front Door.",
+ "enum": [
+ "1.0",
+ "1.2"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "MinimumTLSVersion",
+ "modelAsString": true
+ }
+ },
+ "keyVaultCertificateSourceParameters": {
+ "description": "KeyVault certificate source parameters (if certificateSource=AzureKeyVault)",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/KeyVaultCertificateSourceParameters"
+ },
+ "frontDoorCertificateSourceParameters": {
+ "description": "Parameters required for enabling SSL with Front Door-managed certificates (if certificateSource=FrontDoor)",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/FrontDoorCertificateSourceParameters"
+ }
+ }
+ },
+ "FrontendEndpoint": {
+ "properties": {
+ "properties": {
+ "description": "Properties of the Frontend endpoint",
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/FrontendEndpointProperties"
+ },
+ "name": {
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Resource type."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "./network.json#/definitions/SubResource"
+ }
+ ],
+ "description": "A frontend endpoint used for routing."
+ },
+ "FrontendEndpointProperties": {
+ "description": "The JSON object that contains the properties required to create a frontend endpoint.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FrontendEndpointUpdateParameters"
+ }
+ ],
+ "properties": {
+ "resourceState": {
+ "description": "Resource status.",
+ "$ref": "#/definitions/ResourceState"
+ },
+ "customHttpsProvisioningState": {
+ "description": "Provisioning status of Custom Https of the frontendEndpoint.",
+ "readOnly": true,
+ "enum": [
+ "Enabling",
+ "Enabled",
+ "Disabling",
+ "Disabled",
+ "Failed"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CustomHttpsProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "customHttpsProvisioningSubstate": {
+ "description": "Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.",
+ "readOnly": true,
+ "enum": [
+ "SubmittingDomainControlValidationRequest",
+ "PendingDomainControlValidationREquestApproval",
+ "DomainControlValidationRequestApproved",
+ "DomainControlValidationRequestRejected",
+ "DomainControlValidationRequestTimedOut",
+ "IssuingCertificate",
+ "DeployingCertificate",
+ "CertificateDeployed",
+ "DeletingCertificate",
+ "CertificateDeleted"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CustomHttpsProvisioningSubstate",
+ "modelAsString": true
+ }
+ },
+ "customHttpsConfiguration": {
+ "description": "The configuration specifying how to enable HTTPS",
+ "readOnly": true,
+ "$ref": "#/definitions/CustomHttpsConfiguration"
+ }
+ }
+ },
+ "FrontendEndpointUpdateParameters": {
+ "description": "Frontend endpoint used in routing rule",
+ "type": "object",
+ "properties": {
+ "hostName": {
+ "description": "The host name of the frontendEndpoint. Must be a domain name.",
+ "type": "string"
+ },
+ "sessionAffinityEnabledState": {
+ "description": "Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "SessionAffinityEnabledState",
+ "modelAsString": true
+ }
+ },
+ "sessionAffinityTtlSeconds": {
+ "description": "UNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if applicable.",
+ "type": "integer"
+ },
+ "webApplicationFirewallPolicyLink": {
+ "description": "Defines the Web Application Firewall policy for each host (if applicable)",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource ID."
+ }
+ }
+ }
+ }
+ },
+ "FrontendEndpointsListResult": {
+ "description": "Result of the request to list frontend endpoints. It contains a list of Frontend endpoint objects and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/FrontendEndpoint"
+ },
+ "description": "List of Frontend endpoints within a Front Door."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of frontend endpoints if there are any."
+ }
+ }
+ },
+ "BackendPoolsSettings": {
+ "description": "Settings that apply to all backend pools.",
+ "type": "object",
+ "properties": {
+ "enforceCertificateNameCheck": {
+ "description": "Whether to enforce certificate name check on HTTPS requests to all backend pools. No effect on non-HTTPS requests.",
+ "enum": [
+ "Enabled",
+ "Disabled"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "enforceCertificateNameCheckEnabledState",
+ "modelAsString": true
+ },
+ "default": "Enabled"
+ },
+ "sendRecvTimeoutSeconds": {
+ "description": "Send and receive timeout on forwarding request to the backend. When timeout is reached, the request fails and returns.",
+ "type": "integer",
+ "minimum": 16,
+ "exclusiveMinimum": false
+ }
+ }
+ },
+ "ResourceState": {
+ "title": "Resource status of the Front Door or Front Door SubResource.",
+ "readOnly": true,
+ "enum": [
+ "Creating",
+ "Enabling",
+ "Enabled",
+ "Disabling",
+ "Disabled",
+ "Deleting"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "FrontDoorResourceState",
+ "modelAsString": true
+ }
+ },
+ "ValidateCustomDomainInput": {
+ "description": "Input of the custom domain to be validated for DNS mapping.",
+ "type": "object",
+ "required": [
+ "hostName"
+ ],
+ "properties": {
+ "hostName": {
+ "description": "The host name of the custom domain. Must be a domain name.",
+ "type": "string"
+ }
+ }
+ },
+ "ValidateCustomDomainOutput": {
+ "description": "Output of custom domain validation.",
+ "type": "object",
+ "properties": {
+ "customDomainValidated": {
+ "description": "Indicates whether the custom domain is valid or not.",
+ "readOnly": true,
+ "type": "boolean"
+ },
+ "reason": {
+ "description": "The reason why the custom domain is not valid.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message describing why the custom domain is not valid.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "Error response indicates Front Door service is not able to process the incoming request. The reason is provided in the error message.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "CheckNameAvailabilityInput": {
+ "description": "Input of CheckNameAvailability API.",
+ "type": "object",
+ "required": [
+ "name",
+ "type"
+ ],
+ "properties": {
+ "name": {
+ "description": "The resource name to validate.",
+ "type": "string"
+ },
+ "type": {
+ "description": "The type of the resource whose name is to be validated.",
+ "$ref": "#/definitions/ResourceType"
+ }
+ }
+ },
+ "CheckNameAvailabilityOutput": {
+ "description": "Output of check name availability API.",
+ "type": "object",
+ "properties": {
+ "nameAvailability": {
+ "description": "Indicates whether the name is available.",
+ "readOnly": true,
+ "enum": [
+ "Available",
+ "Unavailable"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Availability",
+ "modelAsString": true
+ }
+ },
+ "reason": {
+ "description": "The reason why the name is not available.",
+ "readOnly": true,
+ "type": "string"
+ },
+ "message": {
+ "description": "The detailed error message describing why the name is not available.",
+ "readOnly": true,
+ "type": "string"
+ }
+ }
+ },
+ "ResourceType": {
+ "description": "Type of Front Door resource used in CheckNameAvailability.",
+ "enum": [
+ "Microsoft.Network/frontDoors",
+ "Microsoft.Network/frontDoors/frontendEndpoints"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "ResourceType",
+ "modelAsString": false
+ }
+ }
+ },
+ "parameters": {
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9_\\-\\(\\)\\.]*[^\\.]$",
+ "minLength": 1,
+ "maxLength": 80,
+ "x-ms-parameter-location": "method",
+ "description": "Name of the Resource group within the Azure subscription."
+ },
+ "frontDoorNameParameter": {
+ "name": "frontDoorName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "x-new-pattern": "^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$",
+ "pattern": "^[a-zA-Z0-9]+([-a-zA-Z0-9]?[a-zA-Z0-9])*$",
+ "minLength": 5,
+ "maxLength": 64,
+ "x-ms-parameter-location": "method",
+ "description": "Name of the Front Door which is globally unique."
+ },
+ "routingRuleNameParameter": {
+ "name": "routingRuleName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$",
+ "x-previous-pattern": "^[-\\w\\d\\._]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method",
+ "description": "Name of the Routing Rule which is unique within the Front Door."
+ },
+ "healthProbeSettingsNameParameter": {
+ "name": "healthProbeSettingsName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$",
+ "x-previous-pattern": "^[-\\w\\d\\._]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method",
+ "description": "Name of the health probe settings which is unique within the Front Door."
+ },
+ "loadBalancingSettingsNameParameter": {
+ "name": "loadBalancingSettingsName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$",
+ "x-previous-pattern": "^[-\\w\\d\\._]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method",
+ "description": "Name of the load balancing settings which is unique within the Front Door."
+ },
+ "backendPoolNameParameter": {
+ "name": "backendPoolName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$",
+ "x-previous-pattern": "^[-\\w\\d\\._]+$",
+ "minLength": 1,
+ "maxLength": 90,
+ "x-ms-parameter-location": "method",
+ "description": "Name of the Backend Pool which is unique within the Front Door."
+ },
+ "frontendEndpointNameParameter": {
+ "name": "frontendEndpointName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$",
+ "x-previous-pattern": "^[-\\w\\d\\._]+$",
+ "minLength": 1,
+ "maxLength": 255,
+ "x-ms-parameter-location": "method",
+ "description": "Name of the Frontend endpoint which is unique within the Front Door."
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/network.json b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/network.json
new file mode 100644
index 000000000000..fae4970303db
--- /dev/null
+++ b/specification/frontdoor/resource-manager/Microsoft.Network/stable/2019-05-01/network.json
@@ -0,0 +1,167 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "NetworkManagementClient",
+ "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.",
+ "version": "2018-02-01"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json",
+ "text/json"
+ ],
+ "produces": [
+ "application/json",
+ "text/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {},
+ "definitions": {
+ "ErrorDetails": {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "target": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ }
+ },
+ "Error": {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "target": {
+ "type": "string"
+ },
+ "details": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ },
+ "innerError": {
+ "type": "string"
+ }
+ }
+ },
+ "AzureAsyncOperationResult": {
+ "properties": {
+ "status": {
+ "type": "string",
+ "description": "Status of the Azure async operation. Possible values are: 'InProgress', 'Succeeded', and 'Failed'.",
+ "enum": [
+ "InProgress",
+ "Succeeded",
+ "Failed"
+ ],
+ "x-ms-enum": {
+ "name": "NetworkOperationStatus",
+ "modelAsString": true
+ }
+ },
+ "error": {
+ "$ref": "#/definitions/Error"
+ }
+ },
+ "description": "The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure."
+ },
+ "Resource": {
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource ID."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource name."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Resource type."
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location."
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "description": "Common resource representation.",
+ "x-ms-azure-resource": true
+ },
+ "SubResource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource ID."
+ }
+ },
+ "description": "Reference to another subresource.",
+ "x-ms-azure-resource": true
+ },
+ "TagsObject": {
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ }
+ },
+ "description": "Tags object for patch operations."
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client API version."
+ }
+ }
+}
diff --git a/specification/frontdoor/resource-manager/readme.go.md b/specification/frontdoor/resource-manager/readme.go.md
index 288feae0d19c..920ec28581f1 100644
--- a/specification/frontdoor/resource-manager/readme.go.md
+++ b/specification/frontdoor/resource-manager/readme.go.md
@@ -15,8 +15,18 @@ go:
batch:
- tag: package-2018-08-preview
- tag: package-2019-04
+ - tag: package-2019-05
```
+### Tag: package-2019-05 and go
+
+These settings apply only when `--tag=package-2019-05 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-05' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-05-01/$(namespace)
+```
+
### Tag: package-2019-04 and go
These settings apply only when `--tag=package-2019-04 --go` is specified on the command line.
diff --git a/specification/frontdoor/resource-manager/readme.md b/specification/frontdoor/resource-manager/readme.md
index ce393c177fe7..cdce964779b7 100644
--- a/specification/frontdoor/resource-manager/readme.md
+++ b/specification/frontdoor/resource-manager/readme.md
@@ -28,7 +28,23 @@ These are the global settings for the FrontDoor API.
title: FrontDoorManagementClient
description: FrontDoor Client
openapi-type: arm
-tag: package-2019-04
+tag: package-2019-05
+```
+
+### Tag: package-2019-05
+
+These settings apply only when `--tag=package-2019-05` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-05'
+input-file:
+- Microsoft.Network/stable/2019-05-01/frontdoor.json
+- Microsoft.Network/stable/2019-05-01/network.json
+- Microsoft.Network/stable/2019-03-01/webapplicationfirewall.json
+directive:
+ - where:
+ - $.paths
+ suppress:
+ - OperationsAPIImplementation
```
### Tag: package-2019-04
@@ -90,6 +106,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-libraries-for-java
- repo: azure-sdk-for-go
@@ -148,3 +165,36 @@ directive:
suppress: EnumInsteadOfBoolean
reason: Direct copy of ValidateCustomDomain API in CDN Resource Provider.
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Network/stable/2019-05-01/frontdoor.json
+ - $(this-folder)/Microsoft.Network/stable/2019-05-01/network.json
+ - $(this-folder)/Microsoft.Network/stable/2019-03-01/webapplicationfirewall.json
+ - $(this-folder)/Microsoft.Network/stable/2019-04-01/frontdoor.json
+ - $(this-folder)/Microsoft.Network/stable/2019-04-01/network.json
+ - $(this-folder)/Microsoft.Network/preview/2018-08-01-preview/frontdoor.json
+ - $(this-folder)/Microsoft.Network/preview/2018-08-01-preview/network.json
+ - $(this-folder)/Microsoft.Network/preview/2019-03-01-preview/webapplicationfirewall.json
+ - $(this-folder)/Microsoft.Network/preview/2018-08-01-preview/webapplicationfirewall.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/graphrbac/data-plane/readme.md b/specification/graphrbac/data-plane/readme.md
index e7e79334fb34..20cd5f677c81 100644
--- a/specification/graphrbac/data-plane/readme.md
+++ b/specification/graphrbac/data-plane/readme.md
@@ -105,3 +105,28 @@ java:
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-graphrbac
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.GraphRbac/stable/1.6/graphrbac.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/guestconfiguration/resource-manager/readme.md b/specification/guestconfiguration/resource-manager/readme.md
index 9066c1cd1eab..0951302918bc 100644
--- a/specification/guestconfiguration/resource-manager/readme.md
+++ b/specification/guestconfiguration/resource-manager/readme.md
@@ -109,3 +109,30 @@ csharp:
output-folder: $(csharp-sdks-folder)/guestconfiguration/Microsoft.Azure.Management.GuestConfiguration/src/Generated
clear-output-folder: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.GuestConfiguration/stable/2018-11-20/guestconfiguration.json
+ - $(this-folder)/Microsoft.GuestConfiguration/preview/2018-06-30-preview/guestconfiguration.json
+ - $(this-folder)/Microsoft.GuestConfiguration/preview/2018-01-20-preview/guestconfiguration.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_EnableMonitoring.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_EnableMonitoring.json
deleted file mode 100644
index 2c9dafcc48b4..000000000000
--- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_EnableMonitoring.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "parameters": {
- "api-version": "2017-11-03-preview",
- "subscriptionId": "00000000-0000-0000-0000-000000000000",
- "resourceGroupName": "myResourceGroup",
- "hanaInstanceName": "myHanaInstance",
- "monitoringParameter": {
- "hanaSubnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
- "hanaHostname": "hana.hostname",
- "hanaDbSqlPort": 50,
- "hanaDbUsername": "SYSTEM",
- "hanaDbPassword": "passExample"
- }
- },
- "responses": {
- "200": {},
- "202": {}
- }
-}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Shutdown.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Shutdown.json
new file mode 100644
index 000000000000..ecfa2c7e10c3
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Shutdown.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "hanaInstanceName": "myHanaInstance"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Start.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Start.json
new file mode 100644
index 000000000000..ecfa2c7e10c3
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_Start.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "hanaInstanceName": "myHanaInstance"
+ },
+ "responses": {
+ "200": {},
+ "202": {}
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json
new file mode 100644
index 000000000000..10f8de0e3941
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Create.json
@@ -0,0 +1,72 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "sapMonitorName": "mySapMonitor",
+ "sapMonitorParameter": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPassword": "",
+ "HanaDbPasswordKeyVaultURL": "",
+ "HanaDbCredentialsMsiID": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance",
+ "name": "myHanaInstance",
+ "type": "Microsoft.HanaOnAzure/hanaInstances",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance",
+ "name": "myHanaInstance",
+ "type": "Microsoft.HanaOnAzure/hanaInstances",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "provisioningState": "Accepted"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json
new file mode 100644
index 000000000000..4b82a98dfefc
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Delete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "sapMonitorName": "mySapMonitor"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json
new file mode 100644
index 000000000000..25a8cbc41f9f
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_Get.json
@@ -0,0 +1,34 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "sapMonitorName": "mySapMonitor"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "managedResourceGroupName": "testManagedRg",
+ "logAnalyticsWorkspaceArmId": "",
+ "keyVaultId": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json
new file mode 100644
index 000000000000..c24117fd378f
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_List.json
@@ -0,0 +1,58 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor1",
+ "name": "mySapMonitor1",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "managedResourceGroupName": "testManagedRg",
+ "logAnalyticsWorkspaceArmId": "",
+ "keyVaultId": "",
+ "provisioningState": "Succeeded"
+ }
+ },
+ {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor2",
+ "name": "mySapMonitor2",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {
+ "key": "value"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "managedResourceGroupName": "testManagedRg",
+ "logAnalyticsWorkspaceArmId": "",
+ "keyVaultId": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json
new file mode 100644
index 000000000000..448423990c2c
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "sapMonitorName": "mySapMonitor",
+ "tagsParameter": {
+ "tags": {
+ "testkey": "testvalue"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {
+ "testkey": "testvalue"
+ },
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "managedResourceGroupName": "testManagedRg",
+ "logAnalyticsWorkspaceArmId": "",
+ "keyVaultId": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json
new file mode 100644
index 000000000000..b30452d0cc35
--- /dev/null
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/SapMonitors_PatchTags_Delete.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "api-version": "2017-11-03-preview",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "myResourceGroup",
+ "sapMonitorName": "mySapMonitor",
+ "tagsParameter": {
+ "tags": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/sapMonitors/mySapMonitor",
+ "name": "mySapMonitor",
+ "type": "Microsoft.HanaOnAzure/sapMonitors",
+ "location": "westus",
+ "tags": {},
+ "properties": {
+ "hanaSubnet": "",
+ "hanaHostname": "",
+ "hanaDbName": "",
+ "hanaDbSqlPort": 1234,
+ "hanaDbUsername": "",
+ "hanaDbPasswordKeyVaultUrl": "",
+ "hanaDbCredentialsMsiId": "",
+ "managedResourceGroupName": "testManagedRg",
+ "logAnalyticsWorkspaceArmId": "",
+ "keyVaultId": "",
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
index 4937fc445a20..262f7e50271a 100644
--- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
+++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
@@ -377,21 +377,27 @@
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
}
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/monitoring": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/start": {
"post": {
"tags": [
"HanaOnAzure"
],
- "operationId": "HanaInstances_EnableMonitoring",
+ "operationId": "HanaInstances_Start",
"x-ms-long-running-operation": true,
- "description": "The operation to add a monitor to an SAP HANA instance.",
+ "description": "The operation to start a SAP HANA instance.",
"x-ms-examples": {
- "Monitor a HANA instance": {
- "$ref": "./examples/HanaInstances_EnableMonitoring.json"
+ "Start a HANA instance": {
+ "$ref": "./examples/HanaInstances_Start.json"
}
},
"consumes": [
@@ -412,9 +418,55 @@
},
{
"$ref": "#/parameters/HanaInstanceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "202": {
+ "description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/hanaInstances/{hanaInstanceName}/shutdown": {
+ "post": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "HanaInstances_Shutdown",
+ "x-ms-long-running-operation": true,
+ "description": "The operation to shutdown a SAP HANA instance.",
+ "x-ms-examples": {
+ "Shutdown a HANA instance": {
+ "$ref": "./examples/HanaInstances_Shutdown.json"
+ }
+ },
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
},
{
- "$ref": "#/parameters/MonitoringParameter"
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/HanaInstanceNameParameter"
}
],
"responses": {
@@ -423,6 +475,241 @@
},
"202": {
"description": "Accepted"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.HanaOnAzure/sapMonitors": {
+ "get": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "SapMonitors_List",
+ "summary": "Gets a list of SAP monitors in the specified subscription.",
+ "description": "Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.",
+ "x-ms-examples": {
+ "List all SAP Monitors in a subscription": {
+ "$ref": "./examples/SapMonitors_List.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SapMonitorListResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HanaOnAzure/sapMonitors/{sapMonitorName}": {
+ "get": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "SapMonitors_Get",
+ "summary": "Gets properties of a SAP monitor.",
+ "description": "Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.",
+ "x-ms-examples": {
+ "Get properties of a SAP monitor": {
+ "$ref": "./examples/SapMonitors_Get.json"
+ }
+ },
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapMonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SapMonitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "SapMonitors_Create",
+ "x-ms-long-running-operation": true,
+ "summary": "Creates a SAP monitor.",
+ "description": "Creates a SAP monitor for the specified subscription, resource group, and resource name.",
+ "x-ms-examples": {
+ "Create a SAP Monitor": {
+ "$ref": "./examples/SapMonitors_Create.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapMonitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapMonitorParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Created SapMonitor",
+ "schema": {
+ "$ref": "#/definitions/SapMonitor"
+ }
+ },
+ "201": {
+ "description": "Creating SapMonitor",
+ "schema": {
+ "$ref": "#/definitions/SapMonitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "SapMonitors_Delete",
+ "x-ms-long-running-operation": true,
+ "summary": "Deletes a SAP monitor.",
+ "description": "Deletes a SAP monitor with the specified subscription, resource group, and monitor name.",
+ "x-ms-examples": {
+ "Deletes a SAP monitor": {
+ "$ref": "./examples/SapMonitors_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapMonitorNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Deleted SapMonitor"
+ },
+ "202": {
+ "description": "Deleting SapMonitor"
+ },
+ "204": {
+ "description": "No SapMonitor to delete"
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "HanaOnAzure"
+ ],
+ "operationId": "SapMonitors_Update",
+ "summary": "Patches the Tags field of a SAP monitor.",
+ "description": "Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor name.",
+ "x-ms-examples": {
+ "Update Tags field of a SAP monitor": {
+ "$ref": "./examples/SapMonitors_PatchTags.json"
+ },
+ "Delete Tags field of a SAP monitor": {
+ "$ref": "./examples/SapMonitors_PatchTags_Delete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SapMonitorNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TagsParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SapMonitor"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
}
}
}
@@ -821,6 +1108,106 @@
}
},
"description": "Details needed to monitor a Hana Instance"
+ },
+ "SapMonitorListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SapMonitor"
+ },
+ "description": "The list of SAP monitors."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of SAP monitors."
+ }
+ },
+ "description": "The response from the List SAP monitors operation."
+ },
+ "SapMonitor": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/SapMonitorProperties",
+ "description": "SAP monitor properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "description": "SAP monitor info on Azure (ARM properties and SAP monitor properties)"
+ },
+ "SapMonitorProperties": {
+ "properties": {
+ "hanaSubnet": {
+ "type": "string",
+ "description": "Specifies the SAP monitor unique ID."
+ },
+ "hanaHostname": {
+ "type": "string",
+ "description": "Hostname of the HANA instance."
+ },
+ "hanaDbName": {
+ "type": "string",
+ "description": "Database name of the HANA instance."
+ },
+ "hanaDbSqlPort": {
+ "type": "integer",
+ "description": "Database port of the HANA instance."
+ },
+ "hanaDbUsername": {
+ "type": "string",
+ "description": "Database username of the HANA instance."
+ },
+ "hanaDbPassword": {
+ "type": "string",
+ "description": "Database password of the HANA instance."
+ },
+ "hanaDbPasswordKeyVaultUrl": {
+ "type": "string",
+ "description": "KeyVault URL link to the password for the HANA database."
+ },
+ "hanaDbCredentialsMsiId": {
+ "type": "string",
+ "description": "MSI ID passed by customer which has access to customer's KeyVault and to be assigned to the Collector VM."
+ },
+ "keyVaultId": {
+ "type": "string",
+ "description": "Key Vault ID containing customer's HANA credentials."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "enum": [
+ "Accepted",
+ "Creating",
+ "Updating",
+ "Failed",
+ "Succeeded",
+ "Deleting",
+ "Migrating"
+ ],
+ "x-ms-enum": {
+ "name": "HanaProvisioningStatesEnum",
+ "modelAsString": true
+ },
+ "description": "State of provisioning of the HanaInstance"
+ },
+ "managedResourceGroupName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource group the SAP Monitor resources get deployed into."
+ },
+ "logAnalyticsWorkspaceArmId": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The ARM ID of the Log Analytics Workspace that is used for monitoring"
+ }
+ },
+ "description": "Describes the properties of a SAP monitor."
}
},
"parameters": {
@@ -847,6 +1234,14 @@
"description": "Name of the SAP HANA on Azure instance.",
"x-ms-parameter-location": "method"
},
+ "SapMonitorNameParameter": {
+ "name": "sapMonitorName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Name of the SAP monitor resource.",
+ "x-ms-parameter-location": "method"
+ },
"ApiVersionParameter": {
"name": "api-version",
"in": "query",
@@ -883,6 +1278,16 @@
},
"description": "Request body representing a HanaInstance",
"x-ms-parameter-location": "method"
+ },
+ "SapMonitorParameter": {
+ "name": "sapMonitorParameter",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/SapMonitor"
+ },
+ "description": "Request body representing a SAP Monitor",
+ "x-ms-parameter-location": "method"
}
}
}
diff --git a/specification/hanaonazure/resource-manager/readme.md b/specification/hanaonazure/resource-manager/readme.md
index 98a46c8e5b20..8149f71f2662 100644
--- a/specification/hanaonazure/resource-manager/readme.md
+++ b/specification/hanaonazure/resource-manager/readme.md
@@ -98,3 +98,28 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md
index 3b81dbae6a45..a5ccc9edd197 100644
--- a/specification/hardwaresecuritymodules/resource-manager/readme.md
+++ b/specification/hardwaresecuritymodules/resource-manager/readme.md
@@ -40,3 +40,28 @@ input-file:
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.HardwareSecurityModules/preview/2018-10-31-preview/dedicatedhsm.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/hdinsight/data-plane/Microsoft.HDInsight/preview/2018-11-01-preview/examples/HDI_Job_Get.json b/specification/hdinsight/data-plane/Microsoft.HDInsight/preview/2018-11-01-preview/examples/HDI_Job_Get.json
index fb6834c613ef..d6b5d8d8977d 100644
--- a/specification/hdinsight/data-plane/Microsoft.HDInsight/preview/2018-11-01-preview/examples/HDI_Job_Get.json
+++ b/specification/hdinsight/data-plane/Microsoft.HDInsight/preview/2018-11-01-preview/examples/HDI_Job_Get.json
@@ -7,70 +7,72 @@
},
"responses": {
"200": {
- "status": {
- "mapProgress": 1.0,
- "reduceProgress": 1.0,
- "cleanupProgress": 0.0,
- "setupProgress": 0.0,
- "runState": 2,
- "startTime": 1542088206436,
- "queue": "default",
- "priority": "NORMAL",
- "schedulingInfo": "NA",
- "failureInfo": "NA",
- "jobACLs": {},
- "jobName": "TempletonControllerJob",
- "jobFile": "wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mr-history/done/2018/11/13/000000/job_1542085634998_0024_conf.xml",
- "finishTime": 1542088277769,
- "historyFile": "",
- "trackingUrl": "hn1-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:19888/jobhistory/job/job_1542085634998_0024",
- "numUsedSlots": 0,
- "numReservedSlots": 0,
- "usedMem": 0,
- "reservedMem": 0,
- "neededMem": 0,
- "jobPriority": "NORMAL",
- "jobID": {
- "id": 24,
- "jtIdentifier": "1542085634998"
+ "body": {
+ "status": {
+ "mapProgress": 1.0,
+ "reduceProgress": 1.0,
+ "cleanupProgress": 0.0,
+ "setupProgress": 0.0,
+ "runState": 2,
+ "startTime": 1542088206436,
+ "queue": "default",
+ "priority": "NORMAL",
+ "schedulingInfo": "NA",
+ "failureInfo": "NA",
+ "jobACLs": {},
+ "jobName": "TempletonControllerJob",
+ "jobFile": "wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mr-history/done/2018/11/13/000000/job_1542085634998_0024_conf.xml",
+ "finishTime": 1542088277769,
+ "historyFile": "",
+ "trackingUrl": "hn1-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:19888/jobhistory/job/job_1542085634998_0024",
+ "numUsedSlots": 0,
+ "numReservedSlots": 0,
+ "usedMem": 0,
+ "reservedMem": 0,
+ "neededMem": 0,
+ "jobPriority": "NORMAL",
+ "jobID": {
+ "id": 24,
+ "jtIdentifier": "1542085634998"
+ },
+ "jobId": "job_1542085634998_0024",
+ "username": "testuser11750",
+ "state": "SUCCEEDED",
+ "retired": false,
+ "jobComplete": true,
+ "uber": false
},
- "jobId": "job_1542085634998_0024",
- "username": "testuser11750",
- "state": "SUCCEEDED",
- "retired": false,
- "jobComplete": true,
- "uber": false
- },
- "profile": {
- "user": "testuser11750",
- "jobFile": "wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mr-history/done/2018/11/13/000000/job_1542085634998_0024_conf.xml",
- "url": null,
- "queueName": "default",
- "jobName": "TempletonControllerJob",
- "jobID": {
- "id": 24,
- "jtIdentifier": "1542085634998"
+ "profile": {
+ "user": "testuser11750",
+ "jobFile": "wasb://testcontainer11549@testazureblob1114.blob.core.windows.net/mr-history/done/2018/11/13/000000/job_1542085634998_0024_conf.xml",
+ "url": null,
+ "queueName": "default",
+ "jobName": "TempletonControllerJob",
+ "jobID": {
+ "id": 24,
+ "jtIdentifier": "1542085634998"
+ },
+ "jobId": "job_1542085634998_0024"
},
- "jobId": "job_1542085634998_0024"
- },
- "id": "job_1542085634998_0024",
- "parentId": null,
- "percentComplete": null,
- "exitValue": 0,
- "user": "testuser11750",
- "callback": null,
- "completed": "done",
- "userargs": {
- "statusdir": "2018-11-13T05-49-52-4418fce1-e92e-4732-bc12-f2a3b8ef4432",
- "file": null,
- "enablejobreconnect": null,
- "define": [],
- "enablelog": "false",
- "files": null,
+ "id": "job_1542085634998_0024",
+ "parentId": null,
+ "percentComplete": null,
+ "exitValue": 0,
+ "user": "testuser11750",
"callback": null,
- "execute": "select querydwelltime+2 from hivesampletable where clientid = 8"
- },
- "msg": null
+ "completed": "done",
+ "userargs": {
+ "statusdir": "2018-11-13T05-49-52-4418fce1-e92e-4732-bc12-f2a3b8ef4432",
+ "file": null,
+ "enablejobreconnect": null,
+ "define": [],
+ "enablelog": "false",
+ "files": null,
+ "callback": null,
+ "execute": "select querydwelltime+2 from hivesampletable where clientid = 8"
+ },
+ "msg": null
+ }
}
}
}
diff --git a/specification/hdinsight/data-plane/Microsoft.HDInsight/preview/2018-11-01-preview/examples/HDI_Job_Kill.json b/specification/hdinsight/data-plane/Microsoft.HDInsight/preview/2018-11-01-preview/examples/HDI_Job_Kill.json
index 9a3a26b8f473..a5574d18d08e 100644
--- a/specification/hdinsight/data-plane/Microsoft.HDInsight/preview/2018-11-01-preview/examples/HDI_Job_Kill.json
+++ b/specification/hdinsight/data-plane/Microsoft.HDInsight/preview/2018-11-01-preview/examples/HDI_Job_Kill.json
@@ -6,79 +6,81 @@
},
"responses": {
"200": {
- "status": {
- "mapProgress": 0.0,
- "reduceProgress": 0.0,
- "cleanupProgress": 0.0,
- "setupProgress": 0.0,
- "runState": 5,
- "startTime": 1542087304445,
- "queue": "default",
- "priority": "NORMAL",
- "schedulingInfo": "NA",
- "failureInfo": "NA",
- "jobACLs": {},
- "jobName": "TempletonControllerJob",
- "jobFile": "/mapreducestaging/testuser11750/.staging/job_1542085634998_0007/job.xml",
- "finishTime": 1542087305443,
- "historyFile": "",
- "trackingUrl": "http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/cluster/app/application_1542085634998_0007",
- "numUsedSlots": 0,
- "numReservedSlots": 0,
- "usedMem": 0,
- "reservedMem": 0,
- "neededMem": 0,
- "jobPriority": "NORMAL",
- "jobID": {
- "id": 7,
- "jtIdentifier": "1542085634998"
+ "body": {
+ "status": {
+ "mapProgress": 0.0,
+ "reduceProgress": 0.0,
+ "cleanupProgress": 0.0,
+ "setupProgress": 0.0,
+ "runState": 5,
+ "startTime": 1542087304445,
+ "queue": "default",
+ "priority": "NORMAL",
+ "schedulingInfo": "NA",
+ "failureInfo": "NA",
+ "jobACLs": {},
+ "jobName": "TempletonControllerJob",
+ "jobFile": "/mapreducestaging/testuser11750/.staging/job_1542085634998_0007/job.xml",
+ "finishTime": 1542087305443,
+ "historyFile": "",
+ "trackingUrl": "http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/cluster/app/application_1542085634998_0007",
+ "numUsedSlots": 0,
+ "numReservedSlots": 0,
+ "usedMem": 0,
+ "reservedMem": 0,
+ "neededMem": 0,
+ "jobPriority": "NORMAL",
+ "jobID": {
+ "id": 7,
+ "jtIdentifier": "1542085634998"
+ },
+ "jobId": "job_1542085634998_0007",
+ "username": "testuser11750",
+ "state": "KILLED",
+ "retired": false,
+ "jobComplete": true,
+ "uber": false
},
- "jobId": "job_1542085634998_0007",
- "username": "testuser11750",
- "state": "KILLED",
- "retired": false,
- "jobComplete": true,
- "uber": false
- },
- "profile": {
- "user": "testuser11750",
- "jobFile": "/mapreducestaging/testuser11750/.staging/job_1542085634998_0007/job.xml",
- "url": "http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/cluster/app/application_1542085634998_0007",
- "queueName": "default",
- "jobName": "TempletonControllerJob",
- "jobID": {
- "id": 7,
- "jtIdentifier": "1542085634998"
+ "profile": {
+ "user": "testuser11750",
+ "jobFile": "/mapreducestaging/testuser11750/.staging/job_1542085634998_0007/job.xml",
+ "url": "http://hn0-testcl.422g4qa5a0lehgxxtnagxxuu2h.ex.internal.cloudapp.net:8088/cluster/app/application_1542085634998_0007",
+ "queueName": "default",
+ "jobName": "TempletonControllerJob",
+ "jobID": {
+ "id": 7,
+ "jtIdentifier": "1542085634998"
+ },
+ "jobId": "job_1542085634998_0007"
},
- "jobId": "job_1542085634998_0007"
- },
- "id": "job_1542085634998_0007",
- "parentId": null,
- "percentComplete": null,
- "exitValue": null,
- "user": "testuser11750",
- "callback": null,
- "completed": null,
- "userargs": {
- "statusdir": "2018-11-13T05-35-01-6f79af0f-6157-494a-a03e-eabb190a0c10",
- "enablejobreconnect": null,
- "arg": [
- "10",
- "1000"
- ],
- "define": [
- "mapreduce.map.maxattempts=10",
- "mapreduce.reduce.maxattempts=10",
- "mapreduce.task.timeout=60000"
- ],
- "enablelog": "false",
- "libjars": null,
- "files": null,
+ "id": "job_1542085634998_0007",
+ "parentId": null,
+ "percentComplete": null,
+ "exitValue": null,
+ "user": "testuser11750",
"callback": null,
- "jar": "/example/jars/hadoop-mapreduce-examples.jar",
- "class": "pi"
- },
- "msg": null
+ "completed": null,
+ "userargs": {
+ "statusdir": "2018-11-13T05-35-01-6f79af0f-6157-494a-a03e-eabb190a0c10",
+ "enablejobreconnect": null,
+ "arg": [
+ "10",
+ "1000"
+ ],
+ "define": [
+ "mapreduce.map.maxattempts=10",
+ "mapreduce.reduce.maxattempts=10",
+ "mapreduce.task.timeout=60000"
+ ],
+ "enablelog": "false",
+ "libjars": null,
+ "files": null,
+ "callback": null,
+ "jar": "/example/jars/hadoop-mapreduce-examples.jar",
+ "class": "pi"
+ },
+ "msg": null
+ }
}
}
}
diff --git a/specification/hdinsight/data-plane/readme.md b/specification/hdinsight/data-plane/readme.md
index 63fd8611a96a..ffd1eb557e82 100644
--- a/specification/hdinsight/data-plane/readme.md
+++ b/specification/hdinsight/data-plane/readme.md
@@ -132,3 +132,28 @@ java:
regenerate-manager: true
generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.HDInsight/preview/2018-11-01-preview/job.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json
index 6860a6200a4a..492ba977f0f7 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json
@@ -250,6 +250,14 @@
"type": "integer",
"format": "int32",
"description": "The public port to connect to."
+ },
+ "subDomainSuffix": {
+ "type": "string",
+ "description": "The subdomain suffix of the application."
+ },
+ "disableGatewayAuth": {
+ "type": "boolean",
+ "description": "Disable gateway authentication."
}
}
},
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
index 263fc59b3384..f12668bbc9c1 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
@@ -56,6 +56,9 @@
},
"Create Hadoop cluster with Azure Data Lake Storage Gen 2": {
"$ref": "./examples/CreateLinuxHadoopAdlsGen2.json"
+ },
+ "Create HDInsight cluster with Autoscale configuration": {
+ "$ref": "./examples/CreateHDInsightClusterWithAutoscaleConfig.json"
}
},
"parameters": [
@@ -605,6 +608,98 @@
}
}
},
+ "AutoscaleTimeAndCapacity": {
+ "properties": {
+ "time": {
+ "type": "string",
+ "description": "24-hour time in the form xx:xx"
+ },
+ "minInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The minimum instance count of the cluster"
+ },
+ "maxInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum instance count of the cluster"
+ }
+ },
+ "description": "Time and capacity request parameters"
+ },
+ "AutoscaleSchedule": {
+ "properties": {
+ "days": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "x-ms-enum": {
+ "name": "DaysOfWeek",
+ "modelAsString": false
+ }
+ },
+ "description": "Days of the week for a schedule-based autoscale rule"
+ },
+ "timeAndCapacity": {
+ "$ref": "#/definitions/AutoscaleTimeAndCapacity",
+ "description": "Time and capacity for a schedule-based autoscale rule"
+ }
+ },
+ "description": "Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity"
+ },
+ "AutoscaleCapacity": {
+ "properties": {
+ "minInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The minimum instance count of the cluster"
+ },
+ "maxInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum instance count of the cluster"
+ }
+ },
+ "description": "The load-based autoscale request parameters"
+ },
+ "AutoscaleRecurrence": {
+ "properties": {
+ "timeZone": {
+ "type": "string",
+ "description": "The time zone for the autoscale schedule times"
+ },
+ "schedule": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutoscaleSchedule"
+ },
+ "description": "Array of schedule-based autoscale rules"
+ }
+ },
+ "description": "Schedule-based autoscale request parameters"
+ },
+ "Autoscale": {
+ "properties": {
+ "capacity": {
+ "$ref": "#/definitions/AutoscaleCapacity",
+ "description": "Parameters for load-based autoscale"
+ },
+ "recurrence": {
+ "$ref": "#/definitions/AutoscaleRecurrence",
+ "description": "Parameters for schedule-based autoscale"
+ }
+ },
+ "description": "The autoscale request parameters"
+ },
"HardwareProfile": {
"properties": {
"vmSize": {
@@ -710,6 +805,11 @@
"format": "int32",
"description": "The instance count of the cluster."
},
+ "autoscale": {
+ "$ref": "#/definitions/Autoscale",
+ "x-ms-client-name": "autoscaleConfiguration",
+ "description": "The autoscale configurations."
+ },
"hardwareProfile": {
"$ref": "#/definitions/HardwareProfile",
"description": "The hardware profile."
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json
index 857b25e96859..09c1ed6184bb 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateApplication.json
@@ -38,7 +38,6 @@
]
}
],
- "provisioningState": "",
"applicationType": "CustomApplication",
"errors": []
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
new file mode 100644
index 000000000000..7d11ae887c01
--- /dev/null
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
@@ -0,0 +1,123 @@
+{
+ "parameters": {
+ "clusterName": "cluster1",
+ "resourceGroupName": "rg1",
+ "api-version": "2015-03-01-preview",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "clusterVersion": "3.6",
+ "osType": "Linux",
+ "tier": "Standard",
+ "clusterDefinition": {
+ "kind": "hadoop",
+ "componentVersion": {
+ "Hadoop": "2.7"
+ },
+ "configurations": {
+ "gateway": {
+ "restAuthCredential.isEnabled": true,
+ "restAuthCredential.username": "admin",
+ "restAuthCredential.password": "**********"
+ }
+ }
+ },
+ "storageProfile": {
+ "storageaccounts": [
+ {
+ "name": "mystorage.blob.core.windows.net",
+ "isDefault": true,
+ "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
+ "key": "storagekey"
+ }
+ ]
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "autoscale": {
+ "capacity": null,
+ "recurrence": {
+ "timeZone": "China Standard Time",
+ "schedule": [
+ {
+ "days": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "timeAndCapacity": {
+ "time": "09:00",
+ "minInstanceCount": 3,
+ "maxInstanceCount": 3
+ }
+ },
+ {
+ "days": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "timeAndCapacity": {
+ "time": "18:00",
+ "minInstanceCount": 6,
+ "maxInstanceCount": 6
+ }
+ },
+ {
+ "days": [
+ "Saturday",
+ "Sunday"
+ ],
+ "timeAndCapacity": {
+ "time": "09:00",
+ "minInstanceCount": 2,
+ "maxInstanceCount": 2
+ }
+ },
+ {
+ "days": [
+ "Saturday",
+ "Sunday"
+ ],
+ "timeAndCapacity": {
+ "time": "18:00",
+ "minInstanceCount": 4,
+ "maxInstanceCount": 4
+ }
+ }
+ ]
+ }
+ },
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "Standard_D4_V2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser",
+ "password": "**********"
+ }
+ },
+ "virtualNetworkProfile": null,
+ "scriptActions": [],
+ "dataDisksGroups": null
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ }
+ }
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json
index e6cd831b81d9..fe4ddb221398 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightCapabilities.json
@@ -6,19 +6,19 @@
},
"responses": {
"200": {
- "Body": {
+ "body": {
"versions": {
"paas": {
"available": [
{
"friendlyName": "1.6",
"displayName": "HdInsight version 1.6.1.0.335536",
- "isDefault": false
+ "isDefault": "false"
},
{
"friendlyName": "2.1",
"displayName": "Version 2.1.9.406.1221105",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "1.3",
"Hadoop": "1.2.0"
@@ -27,7 +27,7 @@
{
"friendlyName": "3.0",
"displayName": "Version 3.0.6.989.2441725",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.0",
"Hadoop": "2.2.0"
@@ -36,7 +36,7 @@
{
"friendlyName": "3.1",
"displayName": "Version 3.1.4.989.2441725",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.1.7",
"Hadoop": "2.4.0",
@@ -46,7 +46,7 @@
{
"friendlyName": "3.2",
"displayName": "Version 3.2.7.989.2441725",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.2",
"Hadoop": "2.6.0",
@@ -57,7 +57,7 @@
{
"friendlyName": "3.3",
"displayName": "Version 3.3.0.989.2441725",
- "isDefault": true,
+ "isDefault": "true",
"componentVersions": {
"HDP": "2.3",
"Hadoop": "2.7.0",
@@ -72,7 +72,7 @@
{
"friendlyName": "3.2",
"displayName": "Version 3.2.1000.0.8840373",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.2",
"Hadoop": "2.6.0",
@@ -83,7 +83,7 @@
{
"friendlyName": "3.3",
"displayName": "Version 3.3.1000.0.9776961",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.3",
"Hadoop": "2.7.0",
@@ -95,7 +95,7 @@
{
"friendlyName": "3.4",
"displayName": "Version 3.4.1000.0.9719475",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.4",
"Hadoop": "2.7.1",
@@ -108,7 +108,7 @@
{
"friendlyName": "3.5",
"displayName": "Version 3.5.1000.0.9732704",
- "isDefault": true,
+ "isDefault": "true",
"componentVersions": {
"HDP": "2.5",
"Hadoop": "2.7.3",
@@ -122,7 +122,7 @@
{
"friendlyName": "3.6",
"displayName": "Version 3.6.1000.0.9503998",
- "isDefault": false,
+ "isDefault": "false",
"componentVersions": {
"HDP": "2.6",
"Spark": "2.1.0"
@@ -131,7 +131,7 @@
{
"friendlyName": "99.152",
"displayName": "Version 99.152.1000.0.6943836",
- "isDefault": false
+ "isDefault": "false"
}
]
}
@@ -184,7 +184,7 @@
]
}
},
- "vmsizes": {
+ "vmSizes": {
"paas": {
"available": [
"A5",
@@ -242,7 +242,7 @@
]
}
},
- "vmsize_filters": [
+ "vmSize_filters": [
{
"FilterMode": "Exclude",
"Regions": [
@@ -257,10 +257,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A5"
]
},
@@ -280,10 +277,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A5"
]
},
@@ -302,10 +296,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A5"
]
},
@@ -325,10 +316,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A5"
]
},
@@ -347,10 +335,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A5"
]
},
@@ -368,10 +353,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A6"
]
},
@@ -390,10 +372,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A6"
]
},
@@ -413,10 +392,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A6"
]
},
@@ -435,10 +411,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A6"
]
},
@@ -456,10 +429,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A7"
]
},
@@ -478,10 +448,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A7"
]
},
@@ -501,10 +468,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A7"
]
},
@@ -523,10 +487,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"A7"
]
},
@@ -544,10 +505,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"EXTRALARGE"
]
},
@@ -566,10 +524,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"EXTRALARGE"
]
},
@@ -591,10 +546,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"EXTRALARGE"
]
},
@@ -613,10 +565,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"EXTRALARGE"
]
},
@@ -634,10 +583,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"LARGE"
]
},
@@ -656,10 +602,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"LARGE"
]
},
@@ -679,10 +622,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"LARGE"
]
},
@@ -701,10 +641,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"LARGE"
]
},
@@ -722,10 +659,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"MEDIUM"
]
},
@@ -745,10 +679,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"MEDIUM"
]
},
@@ -767,10 +698,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"MEDIUM"
]
},
@@ -788,10 +716,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"SMALL"
]
},
@@ -811,10 +736,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"SMALL"
]
},
@@ -833,10 +755,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"SMALL"
]
},
@@ -855,10 +774,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"SMALL"
]
},
@@ -876,10 +792,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -899,10 +812,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -921,10 +831,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -942,10 +849,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -965,10 +869,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -987,10 +888,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1"
]
},
@@ -1008,10 +906,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1031,10 +926,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1053,10 +945,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1075,10 +964,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1098,10 +984,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1120,10 +1003,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -1141,10 +1021,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1164,10 +1041,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1186,10 +1060,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1207,10 +1078,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1230,10 +1098,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1252,10 +1117,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11"
]
},
@@ -1273,10 +1135,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1296,10 +1155,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1318,10 +1174,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1340,10 +1193,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1363,10 +1213,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1385,10 +1232,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -1406,10 +1250,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12"
]
},
@@ -1428,10 +1269,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12"
]
},
@@ -1449,10 +1287,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12"
]
},
@@ -1472,10 +1307,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12"
]
},
@@ -1494,10 +1326,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12"
]
},
@@ -1515,10 +1344,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -1537,10 +1363,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -1559,10 +1382,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -1582,10 +1402,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -1604,10 +1421,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -1625,10 +1439,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13"
]
},
@@ -1647,10 +1458,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13"
]
},
@@ -1668,10 +1476,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13"
]
},
@@ -1691,10 +1496,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13"
]
},
@@ -1713,10 +1515,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13_V2"
]
},
@@ -1735,10 +1534,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13_V2"
]
},
@@ -1758,10 +1554,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13_V2"
]
},
@@ -1779,10 +1572,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14"
]
},
@@ -1801,10 +1591,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14"
]
},
@@ -1822,10 +1609,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14"
]
},
@@ -1845,10 +1629,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14"
]
},
@@ -1866,10 +1647,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -1888,10 +1666,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -1910,10 +1685,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -1933,10 +1705,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -1954,10 +1723,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -1977,10 +1743,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -1999,10 +1762,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -2020,10 +1780,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -2043,10 +1800,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -2065,10 +1819,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2"
]
},
@@ -2086,10 +1837,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2109,10 +1857,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2131,10 +1876,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2153,10 +1895,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2176,10 +1915,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2198,10 +1934,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2219,10 +1952,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3"
]
},
@@ -2241,10 +1971,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3"
]
},
@@ -2262,10 +1989,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3"
]
},
@@ -2285,10 +2009,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3"
]
},
@@ -2307,10 +2028,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3"
]
},
@@ -2328,10 +2046,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2350,10 +2065,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2372,10 +2084,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2395,10 +2104,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2417,10 +2123,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2438,10 +2141,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4"
]
},
@@ -2460,10 +2160,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4"
]
},
@@ -2481,10 +2178,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4"
]
},
@@ -2504,10 +2198,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4"
]
},
@@ -2526,10 +2217,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4"
]
},
@@ -2547,10 +2235,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -2569,10 +2254,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -2591,10 +2273,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -2614,10 +2293,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -2636,10 +2312,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -2657,10 +2330,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D5_V2"
]
},
@@ -2679,10 +2349,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D5_V2"
]
},
@@ -2701,10 +2368,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D5_V2"
]
},
@@ -2724,10 +2388,7 @@
"2.1",
"3.0"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D5_V2"
]
},
@@ -2746,10 +2407,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D5_V2"
]
},
@@ -2768,10 +2426,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D1_V2"
]
},
@@ -2790,10 +2445,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D11_V2"
]
},
@@ -2812,10 +2464,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -2834,10 +2483,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D12_V2"
]
},
@@ -2856,10 +2502,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13_V2"
]
},
@@ -2878,10 +2521,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D13_V2"
]
},
@@ -2900,10 +2540,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -2922,10 +2559,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D14_V2"
]
},
@@ -2944,10 +2578,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D2_V2"
]
},
@@ -2966,10 +2597,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -2988,10 +2616,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D3_V2"
]
},
@@ -3010,10 +2635,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
},
@@ -3032,10 +2654,7 @@
"ClusterVersions": [
"*"
],
- "OsType": [
- "*"
- ],
- "VMSizes": [
+ "vmsizes": [
"STANDARD_D4_V2"
]
}
@@ -3124,8 +2743,8 @@
"VMSIZES_AUX"
],
"quota": {
- "cores_used": 72,
- "max_cores_allowed": 1000,
+ "cores_used": 0,
+ "max_cores_allowed": 3000,
"regionalQuotas": [
{
"region_name": "Australia East",
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json
index f645c70420bd..b0f912900acb 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/GetHDInsightUsages.json
@@ -6,7 +6,7 @@
},
"responses": {
"200": {
- "Body": {
+ "body": {
"value": [
{
"unit": "Count",
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
index da62bfa19376..3d361ab8180c 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
@@ -15,6 +15,11 @@
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
}
+ },
+ "200": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Locations_ListBillingSpecs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Locations_ListBillingSpecs.json
new file mode 100644
index 000000000000..de9a1182d869
--- /dev/null
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/examples/HDI_Locations_ListBillingSpecs.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "location": "East US 2",
+ "api-version": "2015-03-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "vmSizes": [
+ "A5",
+ "A6",
+ "A7"
+ ],
+ "vmSizeFilters": [
+ {
+ "filterMode": "Exclude",
+ "regions": null,
+ "clusterFlavors": null,
+ "nodeTypes": null,
+ "clusterVersions": null,
+ "osType": null,
+ "vmSizes": null
+ }
+ ],
+ "billingResources": [
+ {
+ "region": "East US 2",
+ "billingMeters": [],
+ "diskBillingMeters": []
+ },
+ {
+ "region": "default",
+ "billingMeters": [
+ {
+ "meterParameter": "default",
+ "meter": "11111111-1111-1111-1111-111111111111",
+ "unit": "CoreHours"
+ },
+ {
+ "meterParameter": "Kafka",
+ "meter": "11111111-1111-1111-1111-111111111111",
+ "unit": "CoreHours"
+ }
+ ],
+ "diskBillingMeters": [
+ {
+ "diskRpMeter": "11111111-1111-1111-1111-111111111111",
+ "sku": "All",
+ "tier": "Standard"
+ },
+ {
+ "diskRpMeter": "11111111-1111-1111-1111-111111111111",
+ "sku": "All",
+ "tier": "Standard"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json
index cb49fa0aedd1..9d22c56296e6 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json
@@ -111,6 +111,45 @@
}
}
}
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs": {
+ "get": {
+ "tags": [
+ "Regions"
+ ],
+ "operationId": "Locations_ListBillingSpecs",
+ "description": "Lists the billingSpecs for the specified subscription and location.",
+ "x-ms-examples": {
+ "Get the subscription billingSpecs for the specified location": {
+ "$ref": "./examples/HDI_Locations_ListBillingSpecs.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./operations.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "OK response definition.",
+ "schema": {
+ "$ref": "#/definitions/BillingResponseListResult"
+ }
+ }
+ }
+ }
}
},
"definitions": {
@@ -136,7 +175,8 @@
"type": "string"
}
}
- }
+ },
+ "readOnly": true
},
"VersionsCapability": {
"description": "The version capability.",
@@ -148,7 +188,8 @@
"$ref": "#/definitions/VersionSpec"
}
}
- }
+ },
+ "readOnly": true
},
"RegionsCapability": {
"description": "The regions capability.",
@@ -160,7 +201,8 @@
"type": "string"
}
}
- }
+ },
+ "readOnly": true
},
"VmSizesCapability": {
"description": "The virtual machine sizes capability.",
@@ -172,7 +214,8 @@
"type": "string"
}
}
- }
+ },
+ "readOnly": true
},
"VmSizeCompatibilityFilter": {
"description": "The virtual machine type compatibility filter.",
@@ -216,7 +259,8 @@
"type": "string"
}
}
- }
+ },
+ "readOnly": true
},
"RegionalQuotaCapability": {
"description": "The regional quota capacity.",
@@ -231,15 +275,26 @@
"format": "int64"
},
"cores_available": {
- "description": "The number of courses available in the region.",
+ "description": "The number of cores available in the region.",
"type": "integer",
"format": "int64"
}
- }
+ },
+ "readOnly": true
},
"QuotaCapability": {
"description": "The regional quota capability.",
"properties": {
+ "cores_used": {
+ "description": "The number of cores used in the subscription.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "max_cores_allowed": {
+ "description": "The number of cores that the subscription allowed.",
+ "type": "integer",
+ "format": "int64"
+ },
"regionalQuotas": {
"description": "The list of region quota capabilities.",
"type": "array",
@@ -247,7 +302,8 @@
"$ref": "#/definitions/RegionalQuotaCapability"
}
}
- }
+ },
+ "readOnly": true
},
"CapabilitiesResult": {
"description": "The Get Capabilities operation response.",
@@ -291,7 +347,8 @@
"description": "The quota capability.",
"$ref": "#/definitions/QuotaCapability"
}
- }
+ },
+ "readOnly": true
},
"LocalizedName": {
"description": "The details about the localizable name of a type of usage.",
@@ -338,6 +395,169 @@
}
}
}
+ },
+ "BillingResponseListResult": {
+ "type": "object",
+ "description": "The response for the operation to get regional billingSpecs for a subscription.",
+ "properties": {
+ "vmSizes": {
+ "description": "The virtual machine sizes to include or exclude.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "vmSizeFilters": {
+ "description": "The virtual machine filtering mode. Effectively this can enabling or disabling the virtual machine sizes in a particular set.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VmSizeCompatibilityFilterV2"
+ }
+ },
+ "billingResources": {
+ "description": "The billing and managed disk billing resources for a region.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BillingResources"
+ }
+ }
+ }
+ },
+ "VmSizeCompatibilityFilterV2": {
+ "type": "object",
+ "description": "This class represent a single filter object that defines a multidimensional set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of exclusion/inclusion) and the ordering of the Filters. Later filters override previous settings if conflicted.",
+ "properties": {
+ "filterMode": {
+ "description": "The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular set.",
+ "type": "string",
+ "enum": [
+ "Exclude",
+ "Include"
+ ],
+ "x-ms-enum": {
+ "name": "FilterMode",
+ "modelAsString": true
+ }
+ },
+ "regions": {
+ "description": "The list of regions under the effect of the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "clusterFlavors": {
+ "description": "The list of cluster flavors under the effect of the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "nodeTypes": {
+ "description": "The list of node types affected by the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "clusterVersions": {
+ "description": "The list of cluster versions affected in Major.Minor format.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "osType": {
+ "description": "The OSType affected, Windows or Linux.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": false
+ }
+ }
+ },
+ "vmSizes": {
+ "description": "The list of virtual machine sizes to include or exclude.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "BillingResources": {
+ "type": "object",
+ "description": "The billing resources.",
+ "properties": {
+ "region": {
+ "description": "The region or location.",
+ "type": "string"
+ },
+ "billingMeters": {
+ "description": "The billing meter information.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BillingMeters"
+ }
+ },
+ "diskBillingMeters": {
+ "description": "The managed disk billing information.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiskBillingMeters"
+ }
+ }
+ }
+ },
+ "BillingMeters": {
+ "type": "object",
+ "description": "The billing meters.",
+ "properties": {
+ "meterParameter": {
+ "description": "The virtual machine sizes.",
+ "type": "string"
+ },
+ "meter": {
+ "description": "The HDInsight meter guid.",
+ "type": "string"
+ },
+ "unit": {
+ "description": "The unit of meter, VMHours or CoreHours.",
+ "type": "string"
+ }
+ }
+ },
+ "DiskBillingMeters": {
+ "type": "object",
+ "description": "The disk billing meters.",
+ "properties": {
+ "diskRpMeter": {
+ "description": "The managed disk meter guid.",
+ "type": "string"
+ },
+ "sku": {
+ "description": "The managed disk billing sku, P30 or S30.",
+ "type": "string"
+ },
+ "tier": {
+ "description": "The managed disk billing tier, Standard or Premium.",
+ "type": "string",
+ "enum": [
+ "Standard",
+ "Premium"
+ ],
+ "x-ms-enum": {
+ "name": "Tier",
+ "modelAsString": false
+ }
+ }
+ }
}
},
"parameters": {
@@ -353,7 +573,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The location.",
+ "description": "The Azure location (region) for which to make the request.",
"x-ms-parameter-location": "method"
},
"ApiVersionParameter": {
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json
index c64ce0bb3291..979c1460aff0 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json
@@ -253,7 +253,7 @@
},
"subDomainSuffix": {
"type": "string",
- "description": "The subDomainSuffix of the application."
+ "description": "The subdomain suffix of the application."
},
"disableGatewayAuth": {
"type": "boolean",
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
index fc18241a07fa..c55dbec56870 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
@@ -56,6 +56,9 @@
},
"Create Hadoop cluster with Azure Data Lake Storage Gen 2": {
"$ref": "./examples/CreateLinuxHadoopAdlsGen2.json"
+ },
+ "Create HDInsight cluster with Autoscale configuration": {
+ "$ref": "./examples/CreateHDInsightClusterWithAutoscaleConfig.json"
}
},
"parameters": [
@@ -605,6 +608,98 @@
}
}
},
+ "AutoscaleTimeAndCapacity": {
+ "properties": {
+ "time": {
+ "type": "string",
+ "description": "24-hour time in the form xx:xx"
+ },
+ "minInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The minimum instance count of the cluster"
+ },
+ "maxInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum instance count of the cluster"
+ }
+ },
+ "description": "Time and capacity request parameters"
+ },
+ "AutoscaleSchedule": {
+ "properties": {
+ "days": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday",
+ "Sunday"
+ ],
+ "x-ms-enum": {
+ "name": "DaysOfWeek",
+ "modelAsString": false
+ }
+ },
+ "description": "Days of the week for a schedule-based autoscale rule"
+ },
+ "timeAndCapacity": {
+ "$ref": "#/definitions/AutoscaleTimeAndCapacity",
+ "description": "Time and capacity for a schedule-based autoscale rule"
+ }
+ },
+ "description": "Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity"
+ },
+ "AutoscaleCapacity": {
+ "properties": {
+ "minInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The minimum instance count of the cluster"
+ },
+ "maxInstanceCount": {
+ "type": "integer",
+ "format": "int32",
+ "description": "The maximum instance count of the cluster"
+ }
+ },
+ "description": "The load-based autoscale request parameters"
+ },
+ "AutoscaleRecurrence": {
+ "properties": {
+ "timeZone": {
+ "type": "string",
+ "description": "The time zone for the autoscale schedule times"
+ },
+ "schedule": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AutoscaleSchedule"
+ },
+ "description": "Array of schedule-based autoscale rules"
+ }
+ },
+ "description": "Schedule-based autoscale request parameters"
+ },
+ "Autoscale": {
+ "properties": {
+ "capacity": {
+ "$ref": "#/definitions/AutoscaleCapacity",
+ "description": "Parameters for load-based autoscale"
+ },
+ "recurrence": {
+ "$ref": "#/definitions/AutoscaleRecurrence",
+ "description": "Parameters for schedule-based autoscale"
+ }
+ },
+ "description": "The autoscale request parameters"
+ },
"HardwareProfile": {
"properties": {
"vmSize": {
@@ -710,6 +805,11 @@
"format": "int32",
"description": "The instance count of the cluster."
},
+ "autoscale": {
+ "$ref": "#/definitions/Autoscale",
+ "x-ms-client-name": "autoscaleConfiguration",
+ "description": "The autoscale configurations."
+ },
"hardwareProfile": {
"$ref": "#/definitions/HardwareProfile",
"description": "The hardware profile."
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
new file mode 100644
index 000000000000..dc7278ca8a9f
--- /dev/null
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/CreateHDInsightClusterWithAutoscaleConfig.json
@@ -0,0 +1,123 @@
+{
+ "parameters": {
+ "clusterName": "cluster1",
+ "resourceGroupName": "rg1",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid",
+ "parameters": {
+ "properties": {
+ "clusterVersion": "3.6",
+ "osType": "Linux",
+ "tier": "Standard",
+ "clusterDefinition": {
+ "kind": "hadoop",
+ "componentVersion": {
+ "Hadoop": "2.7"
+ },
+ "configurations": {
+ "gateway": {
+ "restAuthCredential.isEnabled": true,
+ "restAuthCredential.username": "admin",
+ "restAuthCredential.password": "**********"
+ }
+ }
+ },
+ "storageProfile": {
+ "storageaccounts": [
+ {
+ "name": "mystorage.blob.core.windows.net",
+ "isDefault": true,
+ "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
+ "key": "storagekey"
+ }
+ ]
+ },
+ "computeProfile": {
+ "roles": [
+ {
+ "autoscale": {
+ "capacity": null,
+ "recurrence": {
+ "timeZone": "China Standard Time",
+ "schedule": [
+ {
+ "days": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "timeAndCapacity": {
+ "time": "09:00",
+ "minInstanceCount": 3,
+ "maxInstanceCount": 3
+ }
+ },
+ {
+ "days": [
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday"
+ ],
+ "timeAndCapacity": {
+ "time": "18:00",
+ "minInstanceCount": 6,
+ "maxInstanceCount": 6
+ }
+ },
+ {
+ "days": [
+ "Saturday",
+ "Sunday"
+ ],
+ "timeAndCapacity": {
+ "time": "09:00",
+ "minInstanceCount": 2,
+ "maxInstanceCount": 2
+ }
+ },
+ {
+ "days": [
+ "Saturday",
+ "Sunday"
+ ],
+ "timeAndCapacity": {
+ "time": "18:00",
+ "minInstanceCount": 4,
+ "maxInstanceCount": 4
+ }
+ }
+ ]
+ }
+ },
+ "name": "workernode",
+ "targetInstanceCount": 4,
+ "hardwareProfile": {
+ "vmSize": "Standard_D4_V2"
+ },
+ "osProfile": {
+ "linuxOperatingSystemProfile": {
+ "username": "sshuser",
+ "password": "**********"
+ }
+ },
+ "virtualNetworkProfile": null,
+ "scriptActions": [],
+ "dataDisksGroups": null
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ }
+ }
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightCapabilities.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightCapabilities.json
new file mode 100644
index 000000000000..7b8bf40f3197
--- /dev/null
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightCapabilities.json
@@ -0,0 +1,2859 @@
+{
+ "parameters": {
+ "location": "West US",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "versions": {
+ "paas": {
+ "available": [
+ {
+ "friendlyName": "1.6",
+ "displayName": "HdInsight version 1.6.1.0.335536",
+ "isDefault": "false"
+ },
+ {
+ "friendlyName": "2.1",
+ "displayName": "Version 2.1.9.406.1221105",
+ "isDefault": "false",
+ "componentVersions": {
+ "HDP": "1.3",
+ "Hadoop": "1.2.0"
+ }
+ },
+ {
+ "friendlyName": "3.0",
+ "displayName": "Version 3.0.6.989.2441725",
+ "isDefault": "false",
+ "componentVersions": {
+ "HDP": "2.0",
+ "Hadoop": "2.2.0"
+ }
+ },
+ {
+ "friendlyName": "3.1",
+ "displayName": "Version 3.1.4.989.2441725",
+ "isDefault": "false",
+ "componentVersions": {
+ "HDP": "2.1.7",
+ "Hadoop": "2.4.0",
+ "HBase": "0.98"
+ }
+ },
+ {
+ "friendlyName": "3.2",
+ "displayName": "Version 3.2.7.989.2441725",
+ "isDefault": "false",
+ "componentVersions": {
+ "HDP": "2.2",
+ "Hadoop": "2.6.0",
+ "HBase": "0.98.4",
+ "Storm": "0.9.3"
+ }
+ },
+ {
+ "friendlyName": "3.3",
+ "displayName": "Version 3.3.0.989.2441725",
+ "isDefault": "true",
+ "componentVersions": {
+ "HDP": "2.3",
+ "Hadoop": "2.7.0",
+ "HBase": "1.1.2",
+ "Storm": "0.10.0"
+ }
+ }
+ ]
+ },
+ "iaas": {
+ "available": [
+ {
+ "friendlyName": "3.2",
+ "displayName": "Version 3.2.1000.0.8840373",
+ "isDefault": "false",
+ "componentVersions": {
+ "HDP": "2.2",
+ "Hadoop": "2.6.0",
+ "HBase": "0.98.4",
+ "Storm": "0.9.3"
+ }
+ },
+ {
+ "friendlyName": "3.3",
+ "displayName": "Version 3.3.1000.0.9776961",
+ "isDefault": "false",
+ "componentVersions": {
+ "HDP": "2.3",
+ "Hadoop": "2.7.0",
+ "HBase": "1.1.2",
+ "Storm": "0.10.0",
+ "Spark": "1.5.2"
+ }
+ },
+ {
+ "friendlyName": "3.4",
+ "displayName": "Version 3.4.1000.0.9719475",
+ "isDefault": "false",
+ "componentVersions": {
+ "HDP": "2.4",
+ "Hadoop": "2.7.1",
+ "HBase": "1.1.2",
+ "Storm": "0.10.0",
+ "Spark": "1.6.2",
+ "RServer": "8.0"
+ }
+ },
+ {
+ "friendlyName": "3.5",
+ "displayName": "Version 3.5.1000.0.9732704",
+ "isDefault": "true",
+ "componentVersions": {
+ "HDP": "2.5",
+ "Hadoop": "2.7.3",
+ "InteractiveHive": "2.1.0",
+ "HBase": "1.1.2",
+ "Storm": "1.0.1",
+ "Spark": "1.6.3,2.0.2",
+ "RServer": "9.0"
+ }
+ },
+ {
+ "friendlyName": "3.6",
+ "displayName": "Version 3.6.1000.0.9503998",
+ "isDefault": "false",
+ "componentVersions": {
+ "HDP": "2.6",
+ "Spark": "2.1.0"
+ }
+ },
+ {
+ "friendlyName": "99.152",
+ "displayName": "Version 99.152.1000.0.6943836",
+ "isDefault": "false"
+ }
+ ]
+ }
+ },
+ "regions": {
+ "paas": {
+ "available": [
+ "AUSTRALIA EAST",
+ "AUSTRALIA SOUTHEAST",
+ "BRAZIL SOUTH",
+ "CENTRAL INDIA",
+ "CENTRAL US",
+ "EAST ASIA",
+ "EAST US",
+ "EAST US 2",
+ "JAPAN EAST",
+ "JAPAN WEST",
+ "NORTH CENTRAL US",
+ "NORTH EUROPE",
+ "SOUTH CENTRAL US",
+ "SOUTHEAST ASIA",
+ "WEST EUROPE",
+ "WEST US",
+ "WEST US 2"
+ ]
+ },
+ "iaas": {
+ "available": [
+ "AUSTRALIA EAST",
+ "AUSTRALIA SOUTHEAST",
+ "BRAZIL SOUTH",
+ "CANADA CENTRAL",
+ "CANADA EAST",
+ "CENTRAL INDIA",
+ "CENTRAL US",
+ "CENTRAL US EUAP",
+ "EAST ASIA",
+ "EAST US",
+ "EAST US 2",
+ "JAPAN EAST",
+ "JAPAN WEST",
+ "NORTH CENTRAL US",
+ "NORTH EUROPE",
+ "SOUTH CENTRAL US",
+ "SOUTHEAST ASIA",
+ "WEST CENTRAL US",
+ "WEST EUROPE",
+ "WEST US",
+ "WEST US 2"
+ ]
+ }
+ },
+ "vmSizes": {
+ "paas": {
+ "available": [
+ "A5",
+ "A6",
+ "A7",
+ "EXTRALARGE",
+ "LARGE",
+ "MEDIUM",
+ "SMALL",
+ "STANDARD_D1",
+ "STANDARD_D1_V2",
+ "STANDARD_D11",
+ "STANDARD_D11_V2",
+ "STANDARD_D12",
+ "STANDARD_D12_V2",
+ "STANDARD_D13",
+ "STANDARD_D13_V2",
+ "STANDARD_D14",
+ "STANDARD_D14_V2",
+ "STANDARD_D2",
+ "STANDARD_D2_V2",
+ "STANDARD_D3",
+ "STANDARD_D3_V2",
+ "STANDARD_D4",
+ "STANDARD_D4_V2",
+ "STANDARD_D5_V2"
+ ]
+ },
+ "iaas": {
+ "available": [
+ "A5",
+ "A6",
+ "A7",
+ "EXTRALARGE",
+ "LARGE",
+ "MEDIUM",
+ "SMALL",
+ "STANDARD_D1",
+ "STANDARD_D1_V2",
+ "STANDARD_D11",
+ "STANDARD_D11_V2",
+ "STANDARD_D12",
+ "STANDARD_D12_V2",
+ "STANDARD_D13",
+ "STANDARD_D13_V2",
+ "STANDARD_D14",
+ "STANDARD_D14_V2",
+ "STANDARD_D2",
+ "STANDARD_D2_V2",
+ "STANDARD_D3",
+ "STANDARD_D3_V2",
+ "STANDARD_D4",
+ "STANDARD_D4_V2",
+ "STANDARD_D5_V2"
+ ]
+ }
+ },
+ "vmSize_filters": [
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "A5"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole",
+ "EdgeNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "A5"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "A5"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "A5"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "A5"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "A6"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "A6"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "A6"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "A6"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "A7"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "A7"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "A7"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "A7"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "EXTRALARGE"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "EXTRALARGE"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "WorkerNodeRole",
+ "EdgeNodeRole",
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "EXTRALARGE"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "EXTRALARGE"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "LARGE"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "LARGE"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "LARGE"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "LARGE"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "MEDIUM"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole",
+ "EdgeNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "MEDIUM"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "MEDIUM"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "SMALL"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole",
+ "EdgeNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "SMALL"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "HBase",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "SMALL"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "SMALL"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D1"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole",
+ "EdgeNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D1"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D1"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D1"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D1"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D1"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D1_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole",
+ "EdgeNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D1_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D1_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Brazil South",
+ "Japan West"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D1_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D1_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D1_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D11"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole",
+ "EdgeNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D11"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D11"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D11"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D11"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D11"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D11_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole",
+ "EdgeNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D11_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D11_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Brazil South",
+ "Japan West"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D11_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D11_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D11_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D12"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D12"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D12"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D12"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D12"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D12_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D12_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Brazil South",
+ "Japan West"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D12_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D12_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D12_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D13"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D13"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D13"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D13"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D13_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Brazil South",
+ "Japan West"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D13_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D13_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D14"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D14"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D14"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D14"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D14_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D14_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Brazil South",
+ "Japan West"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D14_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D14_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole",
+ "EdgeNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D2_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole",
+ "EdgeNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D2_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D2_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Brazil South",
+ "Japan West"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D2_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D2_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D2_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D3"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D3"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D3"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D3"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D3"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D3_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D3_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Brazil South",
+ "Japan West"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D3_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D3_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D3_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D4"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D4"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D4"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D4"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D4"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D4_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D4_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Brazil South",
+ "Japan West"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D4_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D4_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D4_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Sandbox"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D5_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "Hadoop",
+ "Spark"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D5_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "Brazil South",
+ "Japan West"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D5_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "*"
+ ],
+ "ClusterVersions": [
+ "1.6",
+ "2.1",
+ "3.0"
+ ],
+ "vmsizes": [
+ "STANDARD_D5_V2"
+ ]
+ },
+ {
+ "FilterMode": "Exclude",
+ "Regions": [
+ "*"
+ ],
+ "ClusterFlavors": [
+ "InteractiveHive"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D5_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "HBase",
+ "Storm"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D1_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "HBase",
+ "Storm"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D11_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D12_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "HBase",
+ "Storm"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D12_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D13_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "HBase",
+ "Storm"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D13_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D14_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "HBase",
+ "Storm"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D14_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "HBase",
+ "Storm"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D2_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D3_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "HBase",
+ "Storm"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D3_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "*"
+ ],
+ "NodeTypes": [
+ "HeadNodeRole",
+ "WorkerNodeRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D4_V2"
+ ]
+ },
+ {
+ "FilterMode": "Include",
+ "Regions": [
+ "Central India"
+ ],
+ "ClusterFlavors": [
+ "HBase",
+ "Storm"
+ ],
+ "NodeTypes": [
+ "ZookeeperRole"
+ ],
+ "ClusterVersions": [
+ "*"
+ ],
+ "vmsizes": [
+ "STANDARD_D4_V2"
+ ]
+ }
+ ],
+ "features": [
+ "ALLOW_GATEWAY_AUTH_BYPASS",
+ "AUX_IAAS_FUNCTIONALITIES",
+ "BLOCK_APPS_FOR_SECURE_CLUSTER",
+ "CLUSTER_RESIZE",
+ "CLUSTERS_CONTRACT_1",
+ "CLUSTERS_CONTRACT_1_SDK",
+ "CLUSTERS_CONTRACT_2_SDK",
+ "CLUSTERS_CONTRACT_VERSION_3_SDK",
+ "COLLECTANONYMIZEDLOGS",
+ "CONTAINER_LOG_COLLECTOR",
+ "CONTAINER_RESOURCE_V3",
+ "CUSTOM_ACTIONS_V2",
+ "DATALAKE",
+ "DATALAKE_3_2",
+ "DATALAKE_3_4",
+ "DATALAKE_3_5",
+ "DATALAKE_DEFAULTFS_3_5",
+ "DEFAULT_CONTAINER_IDENTIFIER_AND_STORAGEFQDN_ALREADY_USED",
+ "DOCUMENT_VALIDATION_IN_API",
+ "ENABLEDATALAKE",
+ "ENABLEGENEVAANALYTICS",
+ "HADOOP_VIRTUAL_NETWORK_ENABLED",
+ "HS2_ZK_ROUTER_INTERACTIVEHIVE",
+ "IAAS_ALLOW_CUSTOM_DNS",
+ "IAAS_AMBARI_APP_TIMELINE_SERVER_HA_SERVICE",
+ "IAAS_AMBARI_DEPENDENCY_BASED_DEPLOYMENT",
+ "IAAS_AMBARI_HA_SERVICES",
+ "IAAS_AMBARI_HISTORYSERVER_HA_SERVICE",
+ "IAAS_AMBARI_LOWER_LATENCY",
+ "IAAS_AMBARI_SKIP_COMPONENTS_INSTALL",
+ "IAAS_ARM_PROVISIONING",
+ "IAAS_CLOSE_HEAD_HTTPS_END_POINT_AFTER_CLUSTER_CREATE",
+ "IAAS_CLUSTER_APPLICATION_ALLOW_MULTIPLE_ROLE_INSTANCES",
+ "IAAS_CLUSTER_APPLICATION_REMOVE",
+ "IAAS_CLUSTER_CONTAINER_PREUPLOAD_SUBMIT_WAIT",
+ "IAAS_CLUSTER_RSERVER",
+ "IAAS_DB_CREATION_IN_PARALLEL_TO_VM",
+ "IAAS_DELETE_LEAKED_RESOURCES",
+ "IAAS_DEPLOYMENTS",
+ "IAAS_DO_NOT_CREATE_WASB_TABLES_IN_CUSTOMER_STORAGE",
+ "IAAS_ENABLE_CLUSTER_CONFIG_OVERRIDES",
+ "IAAS_ENABLE_OFFLINE_CLEANUP",
+ "IAAS_ENABLE_OFFLINE_CLEANUP_FOR_DELETING_VMS",
+ "IAAS_INCLUDE_STORAGE_IN_SUBSCRIPTION_SELECTION",
+ "IAAS_PARALLEL_DB_CREATE",
+ "IAAS_PREPROVISION_METASTORES_SCHEMAS",
+ "IAAS_SCRIPTACTIONS_DELETE_VMS_CRUD_FAILURES",
+ "IAAS_SCRIPTACTIONS_RUNNING",
+ "IAAS_SHORT_VM_NAME",
+ "IAAS_SUBMIT_AMBARI_REQUEST_ONCE_LINUX_VM_ARE_AVAILABLE",
+ "IAAS_TEZ_ATS_V15",
+ "IAAS_USE_UNATTENDED_UPGRADES_FOR_PATCHING",
+ "IAAS_VALIDATE_CUSTOM_VNET",
+ "IAAS_VALIDATE_NSG",
+ "IAAS_WAIT_FOR_CLOSING_HEAD_HTTPS_END_POINT_AFTER_CLUSTER_CREATE",
+ "IAAS_YARN_HDINSIGHT_SQL_TIMELINE_STORE",
+ "IAAS_YARN_HDINSIGHT_TIMELINE_STORE",
+ "INTERACTIVEHIVE",
+ "MDSCENTRALLOGGING",
+ "NODE_SETUP_POLLER_ENABLED",
+ "OVERPROVISION_HOSTGROUP_edgenode",
+ "OVERPROVISION_HOSTGROUP_Gateway",
+ "OVERPROVISION_HOSTGROUP_Workernode",
+ "OVERPROVISION_HOSTGROUP_zookeepernode",
+ "PERF_OPTIMIZED_RESOURCE_LOCATION_FETCH",
+ "PORTALAPPINSTALL",
+ "POWERSHELL_SCRIPT_ACTION",
+ "POWERSHELL_SCRIPT_ACTION_SDK",
+ "PREMIUM_TIER_PREVIEW",
+ "PROVISIONING_AGENT",
+ "RMHA",
+ "RSERVER_CLUSTERTYPE_3_5_ENABLED",
+ "RSERVER_CLUSTERTYPE_ENABLED",
+ "SHOW_HUMBOLDT_GA",
+ "SHOW_IBIZA_CREATE",
+ "SPARK_2_1",
+ "SPARK_EXPERIMENTAL",
+ "STORM_PREVIEW",
+ "UI_CREATE_WIZARD_V2",
+ "VIRTUAL_NETWORK_ENABLED",
+ "VMSIZES_AUX"
+ ],
+ "quota": {
+ "cores_used": 0,
+ "max_cores_allowed": 3000,
+ "regionalQuotas": [
+ {
+ "region_name": "Australia East",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "Australia Southeast",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "Brazil South",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "Canada Central",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "Canada East",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "Central India",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "Central US",
+ "cores_used": 24,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "Central US EUAP",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "East Asia",
+ "cores_used": 24,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "East US",
+ "cores_used": 24,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "East US 2",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "Japan East",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "Japan West",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "North Central US",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "North Europe",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "South Central US",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "Southeast Asia",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "West Central US",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "West Europe",
+ "cores_used": 0,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "West US",
+ "cores_used": 132,
+ "cores_available": 1000
+ },
+ {
+ "region_name": "West US 2",
+ "cores_used": 0,
+ "cores_available": 1000
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json
index 50b293477e9b..d8dad62f927c 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/GetHDInsightUsages.json
@@ -6,7 +6,7 @@
},
"responses": {
"200": {
- "Body": {
+ "body": {
"value": [
{
"unit": "Count",
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
index 306db252822e..85ac80339028 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Clusters_UpdateGatewaySettings_Enable.json
@@ -15,6 +15,11 @@
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
}
+ },
+ "200": {
+ "headers": {
+ "location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult"
+ }
}
}
}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Locations_ListBillingSpecs.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Locations_ListBillingSpecs.json
new file mode 100644
index 000000000000..2ff11cb94c13
--- /dev/null
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/examples/HDI_Locations_ListBillingSpecs.json
@@ -0,0 +1,63 @@
+{
+ "parameters": {
+ "location": "East US 2",
+ "api-version": "2018-06-01-preview",
+ "subscriptionId": "subid"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "vmSizes": [
+ "A5",
+ "A6",
+ "A7"
+ ],
+ "vmSizeFilters": [
+ {
+ "filterMode": "Exclude",
+ "regions": null,
+ "clusterFlavors": null,
+ "nodeTypes": null,
+ "clusterVersions": null,
+ "osType": null,
+ "vmSizes": null
+ }
+ ],
+ "billingResources": [
+ {
+ "region": "East US 2",
+ "billingMeters": [],
+ "diskBillingMeters": []
+ },
+ {
+ "region": "default",
+ "billingMeters": [
+ {
+ "meterParameter": "default",
+ "meter": "11111111-1111-1111-1111-111111111111",
+ "unit": "CoreHours"
+ },
+ {
+ "meterParameter": "Kafka",
+ "meter": "11111111-1111-1111-1111-111111111111",
+ "unit": "CoreHours"
+ }
+ ],
+ "diskBillingMeters": [
+ {
+ "diskRpMeter": "11111111-1111-1111-1111-111111111111",
+ "sku": "All",
+ "tier": "Standard"
+ },
+ {
+ "diskRpMeter": "11111111-1111-1111-1111-111111111111",
+ "sku": "All",
+ "tier": "Standard"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json
index efc0d5c7d043..7536a98e6e0b 100644
--- a/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json
+++ b/specification/hdinsight/resource-manager/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json
@@ -34,6 +34,45 @@
}
},
"paths": {
+ "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/capabilities": {
+ "get": {
+ "tags": [
+ "Regions"
+ ],
+ "operationId": "Locations_GetCapabilities",
+ "description": "Gets the capabilities for the specified location.",
+ "x-ms-examples": {
+ "Get the subscription capabilities for specific location": {
+ "$ref": "./examples/GetHDInsightCapabilities.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./operations.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "OK response definition.",
+ "schema": {
+ "$ref": "#/definitions/CapabilitiesResult"
+ }
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/usages": {
"get": {
"tags": [
@@ -72,9 +111,245 @@
}
}
}
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.HDInsight/locations/{location}/billingSpecs": {
+ "get": {
+ "tags": [
+ "Regions"
+ ],
+ "operationId": "Locations_ListBillingSpecs",
+ "description": "Lists the billingSpecs for the specified subscription and location.",
+ "x-ms-examples": {
+ "Get the subscription billingSpecs for the specified location": {
+ "$ref": "./examples/HDI_Locations_ListBillingSpecs.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/LocationParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "./operations.json#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "OK response definition.",
+ "schema": {
+ "$ref": "#/definitions/BillingResponseListResult"
+ }
+ }
+ }
+ }
}
},
"definitions": {
+ "VersionSpec": {
+ "description": "The version properties.",
+ "properties": {
+ "friendlyName": {
+ "type": "string",
+ "description": "The friendly name"
+ },
+ "displayName": {
+ "type": "string",
+ "description": "The display name"
+ },
+ "isDefault": {
+ "type": "string",
+ "description": "Whether or not the version is the default version."
+ },
+ "componentVersions": {
+ "type": "object",
+ "description": "The component version property.",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "readOnly": true
+ },
+ "VersionsCapability": {
+ "description": "The version capability.",
+ "properties": {
+ "available": {
+ "description": "The list of version capabilities.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VersionSpec"
+ }
+ }
+ },
+ "readOnly": true
+ },
+ "RegionsCapability": {
+ "description": "The regions capability.",
+ "properties": {
+ "available": {
+ "description": "The list of region capabilities.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "readOnly": true
+ },
+ "VmSizesCapability": {
+ "description": "The virtual machine sizes capability.",
+ "properties": {
+ "available": {
+ "description": "The list of virtual machine size capabilities.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "readOnly": true
+ },
+ "VmSizeCompatibilityFilter": {
+ "description": "The virtual machine type compatibility filter.",
+ "properties": {
+ "FilterMode": {
+ "description": "The mode for the filter.",
+ "type": "string"
+ },
+ "Regions": {
+ "description": "The list of regions.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "ClusterFlavors": {
+ "description": "The list of cluster types available.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "NodeTypes": {
+ "description": "The list of node types.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "ClusterVersions": {
+ "description": "The list of cluster versions.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "vmsizes": {
+ "description": "The list of virtual machine sizes.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "readOnly": true
+ },
+ "RegionalQuotaCapability": {
+ "description": "The regional quota capacity.",
+ "properties": {
+ "region_name": {
+ "description": "The region name.",
+ "type": "string"
+ },
+ "cores_used": {
+ "description": "The number of cores used in the region.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "cores_available": {
+ "description": "The number of cores available in the region.",
+ "type": "integer",
+ "format": "int64"
+ }
+ },
+ "readOnly": true
+ },
+ "QuotaCapability": {
+ "description": "The regional quota capability.",
+ "properties": {
+ "cores_used": {
+ "description": "The number of cores used in the subscription.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "max_cores_allowed": {
+ "description": "The number of cores that the subscription allowed.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "regionalQuotas": {
+ "description": "The list of region quota capabilities.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegionalQuotaCapability"
+ }
+ }
+ },
+ "readOnly": true
+ },
+ "CapabilitiesResult": {
+ "description": "The Get Capabilities operation response.",
+ "properties": {
+ "versions": {
+ "description": "The version capability.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/VersionsCapability"
+ }
+ },
+ "regions": {
+ "description": "The virtual machine size compatibility features.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/RegionsCapability"
+ }
+ },
+ "vmSizes": {
+ "description": "The virtual machine sizes.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/VmSizesCapability"
+ }
+ },
+ "vmSize_filters": {
+ "description": "The virtual machine size compatibility filters.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VmSizeCompatibilityFilter"
+ }
+ },
+ "features": {
+ "description": "The capability features.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "quota": {
+ "description": "The quota capability.",
+ "$ref": "#/definitions/QuotaCapability"
+ }
+ },
+ "readOnly": true
+ },
"LocalizedName": {
"description": "The details about the localizable name of a type of usage.",
"properties": {
@@ -123,6 +398,169 @@
}
},
"readOnly": true
+ },
+ "BillingResponseListResult": {
+ "type": "object",
+ "description": "The response for the operation to get regional billingSpecs for a subscription.",
+ "properties": {
+ "vmSizes": {
+ "description": "The virtual machine sizes to include or exclude.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "vmSizeFilters": {
+ "description": "The virtual machine filtering mode. Effectively this can enabling or disabling the virtual machine sizes in a particular set.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VmSizeCompatibilityFilterV2"
+ }
+ },
+ "billingResources": {
+ "description": "The billing and managed disk billing resources for a region.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BillingResources"
+ }
+ }
+ }
+ },
+ "VmSizeCompatibilityFilterV2": {
+ "type": "object",
+ "description": "This class represent a single filter object that defines a multidimensional set. The dimensions of this set are Regions, ClusterFlavors, NodeTypes and ClusterVersions. The constraint should be defined based on the following: FilterMode (Exclude vs Include), VMSizes (the vm sizes in affect of exclusion/inclusion) and the ordering of the Filters. Later filters override previous settings if conflicted.",
+ "properties": {
+ "filterMode": {
+ "description": "The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular set.",
+ "type": "string",
+ "enum": [
+ "Exclude",
+ "Include"
+ ],
+ "x-ms-enum": {
+ "name": "FilterMode",
+ "modelAsString": true
+ }
+ },
+ "regions": {
+ "description": "The list of regions under the effect of the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "clusterFlavors": {
+ "description": "The list of cluster flavors under the effect of the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "nodeTypes": {
+ "description": "The list of node types affected by the filter.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "clusterVersions": {
+ "description": "The list of cluster versions affected in Major.Minor format.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "osType": {
+ "description": "The OSType affected, Windows or Linux.",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": false
+ }
+ }
+ },
+ "vmSizes": {
+ "description": "The list of virtual machine sizes to include or exclude.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "BillingResources": {
+ "type": "object",
+ "description": "The billing resources.",
+ "properties": {
+ "region": {
+ "description": "The region or location.",
+ "type": "string"
+ },
+ "billingMeters": {
+ "description": "The billing meter information.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BillingMeters"
+ }
+ },
+ "diskBillingMeters": {
+ "description": "The managed disk billing information.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiskBillingMeters"
+ }
+ }
+ }
+ },
+ "BillingMeters": {
+ "type": "object",
+ "description": "The billing meters.",
+ "properties": {
+ "meterParameter": {
+ "description": "The virtual machine sizes.",
+ "type": "string"
+ },
+ "meter": {
+ "description": "The HDInsight meter guid.",
+ "type": "string"
+ },
+ "unit": {
+ "description": "The unit of meter, VMHours or CoreHours.",
+ "type": "string"
+ }
+ }
+ },
+ "DiskBillingMeters": {
+ "type": "object",
+ "description": "The disk billing meters.",
+ "properties": {
+ "diskRpMeter": {
+ "description": "The managed disk meter guid.",
+ "type": "string"
+ },
+ "sku": {
+ "description": "The managed disk billing sku, P30 or S30.",
+ "type": "string"
+ },
+ "tier": {
+ "description": "The managed disk billing tier, Standard or Premium.",
+ "type": "string",
+ "enum": [
+ "Standard",
+ "Premium"
+ ],
+ "x-ms-enum": {
+ "name": "Tier",
+ "modelAsString": false
+ }
+ }
+ }
}
},
"parameters": {
@@ -138,7 +576,7 @@
"in": "path",
"required": true,
"type": "string",
- "description": "The location to get capabilities for.",
+ "description": "The Azure location (region) for which to make the request.",
"x-ms-parameter-location": "method"
},
"ApiVersionParameter": {
diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md
index ef09d8f73986..b87ad7bbd9d6 100644
--- a/specification/hdinsight/resource-manager/readme.md
+++ b/specification/hdinsight/resource-manager/readme.md
@@ -36,13 +36,34 @@ tag: package-2018-06-preview
``` yaml
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
- reason: This would require a breaking change, and the capabilities API was removed in version 2018-06-01-preview.
- from: Microsoft.HDInsight/preview/2015-03-01-1/preview/locations.json
+ reason: This would require a breaking change, and need to be consistent with the response from RP side.
+ from: Microsoft.HDInsight/preview/2015-03-01-preview/locations.json
where:
- $.definitions.CapabilitiesResult.properties.vmSize_filters
- $.definitions.RegionalQuotaCapability.properties.cores_available
- $.definitions.RegionalQuotaCapability.properties.cores_used
- $.definitions.RegionalQuotaCapability.properties.region_name
+ - $.definitions.QuotaCapability.properties.cores_used
+ - $.definitions.QuotaCapability.properties.max_cores_allowed
+ - $.definitions.VmSizeCompatibilityFilter.properties.ClusterVersions
+ - $.definitions.VmSizeCompatibilityFilter.properties.NodeTypes
+ - $.definitions.VmSizeCompatibilityFilter.properties.ClusterFlavors
+ - $.definitions.VmSizeCompatibilityFilter.properties.Regions
+ - $.definitions.VmSizeCompatibilityFilter.properties.FilterMode
+ ```
+
+ ``` yaml
+ directive:
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ reason: This would require a breaking change, and need to be consistent with the response from RP side.
+ from: Microsoft.HDInsight/stable/2018-06-01-preview/locations.json
+ where:
+ - $.definitions.CapabilitiesResult.properties.vmSize_filters
+ - $.definitions.RegionalQuotaCapability.properties.cores_available
+ - $.definitions.RegionalQuotaCapability.properties.cores_used
+ - $.definitions.RegionalQuotaCapability.properties.region_name
+ - $.definitions.QuotaCapability.properties.cores_used
+ - $.definitions.QuotaCapability.properties.max_cores_allowed
- $.definitions.VmSizeCompatibilityFilter.properties.ClusterVersions
- $.definitions.VmSizeCompatibilityFilter.properties.NodeTypes
- $.definitions.VmSizeCompatibilityFilter.properties.ClusterFlavors
@@ -104,6 +125,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-java
- repo: azure-sdk-for-python
@@ -184,3 +206,41 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.HDInsight/stable/2018-06-01-preview/cluster.json
+ - $(this-folder)/Microsoft.HDInsight/stable/2018-06-01-preview/applications.json
+ - $(this-folder)/Microsoft.HDInsight/stable/2018-06-01-preview/locations.json
+ - $(this-folder)/Microsoft.HDInsight/stable/2018-06-01-preview/configurations.json
+ - $(this-folder)/Microsoft.HDInsight/stable/2018-06-01-preview/extensions.json
+ - $(this-folder)/Microsoft.HDInsight/stable/2018-06-01-preview/scriptActions.json
+ - $(this-folder)/Microsoft.HDInsight/stable/2018-06-01-preview/operations.json
+ - $(this-folder)/Microsoft.HDInsight/preview/2015-03-01-preview/cluster.json
+ - $(this-folder)/Microsoft.HDInsight/preview/2015-03-01-preview/applications.json
+ - $(this-folder)/Microsoft.HDInsight/preview/2015-03-01-preview/locations.json
+ - $(this-folder)/Microsoft.HDInsight/preview/2015-03-01-preview/configurations.json
+ - $(this-folder)/Microsoft.HDInsight/preview/2015-03-01-preview/extensions.json
+ - $(this-folder)/Microsoft.HDInsight/preview/2015-03-01-preview/scriptActions.json
+ - $(this-folder)/Microsoft.HDInsight/preview/2015-03-01-preview/operations.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/MoveResourcesPost.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/MoveResourcesPost.json
deleted file mode 100644
index c0b3fe732dee..000000000000
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/MoveResourcesPost.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "parameters": {
- "api-version": "2018-08-20-preview",
- "subscriptionId": "subid",
- "resourceGroupName": "resourceGroup",
- "moveResourcesInputs": {
- "targetSubscriptionId": "newSubscriptionId",
- "targetResourceGroupName": "newResourceGroup",
- "resourceIdsToMove": [
- "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1"
- ]
- }
- },
- "responses": {
- "202": {}
- }
-}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json
index f64fb2404040..525a5eacaff5 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceCreate.json
@@ -16,7 +16,33 @@
{
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f"
}
- ]
+ ],
+ "cosmosDbConfiguration": {
+ "offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
+ }
}
}
},
@@ -42,6 +68,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
@@ -67,6 +116,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json
index cd19a503e675..34a87cee468d 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceGet.json
@@ -27,6 +27,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json
index 1bb954eb9eaa..b489bcc1779d 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceList.json
@@ -27,6 +27,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json
index d814b8550a41..06396f3dc97f 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServiceListByResourceGroup.json
@@ -28,6 +28,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json
index 4e358150decc..54c299513b12 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/examples/ServicePatch.json
@@ -36,6 +36,29 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
+ },
+ "authenticationConfiguration": {
+ "authority": "https://login.microsoftonline.com/common",
+ "audience": "https://azurehealthcareapis.com",
+ "smartProxyEnabled": true
+ },
+ "corsConfiguration": {
+ "origins": [
+ "*"
+ ],
+ "headers": [
+ "*"
+ ],
+ "methods": [
+ "DELETE",
+ "GET",
+ "OPTIONS",
+ "PATCH",
+ "POST",
+ "PUT"
+ ],
+ "maxAge": 1440,
+ "allowCredentials": false
}
}
}
diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json
index 9512f0a86092..403e851ff328 100644
--- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json
+++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json
@@ -2,8 +2,8 @@
"swagger": "2.0",
"info": {
"version": "2018-08-20-preview",
- "title": "HealthcareClient",
- "description": "Use this API to manage Microsoft Healthcare services in your Azure subscription."
+ "title": "HealthcareApisClient",
+ "description": "Use this API to manage Microsoft HealthcareApis services in your Azure subscription."
},
"host": "management.azure.com",
"schemes": [
@@ -392,52 +392,6 @@
"deprecated": false
}
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/moveResources": {
- "post": {
- "tags": [
- "Proxy"
- ],
- "description": "Moves resources to another subscription and/or resource group.",
- "operationId": "Services_MoveResources",
- "x-ms-examples": {
- "ServiceList": {
- "$ref": "./examples/MoveResourcesPost.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/resourceGroupName"
- },
- {
- "name": "moveResourcesInputs",
- "in": "body",
- "description": "Set the move resource structure to the name of the service instance to check.",
- "required": true,
- "schema": {
- "$ref": "#/definitions/MoveResourcesParameters"
- }
- }
- ],
- "responses": {
- "202": {
- "description": "Accepted - Move request accepted; the operation will complete asynchronously."
- },
- "default": {
- "description": "DefaultErrorResponse",
- "schema": {
- "$ref": "#/definitions/ErrorDetails"
- }
- }
- },
- "deprecated": false
- }
- },
"/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/operationresults/{operationResultId}": {
"get": {
"tags": [
@@ -486,55 +440,6 @@
},
"deprecated": false
}
- },
- "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/moveResourcesStatus/{operationResultId}": {
- "get": {
- "tags": [
- "Resource"
- ],
- "description": "Get the operation result for a long running move operation.",
- "operationId": "MoveResourcesStatus_Get",
- "x-ms-examples": {
- "OperationResultsGet": {
- "$ref": "./examples/OperationResultsGet.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/api-version"
- },
- {
- "$ref": "#/parameters/subscriptionId"
- },
- {
- "$ref": "#/parameters/locationName"
- },
- {
- "$ref": "#/parameters/operationResultId"
- }
- ],
- "responses": {
- "200": {
- "description": "The body contains all of the properties of the operation result.",
- "schema": {
- "$ref": "#/definitions/OperationResultsDescription"
- }
- },
- "404": {
- "description": "No operation result was found matching operationResultId.",
- "schema": {
- "$ref": "#/definitions/ErrorDetails"
- }
- },
- "default": {
- "description": "Default error response",
- "schema": {
- "$ref": "#/definitions/ErrorDetails"
- }
- }
- },
- "deprecated": false
- }
}
},
"definitions": {
@@ -569,6 +474,14 @@
"cosmosDbConfiguration": {
"$ref": "#/definitions/ServiceCosmosDbConfigurationInfo",
"description": "The settings for the Cosmos DB database backing the service."
+ },
+ "authenticationConfiguration": {
+ "$ref": "#/definitions/ServiceAuthenticationConfigurationInfo",
+ "description": "The authentication configuration for the service instance."
+ },
+ "corsConfiguration": {
+ "$ref": "#/definitions/ServiceCorsConfigurationInfo",
+ "description": "The settings for the CORS configuration of the service instance."
}
},
"required": [
@@ -603,10 +516,88 @@
"offerThroughput": {
"type": "integer",
"description": "The provisioned throughput for the backing database.",
+ "readOnly": false,
+ "minimum": 400,
+ "maximum": 10000
+ }
+ }
+ },
+ "ServiceAuthenticationConfigurationInfo": {
+ "description": "Authentication configuration information",
+ "type": "object",
+ "properties": {
+ "authority": {
+ "type": "string",
+ "description": "The authority url for the service",
+ "readOnly": false
+ },
+ "audience": {
+ "type": "string",
+ "description": "The audience url for the service",
+ "readOnly": false
+ },
+ "smartProxyEnabled": {
+ "type": "boolean",
+ "description": "If the SMART on FHIR proxy is enabled",
+ "readOnly": false
+ }
+ }
+ },
+ "ServiceCorsConfigurationInfo": {
+ "description": "The settings for the CORS configuration of the service instance.",
+ "type": "object",
+ "properties": {
+ "origins": {
+ "type": "array",
+ "description": "The origins to be allowed via CORS.",
+ "readOnly": false,
+ "items": {
+ "$ref": "#/definitions/ServiceCorsConfigurationOriginEntry"
+ }
+ },
+ "headers": {
+ "type": "array",
+ "description": "The headers to be allowed via CORS.",
+ "readOnly": false,
+ "items": {
+ "$ref": "#/definitions/ServiceCorsConfigurationHeaderEntry"
+ }
+ },
+ "methods": {
+ "type": "array",
+ "description": "The methods to be allowed via CORS.",
+ "readOnly": false,
+ "items": {
+ "$ref": "#/definitions/ServiceCorsConfigurationMethodEntry"
+ }
+ },
+ "maxAge": {
+ "type": "integer",
+ "description": "The max age to be allowed via CORS.",
+ "readOnly": false,
+ "minimum": 0,
+ "maximum": 99999
+ },
+ "allowCredentials": {
+ "type": "boolean",
+ "description": "If credentials are allowed via CORS.",
"readOnly": false
}
}
},
+ "ServiceCorsConfigurationOriginEntry": {
+ "description": "An origin for CORS.",
+ "type": "string",
+ "pattern": "^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\\:\\/\\/(?:[a-zA-Z0-9-]+[.]?)+(?:\\:[0-9]{1,5})?|[*]))$"
+ },
+ "ServiceCorsConfigurationHeaderEntry": {
+ "description": "A header for CORS.",
+ "type": "string"
+ },
+ "ServiceCorsConfigurationMethodEntry": {
+ "description": "A method for CORS.",
+ "type": "string"
+ },
"ServicesDescription": {
"description": "The description of the service.",
"type": "object",
@@ -658,9 +649,11 @@
"kind": {
"readOnly": false,
"type": "string",
- "description": "The kind of the service. Valid values are: fhir.",
+ "description": "The kind of the service. Valid values are: fhir, fhir-Stu3 and fhir-R4.",
"enum": [
- "fhir"
+ "fhir",
+ "fhir-Stu3",
+ "fhir-R4"
],
"x-ms-enum": {
"name": "kind",
@@ -851,34 +844,6 @@
}
}
},
- "MoveResourcesParameters": {
- "description": "Input values.",
- "type": "object",
- "properties": {
- "targetSubscriptionId": {
- "description": "The target subscription to move resources to.",
- "type": "string"
- },
- "targetResourceGroupName": {
- "description": "The target resource group to move resources to.",
- "type": "string"
- },
- "resourceIdsToMove": {
- "description": "The list of resources to move.",
- "type": "array",
- "minItems": 1,
- "maxItems": 250,
- "items": {
- "type": "string"
- }
- }
- },
- "required": [
- "targetSubscriptionId",
- "targetResourceGroupName",
- "resourceIdsToMove"
- ]
- },
"OperationResultsDescription": {
"description": "The properties indicating the operation result of an operation on a service.",
"type": "object",
@@ -927,8 +892,7 @@
"in": "path",
"description": "The subscription identifier.",
"required": true,
- "type": "string",
- "format": "uuid"
+ "type": "string"
},
"api-version": {
"name": "api-version",
diff --git a/specification/healthcareapis/resource-manager/readme.go.md b/specification/healthcareapis/resource-manager/readme.go.md
index 9f499c737b1f..59f303cd7ff2 100644
--- a/specification/healthcareapis/resource-manager/readme.go.md
+++ b/specification/healthcareapis/resource-manager/readme.go.md
@@ -12,14 +12,14 @@ These settings apply only when `--go` is specified on the command line.
``` yaml $(go) && $(multiapi)
batch:
- - tag: package-2018-08
+ - tag: package-2018-08-preview
```
-### Tag: package-2018-08
+### Tag: package-2018-08-preview
-These settings apply only when `--tag=package-2018-08 --go` is specified on the command line.
+These settings apply only when `--tag=package-2018-08-preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=`.
-``` yaml $(tag) == 'package-2018-08' && $(go)
+``` yaml $(tag) == 'package-2018-08-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-08-20-preview/$(namespace)
```
\ No newline at end of file
diff --git a/specification/healthcareapis/resource-manager/readme.md b/specification/healthcareapis/resource-manager/readme.md
index e94b13939883..a69b7422c4ab 100644
--- a/specification/healthcareapis/resource-manager/readme.md
+++ b/specification/healthcareapis/resource-manager/readme.md
@@ -22,22 +22,22 @@ To see additional help and options, run:
### Basic Information
-These are the global settings for the HANA on Azure API.
+These are the global settings for HealthcareApis service.
``` yaml
title: HealthcareApisManagementClient
description: Azure Healthcare APIs Client
openapi-type: arm
-tag: package-2018-08
+tag: package-2018-08-preview
azure-arm: true
```
### Tag: package-2018-08-preview
-These settings apply only when `--tag=package-2018-08` is specified on the command line.
+These settings apply only when `--tag=package-2018-08-preview` is specified on the command line.
-``` yaml $(tag) == 'package-2018-08'
+``` yaml $(tag) == 'package-2018-08-preview'
input-file:
- Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json
```
@@ -52,39 +52,29 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
```
+## C#
-## Python
-
-These settings apply only when `--python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
-``` yaml $(python)
-python-mode: create
-python:
+``` yaml $(csharp)
+csharp:
+ # last generated with AutoRest.2.0.4144
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
- payload-flattening-threshold: 2
- namespace: azure.mgmt.healthcareapis
- package-name: azure-mgmt-healthcareapis
+ namespace: Microsoft.Azure.Management.HealthcareApis
+ output-folder: $(csharp-sdks-folder)/healthcareapis/Microsoft.Azure.Management.HealthcareApis/src/Generated
clear-output-folder: true
- package-version: 0.1.0
-```
-``` yaml $(python) && $(python-mode) == 'update'
-python:
- no-namespace-folders: true
- output-folder: $(python-sdks-folder)/azure-mgmt-healthcareapis/azure/mgmt/healthcareapis
-```
-``` yaml $(python) && $(python-mode) == 'create'
-python:
- basic-setup-py: true
- output-folder: $(python-sdks-folder)/azure-mgmt-healthcareapis
```
+## Python
+
+See configuration in [readme.python.md](./readme.python.md)
## Go
@@ -108,15 +98,15 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-healthcareapis
``` yaml $(java) && $(multiapi)
batch:
- - tag: package-2018-08
+ - tag: package-2018-08-preview
```
-### Tag: package-2018-08 and java
+### Tag: package-2018-08-preview and java
-These settings apply only when `--tag=package-2018-08 --java` is specified on the command line.
+These settings apply only when `--tag=package-2018-08-preview --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=`.
-``` yaml $(tag) == 'package-2018-08' && $(java) && $(multiapi)
+``` yaml $(tag) == 'package-2018-08-preview' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.healthcareapis.v2018_08_20_preview
output-folder: $(azure-libraries-for-java-folder)/healthcareapis/resource-manager/v2018_08_20_preview
@@ -125,3 +115,28 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.HealthcareApis/preview/2018-08-20-preview/healthcare-apis.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/healthcareapis/resource-manager/readme.python.md b/specification/healthcareapis/resource-manager/readme.python.md
new file mode 100644
index 000000000000..efe1e791be4e
--- /dev/null
+++ b/specification/healthcareapis/resource-manager/readme.python.md
@@ -0,0 +1,27 @@
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
+
+``` yaml $(python)
+python-mode: create
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.mgmt.healthcareapis
+ package-name: azure-mgmt-healthcareapis
+ clear-output-folder: true
+ package-version: 0.1.0
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/healthcareapis/azure-mgmt-healthcareapis/azure/mgmt/healthcareapis
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/healthcareapis/azure-mgmt-healthcareapis
+```
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json
index 8dc05f4563c7..99534c8464d7 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Create-PUT-example-41.json
@@ -27,9 +27,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"200": {
"body": {
"etag": "W/\"datetime'2019-04-10T09%3A08%3A57.4101089Z'\"_W/\"datetime'2019-04-10T09%3A08%3A57.5552101Z'\"",
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json
index d22a70af04b5..e116f63a7d8a 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Delete-DELETE-example-41.json
@@ -18,11 +18,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json
index c6a9b095d51e..5141af234090 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataManagers_Update-PATCH-example-43.json
@@ -30,9 +30,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"200": {
"body": {
"etag": "W/\"datetime'2019-04-10T09%3A23%3A57.1833483Z'\"_W/\"datetime'2019-04-10T09%3A23%3A57.1993588Z'\"",
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json
index aa8402028e45..b6c815ce3716 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataServices_ListByDataManager-GET-example-51.json
@@ -102,7 +102,7 @@
"type": "Microsoft.HybridData/dataManagers/dataServices"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json
index 7be5d5715925..2fd02ede260c 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStoreTypes_ListByDataManager-GET-example-171.json
@@ -97,7 +97,7 @@
"type": "Microsoft.HybridData/dataManagers/dataStoreTypes"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json
index 3129b2cde488..b6a1f4751a2e 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSink-PUT-example-162.json
@@ -49,9 +49,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"200": {
"body": {
"properties": {
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json
index 37b6b4603ddd..65f1a65f816e 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_CreateOrUpdate_DataSource-PUT-example-162.json
@@ -43,9 +43,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"200": {
"body": {
"properties": {
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json
index 158bfb2d7ba3..8c0beb156596 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSink-DELETE-example-161.json
@@ -19,11 +19,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json
index 38c61fe70aec..91705701c543 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_Delete_DataSource-DELETE-example-161.json
@@ -19,11 +19,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json
index bb5a0dee4d53..e41464ee6ea5 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/DataStores_ListByDataManager-GET-example-151.json
@@ -49,7 +49,7 @@
"type": "Microsoft.HybridData/dataManagers/dataStores"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json
index 06c7a2ff2820..9eafce4dc31a 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_CreateOrUpdate-PUT-example-83.json
@@ -49,9 +49,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
+ "202": {},
"200": {
"body": {
"properties": {
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json
index 43c643ba4d77..ee1c04c5b17e 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Delete-DELETE-example-81.json
@@ -20,11 +20,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json
index fcab9f535bcf..4382802a82fa 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataManager-GET-example-191.json
@@ -50,7 +50,7 @@
"type": "Microsoft.HybridData/dataManagers/dataServices/jobDefinitions"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json
index 83b201fbd5b4..1ac77da4ef8f 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_ListByDataService-GET-example-71.json
@@ -51,7 +51,7 @@
"type": "Microsoft.HybridData/dataManagers/dataServices/jobDefinitions"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json
index e68991154c56..77b9dad20d74 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/JobDefinitions_Run-POST-example-132.json
@@ -44,11 +44,7 @@
}
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json
index 2471607bb155..6053caabbec3 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Cancel-POST-example-111.json
@@ -21,11 +21,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json
index c0721acb1faf..ebcf4ed71efe 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataManager-GET-example-201.json
@@ -64,7 +64,7 @@
"type": "Microsoft.HybridData/dataManagers/jobs"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json
index 7fc10af4a35c..2cb94885a13d 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByDataService-GET-example-141.json
@@ -65,7 +65,7 @@
"type": "Microsoft.HybridData/dataManagers/jobs"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json
index da706483e2a2..4f0eecd66bf7 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_ListByJobDefinition-GET-example-91.json
@@ -66,7 +66,7 @@
"type": "Microsoft.HybridData/dataManagers/jobs"
}
],
- "nextLink": ""
+ "nextLink": null
}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json
index ccc8532807da..605c47986318 100644
--- a/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json
+++ b/specification/hybriddatamanager/resource-manager/Microsoft.HybridData/stable/2016-06-01/examples/Jobs_Resume-POST-example-121.json
@@ -21,11 +21,7 @@
]
},
"responses": {
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/hybriddatamanager/resource-manager/readme.md b/specification/hybriddatamanager/resource-manager/readme.md
index 8bcac4d0c36a..ed026f8c21b5 100644
--- a/specification/hybriddatamanager/resource-manager/readme.md
+++ b/specification/hybriddatamanager/resource-manager/readme.md
@@ -54,6 +54,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-java
- repo: azure-sdk-for-js
@@ -129,3 +130,28 @@ python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/azure-mgmt-hybriddatamanager
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.HybridData/stable/2016-06-01/hybriddata.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/imagebuilder/resource-manager/readme.md b/specification/imagebuilder/resource-manager/readme.md
index 0b068613d406..f1245d08ca93 100644
--- a/specification/imagebuilder/resource-manager/readme.md
+++ b/specification/imagebuilder/resource-manager/readme.md
@@ -155,3 +155,30 @@ java:
regenerate-manager: true
generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.VirtualMachineImages/preview/2019-05-01-preview/imagebuilder.json
+ - $(this-folder)/Microsoft.VirtualMachineImages/preview/2018-02-01-preview/imagebuilder.json
+ - $(this-folder)/Microsoft.VirtualMachineImages/preview/2019-02-01-preview/imagebuilder.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json
index 597d9e79b9d7..3b15168f97e4 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetAttestedData.json
@@ -1,15 +1,15 @@
{
- "parameters": {
- "api-version": "2019-02-01",
- "nonce": "abcde12345",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "encoding": "pkcs7",
- "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL"
- }
- }
+ "parameters": {
+ "api-version": "2019-02-01",
+ "nonce": "abcde12345",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "encoding": "pkcs7",
+ "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL"
+ }
}
+ }
}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json
index 7fd6121556fb..7d0e667f65c1 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityInfo.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "api-version": "2019-02-01",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
- }
- }
+ "parameters": {
+ "api-version": "2019-02-01",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
+ }
}
+ }
}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json
index a5cd62828a19..ce910c826abd 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetIdentityToken.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "api-version": "2019-02-01",
- "Metadata": "true",
- "resource": "https://vault.azure.net"
- },
- "responses": {
- "200": {
- "body": {
- "access_token": "dummytoken",
- "client_id": "be5947ed-3560-4afe-9504-59967a63f810",
- "expires_in": "3599",
- "expires_on": "1541705014",
- "ext_expires_in": "262800",
- "not_before": "1508961830",
- "resource": "https://va"
- }
- }
+ "parameters": {
+ "api-version": "2019-02-01",
+ "Metadata": "true",
+ "resource": "https://vault.azure.net"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access_token": "dummytoken",
+ "client_id": "be5947ed-3560-4afe-9504-59967a63f810",
+ "expires_in": "3599",
+ "expires_on": "1541705014",
+ "ext_expires_in": "262800",
+ "not_before": "1508961830",
+ "resource": "https://va"
+ }
}
+ }
}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json
index 243881799100..a32b1daecdac 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/examples/GetInstanceMetadata.json
@@ -1,48 +1,48 @@
{
- "parameters": {
- "api-version": "2019-02-01",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "compute": {
- "azEnvironment": "AzurePublicCloud",
- "customData": "TXkgY3VzdG9tIGRhdGEu",
- "location": "westus",
- "name": "examplevmname",
- "offer": "Windows",
- "osType": "linux",
- "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
- "plan": {
- "name": "planName",
- "product": "planProduct",
- "publisher": "planPublisher"
- },
- "platformFaultDomain": "36",
- "platformUpdateDomain": "42",
- "publicKeys": [
- {
- "keyData": "ssh-rsa 0",
- "path": "/home/user/.ssh/authorized_keys0"
- },
- {
- "keyData": "ssh-rsa 1",
- "path": "/home/user/.ssh/authorized_keys1"
- }
- ],
- "publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
- "resourceGroupName": "macikgo-test-may-23",
- "sku": "Windows-Server-2012-R2-Datacenter",
- "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
- "tags": "baz:bash;foo:bar",
- "version": "15.05.22",
- "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
- "vmScaleSetName": "crpteste9vflji9",
- "vmSize": "Standard_A3",
- "zone": ""
- }
+ "parameters": {
+ "api-version": "2019-02-01",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "compute": {
+ "azEnvironment": "AzurePublicCloud",
+ "customData": "TXkgY3VzdG9tIGRhdGEu",
+ "location": "westus",
+ "name": "examplevmname",
+ "offer": "Windows",
+ "osType": "linux",
+ "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
+ "plan": {
+ "name": "planName",
+ "product": "planProduct",
+ "publisher": "planPublisher"
+ },
+ "platformFaultDomain": "36",
+ "platformUpdateDomain": "42",
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa 0",
+ "path": "/home/user/.ssh/authorized_keys0"
+ },
+ {
+ "keyData": "ssh-rsa 1",
+ "path": "/home/user/.ssh/authorized_keys1"
}
+ ],
+ "publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
+ "resourceGroupName": "macikgo-test-may-23",
+ "sku": "Windows-Server-2012-R2-Datacenter",
+ "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
+ "tags": "baz:bash;foo:bar",
+ "version": "15.05.22",
+ "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
+ "vmScaleSetName": "crpteste9vflji9",
+ "vmSize": "Standard_A3",
+ "zone": ""
}
+ }
}
+ }
}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json
index 99d3fb3418e3..90dd72ef448d 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json
@@ -1,625 +1,625 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "InstanceMetadataClient",
- "description": "The Azure Instance Metadata Client",
- "version": "2019-02-01"
- },
- "host": "169.254.169.254",
- "basePath": "/metadata",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "InstanceMetadataClient",
+ "description": "The Azure Instance Metadata Client",
+ "version": "2019-02-01"
+ },
+ "host": "169.254.169.254",
+ "basePath": "/metadata",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/instance": {
+ "get": {
+ "operationId": "Instances_GetMetadata",
+ "description": "Get Instance Metadata for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Instance"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Instance Metadata for the VM": {
+ "$ref": "./examples/GetInstanceMetadata.json"
+ }
}
+ }
},
- "paths": {
- "/instance": {
- "get": {
- "operationId": "Instances_GetMetadata",
- "description": "Get Instance Metadata for the Virtual Machine.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/MetadataParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Instance"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Instance Metadata for the VM": {
- "$ref": "./examples/GetInstanceMetadata.json"
- }
- }
+ "/attested/document": {
+ "get": {
+ "operationId": "Attested_GetDocument",
+ "description": "Get Attested Data for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "nonce",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "This is a string of up to 32 random alphanumeric characters."
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AttestedData"
}
- },
- "/attested/document": {
- "get": {
- "operationId": "Attested_GetDocument",
- "description": "Get Attested Data for the Virtual Machine.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "nonce",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "This is a string of up to 32 random alphanumeric characters."
- },
- {
- "$ref": "#/parameters/MetadataParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AttestedData"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Attested Data for the VM": {
- "$ref": "./examples/GetAttestedData.json"
- }
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
},
- "/identity/oauth2/token": {
- "get": {
- "tags": [
- "Get token"
- ],
- "description": "Get a Token from Azure AD",
- "operationId": "Identity_GetToken",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/MetadataParameter"
- },
- {
- "name": "resource",
- "in": "query",
- "type": "string",
- "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.",
- "required": true
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "client_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.",
- "required": false
- },
- {
- "name": "object_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.",
- "required": false
- },
- {
- "name": "msi_res_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.",
- "required": false
- },
- {
- "name": "authority",
- "in": "query",
- "type": "string",
- "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.",
- "required": false
- },
- {
- "name": "bypass_cache",
- "in": "query",
- "type": "string",
- "enum": [
- "true"
- ],
- "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.",
- "required": false,
- "x-ms-enum": {
- "name": "BypassCache",
- "modelAsString": true
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation",
- "schema": {
- "$ref": "#/definitions/IdentityTokenResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/IdentityErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Identity Token for the VM": {
- "$ref": "./examples/GetIdentityToken.json"
- }
- }
+ "x-ms-examples": {
+ "Get Attested Data for the VM": {
+ "$ref": "./examples/GetAttestedData.json"
+ }
+ }
+ }
+ },
+ "/identity/oauth2/token": {
+ "get": {
+ "tags": [
+ "Get token"
+ ],
+ "description": "Get a Token from Azure AD",
+ "operationId": "Identity_GetToken",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "name": "resource",
+ "in": "query",
+ "type": "string",
+ "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.",
+ "required": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "client_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "object_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "msi_res_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.",
+ "required": false
+ },
+ {
+ "name": "authority",
+ "in": "query",
+ "type": "string",
+ "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.",
+ "required": false
+ },
+ {
+ "name": "bypass_cache",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.",
+ "required": false,
+ "x-ms-enum": {
+ "name": "BypassCache",
+ "modelAsString": true
}
- },
- "/identity/info": {
- "get": {
- "tags": [
- "Get metadata information"
- ],
- "description": "Get information about AAD Metadata",
- "operationId": "Identity_GetInfo",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/MetadataParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation",
- "schema": {
- "$ref": "#/definitions/IdentityInfoResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/IdentityErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Identity Info for the VM": {
- "$ref": "./examples/GetIdentityInfo.json"
- }
- }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityTokenResponse"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Identity Token for the VM": {
+ "$ref": "./examples/GetIdentityToken.json"
+ }
}
+ }
},
- "definitions": {
- "Compute": {
- "type": "object",
- "properties": {
- "azEnvironment": {
- "type": "string",
- "description": "This is the name of the environment in which the VM is running."
- },
- "customData": {
- "type": "string",
- "description": "This is the base64 encoded custom data for the running VM."
- },
- "location": {
- "type": "string",
- "description": "This is the Azure Region in which the VM is running."
- },
- "name": {
- "type": "string",
- "description": "This is the name of the VM."
- },
- "offer": {
- "type": "string",
- "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery."
- },
- "osType": {
- "type": "string",
- "description": "This value indicates the type of OS the VM is running, either Linux or Windows."
- },
- "placementGroupId": {
- "type": "string",
- "description": "This is the placement group of your Virtual Machine Scale Set."
- },
- "plan": {
- "type": "object",
- "description": "This contains the data about the plan.",
- "$ref": "#/definitions/PlanProperties"
- },
- "publicKeys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicKeysProperties"
- },
- "description": "This is information about the SSH certificate"
- },
- "platformFaultDomain": {
- "type": "string",
- "description": "This is the fault domain in which the VM."
- },
- "platformUpdateDomain": {
- "type": "string",
- "description": "This is the update domain in which the VM."
- },
- "provider": {
- "type": "string",
- "description": "This is the provider of the VM."
- },
- "publisher": {
- "type": "string",
- "description": "This is the publisher of the VM image."
- },
- "resourceGroupName": {
- "type": "string",
- "description": "This is the resource group for the VM."
- },
- "sku": {
- "type": "string",
- "description": "This is the specific SKU for the VM image."
- },
- "subscriptionId": {
- "type": "string",
- "description": "This is the Azure subscription for the VM."
- },
- "tags": {
- "type": "string",
- "description": "This is the list of tags for your VM."
- },
- "version": {
- "type": "string",
- "description": "This is the version of the VM image."
- },
- "vmId": {
- "type": "string",
- "description": "This is the unique identifier for the VM."
- },
- "vmScaleSetName": {
- "type": "string",
- "description": "This is the resource name of the VMSS."
- },
- "vmSize": {
- "type": "string",
- "description": "This is the size of the VM."
- },
- "zone": {
- "type":"string",
- "description":"This is the availability zone of the VM."
- }
- },
- "description": "Compute Metadata"
- },
- "Network": {
- "type": "object",
- "properties": {
- "interface": {
- "type":"array",
- "description": "This contains data about the network interface.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/NetworkInterface"
- }
- }
- },
- "description": "Network Metadata"
- },
- "NetworkInterface": {
- "type": "object",
- "description": "This contains data about the network interface.",
- "properties": {
- "ipv4": {
- "type":"object",
- "description": "This contains the IPv4 address.",
- "properties": {
- "ipAddress": {
- "type":"array",
- "description": "This is the IP address",
- "items": {
- "type": "object",
- "description": "This contains the IPv4 properties.",
- "$ref":"#/definitions/Ipv4Properties"
- }
- },
- "subnet": {
- "type":"array",
- "description": "This is the subnet",
- "items": {
- "type": "object",
- "description": "This contains the subnet properties.",
- "$ref": "#/definitions/SubnetProperties"
- }
- }
- }
- },
- "ipv6": {
- "type":"object",
- "description": "This contains the IPv6 address.",
- "properties": {
- "ipAddress": {
- "type":"array",
- "description": "This is the IP address",
- "items": {
- "type": "object",
- "description": "This contains the IPv6 properties.",
- "$ref":"#/definitions/Ipv6Properties"
- }
- }
- }
- },
- "macAddress": {
- "type":"string",
- "description":"This is the MAC address of the interface."
- }
+ "/identity/info": {
+ "get": {
+ "tags": [
+ "Get metadata information"
+ ],
+ "description": "Get information about AAD Metadata",
+ "operationId": "Identity_GetInfo",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityInfoResponse"
}
- },
- "PlanProperties": {
- "type": "object",
- "description": "This contains the data about the plan.",
- "properties": {
- "name": {
- "type": "string",
- "description": "This is the Plan ID."
- },
- "publisher": {
- "type": "string",
- "description": "This is the publisher ID."
- },
- "product": {
- "type": "string",
- "description": "This is the product of the image from the Marketplace."
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
}
+ }
},
- "PublicKeysProperties": {
- "type": "object",
- "description": "This contains the data about the public key.",
- "properties": {
- "path": {
- "type": "string",
- "description": "This specifies the full path on the VM where the SSH public key is stored."
- },
- "keyData": {
- "type": "string",
- "description": "This is the SSH public key certificate used to authenticate with the VM."
- }
- }
+ "x-ms-examples": {
+ "Get Identity Info for the VM": {
+ "$ref": "./examples/GetIdentityInfo.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Compute": {
+ "type": "object",
+ "properties": {
+ "azEnvironment": {
+ "type": "string",
+ "description": "This is the name of the environment in which the VM is running."
},
- "Ipv4Properties": {
- "type": "object",
- "description": "This contains the IPv4 properties.",
- "properties": {
- "privateIpAddress": {
- "type":"string",
- "description":"This is the private IP address assigned to the interface."
- },
- "publicIpAddress": {
- "type":"string",
- "description":"This is the public IP address assigned to the interface."
- }
- }
+ "customData": {
+ "type": "string",
+ "description": "This is the base64 encoded custom data for the running VM."
},
- "Ipv6Properties": {
- "type": "object",
- "description": "This contains the IPv6 properties.",
- "properties": {
- "privateIpAddress": {
- "type":"string",
- "description":"This is the private IPv6 address assigned to the interface."
- }
- }
+ "location": {
+ "type": "string",
+ "description": "This is the Azure Region in which the VM is running."
},
- "SubnetProperties": {
- "type": "object",
- "description": "This contains the properties of the subnet.",
- "properties": {
- "address": {
- "type":"string",
- "description":"This is the address range of the subnet."
- },
- "prefix": {
- "type":"string",
- "description":"This is the prefix of the subnet."
- }
- }
+ "name": {
+ "type": "string",
+ "description": "This is the name of the VM."
},
- "Instance": {
- "type": "object",
- "description": "This is the response from the Instance_GetMetadata operation.",
- "properties": {
- "compute": {
- "$ref": "#/definitions/Compute",
- "description": "Compute Metadata"
- },
- "network": {
- "$ref": "#/definitions/Network",
- "description": "Network Metadata"
- }
- }
+ "offer": {
+ "type": "string",
+ "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery."
},
- "AttestedData": {
- "type": "object",
- "description": "This is the response from the Attested_GetDocument operation.",
- "properties": {
- "signature": {
- "type": "string",
- "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value."
- },
- "encoding": {
- "type": "string",
- "description": "This is the encoding scheme of the signature."
- }
- }
+ "osType": {
+ "type": "string",
+ "description": "This value indicates the type of OS the VM is running, either Linux or Windows."
},
- "ErrorResponse": {
- "description": "This is the response from an operation in the case an error occurs.",
- "type": "object",
- "properties": {
- "error": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
- }
+ "placementGroupId": {
+ "type": "string",
+ "description": "This is the placement group of your Virtual Machine Scale Set."
+ },
+ "plan": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "$ref": "#/definitions/PlanProperties"
+ },
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicKeysProperties"
+ },
+ "description": "This is information about the SSH certificate"
+ },
+ "platformFaultDomain": {
+ "type": "string",
+ "description": "This is the fault domain in which the VM."
+ },
+ "platformUpdateDomain": {
+ "type": "string",
+ "description": "This is the update domain in which the VM."
+ },
+ "provider": {
+ "type": "string",
+ "description": "This is the provider of the VM."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher of the VM image."
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "This is the resource group for the VM."
+ },
+ "sku": {
+ "type": "string",
+ "description": "This is the specific SKU for the VM image."
},
- "IdentityErrorResponse": {
+ "subscriptionId": {
+ "type": "string",
+ "description": "This is the Azure subscription for the VM."
+ },
+ "tags": {
+ "type": "string",
+ "description": "This is the list of tags for your VM."
+ },
+ "version": {
+ "type": "string",
+ "description": "This is the version of the VM image."
+ },
+ "vmId": {
+ "type": "string",
+ "description": "This is the unique identifier for the VM."
+ },
+ "vmScaleSetName": {
+ "type": "string",
+ "description": "This is the resource name of the VMSS."
+ },
+ "vmSize": {
+ "type": "string",
+ "description": "This is the size of the VM."
+ },
+ "zone": {
+ "type": "string",
+ "description": "This is the availability zone of the VM."
+ }
+ },
+ "description": "Compute Metadata"
+ },
+ "Network": {
+ "type": "object",
+ "properties": {
+ "interface": {
+ "type": "array",
+ "description": "This contains data about the network interface.",
+ "items": {
"type": "object",
- "description": "This is the response from an Identity operation in the case an error occurs.",
- "properties": {
- "error": {
- "type": "string",
- "description": "Error code",
- "enum": [
- "invalid_request",
- "unauthorized_client",
- "access_denied",
- "unsupported_response_type",
- "invalid_scope",
- "server_error",
- "service_unavailable",
- "bad_request",
- "forbidden",
- "not_found",
- "method_not_allowed",
- "too_many_requests"
- ],
- "x-ms-enum": {
- "name": "Error",
- "modelAsString": true
- }
- },
- "error_description": {
- "type": "string",
- "description": "Error message indicating why the operation failed."
- }
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ }
+ },
+ "description": "Network Metadata"
+ },
+ "NetworkInterface": {
+ "type": "object",
+ "description": "This contains data about the network interface.",
+ "properties": {
+ "ipv4": {
+ "type": "object",
+ "description": "This contains the IPv4 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "$ref": "#/definitions/Ipv4Properties"
+ }
+ },
+ "subnet": {
+ "type": "array",
+ "description": "This is the subnet",
+ "items": {
+ "type": "object",
+ "description": "This contains the subnet properties.",
+ "$ref": "#/definitions/SubnetProperties"
+ }
}
+ }
},
- "IdentityTokenResponse": {
- "type": "object",
- "description": "This is the response from the Identity_GetToken operation.",
- "properties": {
- "access_token": {
- "type": "string",
- "description": "This is the requested access token. The app can use this token to authenticate to the sink resource."
- },
- "expires_in": {
- "type": "string",
- "description": "This is how long the access token is valid (in seconds)."
- },
- "expires_on": {
- "type": "string",
- "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens."
- },
- "ext_expires_in": {
- "type": "string",
- "description": "This indicates the extended lifetime of the token (in seconds)."
- },
- "not_before": {
- "type": "string",
- "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time."
- },
- "resource": {
- "type": "string",
- "description": "This is the app ID URI of the sink resource."
- },
- "token_type": {
- "type": "string",
- "description": "This indicates the token type value."
- },
- "client_id": {
- "type": "string",
- "description": "This is the client_id specified in the request, if any."
- },
- "object_id": {
- "type": "string",
- "description": "This is the object_id specified in the request, if any."
- },
- "msi_res_id": {
- "type": "string",
- "description": "This is the msi_res_id specified in the request, if any."
- }
+ "ipv6": {
+ "type": "object",
+ "description": "This contains the IPv6 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "$ref": "#/definitions/Ipv6Properties"
+ }
}
+ }
},
- "IdentityInfoResponse": {
- "type": "object",
- "description": "This is the response from the Identity_GetInfo operation.",
- "properties": {
- "tenantId": {
- "type": "string",
- "description": "This is the AAD tenantId of the identity of the caller."
- }
- }
+ "macAddress": {
+ "type": "string",
+ "description": "This is the MAC address of the interface."
}
+ }
},
- "parameters": {
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "type": "string",
- "enum": [
- "2018-10-01"
- ],
- "description": "This is the API version to use.",
- "required": true,
- "x-ms-enum": {
- "name": "ApiVersion",
- "modelAsString": true
- }
+ "PlanProperties": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "This is the Plan ID."
},
- "MetadataParameter": {
- "name": "Metadata",
- "in": "header",
- "type": "string",
- "enum": [
- "true"
- ],
- "description": "This must be set to 'true'.",
- "required": true,
- "x-ms-parameter-location": "method"
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "This is the product of the image from the Marketplace."
+ }
+ }
+ },
+ "PublicKeysProperties": {
+ "type": "object",
+ "description": "This contains the data about the public key.",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "This specifies the full path on the VM where the SSH public key is stored."
+ },
+ "keyData": {
+ "type": "string",
+ "description": "This is the SSH public key certificate used to authenticate with the VM."
+ }
+ }
+ },
+ "Ipv4Properties": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IP address assigned to the interface."
+ },
+ "publicIpAddress": {
+ "type": "string",
+ "description": "This is the public IP address assigned to the interface."
+ }
+ }
+ },
+ "Ipv6Properties": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IPv6 address assigned to the interface."
+ }
+ }
+ },
+ "SubnetProperties": {
+ "type": "object",
+ "description": "This contains the properties of the subnet.",
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "This is the address range of the subnet."
+ },
+ "prefix": {
+ "type": "string",
+ "description": "This is the prefix of the subnet."
+ }
+ }
+ },
+ "Instance": {
+ "type": "object",
+ "description": "This is the response from the Instance_GetMetadata operation.",
+ "properties": {
+ "compute": {
+ "$ref": "#/definitions/Compute",
+ "description": "Compute Metadata"
+ },
+ "network": {
+ "$ref": "#/definitions/Network",
+ "description": "Network Metadata"
+ }
+ }
+ },
+ "AttestedData": {
+ "type": "object",
+ "description": "This is the response from the Attested_GetDocument operation.",
+ "properties": {
+ "signature": {
+ "type": "string",
+ "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value."
+ },
+ "encoding": {
+ "type": "string",
+ "description": "This is the encoding scheme of the signature."
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "This is the response from an operation in the case an error occurs.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "IdentityErrorResponse": {
+ "type": "object",
+ "description": "This is the response from an Identity operation in the case an error occurs.",
+ "properties": {
+ "error": {
+ "type": "string",
+ "description": "Error code",
+ "enum": [
+ "invalid_request",
+ "unauthorized_client",
+ "access_denied",
+ "unsupported_response_type",
+ "invalid_scope",
+ "server_error",
+ "service_unavailable",
+ "bad_request",
+ "forbidden",
+ "not_found",
+ "method_not_allowed",
+ "too_many_requests"
+ ],
+ "x-ms-enum": {
+ "name": "Error",
+ "modelAsString": true
+ }
+ },
+ "error_description": {
+ "type": "string",
+ "description": "Error message indicating why the operation failed."
}
+ }
+ },
+ "IdentityTokenResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetToken operation.",
+ "properties": {
+ "access_token": {
+ "type": "string",
+ "description": "This is the requested access token. The app can use this token to authenticate to the sink resource."
+ },
+ "expires_in": {
+ "type": "string",
+ "description": "This is how long the access token is valid (in seconds)."
+ },
+ "expires_on": {
+ "type": "string",
+ "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens."
+ },
+ "ext_expires_in": {
+ "type": "string",
+ "description": "This indicates the extended lifetime of the token (in seconds)."
+ },
+ "not_before": {
+ "type": "string",
+ "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time."
+ },
+ "resource": {
+ "type": "string",
+ "description": "This is the app ID URI of the sink resource."
+ },
+ "token_type": {
+ "type": "string",
+ "description": "This indicates the token type value."
+ },
+ "client_id": {
+ "type": "string",
+ "description": "This is the client_id specified in the request, if any."
+ },
+ "object_id": {
+ "type": "string",
+ "description": "This is the object_id specified in the request, if any."
+ },
+ "msi_res_id": {
+ "type": "string",
+ "description": "This is the msi_res_id specified in the request, if any."
+ }
+ }
+ },
+ "IdentityInfoResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetInfo operation.",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "This is the AAD tenantId of the identity of the caller."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "2018-10-01"
+ ],
+ "description": "This is the API version to use.",
+ "required": true,
+ "x-ms-enum": {
+ "name": "ApiVersion",
+ "modelAsString": true
+ }
+ },
+ "MetadataParameter": {
+ "name": "Metadata",
+ "in": "header",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "This must be set to 'true'.",
+ "required": true,
+ "x-ms-parameter-location": "method"
}
+ }
}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json
index 2e082d30492b..36e3818f7480 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetAttestedData.json
@@ -1,15 +1,15 @@
{
- "parameters": {
- "api-version": "2019-03-11",
- "nonce": "abcde12345",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "encoding": "pkcs7",
- "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL"
- }
- }
+ "parameters": {
+ "api-version": "2019-03-11",
+ "nonce": "abcde12345",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "encoding": "pkcs7",
+ "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json
index b56684ee5d5a..048e49b1e32d 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityInfo.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "api-version": "2019-03-11",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
- }
- }
+ "parameters": {
+ "api-version": "2019-03-11",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json
index ec9675f9af06..dbf77249f7f7 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetIdentityToken.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "api-version": "2019-03-11",
- "Metadata": "true",
- "resource": "https://vault.azure.net"
- },
- "responses": {
- "200": {
- "body": {
- "access_token": "dummytoken",
- "client_id": "be5947ed-3560-4afe-9504-59967a63f810",
- "expires_in": "3599",
- "expires_on": "1541705014",
- "ext_expires_in": "262800",
- "not_before": "1508961830",
- "resource": "https://va"
- }
- }
+ "parameters": {
+ "api-version": "2019-03-11",
+ "Metadata": "true",
+ "resource": "https://vault.azure.net"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access_token": "dummytoken",
+ "client_id": "be5947ed-3560-4afe-9504-59967a63f810",
+ "expires_in": "3599",
+ "expires_on": "1541705014",
+ "ext_expires_in": "262800",
+ "not_before": "1508961830",
+ "resource": "https://va"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json
index 0c71578aea36..38759b72e88f 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/examples/GetInstanceMetadata.json
@@ -1,49 +1,49 @@
{
- "parameters": {
- "api-version": "2019-03-11",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "compute": {
- "azEnvironment": "AzurePublicCloud",
- "customData": "TXkgY3VzdG9tIGRhdGEu",
- "location": "westus",
- "name": "examplevmname",
- "offer": "Windows",
- "osType": "linux",
- "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
- "plan": {
- "name": "planName",
- "product": "planProduct",
- "publisher": "planPublisher"
- },
- "platformFaultDomain": "36",
- "platformUpdateDomain": "42",
- "publicKeys": [
- {
- "keyData": "ssh-rsa 0",
- "path": "/home/user/.ssh/authorized_keys0"
- },
- {
- "keyData": "ssh-rsa 1",
- "path": "/home/user/.ssh/authorized_keys1"
- }
- ],
- "publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
- "resourceGroupName": "macikgo-test-may-23",
- "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
- "sku": "Windows-Server-2012-R2-Datacenter",
- "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
- "tags": "baz:bash;foo:bar",
- "version": "15.05.22",
- "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
- "vmScaleSetName": "crpteste9vflji9",
- "vmSize": "Standard_A3",
- "zone": ""
- }
+ "parameters": {
+ "api-version": "2019-03-11",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "compute": {
+ "azEnvironment": "AzurePublicCloud",
+ "customData": "TXkgY3VzdG9tIGRhdGEu",
+ "location": "westus",
+ "name": "examplevmname",
+ "offer": "Windows",
+ "osType": "linux",
+ "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
+ "plan": {
+ "name": "planName",
+ "product": "planProduct",
+ "publisher": "planPublisher"
+ },
+ "platformFaultDomain": "36",
+ "platformUpdateDomain": "42",
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa 0",
+ "path": "/home/user/.ssh/authorized_keys0"
+ },
+ {
+ "keyData": "ssh-rsa 1",
+ "path": "/home/user/.ssh/authorized_keys1"
}
+ ],
+ "publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
+ "resourceGroupName": "macikgo-test-may-23",
+ "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
+ "sku": "Windows-Server-2012-R2-Datacenter",
+ "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
+ "tags": "baz:bash;foo:bar",
+ "version": "15.05.22",
+ "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
+ "vmScaleSetName": "crpteste9vflji9",
+ "vmSize": "Standard_A3",
+ "zone": ""
}
+ }
}
+ }
}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json
index 5a3793bc1f8f..3373177fe43a 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json
@@ -1,629 +1,629 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "InstanceMetadataClient",
- "description": "The Azure Instance Metadata Client",
- "version": "2019-03-11"
- },
- "host": "169.254.169.254",
- "basePath": "/metadata",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "InstanceMetadataClient",
+ "description": "The Azure Instance Metadata Client",
+ "version": "2019-03-11"
+ },
+ "host": "169.254.169.254",
+ "basePath": "/metadata",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/instance": {
+ "get": {
+ "operationId": "Instances_GetMetadata",
+ "description": "Get Instance Metadata for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Instance"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Instance Metadata for the VM": {
+ "$ref": "./examples/GetInstanceMetadata.json"
+ }
}
+ }
},
- "paths": {
- "/instance": {
- "get": {
- "operationId": "Instances_GetMetadata",
- "description": "Get Instance Metadata for the Virtual Machine.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/MetadataParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Instance"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Instance Metadata for the VM": {
- "$ref": "./examples/GetInstanceMetadata.json"
- }
- }
+ "/attested/document": {
+ "get": {
+ "operationId": "Attested_GetDocument",
+ "description": "Get Attested Data for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "nonce",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "This is a string of up to 32 random alphanumeric characters."
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AttestedData"
}
- },
- "/attested/document": {
- "get": {
- "operationId": "Attested_GetDocument",
- "description": "Get Attested Data for the Virtual Machine.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "nonce",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "This is a string of up to 32 random alphanumeric characters."
- },
- {
- "$ref": "#/parameters/MetadataParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AttestedData"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Attested Data for the VM": {
- "$ref": "./examples/GetAttestedData.json"
- }
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
},
- "/identity/oauth2/token": {
- "get": {
- "tags": [
- "Get token"
- ],
- "description": "Get a Token from Azure AD",
- "operationId": "Identity_GetToken",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/MetadataParameter"
- },
- {
- "name": "resource",
- "in": "query",
- "type": "string",
- "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.",
- "required": true
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "client_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.",
- "required": false
- },
- {
- "name": "object_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.",
- "required": false
- },
- {
- "name": "msi_res_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.",
- "required": false
- },
- {
- "name": "authority",
- "in": "query",
- "type": "string",
- "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.",
- "required": false
- },
- {
- "name": "bypass_cache",
- "in": "query",
- "type": "string",
- "enum": [
- "true"
- ],
- "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.",
- "required": false,
- "x-ms-enum": {
- "name": "BypassCache",
- "modelAsString": true
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation",
- "schema": {
- "$ref": "#/definitions/IdentityTokenResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/IdentityErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Identity Token for the VM": {
- "$ref": "./examples/GetIdentityToken.json"
- }
- }
+ "x-ms-examples": {
+ "Get Attested Data for the VM": {
+ "$ref": "./examples/GetAttestedData.json"
+ }
+ }
+ }
+ },
+ "/identity/oauth2/token": {
+ "get": {
+ "tags": [
+ "Get token"
+ ],
+ "description": "Get a Token from Azure AD",
+ "operationId": "Identity_GetToken",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "name": "resource",
+ "in": "query",
+ "type": "string",
+ "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.",
+ "required": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "client_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "object_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "msi_res_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.",
+ "required": false
+ },
+ {
+ "name": "authority",
+ "in": "query",
+ "type": "string",
+ "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.",
+ "required": false
+ },
+ {
+ "name": "bypass_cache",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.",
+ "required": false,
+ "x-ms-enum": {
+ "name": "BypassCache",
+ "modelAsString": true
}
- },
- "/identity/info": {
- "get": {
- "tags": [
- "Get metadata information"
- ],
- "description": "Get information about AAD Metadata",
- "operationId": "Identity_GetInfo",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/MetadataParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation",
- "schema": {
- "$ref": "#/definitions/IdentityInfoResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/IdentityErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Identity Info for the VM": {
- "$ref": "./examples/GetIdentityInfo.json"
- }
- }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityTokenResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
}
+ }
+ },
+ "x-ms-examples": {
+ "Get Identity Token for the VM": {
+ "$ref": "./examples/GetIdentityToken.json"
+ }
}
+ }
},
- "definitions": {
- "Compute": {
- "type": "object",
- "properties": {
- "azEnvironment": {
- "type": "string",
- "description": "This is the name of the environment in which the VM is running."
- },
- "customData": {
- "type": "string",
- "description": "This is the base64 encoded custom data for the running VM."
- },
- "location": {
- "type": "string",
- "description": "This is the Azure Region in which the VM is running."
- },
- "name": {
- "type": "string",
- "description": "This is the name of the VM."
- },
- "offer": {
- "type": "string",
- "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery."
- },
- "osType": {
- "type": "string",
- "description": "This value indicates the type of OS the VM is running, either Linux or Windows."
- },
- "placementGroupId": {
- "type": "string",
- "description": "This is the placement group of your Virtual Machine Scale Set."
- },
- "plan": {
- "type": "object",
- "description": "This contains the data about the plan.",
- "$ref": "#/definitions/PlanProperties"
- },
- "publicKeys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicKeysProperties"
- },
- "description": "This is information about the SSH certificate"
- },
- "platformFaultDomain": {
- "type": "string",
- "description": "This is the fault domain in which the VM."
- },
- "platformUpdateDomain": {
- "type": "string",
- "description": "This is the update domain in which the VM."
- },
- "provider": {
- "type": "string",
- "description": "This is the provider of the VM."
- },
- "publisher": {
- "type": "string",
- "description": "This is the publisher of the VM image."
- },
- "resourceGroupName": {
- "type": "string",
- "description": "This is the resource group for the VM."
- },
- "resourceId": {
- "type": "string",
- "description": "This is the fully qualified ID for the VM."
- },
- "sku": {
- "type": "string",
- "description": "This is the specific SKU for the VM image."
- },
- "subscriptionId": {
- "type": "string",
- "description": "This is the Azure subscription for the VM."
- },
- "tags": {
- "type": "string",
- "description": "This is the list of tags for your VM."
- },
- "version": {
- "type": "string",
- "description": "This is the version of the VM image."
- },
- "vmId": {
- "type": "string",
- "description": "This is the unique identifier for the VM."
- },
- "vmScaleSetName": {
- "type": "string",
- "description": "This is the resource name of the VMSS."
- },
- "vmSize": {
- "type": "string",
- "description": "This is the size of the VM."
- },
- "zone": {
- "type":"string",
- "description":"This is the availability zone of the VM."
- }
- },
- "description": "Compute Metadata"
- },
- "Network": {
- "type": "object",
- "properties": {
- "interface": {
- "type":"array",
- "description": "This contains data about the network interface.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/NetworkInterface"
- }
- }
- },
- "description": "Network Metadata"
- },
- "NetworkInterface": {
- "type": "object",
- "description": "This contains data about the network interface.",
- "properties": {
- "ipv4": {
- "type":"object",
- "description": "This contains the IPv4 address.",
- "properties": {
- "ipAddress": {
- "type":"array",
- "description": "This is the IP address",
- "items": {
- "type": "object",
- "description": "This contains the IPv4 properties.",
- "$ref":"#/definitions/Ipv4Properties"
- }
- },
- "subnet": {
- "type":"array",
- "description": "This is the subnet",
- "items": {
- "type": "object",
- "description": "This contains the subnet properties.",
- "$ref": "#/definitions/SubnetProperties"
- }
- }
- }
- },
- "ipv6": {
- "type":"object",
- "description": "This contains the IPv6 address.",
- "properties": {
- "ipAddress": {
- "type":"array",
- "description": "This is the IP address",
- "items": {
- "type": "object",
- "description": "This contains the IPv6 properties.",
- "$ref":"#/definitions/Ipv6Properties"
- }
- }
- }
- },
- "macAddress": {
- "type":"string",
- "description":"This is the MAC address of the interface."
- }
+ "/identity/info": {
+ "get": {
+ "tags": [
+ "Get metadata information"
+ ],
+ "description": "Get information about AAD Metadata",
+ "operationId": "Identity_GetInfo",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityInfoResponse"
}
- },
- "PlanProperties": {
- "type": "object",
- "description": "This contains the data about the plan.",
- "properties": {
- "name": {
- "type": "string",
- "description": "This is the Plan ID."
- },
- "publisher": {
- "type": "string",
- "description": "This is the publisher ID."
- },
- "product": {
- "type": "string",
- "description": "This is the product of the image from the Marketplace."
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
}
+ }
},
- "PublicKeysProperties": {
- "type": "object",
- "description": "This contains the data about the public key.",
- "properties": {
- "path": {
- "type": "string",
- "description": "This specifies the full path on the VM where the SSH public key is stored."
- },
- "keyData": {
- "type": "string",
- "description": "This is the SSH public key certificate used to authenticate with the VM."
- }
- }
+ "x-ms-examples": {
+ "Get Identity Info for the VM": {
+ "$ref": "./examples/GetIdentityInfo.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Compute": {
+ "type": "object",
+ "properties": {
+ "azEnvironment": {
+ "type": "string",
+ "description": "This is the name of the environment in which the VM is running."
},
- "Ipv4Properties": {
- "type": "object",
- "description": "This contains the IPv4 properties.",
- "properties": {
- "privateIpAddress": {
- "type":"string",
- "description":"This is the private IP address assigned to the interface."
- },
- "publicIpAddress": {
- "type":"string",
- "description":"This is the public IP address assigned to the interface."
- }
- }
+ "customData": {
+ "type": "string",
+ "description": "This is the base64 encoded custom data for the running VM."
},
- "Ipv6Properties": {
- "type": "object",
- "description": "This contains the IPv6 properties.",
- "properties": {
- "privateIpAddress": {
- "type":"string",
- "description":"This is the private IPv6 address assigned to the interface."
- }
- }
+ "location": {
+ "type": "string",
+ "description": "This is the Azure Region in which the VM is running."
},
- "SubnetProperties": {
- "type": "object",
- "description": "This contains the properties of the subnet.",
- "properties": {
- "address": {
- "type":"string",
- "description":"This is the address range of the subnet."
- },
- "prefix": {
- "type":"string",
- "description":"This is the prefix of the subnet."
- }
- }
+ "name": {
+ "type": "string",
+ "description": "This is the name of the VM."
},
- "Instance": {
- "type": "object",
- "description": "This is the response from the Instance_GetMetadata operation.",
- "properties": {
- "compute": {
- "$ref": "#/definitions/Compute",
- "description": "Compute Metadata"
- },
- "network": {
- "$ref": "#/definitions/Network",
- "description": "Network Metadata"
- }
- }
+ "offer": {
+ "type": "string",
+ "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery."
},
- "AttestedData": {
- "type": "object",
- "description": "This is the response from the Attested_GetDocument operation.",
- "properties": {
- "signature": {
- "type": "string",
- "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value."
- },
- "encoding": {
- "type": "string",
- "description": "This is the encoding scheme of the signature."
- }
- }
+ "osType": {
+ "type": "string",
+ "description": "This value indicates the type of OS the VM is running, either Linux or Windows."
},
- "ErrorResponse": {
- "description": "This is the response from an operation in the case an error occurs.",
- "type": "object",
- "properties": {
- "error": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
- }
+ "placementGroupId": {
+ "type": "string",
+ "description": "This is the placement group of your Virtual Machine Scale Set."
+ },
+ "plan": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "$ref": "#/definitions/PlanProperties"
+ },
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicKeysProperties"
+ },
+ "description": "This is information about the SSH certificate"
+ },
+ "platformFaultDomain": {
+ "type": "string",
+ "description": "This is the fault domain in which the VM."
+ },
+ "platformUpdateDomain": {
+ "type": "string",
+ "description": "This is the update domain in which the VM."
+ },
+ "provider": {
+ "type": "string",
+ "description": "This is the provider of the VM."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher of the VM image."
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "This is the resource group for the VM."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "This is the fully qualified ID for the VM."
+ },
+ "sku": {
+ "type": "string",
+ "description": "This is the specific SKU for the VM image."
},
- "IdentityErrorResponse": {
+ "subscriptionId": {
+ "type": "string",
+ "description": "This is the Azure subscription for the VM."
+ },
+ "tags": {
+ "type": "string",
+ "description": "This is the list of tags for your VM."
+ },
+ "version": {
+ "type": "string",
+ "description": "This is the version of the VM image."
+ },
+ "vmId": {
+ "type": "string",
+ "description": "This is the unique identifier for the VM."
+ },
+ "vmScaleSetName": {
+ "type": "string",
+ "description": "This is the resource name of the VMSS."
+ },
+ "vmSize": {
+ "type": "string",
+ "description": "This is the size of the VM."
+ },
+ "zone": {
+ "type": "string",
+ "description": "This is the availability zone of the VM."
+ }
+ },
+ "description": "Compute Metadata"
+ },
+ "Network": {
+ "type": "object",
+ "properties": {
+ "interface": {
+ "type": "array",
+ "description": "This contains data about the network interface.",
+ "items": {
"type": "object",
- "description": "This is the response from an Identity operation in the case an error occurs.",
- "properties": {
- "error": {
- "type": "string",
- "description": "Error code",
- "enum": [
- "invalid_request",
- "unauthorized_client",
- "access_denied",
- "unsupported_response_type",
- "invalid_scope",
- "server_error",
- "service_unavailable",
- "bad_request",
- "forbidden",
- "not_found",
- "method_not_allowed",
- "too_many_requests"
- ],
- "x-ms-enum": {
- "name": "Error",
- "modelAsString": true
- }
- },
- "error_description": {
- "type": "string",
- "description": "Error message indicating why the operation failed."
- }
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ }
+ },
+ "description": "Network Metadata"
+ },
+ "NetworkInterface": {
+ "type": "object",
+ "description": "This contains data about the network interface.",
+ "properties": {
+ "ipv4": {
+ "type": "object",
+ "description": "This contains the IPv4 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "$ref": "#/definitions/Ipv4Properties"
+ }
+ },
+ "subnet": {
+ "type": "array",
+ "description": "This is the subnet",
+ "items": {
+ "type": "object",
+ "description": "This contains the subnet properties.",
+ "$ref": "#/definitions/SubnetProperties"
+ }
}
+ }
},
- "IdentityTokenResponse": {
- "type": "object",
- "description": "This is the response from the Identity_GetToken operation.",
- "properties": {
- "access_token": {
- "type": "string",
- "description": "This is the requested access token. The app can use this token to authenticate to the sink resource."
- },
- "expires_in": {
- "type": "string",
- "description": "This is how long the access token is valid (in seconds)."
- },
- "expires_on": {
- "type": "string",
- "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens."
- },
- "ext_expires_in": {
- "type": "string",
- "description": "This indicates the extended lifetime of the token (in seconds)."
- },
- "not_before": {
- "type": "string",
- "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time."
- },
- "resource": {
- "type": "string",
- "description": "This is the app ID URI of the sink resource."
- },
- "token_type": {
- "type": "string",
- "description": "This indicates the token type value."
- },
- "client_id": {
- "type": "string",
- "description": "This is the client_id specified in the request, if any."
- },
- "object_id": {
- "type": "string",
- "description": "This is the object_id specified in the request, if any."
- },
- "msi_res_id": {
- "type": "string",
- "description": "This is the msi_res_id specified in the request, if any."
- }
+ "ipv6": {
+ "type": "object",
+ "description": "This contains the IPv6 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "$ref": "#/definitions/Ipv6Properties"
+ }
}
+ }
},
- "IdentityInfoResponse": {
- "type": "object",
- "description": "This is the response from the Identity_GetInfo operation.",
- "properties": {
- "tenantId": {
- "type": "string",
- "description": "This is the AAD tenantId of the identity of the caller."
- }
- }
+ "macAddress": {
+ "type": "string",
+ "description": "This is the MAC address of the interface."
}
+ }
},
- "parameters": {
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "type": "string",
- "enum": [
- "2018-10-01"
- ],
- "description": "This is the API version to use.",
- "required": true,
- "x-ms-enum": {
- "name": "ApiVersion",
- "modelAsString": true
- }
+ "PlanProperties": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "This is the Plan ID."
},
- "MetadataParameter": {
- "name": "Metadata",
- "in": "header",
- "type": "string",
- "enum": [
- "true"
- ],
- "description": "This must be set to 'true'.",
- "required": true,
- "x-ms-parameter-location": "method"
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "This is the product of the image from the Marketplace."
+ }
+ }
+ },
+ "PublicKeysProperties": {
+ "type": "object",
+ "description": "This contains the data about the public key.",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "This specifies the full path on the VM where the SSH public key is stored."
+ },
+ "keyData": {
+ "type": "string",
+ "description": "This is the SSH public key certificate used to authenticate with the VM."
+ }
+ }
+ },
+ "Ipv4Properties": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IP address assigned to the interface."
+ },
+ "publicIpAddress": {
+ "type": "string",
+ "description": "This is the public IP address assigned to the interface."
+ }
+ }
+ },
+ "Ipv6Properties": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IPv6 address assigned to the interface."
+ }
+ }
+ },
+ "SubnetProperties": {
+ "type": "object",
+ "description": "This contains the properties of the subnet.",
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "This is the address range of the subnet."
+ },
+ "prefix": {
+ "type": "string",
+ "description": "This is the prefix of the subnet."
+ }
+ }
+ },
+ "Instance": {
+ "type": "object",
+ "description": "This is the response from the Instance_GetMetadata operation.",
+ "properties": {
+ "compute": {
+ "$ref": "#/definitions/Compute",
+ "description": "Compute Metadata"
+ },
+ "network": {
+ "$ref": "#/definitions/Network",
+ "description": "Network Metadata"
+ }
+ }
+ },
+ "AttestedData": {
+ "type": "object",
+ "description": "This is the response from the Attested_GetDocument operation.",
+ "properties": {
+ "signature": {
+ "type": "string",
+ "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value."
+ },
+ "encoding": {
+ "type": "string",
+ "description": "This is the encoding scheme of the signature."
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "This is the response from an operation in the case an error occurs.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "IdentityErrorResponse": {
+ "type": "object",
+ "description": "This is the response from an Identity operation in the case an error occurs.",
+ "properties": {
+ "error": {
+ "type": "string",
+ "description": "Error code",
+ "enum": [
+ "invalid_request",
+ "unauthorized_client",
+ "access_denied",
+ "unsupported_response_type",
+ "invalid_scope",
+ "server_error",
+ "service_unavailable",
+ "bad_request",
+ "forbidden",
+ "not_found",
+ "method_not_allowed",
+ "too_many_requests"
+ ],
+ "x-ms-enum": {
+ "name": "Error",
+ "modelAsString": true
+ }
+ },
+ "error_description": {
+ "type": "string",
+ "description": "Error message indicating why the operation failed."
}
+ }
+ },
+ "IdentityTokenResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetToken operation.",
+ "properties": {
+ "access_token": {
+ "type": "string",
+ "description": "This is the requested access token. The app can use this token to authenticate to the sink resource."
+ },
+ "expires_in": {
+ "type": "string",
+ "description": "This is how long the access token is valid (in seconds)."
+ },
+ "expires_on": {
+ "type": "string",
+ "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens."
+ },
+ "ext_expires_in": {
+ "type": "string",
+ "description": "This indicates the extended lifetime of the token (in seconds)."
+ },
+ "not_before": {
+ "type": "string",
+ "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time."
+ },
+ "resource": {
+ "type": "string",
+ "description": "This is the app ID URI of the sink resource."
+ },
+ "token_type": {
+ "type": "string",
+ "description": "This indicates the token type value."
+ },
+ "client_id": {
+ "type": "string",
+ "description": "This is the client_id specified in the request, if any."
+ },
+ "object_id": {
+ "type": "string",
+ "description": "This is the object_id specified in the request, if any."
+ },
+ "msi_res_id": {
+ "type": "string",
+ "description": "This is the msi_res_id specified in the request, if any."
+ }
+ }
+ },
+ "IdentityInfoResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetInfo operation.",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "This is the AAD tenantId of the identity of the caller."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "2018-10-01"
+ ],
+ "description": "This is the API version to use.",
+ "required": true,
+ "x-ms-enum": {
+ "name": "ApiVersion",
+ "modelAsString": true
+ }
+ },
+ "MetadataParameter": {
+ "name": "Metadata",
+ "in": "header",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "This must be set to 'true'.",
+ "required": true,
+ "x-ms-parameter-location": "method"
}
+ }
}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json
new file mode 100644
index 000000000000..c1848fafe1d7
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetAttestedData.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-04-30",
+ "nonce": "abcde12345",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "encoding": "pkcs7",
+ "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL"
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json
new file mode 100644
index 000000000000..c86922232d4d
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityInfo.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-04-30",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json
new file mode 100644
index 000000000000..cf9b130b3e0d
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetIdentityToken.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-04-30",
+ "Metadata": "true",
+ "resource": "https://vault.azure.net"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access_token": "dummytoken",
+ "client_id": "be5947ed-3560-4afe-9504-59967a63f810",
+ "expires_in": "3599",
+ "expires_on": "1541705014",
+ "ext_expires_in": "262800",
+ "not_before": "1508961830",
+ "resource": "https://va"
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json
new file mode 100644
index 000000000000..df4eecc8f5b9
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/examples/GetInstanceMetadata.json
@@ -0,0 +1,50 @@
+{
+ "parameters": {
+ "api-version": "2019-04-30",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "compute": {
+ "azEnvironment": "AzurePublicCloud",
+ "customData": "TXkgY3VzdG9tIGRhdGEu",
+ "location": "westus",
+ "name": "examplevmname",
+ "offer": "Windows",
+ "osType": "linux",
+ "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
+ "plan": {
+ "name": "planName",
+ "product": "planProduct",
+ "publisher": "planPublisher"
+ },
+ "platformFaultDomain": "36",
+ "platformUpdateDomain": "42",
+ "provider": "Microsoft.Compute",
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa 0",
+ "path": "/home/user/.ssh/authorized_keys0"
+ },
+ {
+ "keyData": "ssh-rsa 1",
+ "path": "/home/user/.ssh/authorized_keys1"
+ }
+ ],
+ "publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
+ "resourceGroupName": "macikgo-test-may-23",
+ "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
+ "sku": "Windows-Server-2012-R2-Datacenter",
+ "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
+ "tags": "baz:bash;foo:bar",
+ "version": "15.05.22",
+ "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
+ "vmScaleSetName": "crpteste9vflji9",
+ "vmSize": "Standard_A3",
+ "zone": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json
new file mode 100644
index 000000000000..fd2cab686a20
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json
@@ -0,0 +1,629 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "InstanceMetadataClient",
+ "description": "The Azure Instance Metadata Client",
+ "version": "2019-04-30"
+ },
+ "host": "169.254.169.254",
+ "basePath": "/metadata",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/instance": {
+ "get": {
+ "operationId": "Instances_GetMetadata",
+ "description": "Get Instance Metadata for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Instance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Instance Metadata for the VM": {
+ "$ref": "./examples/GetInstanceMetadata.json"
+ }
+ }
+ }
+ },
+ "/attested/document": {
+ "get": {
+ "operationId": "Attested_GetDocument",
+ "description": "Get Attested Data for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "nonce",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "This is a string of up to 32 random alphanumeric characters."
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AttestedData"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Attested Data for the VM": {
+ "$ref": "./examples/GetAttestedData.json"
+ }
+ }
+ }
+ },
+ "/identity/oauth2/token": {
+ "get": {
+ "tags": [
+ "Get token"
+ ],
+ "description": "Get a Token from Azure AD",
+ "operationId": "Identity_GetToken",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "name": "resource",
+ "in": "query",
+ "type": "string",
+ "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.",
+ "required": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "client_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "object_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "msi_res_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.",
+ "required": false
+ },
+ {
+ "name": "authority",
+ "in": "query",
+ "type": "string",
+ "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.",
+ "required": false
+ },
+ {
+ "name": "bypass_cache",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.",
+ "required": false,
+ "x-ms-enum": {
+ "name": "BypassCache",
+ "modelAsString": true
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityTokenResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Identity Token for the VM": {
+ "$ref": "./examples/GetIdentityToken.json"
+ }
+ }
+ }
+ },
+ "/identity/info": {
+ "get": {
+ "tags": [
+ "Get metadata information"
+ ],
+ "description": "Get information about AAD Metadata",
+ "operationId": "Identity_GetInfo",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityInfoResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Identity Info for the VM": {
+ "$ref": "./examples/GetIdentityInfo.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Compute": {
+ "type": "object",
+ "properties": {
+ "azEnvironment": {
+ "type": "string",
+ "description": "This is the name of the environment in which the VM is running."
+ },
+ "customData": {
+ "type": "string",
+ "description": "This is the base64 encoded custom data for the running VM."
+ },
+ "location": {
+ "type": "string",
+ "description": "This is the Azure Region in which the VM is running."
+ },
+ "name": {
+ "type": "string",
+ "description": "This is the name of the VM."
+ },
+ "offer": {
+ "type": "string",
+ "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery."
+ },
+ "osType": {
+ "type": "string",
+ "description": "This value indicates the type of OS the VM is running, either Linux or Windows."
+ },
+ "placementGroupId": {
+ "type": "string",
+ "description": "This is the placement group of your Virtual Machine Scale Set."
+ },
+ "plan": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "$ref": "#/definitions/PlanProperties"
+ },
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicKeysProperties"
+ },
+ "description": "This is information about the SSH certificate"
+ },
+ "platformFaultDomain": {
+ "type": "string",
+ "description": "This is the fault domain in which the VM."
+ },
+ "platformUpdateDomain": {
+ "type": "string",
+ "description": "This is the update domain in which the VM."
+ },
+ "provider": {
+ "type": "string",
+ "description": "This is the provider of the VM."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher of the VM image."
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "This is the resource group for the VM."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "This is the fully qualified ID for the VM."
+ },
+ "sku": {
+ "type": "string",
+ "description": "This is the specific SKU for the VM image."
+ },
+ "subscriptionId": {
+ "type": "string",
+ "description": "This is the Azure subscription for the VM."
+ },
+ "tags": {
+ "type": "string",
+ "description": "This is the list of tags for your VM."
+ },
+ "version": {
+ "type": "string",
+ "description": "This is the version of the VM image."
+ },
+ "vmId": {
+ "type": "string",
+ "description": "This is the unique identifier for the VM."
+ },
+ "vmScaleSetName": {
+ "type": "string",
+ "description": "This is the resource name of the VMSS."
+ },
+ "vmSize": {
+ "type": "string",
+ "description": "This is the size of the VM."
+ },
+ "zone": {
+ "type": "string",
+ "description": "This is the availability zone of the VM."
+ }
+ },
+ "description": "Compute Metadata"
+ },
+ "Network": {
+ "type": "object",
+ "properties": {
+ "interface": {
+ "type": "array",
+ "description": "This contains data about the network interface.",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ }
+ },
+ "description": "Network Metadata"
+ },
+ "NetworkInterface": {
+ "type": "object",
+ "description": "This contains data about the network interface.",
+ "properties": {
+ "ipv4": {
+ "type": "object",
+ "description": "This contains the IPv4 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "$ref": "#/definitions/Ipv4Properties"
+ }
+ },
+ "subnet": {
+ "type": "array",
+ "description": "This is the subnet",
+ "items": {
+ "type": "object",
+ "description": "This contains the subnet properties.",
+ "$ref": "#/definitions/SubnetProperties"
+ }
+ }
+ }
+ },
+ "ipv6": {
+ "type": "object",
+ "description": "This contains the IPv6 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "$ref": "#/definitions/Ipv6Properties"
+ }
+ }
+ }
+ },
+ "macAddress": {
+ "type": "string",
+ "description": "This is the MAC address of the interface."
+ }
+ }
+ },
+ "PlanProperties": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "This is the Plan ID."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "This is the product of the image from the Marketplace."
+ }
+ }
+ },
+ "PublicKeysProperties": {
+ "type": "object",
+ "description": "This contains the data about the public key.",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "This specifies the full path on the VM where the SSH public key is stored."
+ },
+ "keyData": {
+ "type": "string",
+ "description": "This is the SSH public key certificate used to authenticate with the VM."
+ }
+ }
+ },
+ "Ipv4Properties": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IP address assigned to the interface."
+ },
+ "publicIpAddress": {
+ "type": "string",
+ "description": "This is the public IP address assigned to the interface."
+ }
+ }
+ },
+ "Ipv6Properties": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IPv6 address assigned to the interface."
+ }
+ }
+ },
+ "SubnetProperties": {
+ "type": "object",
+ "description": "This contains the properties of the subnet.",
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "This is the address range of the subnet."
+ },
+ "prefix": {
+ "type": "string",
+ "description": "This is the prefix of the subnet."
+ }
+ }
+ },
+ "Instance": {
+ "type": "object",
+ "description": "This is the response from the Instance_GetMetadata operation.",
+ "properties": {
+ "compute": {
+ "$ref": "#/definitions/Compute",
+ "description": "Compute Metadata"
+ },
+ "network": {
+ "$ref": "#/definitions/Network",
+ "description": "Network Metadata"
+ }
+ }
+ },
+ "AttestedData": {
+ "type": "object",
+ "description": "This is the response from the Attested_GetDocument operation.",
+ "properties": {
+ "signature": {
+ "type": "string",
+ "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value."
+ },
+ "encoding": {
+ "type": "string",
+ "description": "This is the encoding scheme of the signature."
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "This is the response from an operation in the case an error occurs.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "IdentityErrorResponse": {
+ "type": "object",
+ "description": "This is the response from an Identity operation in the case an error occurs.",
+ "properties": {
+ "error": {
+ "type": "string",
+ "description": "Error code",
+ "enum": [
+ "invalid_request",
+ "unauthorized_client",
+ "access_denied",
+ "unsupported_response_type",
+ "invalid_scope",
+ "server_error",
+ "service_unavailable",
+ "bad_request",
+ "forbidden",
+ "not_found",
+ "method_not_allowed",
+ "too_many_requests"
+ ],
+ "x-ms-enum": {
+ "name": "Error",
+ "modelAsString": true
+ }
+ },
+ "error_description": {
+ "type": "string",
+ "description": "Error message indicating why the operation failed."
+ }
+ }
+ },
+ "IdentityTokenResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetToken operation.",
+ "properties": {
+ "access_token": {
+ "type": "string",
+ "description": "This is the requested access token. The app can use this token to authenticate to the sink resource."
+ },
+ "expires_in": {
+ "type": "string",
+ "description": "This is how long the access token is valid (in seconds)."
+ },
+ "expires_on": {
+ "type": "string",
+ "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens."
+ },
+ "ext_expires_in": {
+ "type": "string",
+ "description": "This indicates the extended lifetime of the token (in seconds)."
+ },
+ "not_before": {
+ "type": "string",
+ "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time."
+ },
+ "resource": {
+ "type": "string",
+ "description": "This is the app ID URI of the sink resource."
+ },
+ "token_type": {
+ "type": "string",
+ "description": "This indicates the token type value."
+ },
+ "client_id": {
+ "type": "string",
+ "description": "This is the client_id specified in the request, if any."
+ },
+ "object_id": {
+ "type": "string",
+ "description": "This is the object_id specified in the request, if any."
+ },
+ "msi_res_id": {
+ "type": "string",
+ "description": "This is the msi_res_id specified in the request, if any."
+ }
+ }
+ },
+ "IdentityInfoResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetInfo operation.",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "This is the AAD tenantId of the identity of the caller."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "2018-10-01"
+ ],
+ "description": "This is the API version to use.",
+ "required": true,
+ "x-ms-enum": {
+ "name": "ApiVersion",
+ "modelAsString": true
+ }
+ },
+ "MetadataParameter": {
+ "name": "Metadata",
+ "in": "header",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "This must be set to 'true'.",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json
index a9f823b2ea49..7d05c49f745b 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetAttestedData.json
@@ -1,15 +1,15 @@
{
- "parameters": {
- "api-version": "2019-06-01",
- "nonce": "abcde12345",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "encoding": "pkcs7",
- "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL"
- }
- }
+ "parameters": {
+ "api-version": "2019-06-01",
+ "nonce": "abcde12345",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "encoding": "pkcs7",
+ "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json
index 7b1df3bd36b2..c024f176b44a 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetGalleryApplication.json
@@ -5,8 +5,8 @@
"incarnationId": "b845c18d-b249-4c7a-a4c3-ffdd51757ccd"
},
"responses": {
- "200": {
- "body": "{application binary package}"
- }
+ "200": {
+ "body": "{application binary package}"
}
+ }
}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json
index 8d537551fdb4..cac60ad51eb9 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityInfo.json
@@ -1,13 +1,13 @@
{
- "parameters": {
- "api-version": "2019-06-01",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
- }
- }
+ "parameters": {
+ "api-version": "2019-06-01",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json
index ef14f423756f..da14b3f93c6c 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetIdentityToken.json
@@ -1,20 +1,20 @@
{
- "parameters": {
- "api-version": "2019-06-01",
- "Metadata": "true",
- "resource": "https://vault.azure.net"
- },
- "responses": {
- "200": {
- "body": {
- "access_token": "dummytoken",
- "client_id": "be5947ed-3560-4afe-9504-59967a63f810",
- "expires_in": "3599",
- "expires_on": "1541705014",
- "ext_expires_in": "262800",
- "not_before": "1508961830",
- "resource": "https://va"
- }
- }
+ "parameters": {
+ "api-version": "2019-06-01",
+ "Metadata": "true",
+ "resource": "https://vault.azure.net"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access_token": "dummytoken",
+ "client_id": "be5947ed-3560-4afe-9504-59967a63f810",
+ "expires_in": "3599",
+ "expires_on": "1541705014",
+ "ext_expires_in": "262800",
+ "not_before": "1508961830",
+ "resource": "https://va"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json
index 5ae40dcfe56b..ff0e2b31a7f7 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/GetInstanceMetadata.json
@@ -1,98 +1,98 @@
{
- "parameters": {
- "api-version": "2019-06-01",
- "Metadata": "true"
- },
- "responses": {
- "200": {
- "body": {
- "compute": {
- "azEnvironment": "AZUREPUBLICCLOUD",
- "location": "westus",
- "name": "examplevmname",
- "offer": "Windows",
- "osType": "linux",
- "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
- "plan": {
- "name": "planName",
- "product": "planProduct",
- "publisher": "planPublisher"
- },
- "platformFaultDomain": "36",
- "platformUpdateDomain": "42",
- "publicKeys": [
- {
- "keyData": "ssh-rsa 0",
- "path": "/home/user/.ssh/authorized_keys0"
- },
- {
- "keyData": "ssh-rsa 1",
- "path": "/home/user/.ssh/authorized_keys1"
- }
- ],
- "publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
- "resourceGroupName": "macikgo-test-may-23",
- "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
- "sku": "Windows-Server-2012-R2-Datacenter",
- "storageProfile": {
- "dataDisks": [
- {
- "caching": "None",
- "createOption": "Empty",
- "diskSizeGB": "1024",
- "image": {
- "uri": ""
- },
- "lun": "0",
- "managedDisk": {
- "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampledatadiskname",
- "storageAccountType": "Standard_LRS"
- },
- "name": "exampledatadiskname",
- "vhd": {
- "uri": ""
- },
- "writeAcceleratorEnabled": "false"
- }
- ],
- "imageReference": {
- "id": "",
- "offer": "UbuntuServer",
- "publisher": "Canonical",
- "sku": "16.04.0-LTS",
- "version": "latest"
- },
- "osDisk": {
- "caching": "ReadWrite",
- "createOption": "FromImage",
- "diskSizeGB": "30",
- "encryptionSettings": {
- "enabled": "false"
- },
- "image": {
- "uri": ""
- },
- "managedDisk": {
- "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampleosdiskname",
- "storageAccountType": "Standard_LRS"
- },
- "name": "exampleosdiskname",
- "osType": "Linux",
- "vhd": {
- "uri": ""
- },
- "writeAcceleratorEnabled": "false"
- }
- },
- "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
- "tags": "baz:bash;foo:bar",
- "version": "15.05.22",
- "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
- "vmScaleSetName": "crpteste9vflji9",
- "vmSize": "Standard_A3",
- "zone": ""
- }
+ "parameters": {
+ "api-version": "2019-06-01",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "compute": {
+ "azEnvironment": "AZUREPUBLICCLOUD",
+ "location": "westus",
+ "name": "examplevmname",
+ "offer": "Windows",
+ "osType": "linux",
+ "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
+ "plan": {
+ "name": "planName",
+ "product": "planProduct",
+ "publisher": "planPublisher"
+ },
+ "platformFaultDomain": "36",
+ "platformUpdateDomain": "42",
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa 0",
+ "path": "/home/user/.ssh/authorized_keys0"
+ },
+ {
+ "keyData": "ssh-rsa 1",
+ "path": "/home/user/.ssh/authorized_keys1"
}
+ ],
+ "publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
+ "resourceGroupName": "macikgo-test-may-23",
+ "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
+ "sku": "Windows-Server-2012-R2-Datacenter",
+ "storageProfile": {
+ "dataDisks": [
+ {
+ "caching": "None",
+ "createOption": "Empty",
+ "diskSizeGB": "1024",
+ "image": {
+ "uri": ""
+ },
+ "lun": "0",
+ "managedDisk": {
+ "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampledatadiskname",
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "exampledatadiskname",
+ "vhd": {
+ "uri": ""
+ },
+ "writeAcceleratorEnabled": "false"
+ }
+ ],
+ "imageReference": {
+ "id": "",
+ "offer": "UbuntuServer",
+ "publisher": "Canonical",
+ "sku": "16.04.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "diskSizeGB": "30",
+ "encryptionSettings": {
+ "enabled": "false"
+ },
+ "image": {
+ "uri": ""
+ },
+ "managedDisk": {
+ "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampleosdiskname",
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "exampleosdiskname",
+ "osType": "Linux",
+ "vhd": {
+ "uri": ""
+ },
+ "writeAcceleratorEnabled": "false"
+ }
+ },
+ "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
+ "tags": "baz:bash;foo:bar",
+ "version": "15.05.22",
+ "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
+ "vmScaleSetName": "crpteste9vflji9",
+ "vmSize": "Standard_A3",
+ "zone": ""
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json
index 07f249760571..ba6b9ddc0240 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/examples/ListGalleryApplications.json
@@ -6,7 +6,8 @@
"responses": {
"200": {
"body": {
- "applications": [{
+ "applications": [
+ {
"tags": "0",
"enableHealthCheck": true,
"packageFile": {
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json
index 8c8f8d8ea130..e92d7dc35f7a 100644
--- a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json
@@ -1,952 +1,952 @@
-{
- "swagger": "2.0",
- "info": {
- "title": "InstanceMetadataClient",
- "description": "The Azure Instance Metadata Client",
- "version": "2019-06-01"
- },
- "host": "169.254.169.254",
- "basePath": "/metadata",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "InstanceMetadataClient",
+ "description": "The Azure Instance Metadata Client",
+ "version": "2019-06-01"
+ },
+ "host": "169.254.169.254",
+ "basePath": "/metadata",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/applications": {
+ "get": {
+ "operationId": "GalleryApplications_List",
+ "description": "Get list of the gallery applications.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplications"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ },
+ "x-ms-examples": {
+ "Get list of the gallery applications": {
+ "$ref": "./examples/ListGalleryApplications.json"
+ }
}
+ }
},
- "paths": {
- "/applications": {
- "get": {
- "operationId": "GalleryApplications_List",
- "description": "Get list of the gallery applications.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/MetadataParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/GalleryApplications"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get list of the gallery applications": {
- "$ref": "./examples/ListGalleryApplications.json"
- }
- }
+ "/applications/app": {
+ "get": {
+ "operationId": "GalleryApplication_Get",
+ "description": "Get application package.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "name": "incarnationId",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Incarnation Id of the gallery application"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ApplicationResponse"
}
- },
- "/applications/app": {
- "get": {
- "operationId": "GalleryApplication_Get",
- "description": "Get application package.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/MetadataParameter"
- },
- {
- "name": "incarnationId",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Incarnation Id of the gallery application"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/ApplicationResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get gallery application package": {
- "$ref": "./examples/GetGalleryApplication.json"
- }
- }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
},
- "/instance": {
- "get": {
- "operationId": "Instances_GetMetadata",
- "description": "Get Instance Metadata for the Virtual Machine.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/MetadataParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/Instance"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Instance Metadata for the VM": {
- "$ref": "./examples/GetInstanceMetadata.json"
- }
- }
+ "x-ms-examples": {
+ "Get gallery application package": {
+ "$ref": "./examples/GetGalleryApplication.json"
+ }
+ }
+ }
+ },
+ "/instance": {
+ "get": {
+ "operationId": "Instances_GetMetadata",
+ "description": "Get Instance Metadata for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Instance"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
},
- "/attested/document": {
- "get": {
- "operationId": "Attested_GetDocument",
- "description": "Get Attested Data for the Virtual Machine.",
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "nonce",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "This is a string of up to 32 random alphanumeric characters."
- },
- {
- "$ref": "#/parameters/MetadataParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "OK",
- "schema": {
- "$ref": "#/definitions/AttestedData"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Attested Data for the VM": {
- "$ref": "./examples/GetAttestedData.json"
- }
- }
+ "x-ms-examples": {
+ "Get Instance Metadata for the VM": {
+ "$ref": "./examples/GetInstanceMetadata.json"
+ }
+ }
+ }
+ },
+ "/attested/document": {
+ "get": {
+ "operationId": "Attested_GetDocument",
+ "description": "Get Attested Data for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "nonce",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "This is a string of up to 32 random alphanumeric characters."
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AttestedData"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
},
- "/identity/oauth2/token": {
- "get": {
- "tags": [
- "Get token"
- ],
- "description": "Get a Token from Azure AD",
- "operationId": "Identity_GetToken",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/MetadataParameter"
- },
- {
- "name": "resource",
- "in": "query",
- "type": "string",
- "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.",
- "required": true
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "client_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.",
- "required": false
- },
- {
- "name": "object_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.",
- "required": false
- },
- {
- "name": "msi_res_id",
- "in": "query",
- "type": "string",
- "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.",
- "required": false
- },
- {
- "name": "authority",
- "in": "query",
- "type": "string",
- "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.",
- "required": false
- },
- {
- "name": "bypass_cache",
- "in": "query",
- "type": "string",
- "enum": [
- "true"
- ],
- "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.",
- "required": false,
- "x-ms-enum": {
- "name": "BypassCache",
- "modelAsString": true
- }
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation",
- "schema": {
- "$ref": "#/definitions/IdentityTokenResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/IdentityErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Identity Token for the VM": {
- "$ref": "./examples/GetIdentityToken.json"
- }
- }
+ "x-ms-examples": {
+ "Get Attested Data for the VM": {
+ "$ref": "./examples/GetAttestedData.json"
+ }
+ }
+ }
+ },
+ "/identity/oauth2/token": {
+ "get": {
+ "tags": [
+ "Get token"
+ ],
+ "description": "Get a Token from Azure AD",
+ "operationId": "Identity_GetToken",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "name": "resource",
+ "in": "query",
+ "type": "string",
+ "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.",
+ "required": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "client_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "object_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "msi_res_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.",
+ "required": false
+ },
+ {
+ "name": "authority",
+ "in": "query",
+ "type": "string",
+ "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.",
+ "required": false
+ },
+ {
+ "name": "bypass_cache",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.",
+ "required": false,
+ "x-ms-enum": {
+ "name": "BypassCache",
+ "modelAsString": true
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityTokenResponse"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
+ }
+ }
},
- "/identity/info": {
- "get": {
- "tags": [
- "Get metadata information"
- ],
- "description": "Get information about AAD Metadata",
- "operationId": "Identity_GetInfo",
- "produces": [
- "application/json"
- ],
- "parameters": [
- {
- "$ref": "#/parameters/MetadataParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "Successful operation",
- "schema": {
- "$ref": "#/definitions/IdentityInfoResponse"
- }
- },
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/IdentityErrorResponse"
- }
- }
- },
- "x-ms-examples": {
- "Get Identity Info for the VM": {
- "$ref": "./examples/GetIdentityInfo.json"
- }
- }
+ "x-ms-examples": {
+ "Get Identity Token for the VM": {
+ "$ref": "./examples/GetIdentityToken.json"
+ }
+ }
+ }
+ },
+ "/identity/info": {
+ "get": {
+ "tags": [
+ "Get metadata information"
+ ],
+ "description": "Get information about AAD Metadata",
+ "operationId": "Identity_GetInfo",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityInfoResponse"
}
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Identity Info for the VM": {
+ "$ref": "./examples/GetIdentityInfo.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Compute": {
+ "type": "object",
+ "properties": {
+ "azEnvironment": {
+ "type": "string",
+ "description": "This is the name of the environment in which the VM is running."
+ },
+ "location": {
+ "type": "string",
+ "description": "This is the Azure Region in which the VM is running."
+ },
+ "name": {
+ "type": "string",
+ "description": "This is the name of the VM."
+ },
+ "offer": {
+ "type": "string",
+ "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery."
+ },
+ "osType": {
+ "type": "string",
+ "description": "This value indicates the type of OS the VM is running, either Linux or Windows."
+ },
+ "placementGroupId": {
+ "type": "string",
+ "description": "This is the placement group of your Virtual Machine Scale Set."
+ },
+ "plan": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "$ref": "#/definitions/PlanProperties"
+ },
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicKeysProperties"
+ },
+ "description": "This is information about the SSH certificate"
+ },
+ "platformFaultDomain": {
+ "type": "string",
+ "description": "This is the fault domain in which the VM."
+ },
+ "platformUpdateDomain": {
+ "type": "string",
+ "description": "This is the update domain in which the VM."
+ },
+ "provider": {
+ "type": "string",
+ "description": "This is the provider of the VM."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher of the VM image."
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "This is the resource group for the VM."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "This is the fully qualified ID for the VM."
+ },
+ "sku": {
+ "type": "string",
+ "description": "This is the specific SKU for the VM image."
+ },
+ "storageProfile": {
+ "type": "object",
+ "description": "This contains the data about the storage disks associated with the VM.",
+ "$ref": "#/definitions/StorageProfile"
+ },
+ "subscriptionId": {
+ "type": "string",
+ "description": "This is the Azure subscription for the VM."
+ },
+ "tags": {
+ "type": "string",
+ "description": "This is the list of tags for your VM."
+ },
+ "version": {
+ "type": "string",
+ "description": "This is the version of the VM image."
+ },
+ "vmId": {
+ "type": "string",
+ "description": "This is the unique identifier for the VM."
+ },
+ "vmScaleSetName": {
+ "type": "string",
+ "description": "This is the resource name of the VMSS."
+ },
+ "vmSize": {
+ "type": "string",
+ "description": "This is the size of the VM."
+ },
+ "zone": {
+ "type": "string",
+ "description": "This is the availability zone of the VM."
}
+ },
+ "description": "Compute Metadata"
},
- "definitions": {
- "Compute": {
- "type": "object",
- "properties": {
- "azEnvironment": {
- "type": "string",
- "description": "This is the name of the environment in which the VM is running."
- },
- "location": {
- "type": "string",
- "description": "This is the Azure Region in which the VM is running."
- },
- "name": {
- "type": "string",
- "description": "This is the name of the VM."
- },
- "offer": {
- "type": "string",
- "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery."
- },
- "osType": {
- "type": "string",
- "description": "This value indicates the type of OS the VM is running, either Linux or Windows."
- },
- "placementGroupId": {
- "type": "string",
- "description": "This is the placement group of your Virtual Machine Scale Set."
- },
- "plan": {
- "type": "object",
- "description": "This contains the data about the plan.",
- "$ref": "#/definitions/PlanProperties"
- },
- "publicKeys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicKeysProperties"
- },
- "description": "This is information about the SSH certificate"
- },
- "platformFaultDomain": {
- "type": "string",
- "description": "This is the fault domain in which the VM."
- },
- "platformUpdateDomain": {
- "type": "string",
- "description": "This is the update domain in which the VM."
- },
- "provider": {
- "type": "string",
- "description": "This is the provider of the VM."
- },
- "publisher": {
- "type": "string",
- "description": "This is the publisher of the VM image."
- },
- "resourceGroupName": {
- "type": "string",
- "description": "This is the resource group for the VM."
- },
- "resourceId": {
- "type": "string",
- "description": "This is the fully qualified ID for the VM."
- },
- "sku": {
- "type": "string",
- "description": "This is the specific SKU for the VM image."
- },
- "storageProfile": {
- "type": "object",
- "description": "This contains the data about the storage disks associated with the VM.",
- "$ref": "#/definitions/StorageProfile"
- },
- "subscriptionId": {
- "type": "string",
- "description": "This is the Azure subscription for the VM."
- },
- "tags": {
- "type": "string",
- "description": "This is the list of tags for your VM."
- },
- "version": {
- "type": "string",
- "description": "This is the version of the VM image."
- },
- "vmId": {
- "type": "string",
- "description": "This is the unique identifier for the VM."
- },
- "vmScaleSetName": {
- "type": "string",
- "description": "This is the resource name of the VMSS."
- },
- "vmSize": {
- "type": "string",
- "description": "This is the size of the VM."
- },
- "zone": {
- "type":"string",
- "description":"This is the availability zone of the VM."
- }
- },
- "description": "Compute Metadata"
- },
- "Network": {
+ "Network": {
+ "type": "object",
+ "properties": {
+ "interface": {
+ "type": "array",
+ "description": "This contains data about the network interface.",
+ "items": {
"type": "object",
- "properties": {
- "interface": {
- "type":"array",
- "description": "This contains data about the network interface.",
- "items": {
- "type": "object",
- "$ref": "#/definitions/NetworkInterface"
- }
- }
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ }
+ },
+ "description": "Network Metadata"
+ },
+ "NetworkInterface": {
+ "type": "object",
+ "description": "This contains data about the network interface.",
+ "properties": {
+ "ipv4": {
+ "type": "object",
+ "description": "This contains the IPv4 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "$ref": "#/definitions/Ipv4Properties"
+ }
},
- "description": "Network Metadata"
- },
- "NetworkInterface": {
- "type": "object",
- "description": "This contains data about the network interface.",
- "properties": {
- "ipv4": {
- "type":"object",
- "description": "This contains the IPv4 address.",
- "properties": {
- "ipAddress": {
- "type":"array",
- "description": "This is the IP address",
- "items": {
- "type": "object",
- "description": "This contains the IPv4 properties.",
- "$ref":"#/definitions/Ipv4Properties"
- }
- },
- "subnet": {
- "type":"array",
- "description": "This is the subnet",
- "items": {
- "type": "object",
- "description": "This contains the subnet properties.",
- "$ref": "#/definitions/SubnetProperties"
- }
- }
- }
- },
- "ipv6": {
- "type":"object",
- "description": "This contains the IPv6 address.",
- "properties": {
- "ipAddress": {
- "type":"array",
- "description": "This is the IP address",
- "items": {
- "type": "object",
- "description": "This contains the IPv6 properties.",
- "$ref":"#/definitions/Ipv6Properties"
- }
- }
- }
- },
- "macAddress": {
- "type":"string",
- "description":"This is the MAC address of the interface."
- }
+ "subnet": {
+ "type": "array",
+ "description": "This is the subnet",
+ "items": {
+ "type": "object",
+ "description": "This contains the subnet properties.",
+ "$ref": "#/definitions/SubnetProperties"
+ }
}
+ }
},
- "PlanProperties": {
- "type": "object",
- "description": "This contains the data about the plan.",
- "properties": {
- "name": {
- "type": "string",
- "description": "This is the Plan ID."
- },
- "publisher": {
- "type": "string",
- "description": "This is the publisher ID."
- },
- "product": {
- "type": "string",
- "description": "This is the product of the image from the Marketplace."
- }
+ "ipv6": {
+ "type": "object",
+ "description": "This contains the IPv6 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "$ref": "#/definitions/Ipv6Properties"
+ }
}
+ }
},
- "PublicKeysProperties": {
- "type": "object",
- "description": "This contains the data about the public key.",
- "properties": {
- "path": {
- "type": "string",
- "description": "This specifies the full path on the VM where the SSH public key is stored."
- },
- "keyData": {
- "type": "string",
- "description": "This is the SSH public key certificate used to authenticate with the VM."
- }
- }
+ "macAddress": {
+ "type": "string",
+ "description": "This is the MAC address of the interface."
+ }
+ }
+ },
+ "PlanProperties": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "This is the Plan ID."
},
- "Ipv4Properties": {
- "type": "object",
- "description": "This contains the IPv4 properties.",
- "properties": {
- "privateIpAddress": {
- "type":"string",
- "description":"This is the private IP address assigned to the interface."
- },
- "publicIpAddress": {
- "type":"string",
- "description":"This is the public IP address assigned to the interface."
- }
- }
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher ID."
},
- "Ipv6Properties": {
- "type": "object",
- "description": "This contains the IPv6 properties.",
- "properties": {
- "privateIpAddress": {
- "type":"string",
- "description":"This is the private IPv6 address assigned to the interface."
- }
- }
+ "product": {
+ "type": "string",
+ "description": "This is the product of the image from the Marketplace."
+ }
+ }
+ },
+ "PublicKeysProperties": {
+ "type": "object",
+ "description": "This contains the data about the public key.",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "This specifies the full path on the VM where the SSH public key is stored."
},
- "SubnetProperties": {
- "type": "object",
- "description": "This contains the properties of the subnet.",
- "properties": {
- "address": {
- "type":"string",
- "description":"This is the address range of the subnet."
- },
- "prefix": {
- "type":"string",
- "description":"This is the prefix of the subnet."
- }
- }
+ "keyData": {
+ "type": "string",
+ "description": "This is the SSH public key certificate used to authenticate with the VM."
+ }
+ }
+ },
+ "Ipv4Properties": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IP address assigned to the interface."
},
- "StorageProfile": {
- "type": "object",
- "description": "This contains the data about the storage disks associated with the VM.",
- "properties": {
- "imageReference": {
- "type": "object",
- "$ref": "#/definitions/ImageReference",
- "description": "Image information"
- },
- "osDisk": {
- "type": "object",
- "$ref": "#/definitions/OsDisk",
- "description": "OS disk information"
- },
- "dataDisks": {
- "type":"array",
- "description": "Data disk information",
- "items": {
- "type": "object",
- "description": "This contains information about the data disk.",
- "$ref": "#/definitions/DataDisk"
- }
- }
- }
+ "publicIpAddress": {
+ "type": "string",
+ "description": "This is the public IP address assigned to the interface."
+ }
+ }
+ },
+ "Ipv6Properties": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IPv6 address assigned to the interface."
+ }
+ }
+ },
+ "SubnetProperties": {
+ "type": "object",
+ "description": "This contains the properties of the subnet.",
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "This is the address range of the subnet."
},
- "ImageReference": {
- "type": "object",
- "description": "This contains information about the OS image.",
- "properties": {
- "id": {
- "type": "string",
- "description": "This is the resource ID."
- },
- "offer": {
- "type": "string",
- "description": "This is the offer of the platform or marketplace image."
- },
- "publisher": {
- "type": "string",
- "description": "This is the image publisher."
- },
- "sku": {
- "type": "string",
- "description": "This is the image SKU."
- },
- "version": {
- "type": "string",
- "description": "This is the version of the platform or marketplace image."
- }
- }
+ "prefix": {
+ "type": "string",
+ "description": "This is the prefix of the subnet."
+ }
+ }
+ },
+ "StorageProfile": {
+ "type": "object",
+ "description": "This contains the data about the storage disks associated with the VM.",
+ "properties": {
+ "imageReference": {
+ "type": "object",
+ "$ref": "#/definitions/ImageReference",
+ "description": "Image information"
},
- "OsDisk": {
- "type": "object",
- "description": "This contains information about the OS disk used by the VM.",
- "properties": {
- "caching": {
- "type": "string",
- "description": "This is the the caching requirements."
- },
- "createOption": {
- "type": "string",
- "description": "This is information about how the VM was created."
- },
- "diskSizeGB": {
- "type": "string",
- "description": "This is the size of the disk in GB."
- },
- "encryptionSettings": {
- "type": "object",
- "description": "This is the encryption settings for the disk.",
- "$ref": "#/definitions/EncryptionSettings"
- },
- "image": {
- "type": "object",
- "description": "This is the source user image virtual hard disk.",
- "$ref": "#/definitions/DiskImage"
- },
- "managedDisk": {
- "type": "object",
- "description": "This is managed disk parameters.",
- "$ref": "#/definitions/ManagedDisk"
- },
- "name": {
- "type": "string",
- "description": "This is the disk name."
- },
- "osType": {
- "type": "string",
- "description": "This is the type of OS included in the disk."
- },
- "vhd": {
- "type": "object",
- "description": "This is the virtual hard disk.",
- "$ref": "#/definitions/VirtualHardDisk"
- },
- "writeAcceleratorEnabled": {
- "type": "string",
- "description": "This specifies whether or not writeAccelerator is enabled on the disk."
- }
- }
+ "osDisk": {
+ "type": "object",
+ "$ref": "#/definitions/OsDisk",
+ "description": "OS disk information"
},
- "DataDisk": {
+ "dataDisks": {
+ "type": "array",
+ "description": "Data disk information",
+ "items": {
"type": "object",
"description": "This contains information about the data disk.",
- "properties": {
- "caching": {
- "type": "string",
- "description": "This is the the caching requirements."
- },
- "createOption": {
- "type": "string",
- "description": "This is information about how the VM was created."
- },
- "diskSizeGB": {
- "type": "string",
- "description": "This is the size of the disk in GB."
- },
- "image": {
- "type": "object",
- "description": "This is the source user image virtual hard disk.",
- "$ref": "#/definitions/DiskImage"
- },
- "lun": {
- "type": "string",
- "description": "This is the logical unit number of the disk."
- },
- "managedDisk": {
- "type": "object",
- "description": "This is managed disk parameters.",
- "$ref": "#/definitions/ManagedDisk"
- },
- "name": {
- "type": "string",
- "description": "This is the disk name."
- },
- "vhd": {
- "type": "object",
- "description": "This is the virtual hard disk.",
- "$ref": "#/definitions/VirtualHardDisk"
- },
- "writeAcceleratorEnabled": {
- "type": "string",
- "description": "This specifies whether or not writeAccelerator is enabled on the disk."
- }
- }
+ "$ref": "#/definitions/DataDisk"
+ }
+ }
+ }
+ },
+ "ImageReference": {
+ "type": "object",
+ "description": "This contains information about the OS image.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "This is the resource ID."
},
- "EncryptionSettings": {
- "type": "object",
- "description": "This is the encryption settings for the disk.",
- "properties": {
- "enabled": {
- "type": "string",
- "description": "This specifies whether or not disk encryption is enabled on the VM."
- }
- }
+ "offer": {
+ "type": "string",
+ "description": "This is the offer of the platform or marketplace image."
},
- "DiskImage": {
- "type": "object",
- "description": "This is the source user image virtual hard disk.",
- "properties": {
- "uri": {
- "type": "string",
- "description": "This is the uri of the virtual hard disk."
- }
- }
+ "publisher": {
+ "type": "string",
+ "description": "This is the image publisher."
},
- "ManagedDisk": {
- "type": "object",
- "description": "This is managed disk parameters.",
- "properties": {
- "id": {
- "type": "string",
- "description": "This is the resource ID."
- },
- "storageAccountType": {
- "type": "string",
- "description": "This is the storage account type for the managed disk."
- }
- }
+ "sku": {
+ "type": "string",
+ "description": "This is the image SKU."
},
- "VirtualHardDisk": {
- "type": "object",
- "description": "This is the virtual hard disk.",
- "properties": {
- "uri": {
- "type": "string",
- "description": "This is the uri of the virtual hard disk."
- }
- }
+ "version": {
+ "type": "string",
+ "description": "This is the version of the platform or marketplace image."
+ }
+ }
+ },
+ "OsDisk": {
+ "type": "object",
+ "description": "This contains information about the OS disk used by the VM.",
+ "properties": {
+ "caching": {
+ "type": "string",
+ "description": "This is the caching requirements."
},
- "ApplicationResponse": {
- "type": "string",
- "description": "This is a binary string containing the application."
+ "createOption": {
+ "type": "string",
+ "description": "This is information about how the VM was created."
},
- "GalleryApplications": {
- "type": "object",
- "description": "This is the response from the GalleryApplications_List operation.",
- "properties": {
- "applications": {
- "type":"array",
- "description": "List of gallery applications",
- "items": {
- "type": "object",
- "description": "This contains information about the gallery application.",
- "$ref": "#/definitions/GalleryApplication"
- }
- }
- }
+ "diskSizeGB": {
+ "type": "string",
+ "description": "This is the size of the disk in GB."
+ },
+ "encryptionSettings": {
+ "type": "object",
+ "description": "This is the encryption settings for the disk.",
+ "$ref": "#/definitions/EncryptionSettings"
+ },
+ "image": {
+ "type": "object",
+ "description": "This is the source user image virtual hard disk.",
+ "$ref": "#/definitions/DiskImage"
+ },
+ "managedDisk": {
+ "type": "object",
+ "description": "This is managed disk parameters.",
+ "$ref": "#/definitions/ManagedDisk"
+ },
+ "name": {
+ "type": "string",
+ "description": "This is the disk name."
+ },
+ "osType": {
+ "type": "string",
+ "description": "This is the type of OS included in the disk."
+ },
+ "vhd": {
+ "type": "object",
+ "description": "This is the virtual hard disk.",
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ "writeAcceleratorEnabled": {
+ "type": "string",
+ "description": "This specifies whether or not writeAccelerator is enabled on the disk."
+ }
+ }
+ },
+ "DataDisk": {
+ "type": "object",
+ "description": "This contains information about the data disk.",
+ "properties": {
+ "caching": {
+ "type": "string",
+ "description": "This is the caching requirements."
+ },
+ "createOption": {
+ "type": "string",
+ "description": "This is information about how the VM was created."
+ },
+ "diskSizeGB": {
+ "type": "string",
+ "description": "This is the size of the disk in GB."
+ },
+ "image": {
+ "type": "object",
+ "description": "This is the source user image virtual hard disk.",
+ "$ref": "#/definitions/DiskImage"
+ },
+ "lun": {
+ "type": "string",
+ "description": "This is the logical unit number of the disk."
+ },
+ "managedDisk": {
+ "type": "object",
+ "description": "This is managed disk parameters.",
+ "$ref": "#/definitions/ManagedDisk"
+ },
+ "name": {
+ "type": "string",
+ "description": "This is the disk name."
+ },
+ "vhd": {
+ "type": "object",
+ "description": "This is the virtual hard disk.",
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ "writeAcceleratorEnabled": {
+ "type": "string",
+ "description": "This specifies whether or not writeAccelerator is enabled on the disk."
+ }
+ }
+ },
+ "EncryptionSettings": {
+ "type": "object",
+ "description": "This is the encryption settings for the disk.",
+ "properties": {
+ "enabled": {
+ "type": "string",
+ "description": "This specifies whether or not disk encryption is enabled on the VM."
+ }
+ }
+ },
+ "DiskImage": {
+ "type": "object",
+ "description": "This is the source user image virtual hard disk.",
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "This is the uri of the virtual hard disk."
+ }
+ }
+ },
+ "ManagedDisk": {
+ "type": "object",
+ "description": "This is managed disk parameters.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "This is the resource ID."
},
- "GalleryApplication": {
+ "storageAccountType": {
+ "type": "string",
+ "description": "This is the storage account type for the managed disk."
+ }
+ }
+ },
+ "VirtualHardDisk": {
+ "type": "object",
+ "description": "This is the virtual hard disk.",
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "This is the uri of the virtual hard disk."
+ }
+ }
+ },
+ "ApplicationResponse": {
+ "type": "string",
+ "description": "This is a binary string containing the application."
+ },
+ "GalleryApplications": {
+ "type": "object",
+ "description": "This is the response from the GalleryApplications_List operation.",
+ "properties": {
+ "applications": {
+ "type": "array",
+ "description": "List of gallery applications",
+ "items": {
"type": "object",
"description": "This contains information about the gallery application.",
- "properties": {
- "tags": {
- "type": "string",
- "description": "Optional attribute to passthrough value for more generic context"
- },
- "enableHealthCheck": {
- "type": "boolean",
- "description": "It indicates if this application reports health status"
- },
- "packageFile": {
- "$ref": "#/definitions/PackageFile",
- "description": "Package properties of the gallery application"
- }
- }
+ "$ref": "#/definitions/GalleryApplication"
+ }
+ }
+ }
+ },
+ "GalleryApplication": {
+ "type": "object",
+ "description": "This contains information about the gallery application.",
+ "properties": {
+ "tags": {
+ "type": "string",
+ "description": "Optional attribute to passthrough value for more generic context"
},
- "PackageFile": {
- "type": "object",
- "description": "Package properties of the gallery application.",
- "properties": {
- "id": {
- "type": "string",
- "description": "Resource id of the gallery application"
- },
- "incarnationId": {
- "type": "string",
- "description": "Unique identifier for this particular application instance"
- },
- "fileName": {
- "type": "string",
- "description": "Application package file name"
- },
- "contentType": {
- "type": "string",
- "description": "Application package type"
- }
- }
+ "enableHealthCheck": {
+ "type": "boolean",
+ "description": "It indicates if this application reports health status"
},
- "Instance": {
- "type": "object",
- "description": "This is the response from the Instance_GetMetadata operation.",
- "properties": {
- "compute": {
- "$ref": "#/definitions/Compute",
- "description": "Compute Metadata"
- },
- "network": {
- "$ref": "#/definitions/Network",
- "description": "Network Metadata"
- }
- }
+ "packageFile": {
+ "$ref": "#/definitions/PackageFile",
+ "description": "Package properties of the gallery application"
+ }
+ }
+ },
+ "PackageFile": {
+ "type": "object",
+ "description": "Package properties of the gallery application.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource id of the gallery application"
},
- "AttestedData": {
- "type": "object",
- "description": "This is the response from the Attested_GetDocument operation.",
- "properties": {
- "signature": {
- "type": "string",
- "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value."
- },
- "encoding": {
- "type": "string",
- "description": "This is the encoding scheme of the signature."
- }
- }
+ "incarnationId": {
+ "type": "string",
+ "description": "Unique identifier for this particular application instance"
},
- "ErrorResponse": {
- "description": "This is the response from an operation in the case an error occurs.",
- "type": "object",
- "properties": {
- "error": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
- }
+ "fileName": {
+ "type": "string",
+ "description": "Application package file name"
},
- "IdentityErrorResponse": {
- "type": "object",
- "description": "This is the response from an Identity operation in the case an error occurs.",
- "properties": {
- "error": {
- "type": "string",
- "description": "Error code",
- "enum": [
- "invalid_request",
- "unauthorized_client",
- "access_denied",
- "unsupported_response_type",
- "invalid_scope",
- "server_error",
- "service_unavailable",
- "bad_request",
- "forbidden",
- "not_found",
- "method_not_allowed",
- "too_many_requests"
- ],
- "x-ms-enum": {
- "name": "Error",
- "modelAsString": true
- }
- },
- "error_description": {
- "type": "string",
- "description": "Error message indicating why the operation failed."
- }
- }
+ "contentType": {
+ "type": "string",
+ "description": "Application package type"
+ }
+ }
+ },
+ "Instance": {
+ "type": "object",
+ "description": "This is the response from the Instance_GetMetadata operation.",
+ "properties": {
+ "compute": {
+ "$ref": "#/definitions/Compute",
+ "description": "Compute Metadata"
},
- "IdentityTokenResponse": {
- "type": "object",
- "description": "This is the response from the Identity_GetToken operation.",
- "properties": {
- "access_token": {
- "type": "string",
- "description": "This is the requested access token. The app can use this token to authenticate to the sink resource."
- },
- "expires_in": {
- "type": "string",
- "description": "This is how long the access token is valid (in seconds)."
- },
- "expires_on": {
- "type": "string",
- "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens."
- },
- "ext_expires_in": {
- "type": "string",
- "description": "This indicates the extended lifetime of the token (in seconds)."
- },
- "not_before": {
- "type": "string",
- "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time."
- },
- "resource": {
- "type": "string",
- "description": "This is the app ID URI of the sink resource."
- },
- "token_type": {
- "type": "string",
- "description": "This indicates the token type value."
- },
- "client_id": {
- "type": "string",
- "description": "This is the client_id specified in the request, if any."
- },
- "object_id": {
- "type": "string",
- "description": "This is the object_id specified in the request, if any."
- },
- "msi_res_id": {
- "type": "string",
- "description": "This is the msi_res_id specified in the request, if any."
- }
- }
+ "network": {
+ "$ref": "#/definitions/Network",
+ "description": "Network Metadata"
+ }
+ }
+ },
+ "AttestedData": {
+ "type": "object",
+ "description": "This is the response from the Attested_GetDocument operation.",
+ "properties": {
+ "signature": {
+ "type": "string",
+ "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value."
},
- "IdentityInfoResponse": {
- "type": "object",
- "description": "This is the response from the Identity_GetInfo operation.",
- "properties": {
- "tenantId": {
- "type": "string",
- "description": "This is the AAD tenantId of the identity of the caller."
- }
- }
+ "encoding": {
+ "type": "string",
+ "description": "This is the encoding scheme of the signature."
}
+ }
},
- "parameters": {
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "type": "string",
- "enum": [
- "2018-10-01"
- ],
- "description": "This is the API version to use.",
- "required": true,
- "x-ms-enum": {
- "name": "ApiVersion",
- "modelAsString": true
- }
+ "ErrorResponse": {
+ "description": "This is the response from an operation in the case an error occurs.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "IdentityErrorResponse": {
+ "type": "object",
+ "description": "This is the response from an Identity operation in the case an error occurs.",
+ "properties": {
+ "error": {
+ "type": "string",
+ "description": "Error code",
+ "enum": [
+ "invalid_request",
+ "unauthorized_client",
+ "access_denied",
+ "unsupported_response_type",
+ "invalid_scope",
+ "server_error",
+ "service_unavailable",
+ "bad_request",
+ "forbidden",
+ "not_found",
+ "method_not_allowed",
+ "too_many_requests"
+ ],
+ "x-ms-enum": {
+ "name": "Error",
+ "modelAsString": true
+ }
},
- "MetadataParameter": {
- "name": "Metadata",
- "in": "header",
- "type": "string",
- "enum": [
- "true"
- ],
- "description": "This must be set to 'true'.",
- "required": true,
- "x-ms-parameter-location": "method"
+ "error_description": {
+ "type": "string",
+ "description": "Error message indicating why the operation failed."
}
+ }
+ },
+ "IdentityTokenResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetToken operation.",
+ "properties": {
+ "access_token": {
+ "type": "string",
+ "description": "This is the requested access token. The app can use this token to authenticate to the sink resource."
+ },
+ "expires_in": {
+ "type": "string",
+ "description": "This is how long the access token is valid (in seconds)."
+ },
+ "expires_on": {
+ "type": "string",
+ "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens."
+ },
+ "ext_expires_in": {
+ "type": "string",
+ "description": "This indicates the extended lifetime of the token (in seconds)."
+ },
+ "not_before": {
+ "type": "string",
+ "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time."
+ },
+ "resource": {
+ "type": "string",
+ "description": "This is the app ID URI of the sink resource."
+ },
+ "token_type": {
+ "type": "string",
+ "description": "This indicates the token type value."
+ },
+ "client_id": {
+ "type": "string",
+ "description": "This is the client_id specified in the request, if any."
+ },
+ "object_id": {
+ "type": "string",
+ "description": "This is the object_id specified in the request, if any."
+ },
+ "msi_res_id": {
+ "type": "string",
+ "description": "This is the msi_res_id specified in the request, if any."
+ }
+ }
+ },
+ "IdentityInfoResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetInfo operation.",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "This is the AAD tenantId of the identity of the caller."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "2018-10-01"
+ ],
+ "description": "This is the API version to use.",
+ "required": true,
+ "x-ms-enum": {
+ "name": "ApiVersion",
+ "modelAsString": true
+ }
+ },
+ "MetadataParameter": {
+ "name": "Metadata",
+ "in": "header",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "This must be set to 'true'.",
+ "required": true,
+ "x-ms-parameter-location": "method"
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetAttestedData.json
new file mode 100644
index 000000000000..24b5ca629bca
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetAttestedData.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "nonce": "abcde12345",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "encoding": "pkcs7",
+ "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL"
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetGalleryApplication.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetGalleryApplication.json
new file mode 100644
index 000000000000..a998ac8becce
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetGalleryApplication.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "Metadata": "true",
+ "incarnationId": "b845c18d-b249-4c7a-a4c3-ffdd51757ccd"
+ },
+ "responses": {
+ "200": {
+ "body": "{application binary package}"
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetIdentityInfo.json
new file mode 100644
index 000000000000..ab702f77c2e2
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetIdentityInfo.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetIdentityToken.json
new file mode 100644
index 000000000000..3c6f4846d006
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetIdentityToken.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "Metadata": "true",
+ "resource": "https://vault.azure.net"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access_token": "dummytoken",
+ "client_id": "be5947ed-3560-4afe-9504-59967a63f810",
+ "expires_in": "3599",
+ "expires_on": "1541705014",
+ "ext_expires_in": "262800",
+ "not_before": "1508961830",
+ "resource": "https://va"
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetInstanceMetadata.json
new file mode 100644
index 000000000000..f28eb0df5cb4
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/GetInstanceMetadata.json
@@ -0,0 +1,101 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "compute": {
+ "azEnvironment": "AZUREPUBLICCLOUD",
+ "location": "westus",
+ "name": "examplevmname",
+ "offer": "Windows",
+ "osType": "linux",
+ "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
+ "plan": {
+ "name": "planName",
+ "product": "planProduct",
+ "publisher": "planPublisher"
+ },
+ "platformFaultDomain": "36",
+ "platformUpdateDomain": "42",
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa 0",
+ "path": "/home/user/.ssh/authorized_keys0"
+ },
+ {
+ "keyData": "ssh-rsa 1",
+ "path": "/home/user/.ssh/authorized_keys1"
+ }
+ ],
+ "publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
+ "resourceGroupName": "macikgo-test-may-23",
+ "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
+ "sku": "Windows-Server-2012-R2-Datacenter",
+ "storageProfile": {
+ "dataDisks": [
+ {
+ "caching": "None",
+ "createOption": "Empty",
+ "diskSizeGB": "1024",
+ "image": {
+ "uri": ""
+ },
+ "lun": "0",
+ "managedDisk": {
+ "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampledatadiskname",
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "exampledatadiskname",
+ "vhd": {
+ "uri": ""
+ },
+ "writeAcceleratorEnabled": "false"
+ }
+ ],
+ "imageReference": {
+ "id": "",
+ "offer": "UbuntuServer",
+ "publisher": "Canonical",
+ "sku": "16.04.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "diskSizeGB": "30",
+ "diffDiskSettings": {
+ "option": "Local"
+ },
+ "encryptionSettings": {
+ "enabled": "false"
+ },
+ "image": {
+ "uri": ""
+ },
+ "managedDisk": {
+ "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampleosdiskname",
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "exampleosdiskname",
+ "osType": "Linux",
+ "vhd": {
+ "uri": ""
+ },
+ "writeAcceleratorEnabled": "false"
+ }
+ },
+ "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
+ "tags": "baz:bash;foo:bar",
+ "version": "15.05.22",
+ "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
+ "vmScaleSetName": "crpteste9vflji9",
+ "vmSize": "Standard_A3",
+ "zone": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/ListGalleryApplications.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/ListGalleryApplications.json
new file mode 100644
index 000000000000..f288b6c1e3a8
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/examples/ListGalleryApplications.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-08-01",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "applications": [
+ {
+ "tags": "0",
+ "enableHealthCheck": true,
+ "packageFile": {
+ "contentType": "zip",
+ "fileName": "myapp.zip",
+ "id": "/subscriptions/12345678-65F4-4A5A-839F-E7CFB49F1541/resourceGroups/rgName/providers/Microsoft.Compute/galleries/msit-certified/applications/application/versions/1.0",
+ "incarnationId": "b845c18d-b249-4c7a-a4c3-ffdd51757ccd"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/imds.json
new file mode 100644
index 000000000000..38725e99bda6
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-01/imds.json
@@ -0,0 +1,950 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "InstanceMetadataClient",
+ "description": "The Azure Instance Metadata Client",
+ "version": "2019-08-01"
+ },
+ "host": "169.254.169.254",
+ "basePath": "/metadata",
+ "schemes": [
+ "http",
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "paths": {
+ "/applications": {
+ "get": {
+ "operationId": "GalleryApplications_List",
+ "description": "Get list of the gallery applications.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplications"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get list of the gallery applications": {
+ "$ref": "./examples/ListGalleryApplications.json"
+ }
+ }
+ }
+ },
+ "/applications/app": {
+ "get": {
+ "operationId": "GalleryApplication_Get",
+ "description": "Get application package.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "name": "incarnationId",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Incarnation Id of the gallery application"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ApplicationResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get gallery application package": {
+ "$ref": "./examples/GetGalleryApplication.json"
+ }
+ }
+ }
+ },
+ "/instance": {
+ "get": {
+ "operationId": "Instances_GetMetadata",
+ "description": "Get Instance Metadata for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Instance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Instance Metadata for the VM": {
+ "$ref": "./examples/GetInstanceMetadata.json"
+ }
+ }
+ }
+ },
+ "/attested/document": {
+ "get": {
+ "operationId": "Attested_GetDocument",
+ "description": "Get Attested Data for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "nonce",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "This is a string of up to 32 random alphanumeric characters."
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AttestedData"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Attested Data for the VM": {
+ "$ref": "./examples/GetAttestedData.json"
+ }
+ }
+ }
+ },
+ "/identity/oauth2/token": {
+ "get": {
+ "tags": [
+ "Get token"
+ ],
+ "description": "Get a Token from Azure AD",
+ "operationId": "Identity_GetToken",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "name": "resource",
+ "in": "query",
+ "type": "string",
+ "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.",
+ "required": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "client_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "object_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "msi_res_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.",
+ "required": false
+ },
+ {
+ "name": "authority",
+ "in": "query",
+ "type": "string",
+ "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.",
+ "required": false
+ },
+ {
+ "name": "bypass_cache",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.",
+ "required": false,
+ "x-ms-enum": {
+ "name": "BypassCache",
+ "modelAsString": true
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityTokenResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Identity Token for the VM": {
+ "$ref": "./examples/GetIdentityToken.json"
+ }
+ }
+ }
+ },
+ "/identity/info": {
+ "get": {
+ "tags": [
+ "Get metadata information"
+ ],
+ "description": "Get information about AAD Metadata",
+ "operationId": "Identity_GetInfo",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityInfoResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Identity Info for the VM": {
+ "$ref": "./examples/GetIdentityInfo.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Compute": {
+ "type": "object",
+ "properties": {
+ "azEnvironment": {
+ "type": "string",
+ "description": "This is the name of the environment in which the VM is running."
+ },
+ "location": {
+ "type": "string",
+ "description": "This is the Azure Region in which the VM is running."
+ },
+ "name": {
+ "type": "string",
+ "description": "This is the name of the VM."
+ },
+ "offer": {
+ "type": "string",
+ "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery."
+ },
+ "osType": {
+ "type": "string",
+ "description": "This value indicates the type of OS the VM is running, either Linux or Windows."
+ },
+ "placementGroupId": {
+ "type": "string",
+ "description": "This is the placement group of your Virtual Machine Scale Set."
+ },
+ "plan": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "$ref": "#/definitions/PlanProperties"
+ },
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicKeysProperties"
+ },
+ "description": "This is information about the SSH certificate"
+ },
+ "platformFaultDomain": {
+ "type": "string",
+ "description": "This is the fault domain in which the VM."
+ },
+ "platformUpdateDomain": {
+ "type": "string",
+ "description": "This is the update domain in which the VM."
+ },
+ "provider": {
+ "type": "string",
+ "description": "This is the provider of the VM."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher of the VM image."
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "This is the resource group for the VM."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "This is the fully qualified ID for the VM."
+ },
+ "sku": {
+ "type": "string",
+ "description": "This is the specific SKU for the VM image."
+ },
+ "storageProfile": {
+ "type": "object",
+ "description": "This contains the data about the storage disks associated with the VM.",
+ "$ref": "#/definitions/StorageProfile"
+ },
+ "subscriptionId": {
+ "type": "string",
+ "description": "This is the Azure subscription for the VM."
+ },
+ "tags": {
+ "type": "string",
+ "description": "This is the list of tags for your VM."
+ },
+ "version": {
+ "type": "string",
+ "description": "This is the version of the VM image."
+ },
+ "vmId": {
+ "type": "string",
+ "description": "This is the unique identifier for the VM."
+ },
+ "vmScaleSetName": {
+ "type": "string",
+ "description": "This is the resource name of the VMSS."
+ },
+ "vmSize": {
+ "type": "string",
+ "description": "This is the size of the VM."
+ },
+ "zone": {
+ "type": "string",
+ "description": "This is the availability zone of the VM."
+ }
+ },
+ "description": "Compute Metadata"
+ },
+ "Network": {
+ "type": "object",
+ "properties": {
+ "interface": {
+ "type": "array",
+ "description": "This contains data about the network interface.",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ }
+ },
+ "description": "Network Metadata"
+ },
+ "NetworkInterface": {
+ "type": "object",
+ "description": "This contains data about the network interface.",
+ "properties": {
+ "ipv4": {
+ "type": "object",
+ "description": "This contains the IPv4 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "$ref": "#/definitions/Ipv4Properties"
+ }
+ },
+ "subnet": {
+ "type": "array",
+ "description": "This is the subnet",
+ "items": {
+ "type": "object",
+ "description": "This contains the subnet properties.",
+ "$ref": "#/definitions/SubnetProperties"
+ }
+ }
+ }
+ },
+ "ipv6": {
+ "type": "object",
+ "description": "This contains the IPv6 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "$ref": "#/definitions/Ipv6Properties"
+ }
+ }
+ }
+ },
+ "macAddress": {
+ "type": "string",
+ "description": "This is the MAC address of the interface."
+ }
+ }
+ },
+ "PlanProperties": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "This is the Plan ID."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "This is the product of the image from the Marketplace."
+ }
+ }
+ },
+ "PublicKeysProperties": {
+ "type": "object",
+ "description": "This contains the data about the public key.",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "This specifies the full path on the VM where the SSH public key is stored."
+ },
+ "keyData": {
+ "type": "string",
+ "description": "This is the SSH public key certificate used to authenticate with the VM."
+ }
+ }
+ },
+ "Ipv4Properties": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IP address assigned to the interface."
+ },
+ "publicIpAddress": {
+ "type": "string",
+ "description": "This is the public IP address assigned to the interface."
+ }
+ }
+ },
+ "Ipv6Properties": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IPv6 address assigned to the interface."
+ }
+ }
+ },
+ "SubnetProperties": {
+ "type": "object",
+ "description": "This contains the properties of the subnet.",
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "This is the address range of the subnet."
+ },
+ "prefix": {
+ "type": "string",
+ "description": "This is the prefix of the subnet."
+ }
+ }
+ },
+ "StorageProfile": {
+ "type": "object",
+ "description": "This contains the data about the storage disks associated with the VM.",
+ "properties": {
+ "imageReference": {
+ "type": "object",
+ "$ref": "#/definitions/ImageReference",
+ "description": "Image information"
+ },
+ "osDisk": {
+ "type": "object",
+ "$ref": "#/definitions/OsDisk",
+ "description": "OS disk information"
+ },
+ "dataDisks": {
+ "type": "array",
+ "description": "Data disk information",
+ "items": {
+ "type": "object",
+ "description": "This contains information about the data disk.",
+ "$ref": "#/definitions/DataDisk"
+ }
+ }
+ }
+ },
+ "ImageReference": {
+ "type": "object",
+ "description": "This contains information about the OS image.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "This is the resource ID."
+ },
+ "offer": {
+ "type": "string",
+ "description": "This is the offer of the platform or marketplace image."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the image publisher."
+ },
+ "sku": {
+ "type": "string",
+ "description": "This is the image SKU."
+ },
+ "version": {
+ "type": "string",
+ "description": "This is the version of the platform or marketplace image."
+ }
+ }
+ },
+ "OsDisk": {
+ "type": "object",
+ "description": "This contains information about the OS disk used by the VM.",
+ "properties": {
+ "caching": {
+ "type": "string",
+ "description": "This is the the caching requirements."
+ },
+ "createOption": {
+ "type": "string",
+ "description": "This is information about how the VM was created."
+ },
+ "diffDiskSettings": {
+ "type": "object",
+ "description": "This is the ephemeral disk settings.",
+ "$ref": "#/definitions/DiffDiskSettings"
+ },
+ "diskSizeGB": {
+ "type": "string",
+ "description": "This is the size of the disk in GB."
+ },
+ "encryptionSettings": {
+ "type": "object",
+ "description": "This is the encryption settings for the disk.",
+ "$ref": "#/definitions/EncryptionSettings"
+ },
+ "image": {
+ "type": "object",
+ "description": "This is the source user image virtual hard disk.",
+ "$ref": "#/definitions/DiskImage"
+ },
+ "managedDisk": {
+ "type": "object",
+ "description": "This is managed disk parameters.",
+ "$ref": "#/definitions/ManagedDisk"
+ },
+ "name": {
+ "type": "string",
+ "description": "This is the disk name."
+ },
+ "osType": {
+ "type": "string",
+ "description": "This is the type of OS included in the disk."
+ },
+ "vhd": {
+ "type": "object",
+ "description": "This is the virtual hard disk.",
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ "writeAcceleratorEnabled": {
+ "type": "string",
+ "description": "This specifies whether or not writeAccelerator is enabled on the disk."
+ }
+ }
+ },
+ "DataDisk": {
+ "type": "object",
+ "description": "This contains information about the data disk.",
+ "properties": {
+ "caching": {
+ "type": "string",
+ "description": "This is the the caching requirements."
+ },
+ "createOption": {
+ "type": "string",
+ "description": "This is information about how the VM was created."
+ },
+ "diskSizeGB": {
+ "type": "string",
+ "description": "This is the size of the disk in GB."
+ },
+ "image": {
+ "type": "object",
+ "description": "This is the source user image virtual hard disk.",
+ "$ref": "#/definitions/DiskImage"
+ },
+ "lun": {
+ "type": "string",
+ "description": "This is the logical unit number of the disk."
+ },
+ "managedDisk": {
+ "type": "object",
+ "description": "This is managed disk parameters.",
+ "$ref": "#/definitions/ManagedDisk"
+ },
+ "name": {
+ "type": "string",
+ "description": "This is the disk name."
+ },
+ "vhd": {
+ "type": "object",
+ "description": "This is the virtual hard disk.",
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ "writeAcceleratorEnabled": {
+ "type": "string",
+ "description": "This specifies whether or not writeAccelerator is enabled on the disk."
+ }
+ }
+ },
+ "EncryptionSettings": {
+ "type": "object",
+ "description": "This is the encryption settings for the disk.",
+ "properties": {
+ "enabled": {
+ "type": "string",
+ "description": "This specifies whether or not disk encryption is enabled on the VM."
+ }
+ }
+ },
+ "DiffDiskSettings": {
+ "type": "object",
+ "description": "This is the ephemeral disk settings.",
+ "properties": {
+ "option": {
+ "type": "string",
+ "description": "This specifies the ephemeral disk settings."
+ }
+ }
+ },
+ "DiskImage": {
+ "type": "object",
+ "description": "This is the source user image virtual hard disk.",
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "This is the uri of the virtual hard disk."
+ }
+ }
+ },
+ "ManagedDisk": {
+ "type": "object",
+ "description": "This is managed disk parameters.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "This is the resource ID."
+ },
+ "storageAccountType": {
+ "type": "string",
+ "description": "This is the storage account type for the managed disk."
+ }
+ }
+ },
+ "VirtualHardDisk": {
+ "type": "object",
+ "description": "This is the virtual hard disk.",
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "This is the uri of the virtual hard disk."
+ }
+ }
+ },
+ "ApplicationResponse": {
+ "type": "string",
+ "description": "This is a binary string containing the application."
+ },
+ "GalleryApplications": {
+ "type": "object",
+ "description": "This is the response from the GalleryApplications_List operation.",
+ "properties": {
+ "applications": {
+ "type": "array",
+ "description": "List of gallery applications",
+ "items": {
+ "type": "object",
+ "description": "This contains information about the gallery application.",
+ "$ref": "#/definitions/GalleryApplication"
+ }
+ }
+ }
+ },
+ "GalleryApplication": {
+ "type": "object",
+ "description": "This contains information about the gallery application.",
+ "properties": {
+ "tags": {
+ "type": "string",
+ "description": "Optional attribute to passthrough value for more generic context"
+ },
+ "enableHealthCheck": {
+ "type": "boolean",
+ "description": "It indicates if this application reports health status"
+ },
+ "packageFile": {
+ "$ref": "#/definitions/PackageFile",
+ "description": "Package properties of the gallery application"
+ }
+ }
+ },
+ "PackageFile": {
+ "type": "object",
+ "description": "Package properties of the gallery application.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource id of the gallery application"
+ },
+ "incarnationId": {
+ "type": "string",
+ "description": "Unique identifier for this particular application instance"
+ },
+ "fileName": {
+ "type": "string",
+ "description": "Application package file name"
+ },
+ "contentType": {
+ "type": "string",
+ "description": "Application package type"
+ }
+ }
+ },
+ "Instance": {
+ "type": "object",
+ "description": "This is the response from the Instance_GetMetadata operation.",
+ "properties": {
+ "compute": {
+ "$ref": "#/definitions/Compute",
+ "description": "Compute Metadata"
+ },
+ "network": {
+ "$ref": "#/definitions/Network",
+ "description": "Network Metadata"
+ }
+ }
+ },
+ "AttestedData": {
+ "type": "object",
+ "description": "This is the response from the Attested_GetDocument operation.",
+ "properties": {
+ "signature": {
+ "type": "string",
+ "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value."
+ },
+ "encoding": {
+ "type": "string",
+ "description": "This is the encoding scheme of the signature."
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "This is the response from an operation in the case an error occurs.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "IdentityErrorResponse": {
+ "type": "object",
+ "description": "This is the response from an Identity operation in the case an error occurs.",
+ "properties": {
+ "error": {
+ "type": "string",
+ "description": "Error code",
+ "enum": [
+ "invalid_request",
+ "unauthorized_client",
+ "access_denied",
+ "unsupported_response_type",
+ "invalid_scope",
+ "server_error",
+ "service_unavailable",
+ "bad_request",
+ "forbidden",
+ "not_found",
+ "method_not_allowed",
+ "too_many_requests"
+ ],
+ "x-ms-enum": {
+ "name": "Error",
+ "modelAsString": true
+ }
+ },
+ "error_description": {
+ "type": "string",
+ "description": "Error message indicating why the operation failed."
+ }
+ }
+ },
+ "IdentityTokenResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetToken operation.",
+ "properties": {
+ "access_token": {
+ "type": "string",
+ "description": "This is the requested access token. The app can use this token to authenticate to the sink resource."
+ },
+ "expires_in": {
+ "type": "string",
+ "description": "This is how long the access token is valid (in seconds)."
+ },
+ "expires_on": {
+ "type": "string",
+ "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens."
+ },
+ "ext_expires_in": {
+ "type": "string",
+ "description": "This indicates the extended lifetime of the token (in seconds)."
+ },
+ "not_before": {
+ "type": "string",
+ "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time."
+ },
+ "resource": {
+ "type": "string",
+ "description": "This is the app ID URI of the sink resource."
+ },
+ "token_type": {
+ "type": "string",
+ "description": "This indicates the token type value."
+ },
+ "client_id": {
+ "type": "string",
+ "description": "This is the client_id specified in the request, if any."
+ },
+ "object_id": {
+ "type": "string",
+ "description": "This is the object_id specified in the request, if any."
+ },
+ "msi_res_id": {
+ "type": "string",
+ "description": "This is the msi_res_id specified in the request, if any."
+ }
+ }
+ },
+ "IdentityInfoResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetInfo operation.",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "This is the AAD tenantId of the identity of the caller."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "2018-10-01"
+ ],
+ "description": "This is the API version to use.",
+ "required": true,
+ "x-ms-enum": {
+ "name": "ApiVersion",
+ "modelAsString": true
+ }
+ },
+ "MetadataParameter": {
+ "name": "Metadata",
+ "in": "header",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "This must be set to 'true'.",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetAttestedData.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetAttestedData.json
new file mode 100644
index 000000000000..3fc9a53805eb
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetAttestedData.json
@@ -0,0 +1,15 @@
+{
+ "parameters": {
+ "api-version": "2019-08-15",
+ "nonce": "abcde12345",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "encoding": "pkcs7",
+ "signature": "MIID2gYJKoZIhvcNAQcCoIIDyzCCA8cCAQExDzANBgkqhkiG9w0BAQsFADCBggYJKoZIhvcNAQcBoHUEc3sibm9uY2UiOiIxMTExMTExMTExIiwicGxhbiI6eyJuYW1lIjoiIiwicHJvZHVjdCI6IiIsInB1Ymxpc2hlciI6IiJ9LCJ2bUlkIjoiMDJhYWI4YTQtNzRlZi00NzZlLTgxODItZjZkMmJhNDE2NmE2In2gggI/MIICOzCCAaSgAwIBAgIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQQFADArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbTAeFw0xODExMDgxODUzMDRaFw0xODEyMDgxODUzMDNaMCsxKTAnBgNVBAMTIHRlc3RzdWJkb21haW4ubWV0YWRhdGEuYXp1cmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDEi0FVslYnUX+MneC7ERMU4ZM88z4J80r7RPgvzxCPNhXUQlWm3cmVRZMD8kKMv7brkvEsATP7Ak60/I/XEtOga4LGCvMaQa8I/MW8IhSyp2Vj015glAiV8TeUI5DuOIOS96lQvM+G7bt23swkIwVjm1u1ViTZiKKytwpY/EGqzQIDAQABo2AwXjBcBgNVHQEEVTBTgBAt3MRgJmEoUMiPy7k06cLfoS0wKzEpMCcGA1UEAxMgdGVzdHN1YmRvbWFpbi5tZXRhZGF0YS5henVyZS5jb22CEEFrBY1zd+aASShVyN0KzN0wDQYJKoZIhvcNAQEEBQADgYEAd87qiZnRlGIFQ5IEcL/A7ru23WSQAOBsNPt70Fg1GtaEHcYshKUJFhGwXOgZ11cY5wRfrSvEKuzvhAeIZwkvzkBjC04g8sRrjN5leLY5CsKzQhjN52TUMsHhqTM58tfAnICeTddQwn6LOgfqtYH5WO+F/VbFCwPstYUqjmQEYAoxgegwgeUCAQEwPzArMSkwJwYDVQQDEyB0ZXN0c3ViZG9tYWluLm1ldGFkYXRhLmF6dXJlLmNvbQIQQWsFjXN35oBJKFXI3QrM3TANBgkqhkiG9w0BAQsFADANBgkqhkiG9w0BAQEFAASBgCbkRKmQ1MdWZPVOrX7ZBKHQUWPFrQQNdjk3KB67GkY0W0Taxut4K7D2PmiflVEwxB92pTbaZZr/dldu1k1ab1YamHcVYdgZgxIkoOWohGR0ym8oL9JHjFMEqHUbEPtDwE8X+djtDd8TVdb6LYe77IXmz/VaX4whuejlSvQXjaL"
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetGalleryApplication.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetGalleryApplication.json
new file mode 100644
index 000000000000..59bd92b36f0f
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetGalleryApplication.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "api-version": "2019-08-15",
+ "Metadata": "true",
+ "incarnationId": "b845c18d-b249-4c7a-a4c3-ffdd51757ccd"
+ },
+ "responses": {
+ "200": {
+ "body": "{application binary package}"
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetIdentityInfo.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetIdentityInfo.json
new file mode 100644
index 000000000000..75e62200dae0
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetIdentityInfo.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2019-08-15",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "tenantId": "abd8daee-d393-4239-9377-883adda3d40f"
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetIdentityToken.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetIdentityToken.json
new file mode 100644
index 000000000000..cc654126c6a6
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetIdentityToken.json
@@ -0,0 +1,20 @@
+{
+ "parameters": {
+ "api-version": "2019-08-15",
+ "Metadata": "true",
+ "resource": "https://vault.azure.net"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "access_token": "dummytoken",
+ "client_id": "be5947ed-3560-4afe-9504-59967a63f810",
+ "expires_in": "3599",
+ "expires_on": "1541705014",
+ "ext_expires_in": "262800",
+ "not_before": "1508961830",
+ "resource": "https://va"
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetInstanceMetadata.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetInstanceMetadata.json
new file mode 100644
index 000000000000..57c4cd273f4f
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/GetInstanceMetadata.json
@@ -0,0 +1,101 @@
+{
+ "parameters": {
+ "api-version": "2019-08-15",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "compute": {
+ "azEnvironment": "AZUREPUBLICCLOUD",
+ "location": "westus",
+ "name": "examplevmname",
+ "offer": "Windows",
+ "osType": "linux",
+ "placementGroupId": "f67c14ab-e92c-408c-ae2d-da15866ec79a",
+ "plan": {
+ "name": "planName",
+ "product": "planProduct",
+ "publisher": "planPublisher"
+ },
+ "platformFaultDomain": "36",
+ "platformUpdateDomain": "42",
+ "publicKeys": [
+ {
+ "keyData": "ssh-rsa 0",
+ "path": "/home/user/.ssh/authorized_keys0"
+ },
+ {
+ "keyData": "ssh-rsa 1",
+ "path": "/home/user/.ssh/authorized_keys1"
+ }
+ ],
+ "publisher": "RDFE-Test-Microsoft-Windows-Server-Group",
+ "resourceGroupName": "macikgo-test-may-23",
+ "resourceId": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/virtualMachines/examplevmname",
+ "sku": "Windows-Server-2012-R2-Datacenter",
+ "storageProfile": {
+ "dataDisks": [
+ {
+ "caching": "None",
+ "createOption": "Empty",
+ "diskSizeGB": "1024",
+ "image": {
+ "uri": ""
+ },
+ "lun": "0",
+ "managedDisk": {
+ "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampledatadiskname",
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "exampledatadiskname",
+ "vhd": {
+ "uri": ""
+ },
+ "writeAcceleratorEnabled": "false"
+ }
+ ],
+ "imageReference": {
+ "id": "",
+ "offer": "UbuntuServer",
+ "publisher": "Canonical",
+ "sku": "16.04.0-LTS",
+ "version": "latest"
+ },
+ "osDisk": {
+ "caching": "ReadWrite",
+ "createOption": "FromImage",
+ "diskSizeGB": "30",
+ "diffDiskSettings": {
+ "option": "Local"
+ },
+ "encryptionSettings": {
+ "enabled": "false"
+ },
+ "image": {
+ "uri": ""
+ },
+ "managedDisk": {
+ "id": "/subscriptions/8d10da13-8125-4ba9-a717-bf7490507b3d/resourceGroups/macikgo-test-may-23/providers/Microsoft.Compute/disks/exampleosdiskname",
+ "storageAccountType": "Standard_LRS"
+ },
+ "name": "exampleosdiskname",
+ "osType": "Linux",
+ "vhd": {
+ "uri": ""
+ },
+ "writeAcceleratorEnabled": "false"
+ }
+ },
+ "subscriptionId": "8d10da13-8125-4ba9-a717-bf7490507b3d",
+ "tags": "baz:bash;foo:bar",
+ "version": "15.05.22",
+ "vmId": "02aab8a4-74ef-476e-8182-f6d2ba4166a6",
+ "vmScaleSetName": "crpteste9vflji9",
+ "vmSize": "Standard_A3",
+ "zone": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/ListGalleryApplications.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/ListGalleryApplications.json
new file mode 100644
index 000000000000..7b12a01de0e1
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/examples/ListGalleryApplications.json
@@ -0,0 +1,24 @@
+{
+ "parameters": {
+ "api-version": "2019-08-15",
+ "Metadata": "true"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "applications": [
+ {
+ "tags": "0",
+ "enableHealthCheck": true,
+ "packageFile": {
+ "contentType": "zip",
+ "fileName": "myapp.zip",
+ "id": "/subscriptions/12345678-65F4-4A5A-839F-E7CFB49F1541/resourceGroups/rgName/providers/Microsoft.Compute/galleries/msit-certified/applications/application/versions/1.0",
+ "incarnationId": "b845c18d-b249-4c7a-a4c3-ffdd51757ccd"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/imds.json b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/imds.json
new file mode 100644
index 000000000000..8df8b193f85d
--- /dev/null
+++ b/specification/imds/data-plane/Microsoft.InstanceMetadataService/stable/2019-08-15/imds.json
@@ -0,0 +1,968 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "InstanceMetadataClient",
+ "description": "The Azure Instance Metadata Client",
+ "version": "2019-08-15"
+ },
+ "host": "169.254.169.254",
+ "basePath": "/metadata",
+ "schemes": [
+ "http",
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "securityDefinitions": {
+ "basic_auth": {
+ "type": "basic",
+ "description": "A Basic authentication flow"
+ }
+ },
+ "paths": {
+ "/applications": {
+ "get": {
+ "operationId": "GalleryApplications_List",
+ "description": "Get list of the gallery applications.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/GalleryApplications"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get list of the gallery applications": {
+ "$ref": "./examples/ListGalleryApplications.json"
+ }
+ }
+ }
+ },
+ "/applications/app": {
+ "get": {
+ "operationId": "GalleryApplication_Get",
+ "description": "Get application package.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "name": "incarnationId",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Incarnation Id of the gallery application"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/ApplicationResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get gallery application package": {
+ "$ref": "./examples/GetGalleryApplication.json"
+ }
+ }
+ }
+ },
+ "/instance": {
+ "get": {
+ "operationId": "Instances_GetMetadata",
+ "description": "Get Instance Metadata for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Instance"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Instance Metadata for the VM": {
+ "$ref": "./examples/GetInstanceMetadata.json"
+ }
+ }
+ }
+ },
+ "/attested/document": {
+ "get": {
+ "operationId": "Attested_GetDocument",
+ "description": "Get Attested Data for the Virtual Machine.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "nonce",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "This is a string of up to 32 random alphanumeric characters."
+ },
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/AttestedData"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Attested Data for the VM": {
+ "$ref": "./examples/GetAttestedData.json"
+ }
+ }
+ }
+ },
+ "/identity/oauth2/token": {
+ "get": {
+ "tags": [
+ "Get token"
+ ],
+ "description": "Get a Token from Azure AD",
+ "operationId": "Identity_GetToken",
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {},
+ {
+ "basic_auth": []
+ }
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "name": "resource",
+ "in": "query",
+ "type": "string",
+ "description": "This is the urlencoded identifier URI of the sink resource for the requested Azure AD token. The resulting token contains the corresponding aud for this resource.",
+ "required": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "client_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD client id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with object_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "object_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by Azure AD object id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and msi_res_id.",
+ "required": false
+ },
+ {
+ "name": "msi_res_id",
+ "in": "query",
+ "type": "string",
+ "description": "This identifies, by urlencoded ARM resource id, a specific explicit identity to use when authenticating to Azure AD. Mutually exclusive with client_id and object_id.",
+ "required": false
+ },
+ {
+ "name": "authority",
+ "in": "query",
+ "type": "string",
+ "description": "This indicates the authority to request AAD tokens from. Defaults to the known authority of the identity to be used.",
+ "required": false
+ },
+ {
+ "name": "bypass_cache",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "If provided, the value must be 'true'. This indicates to the server that the token must be retrieved from Azure AD and cannot be retrieved from an internal cache.",
+ "required": false,
+ "x-ms-enum": {
+ "name": "BypassCache",
+ "modelAsString": true
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityTokenResponse"
+ }
+ },
+ "default": {
+ "headers": {
+ "Www-Authenticate": {
+ "type": "string",
+ "description": "This is the response header containing a challenge for the Basic scheme with a realm value"
+ }
+ },
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Identity Token for the VM": {
+ "$ref": "./examples/GetIdentityToken.json"
+ }
+ }
+ }
+ },
+ "/identity/info": {
+ "get": {
+ "tags": [
+ "Get metadata information"
+ ],
+ "description": "Get information about AAD Metadata",
+ "operationId": "Identity_GetInfo",
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/MetadataParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Successful operation",
+ "schema": {
+ "$ref": "#/definitions/IdentityInfoResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/IdentityErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Identity Info for the VM": {
+ "$ref": "./examples/GetIdentityInfo.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Compute": {
+ "type": "object",
+ "properties": {
+ "azEnvironment": {
+ "type": "string",
+ "description": "This is the name of the environment in which the VM is running."
+ },
+ "location": {
+ "type": "string",
+ "description": "This is the Azure Region in which the VM is running."
+ },
+ "name": {
+ "type": "string",
+ "description": "This is the name of the VM."
+ },
+ "offer": {
+ "type": "string",
+ "description": "This is the offer information for the VM image. This value is only present for images deployed from the Azure Image Gallery."
+ },
+ "osType": {
+ "type": "string",
+ "description": "This value indicates the type of OS the VM is running, either Linux or Windows."
+ },
+ "placementGroupId": {
+ "type": "string",
+ "description": "This is the placement group of your Virtual Machine Scale Set."
+ },
+ "plan": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "$ref": "#/definitions/PlanProperties"
+ },
+ "publicKeys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicKeysProperties"
+ },
+ "description": "This is information about the SSH certificate"
+ },
+ "platformFaultDomain": {
+ "type": "string",
+ "description": "This is the fault domain in which the VM."
+ },
+ "platformUpdateDomain": {
+ "type": "string",
+ "description": "This is the update domain in which the VM."
+ },
+ "provider": {
+ "type": "string",
+ "description": "This is the provider of the VM."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher of the VM image."
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "description": "This is the resource group for the VM."
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "This is the fully qualified ID for the VM."
+ },
+ "sku": {
+ "type": "string",
+ "description": "This is the specific SKU for the VM image."
+ },
+ "storageProfile": {
+ "type": "object",
+ "description": "This contains the data about the storage disks associated with the VM.",
+ "$ref": "#/definitions/StorageProfile"
+ },
+ "subscriptionId": {
+ "type": "string",
+ "description": "This is the Azure subscription for the VM."
+ },
+ "tags": {
+ "type": "string",
+ "description": "This is the list of tags for your VM."
+ },
+ "version": {
+ "type": "string",
+ "description": "This is the version of the VM image."
+ },
+ "vmId": {
+ "type": "string",
+ "description": "This is the unique identifier for the VM."
+ },
+ "vmScaleSetName": {
+ "type": "string",
+ "description": "This is the resource name of the VMSS."
+ },
+ "vmSize": {
+ "type": "string",
+ "description": "This is the size of the VM."
+ },
+ "zone": {
+ "type": "string",
+ "description": "This is the availability zone of the VM."
+ }
+ },
+ "description": "Compute Metadata"
+ },
+ "Network": {
+ "type": "object",
+ "properties": {
+ "interface": {
+ "type": "array",
+ "description": "This contains data about the network interface.",
+ "items": {
+ "type": "object",
+ "$ref": "#/definitions/NetworkInterface"
+ }
+ }
+ },
+ "description": "Network Metadata"
+ },
+ "NetworkInterface": {
+ "type": "object",
+ "description": "This contains data about the network interface.",
+ "properties": {
+ "ipv4": {
+ "type": "object",
+ "description": "This contains the IPv4 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "$ref": "#/definitions/Ipv4Properties"
+ }
+ },
+ "subnet": {
+ "type": "array",
+ "description": "This is the subnet",
+ "items": {
+ "type": "object",
+ "description": "This contains the subnet properties.",
+ "$ref": "#/definitions/SubnetProperties"
+ }
+ }
+ }
+ },
+ "ipv6": {
+ "type": "object",
+ "description": "This contains the IPv6 address.",
+ "properties": {
+ "ipAddress": {
+ "type": "array",
+ "description": "This is the IP address",
+ "items": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "$ref": "#/definitions/Ipv6Properties"
+ }
+ }
+ }
+ },
+ "macAddress": {
+ "type": "string",
+ "description": "This is the MAC address of the interface."
+ }
+ }
+ },
+ "PlanProperties": {
+ "type": "object",
+ "description": "This contains the data about the plan.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "This is the Plan ID."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "This is the product of the image from the Marketplace."
+ }
+ }
+ },
+ "PublicKeysProperties": {
+ "type": "object",
+ "description": "This contains the data about the public key.",
+ "properties": {
+ "path": {
+ "type": "string",
+ "description": "This specifies the full path on the VM where the SSH public key is stored."
+ },
+ "keyData": {
+ "type": "string",
+ "description": "This is the SSH public key certificate used to authenticate with the VM."
+ }
+ }
+ },
+ "Ipv4Properties": {
+ "type": "object",
+ "description": "This contains the IPv4 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IP address assigned to the interface."
+ },
+ "publicIpAddress": {
+ "type": "string",
+ "description": "This is the public IP address assigned to the interface."
+ }
+ }
+ },
+ "Ipv6Properties": {
+ "type": "object",
+ "description": "This contains the IPv6 properties.",
+ "properties": {
+ "privateIpAddress": {
+ "type": "string",
+ "description": "This is the private IPv6 address assigned to the interface."
+ }
+ }
+ },
+ "SubnetProperties": {
+ "type": "object",
+ "description": "This contains the properties of the subnet.",
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "This is the address range of the subnet."
+ },
+ "prefix": {
+ "type": "string",
+ "description": "This is the prefix of the subnet."
+ }
+ }
+ },
+ "StorageProfile": {
+ "type": "object",
+ "description": "This contains the data about the storage disks associated with the VM.",
+ "properties": {
+ "imageReference": {
+ "type": "object",
+ "$ref": "#/definitions/ImageReference",
+ "description": "Image information"
+ },
+ "osDisk": {
+ "type": "object",
+ "$ref": "#/definitions/OsDisk",
+ "description": "OS disk information"
+ },
+ "dataDisks": {
+ "type": "array",
+ "description": "Data disk information",
+ "items": {
+ "type": "object",
+ "description": "This contains information about the data disk.",
+ "$ref": "#/definitions/DataDisk"
+ }
+ }
+ }
+ },
+ "ImageReference": {
+ "type": "object",
+ "description": "This contains information about the OS image.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "This is the resource ID."
+ },
+ "offer": {
+ "type": "string",
+ "description": "This is the offer of the platform or marketplace image."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "This is the image publisher."
+ },
+ "sku": {
+ "type": "string",
+ "description": "This is the image SKU."
+ },
+ "version": {
+ "type": "string",
+ "description": "This is the version of the platform or marketplace image."
+ }
+ }
+ },
+ "OsDisk": {
+ "type": "object",
+ "description": "This contains information about the OS disk used by the VM.",
+ "properties": {
+ "caching": {
+ "type": "string",
+ "description": "This is the caching requirements."
+ },
+ "createOption": {
+ "type": "string",
+ "description": "This is information about how the VM was created."
+ },
+ "diffDiskSettings": {
+ "type": "object",
+ "description": "This is the ephemeral disk settings.",
+ "$ref": "#/definitions/DiffDiskSettings"
+ },
+ "diskSizeGB": {
+ "type": "string",
+ "description": "This is the size of the disk in GB."
+ },
+ "encryptionSettings": {
+ "type": "object",
+ "description": "This is the encryption settings for the disk.",
+ "$ref": "#/definitions/EncryptionSettings"
+ },
+ "image": {
+ "type": "object",
+ "description": "This is the source user image virtual hard disk.",
+ "$ref": "#/definitions/DiskImage"
+ },
+ "managedDisk": {
+ "type": "object",
+ "description": "This is managed disk parameters.",
+ "$ref": "#/definitions/ManagedDisk"
+ },
+ "name": {
+ "type": "string",
+ "description": "This is the disk name."
+ },
+ "osType": {
+ "type": "string",
+ "description": "This is the type of OS included in the disk."
+ },
+ "vhd": {
+ "type": "object",
+ "description": "This is the virtual hard disk.",
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ "writeAcceleratorEnabled": {
+ "type": "string",
+ "description": "This specifies whether or not writeAccelerator is enabled on the disk."
+ }
+ }
+ },
+ "DataDisk": {
+ "type": "object",
+ "description": "This contains information about the data disk.",
+ "properties": {
+ "caching": {
+ "type": "string",
+ "description": "This is the caching requirements."
+ },
+ "createOption": {
+ "type": "string",
+ "description": "This is information about how the VM was created."
+ },
+ "diskSizeGB": {
+ "type": "string",
+ "description": "This is the size of the disk in GB."
+ },
+ "image": {
+ "type": "object",
+ "description": "This is the source user image virtual hard disk.",
+ "$ref": "#/definitions/DiskImage"
+ },
+ "lun": {
+ "type": "string",
+ "description": "This is the logical unit number of the disk."
+ },
+ "managedDisk": {
+ "type": "object",
+ "description": "This is managed disk parameters.",
+ "$ref": "#/definitions/ManagedDisk"
+ },
+ "name": {
+ "type": "string",
+ "description": "This is the disk name."
+ },
+ "vhd": {
+ "type": "object",
+ "description": "This is the virtual hard disk.",
+ "$ref": "#/definitions/VirtualHardDisk"
+ },
+ "writeAcceleratorEnabled": {
+ "type": "string",
+ "description": "This specifies whether or not writeAccelerator is enabled on the disk."
+ }
+ }
+ },
+ "EncryptionSettings": {
+ "type": "object",
+ "description": "This is the encryption settings for the disk.",
+ "properties": {
+ "enabled": {
+ "type": "string",
+ "description": "This specifies whether or not disk encryption is enabled on the VM."
+ }
+ }
+ },
+ "DiffDiskSettings": {
+ "type": "object",
+ "description": "This is the ephemeral disk settings.",
+ "properties": {
+ "option": {
+ "type": "string",
+ "description": "This specifies the ephemeral disk settings."
+ }
+ }
+ },
+ "DiskImage": {
+ "type": "object",
+ "description": "This is the source user image virtual hard disk.",
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "This is the uri of the virtual hard disk."
+ }
+ }
+ },
+ "ManagedDisk": {
+ "type": "object",
+ "description": "This is managed disk parameters.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "This is the resource ID."
+ },
+ "storageAccountType": {
+ "type": "string",
+ "description": "This is the storage account type for the managed disk."
+ }
+ }
+ },
+ "VirtualHardDisk": {
+ "type": "object",
+ "description": "This is the virtual hard disk.",
+ "properties": {
+ "uri": {
+ "type": "string",
+ "description": "This is the uri of the virtual hard disk."
+ }
+ }
+ },
+ "ApplicationResponse": {
+ "type": "string",
+ "description": "This is a binary string containing the application."
+ },
+ "GalleryApplications": {
+ "type": "object",
+ "description": "This is the response from the GalleryApplications_List operation.",
+ "properties": {
+ "applications": {
+ "type": "array",
+ "description": "List of gallery applications",
+ "items": {
+ "type": "object",
+ "description": "This contains information about the gallery application.",
+ "$ref": "#/definitions/GalleryApplication"
+ }
+ }
+ }
+ },
+ "GalleryApplication": {
+ "type": "object",
+ "description": "This contains information about the gallery application.",
+ "properties": {
+ "tags": {
+ "type": "string",
+ "description": "Optional attribute to passthrough value for more generic context"
+ },
+ "enableHealthCheck": {
+ "type": "boolean",
+ "description": "It indicates if this application reports health status"
+ },
+ "packageFile": {
+ "$ref": "#/definitions/PackageFile",
+ "description": "Package properties of the gallery application"
+ }
+ }
+ },
+ "PackageFile": {
+ "type": "object",
+ "description": "Package properties of the gallery application.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource id of the gallery application"
+ },
+ "incarnationId": {
+ "type": "string",
+ "description": "Unique identifier for this particular application instance"
+ },
+ "fileName": {
+ "type": "string",
+ "description": "Application package file name"
+ },
+ "contentType": {
+ "type": "string",
+ "description": "Application package type"
+ }
+ }
+ },
+ "Instance": {
+ "type": "object",
+ "description": "This is the response from the Instance_GetMetadata operation.",
+ "properties": {
+ "compute": {
+ "$ref": "#/definitions/Compute",
+ "description": "Compute Metadata"
+ },
+ "network": {
+ "$ref": "#/definitions/Network",
+ "description": "Network Metadata"
+ }
+ }
+ },
+ "AttestedData": {
+ "type": "object",
+ "description": "This is the response from the Attested_GetDocument operation.",
+ "properties": {
+ "signature": {
+ "type": "string",
+ "description": "This is the encoded string containing the VM ID, plan information, public key, timestamp, and nonce value."
+ },
+ "encoding": {
+ "type": "string",
+ "description": "This is the encoding scheme of the signature."
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "This is the response from an operation in the case an error occurs.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "IdentityErrorResponse": {
+ "type": "object",
+ "description": "This is the response from an Identity operation in the case an error occurs.",
+ "properties": {
+ "error": {
+ "type": "string",
+ "description": "Error code",
+ "enum": [
+ "invalid_request",
+ "unauthorized_client",
+ "access_denied",
+ "unsupported_response_type",
+ "invalid_scope",
+ "server_error",
+ "service_unavailable",
+ "bad_request",
+ "forbidden",
+ "not_found",
+ "method_not_allowed",
+ "too_many_requests"
+ ],
+ "x-ms-enum": {
+ "name": "Error",
+ "modelAsString": true
+ }
+ },
+ "error_description": {
+ "type": "string",
+ "description": "Error message indicating why the operation failed."
+ }
+ }
+ },
+ "IdentityTokenResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetToken operation.",
+ "properties": {
+ "access_token": {
+ "type": "string",
+ "description": "This is the requested access token. The app can use this token to authenticate to the sink resource."
+ },
+ "expires_in": {
+ "type": "string",
+ "description": "This is how long the access token is valid (in seconds)."
+ },
+ "expires_on": {
+ "type": "string",
+ "description": "This is the time when the access token expires. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time. This value is used to determine the lifetime of cached tokens."
+ },
+ "ext_expires_in": {
+ "type": "string",
+ "description": "This indicates the extended lifetime of the token (in seconds)."
+ },
+ "not_before": {
+ "type": "string",
+ "description": "This is the time when the access token becomes effective. The date is represented as the number of seconds from 1970-01-01T0:0:0Z UTC until the expiration time."
+ },
+ "resource": {
+ "type": "string",
+ "description": "This is the app ID URI of the sink resource."
+ },
+ "token_type": {
+ "type": "string",
+ "description": "This indicates the token type value."
+ },
+ "client_id": {
+ "type": "string",
+ "description": "This is the client_id specified in the request, if any."
+ },
+ "object_id": {
+ "type": "string",
+ "description": "This is the object_id specified in the request, if any."
+ },
+ "msi_res_id": {
+ "type": "string",
+ "description": "This is the msi_res_id specified in the request, if any."
+ }
+ }
+ },
+ "IdentityInfoResponse": {
+ "type": "object",
+ "description": "This is the response from the Identity_GetInfo operation.",
+ "properties": {
+ "tenantId": {
+ "type": "string",
+ "description": "This is the AAD tenantId of the identity of the system assigned managed identity."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "2018-10-01"
+ ],
+ "description": "This is the API version to use.",
+ "required": true,
+ "x-ms-enum": {
+ "name": "ApiVersion",
+ "modelAsString": true
+ }
+ },
+ "MetadataParameter": {
+ "name": "Metadata",
+ "in": "header",
+ "type": "string",
+ "enum": [
+ "true"
+ ],
+ "description": "This must be set to 'true'.",
+ "required": true,
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/imds/data-plane/readme.go.md b/specification/imds/data-plane/readme.go.md
index a805b79cf2ba..db87db66586d 100644
--- a/specification/imds/data-plane/readme.go.md
+++ b/specification/imds/data-plane/readme.go.md
@@ -5,6 +5,22 @@ These settings apply only when `--go` is specified on the command line.
``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
- namespace: storage
+ namespace: imds
clear-output-folder: true
```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-02-01
+```
+
+### Tag: package-2019-02-01 and go
+
+These settings apply only when `--tag=package-2019-02-01 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+```yaml $(tag) == 'package-2019-02-01' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/2019-02-01/$(namespace)
+```
diff --git a/specification/imds/data-plane/readme.md b/specification/imds/data-plane/readme.md
index a16713027481..47787236f557 100644
--- a/specification/imds/data-plane/readme.md
+++ b/specification/imds/data-plane/readme.md
@@ -53,6 +53,15 @@ input-file:
- Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json
```
+### Tag: package-2019-04-30
+
+These settings apply only when `--tag=package-2019-04-30` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-04-30'
+input-file:
+- Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json
+```
+
### Tag: package-2019-06-01
These settings apply only when `--tag=package-2019-06-01` is specified on the command line.
@@ -62,7 +71,26 @@ input-file:
- Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json
```
+### Tag: package-2019-08-01
+
+These settings apply only when `--tag=package-2019-08-01` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-08-01'
+input-file:
+- Microsoft.InstanceMetadataService/stable/2019-08-01/imds.json
+```
+
+### Tag: package-2019-08-15
+
+These settings apply only when `--tag=package-2019-08-15` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-08-15'
+input-file:
+- Microsoft.InstanceMetadataService/stable/2019-08-15/imds.json
+```
+
## Suppression
+
``` yaml
directive:
- suppress: DefinitionsPropertiesNamesCamelCase
@@ -113,6 +141,22 @@ input-file:
- $.definitions.IdentityTokenResponse.properties.msi_res_id
- $.definitions.IdentityErrorResponse.properties.error_description
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ reason: The following properties follow the Oath2 spec, which does not use camelCase.
+ from: Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json
+ where:
+ - $.definitions.IdentityTokenResponse.properties.access_token
+ - $.definitions.IdentityTokenResponse.properties.expires_in
+ - $.definitions.IdentityTokenResponse.properties.expires_on
+ - $.definitions.IdentityTokenResponse.properties.ext_expires_in
+ - $.definitions.IdentityTokenResponse.properties.not_before
+ - $.definitions.IdentityTokenResponse.properties.resource
+ - $.definitions.IdentityTokenResponse.properties.token_type
+ - $.definitions.IdentityTokenResponse.properties.client_id
+ - $.definitions.IdentityTokenResponse.properties.object_id
+ - $.definitions.IdentityTokenResponse.properties.msi_res_id
+ - $.definitions.IdentityErrorResponse.properties.error_description
+
- suppress: DefinitionsPropertiesNamesCamelCase
reason: The following properties follow the Oath2 spec, which does not use camelCase.
from: Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json
@@ -127,7 +171,33 @@ input-file:
- $.definitions.IdentityTokenResponse.properties.client_id
- $.definitions.IdentityTokenResponse.properties.object_id
- $.definitions.IdentityTokenResponse.properties.msi_res_id
- - $.definitions.IdentityErrorResponse.properties.error_description
+ - $.definitions.IdentityErrorResponse.properties.error_description
+
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ reason: The following properties follow the Oath2 spec, which does not use camelCase.
+ from: Microsoft.InstanceMetadataService/stable/2019-08-01/imds.json
+
+ - suppress: HttpsSupportedScheme
+ reason: IMDS does not require HTTPS to query it
+
+ - suppress: SecurityDefinitionsStructure
+ reason: IMDS does not support any authentication
+
+ - suppress: DefinitionsPropertiesNamesCamelCase
+ reason: The following properties follow the Oath2 spec, which does not use camelCase.
+ from: Microsoft.InstanceMetadataService/stable/2019-08-15/imds.json
+ where:
+ - $.definitions.IdentityTokenResponse.properties.access_token
+ - $.definitions.IdentityTokenResponse.properties.expires_in
+ - $.definitions.IdentityTokenResponse.properties.expires_on
+ - $.definitions.IdentityTokenResponse.properties.ext_expires_in
+ - $.definitions.IdentityTokenResponse.properties.not_before
+ - $.definitions.IdentityTokenResponse.properties.resource
+ - $.definitions.IdentityTokenResponse.properties.token_type
+ - $.definitions.IdentityTokenResponse.properties.client_id
+ - $.definitions.IdentityTokenResponse.properties.object_id
+ - $.definitions.IdentityTokenResponse.properties.msi_res_id
+ - $.definitions.IdentityErrorResponse.properties.error_description
```
---
@@ -153,3 +223,34 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-python
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.InstanceMetadataService/stable/2018-10-01/imds.json
+ - $(this-folder)/Microsoft.InstanceMetadataService/stable/2019-02-01/imds.json
+ - $(this-folder)/Microsoft.InstanceMetadataService/stable/2019-03-11/imds.json
+ - $(this-folder)/Microsoft.InstanceMetadataService/stable/2019-04-30/imds.json
+ - $(this-folder)/Microsoft.InstanceMetadataService/stable/2019-06-01/imds.json
+ - $(this-folder)/Microsoft.InstanceMetadataService/stable/2019-08-01/imds.json
+ - $(this-folder)/Microsoft.InstanceMetadataService/stable/2019-08-15/imds.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/intune/resource-manager/readme.md b/specification/intune/resource-manager/readme.md
index 3d972ff77a83..c15b27b1cb39 100644
--- a/specification/intune/resource-manager/readme.md
+++ b/specification/intune/resource-manager/readme.md
@@ -61,7 +61,7 @@ csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.Intune
- output-folder: $(csharp-sdks-folder)/Intune/Intune/Generated
+ output-folder: $(csharp-sdks-folder)/intune/Microsoft.Azure.Management.Intune/src/Generated
clear-output-folder: true
```
@@ -78,3 +78,29 @@ license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-intune
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Intune/preview/2015-01-14-preview/intune.json
+ - $(this-folder)/Microsoft.Intune/preview/2015-01-14-privatepreview/intune.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/iotcentral/resource-manager/readme.md b/specification/iotcentral/resource-manager/readme.md
index 925c4f3cf1f7..90b5740df650 100644
--- a/specification/iotcentral/resource-manager/readme.md
+++ b/specification/iotcentral/resource-manager/readme.md
@@ -53,6 +53,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -158,3 +159,29 @@ python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/iotcentral/azure-mgmt-iotcentral
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.IoTCentral/stable/2018-09-01/iotcentral.json
+ - $(this-folder)/Microsoft.IoTCentral/preview/2017-07-01-privatepreview/iotcentral.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json
index 8e6e36ef3200..0b7ce5e15432 100644
--- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json
+++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_createOrUpdate.json
@@ -5,26 +5,15 @@
"api-version": "2019-03-22-preview",
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0",
"iotHubDescription": {
- "name": "iot-dps-cit-hub-1",
- "type": "Microsoft.Devices/IotHubs",
"location": "centraluseuap",
"tags": {},
"etag": "AAAAAAFD6M4=",
"properties": {
- "state": "Active",
- "provisioningState": "Succeeded",
"ipFilterRules": [],
- "hostName": "iot-dps-cit-hub-1.azure-devices.net",
"eventHubEndpoints": {
"events": {
"retentionTimeInDays": 1,
- "partitionCount": 2,
- "partitionIds": [
- "0",
- "1"
- ],
- "path": "iot-dps-cit-hub-1",
- "endpoint": "sb://iothub-ns-iot-dps-ci-245306-76aca8e13b.servicebus.windows.net/"
+ "partitionCount": 2
}
},
"routing": {
@@ -74,7 +63,6 @@
},
"sku": {
"name": "S1",
- "tier": "Standard",
"capacity": 1
}
}
diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json
index 8e6dd33b5cbe..06ca87816cb8 100644
--- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json
+++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/examples/iothub_get.json
@@ -78,7 +78,17 @@
"streamingEndpoints": [
"https://streams.azure-devices-int.net:9443"
]
- }
+ },
+ "locations": [
+ {
+ "location": "West US",
+ "role": "primary"
+ },
+ {
+ "location": "East US",
+ "role": "secondary"
+ }
+ ]
},
"sku": {
"name": "S1",
diff --git a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json
index 22364230d82d..121d86871358 100644
--- a/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json
+++ b/specification/iothub/resource-manager/Microsoft.Devices/preview/2019-03-22-preview/iothub.json
@@ -2045,6 +2045,14 @@
"name": "Capabilities",
"modelAsString": true
}
+ },
+ "locations": {
+ "description": "Primary and secondary location for iot hub",
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IotHubLocationDescription"
+ }
}
}
},
@@ -3453,6 +3461,28 @@
"required": [
"failoverRegion"
]
+ },
+ "IotHubLocationDescription": {
+ "description": "Public representation of one of the locations where a resource is provisioned.",
+ "type": "object",
+ "properties": {
+ "location": {
+ "description": "Azure Geo Regions",
+ "type": "string"
+ },
+ "role": {
+ "description": "Specific Role assigned to this location",
+ "enum": [
+ "primary",
+ "secondary"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "IotHubReplicaRoleType",
+ "modelAsString": true
+ }
+ }
+ }
}
},
"parameters": {
diff --git a/specification/iothub/resource-manager/readme.java.md b/specification/iothub/resource-manager/readme.java.md
new file mode 100644
index 000000000000..3b3ca91ecd2f
--- /dev/null
+++ b/specification/iothub/resource-manager/readme.java.md
@@ -0,0 +1,61 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+fluent: true
+namespace: com.microsoft.azure.management.iothub
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iothub
+```
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-preview-2019-03
+ - tag: package-2018-12-preview
+ - tag: package-2018-04
+```
+
+### Tag: package-preview-2019-03
+
+These settings apply only when `--tag=package-preview-2019-03 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-preview-2019-03' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.iothub.v2019_03_22_preview
+ output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2019_03_22_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2018-12-preview and java
+
+These settings apply only when `--tag=package-2018-12-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2018-12-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.iothub.v2018_12_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_12_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: package-2018-04 and java
+
+These settings apply only when `--tag=package-2018-04 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2018-04' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.iothub.v2018_04_01
+ output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_04_01
+regenerate-manager: true
+generate-interface: true
+```
\ No newline at end of file
diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md
index c77400fb8613..b15fc166cff9 100644
--- a/specification/iothub/resource-manager/readme.md
+++ b/specification/iothub/resource-manager/readme.md
@@ -103,6 +103,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -133,48 +134,35 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
+See configuration in [readme.java.md](./readme.go.md)
-``` yaml $(java)
-azure-arm: true
-fluent: true
-namespace: com.microsoft.azure.management.iothub
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iothub
-```
+## Multi-API/Profile support for AutoRest v3 generators
-### Java multi-api
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
-``` yaml $(java) && $(multiapi)
-batch:
- - tag: package-2018-12-preview
- - tag: package-2018-04
-```
+This block is updated by an automatic script. Edits may be lost!
-### Tag: package-2018-12-preview and java
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
-These settings apply only when `--tag=package-2018-12-preview --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Devices/preview/2019-03-22-preview/iothub.json
+ - $(this-folder)/Microsoft.Devices/preview/2018-12-01-preview/iothub.json
+ - $(this-folder)/Microsoft.Devices/stable/2018-04-01/iothub.json
+ - $(this-folder)/Microsoft.Devices/stable/2018-01-22/iothub.json
+ - $(this-folder)/Microsoft.Devices/stable/2017-07-01/iothub.json
+ - $(this-folder)/Microsoft.Devices/stable/2017-01-19/iothub.json
+ - $(this-folder)/Microsoft.Devices/stable/2016-02-03/iothub.json
-``` yaml $(tag) == 'package-2018-12-preview' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.iothub.v2018_12_01_preview
- output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_12_01_preview
-regenerate-manager: true
-generate-interface: true
```
-### Tag: package-2018-04 and java
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
-These settings apply only when `--tag=package-2018-04 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2018-04' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.iothub.v2018_04_01
- output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_04_01
-regenerate-manager: true
-generate-interface: true
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
+
diff --git a/specification/iotspaces/resource-manager/readme.md b/specification/iotspaces/resource-manager/readme.md
index bbb54cb3b16a..434da206def2 100644
--- a/specification/iotspaces/resource-manager/readme.md
+++ b/specification/iotspaces/resource-manager/readme.md
@@ -69,6 +69,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
@@ -85,10 +86,35 @@ csharp:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.IoTSpaces
payload-flattening-threshold: 1
- output-folder: $(csharp-sdks-folder)/IoTSpaces/Management.IoTSpaces/Generated
+ output-folder: $(csharp-sdks-folder)/iotspaces/Microsoft.Azure.Management.IoTSpaces/src/Generated
clear-output-folder: true
```
## Go
-See configuration in [readme.go.md](./readme.go.md)
\ No newline at end of file
+See configuration in [readme.go.md](./readme.go.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.IoTSpaces/preview/2017-10-01-preview/iotspaces.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/keyvault/data-plane/readme.md b/specification/keyvault/data-plane/readme.md
index 3a4fd12f0600..7b4fbd27732a 100644
--- a/specification/keyvault/data-plane/readme.md
+++ b/specification/keyvault/data-plane/readme.md
@@ -108,4 +108,30 @@ java:
payload-flattening-threshold: 0
output-folder: $(azure-libraries-for-java-folder)/azure-keyvault
override-client-name: KeyVaultClientBase
-```
\ No newline at end of file
+```
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.KeyVault/stable/7.0/keyvault.json
+ - $(this-folder)/Microsoft.KeyVault/stable/2016-10-01/keyvault.json
+ - $(this-folder)/Microsoft.KeyVault/stable/2015-06-01/keyvault.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/keyvault/resource-manager/readme.csharp.md b/specification/keyvault/resource-manager/readme.csharp.md
index f39bdb2b9c46..2936d8d96bf4 100644
--- a/specification/keyvault/resource-manager/readme.csharp.md
+++ b/specification/keyvault/resource-manager/readme.csharp.md
@@ -14,7 +14,7 @@ csharp:
``` yaml $(csharp) && !$(multiapi) && !$(csharp-profile)
namespace: Microsoft.Azure.Management.KeyVault
-output-folder: $(csharp-sdks-folder)/KeyVault/Management/Management.KeyVault/Generated
+output-folder: $(csharp-sdks-folder)/keyvault/Microsoft.Azure.Management.KeyVault/src/Generated
```
## Batch settings
diff --git a/specification/keyvault/resource-manager/readme.java.md b/specification/keyvault/resource-manager/readme.java.md
new file mode 100644
index 000000000000..e79af082ec30
--- /dev/null
+++ b/specification/keyvault/resource-manager/readme.java.md
@@ -0,0 +1,97 @@
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+azure-arm: true
+namespace: com.microsoft.azure.management.keyvault
+license-header: MICROSOFT_MIT_NO_CODEGEN
+payload-flattening-threshold: 1
+output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-keyvault
+```
+
+### Java multi-api
+
+```yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-02-14-preview
+ - tag: package-2016-10
+ - tag: package-2015-06
+```
+
+### Tag: package-2018-02-14-preview and java
+
+These settings apply only when `--tag=package-2018-02-14-preview --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2018-02-14-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.keyvault.v2018_02_14_preview
+ output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2018_02_14_preview
+regenerate-manager: true
+generate-interface: true
+directive:
+ from: keyvault.json
+ where: $.paths["/subscriptions/{subscriptionId}/resources"].get
+ transform: $['operationId'] = 'Vaults_ListResource'
+```
+
+### Tag: package-2016-10 and java
+
+These settings apply only when `--tag=package-2016-10 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.keyvault.v2016_10_01
+ output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2016_10_01
+regenerate-manager: true
+generate-interface: true
+directive:
+ from: keyvault.json
+ where: $.paths["/subscriptions/{subscriptionId}/resources"].get
+ transform: $['operationId'] = 'Vaults_ListResource'
+```
+
+### Tag: package-2016-10 and java
+
+These settings apply only when `--tag=package-2016-10 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.keyvault.v2016_10_01
+ output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2016_10_01
+regenerate-manager: true
+generate-interface: true
+directive:
+ from: keyvault.json
+ where: $.paths["/subscriptions/{subscriptionId}/resources"].get
+ transform: $['operationId'] = 'Vaults_ListResource'
+```
+
+### Tag: package-2015-06 and java
+
+These settings apply only when `--tag=package-2015-06 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2015-06' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.keyvault.v2015_06_01
+ output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2015_06_01
+regenerate-manager: true
+generate-interface: true
+```
+
+### Tag: profile-hybrid-2019-03-01
+
+These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line.
+Creating this tag to pick proper resources from the hybrid profile.
+
+``` yaml $(tag) == 'profile-hybrid-2019-03-01'
+input-file:
+- Microsoft.KeyVault/stable/2016-10-01/providers.json
+- Microsoft.KeyVault/stable/2016-10-01/keyvault.json
+- Microsoft.KeyVault/stable/2016-10-01/secrets.json
+```
diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md
index 77c0d24ebcb0..973de064798b 100644
--- a/specification/keyvault/resource-manager/readme.md
+++ b/specification/keyvault/resource-manager/readme.md
@@ -30,6 +30,18 @@ tag: package-2018-02
```
+### Tag: package-2018-02-14-preview
+
+These settings apply only when `--tag=package-2018-02-14-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2018-02-14-preview'
+input-file:
+- Microsoft.KeyVault/preview/2018-02-14-preview/keyvault.json
+- Microsoft.KeyVault/preview/2018-02-14-preview/providers.json
+- Microsoft.KeyVault/preview/2018-02-14-preview/secrets.json
+```
+
+
### Tag: package-2018-02
These settings apply only when `--tag=package-2018-02` is specified on the command line.
@@ -74,6 +86,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
after_scripts:
- python ./scripts/multiapi_init_gen.py azure-mgmt-keyvault
@@ -92,63 +105,36 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
-These settings apply only when `--java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(java)
-azure-arm: true
-namespace: com.microsoft.azure.management.keyvault
-license-header: MICROSOFT_MIT_NO_CODEGEN
-payload-flattening-threshold: 1
-output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-keyvault
-```
+See configuration in [readme.java.md](./readme.java.md)
-### Java multi-api
+## Multi-API/Profile support for AutoRest v3 generators
-```yaml $(java) && $(multiapi)
-batch:
- - tag: package-2016-10
- - tag: package-2015-06
-```
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
-### Tag: package-2016-10 and java
-
-These settings apply only when `--tag=package-2016-10 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
-
-``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.keyvault.v2016_10_01
- output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2016_10_01
-regenerate-manager: true
-generate-interface: true
-directive:
- from: keyvault.json
- where: $.paths["/subscriptions/{subscriptionId}/resources"].get
- transform: $['operationId'] = 'Vaults_ListResource'
-```
+This block is updated by an automatic script. Edits may be lost!
-### Tag: package-2015-06 and java
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
-These settings apply only when `--tag=package-2015-06 --java` is specified on the command line.
-Please also specify `--azure-libraries-for-java-folder=`.
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.KeyVault/preview/2018-02-14-preview/keyvault.json
+ - $(this-folder)/Microsoft.KeyVault/preview/2018-02-14-preview/providers.json
+ - $(this-folder)/Microsoft.KeyVault/preview/2018-02-14-preview/secrets.json
+ - $(this-folder)/Microsoft.KeyVault/stable/2018-02-14/keyvault.json
+ - $(this-folder)/Microsoft.KeyVault/stable/2018-02-14/providers.json
+ - $(this-folder)/Microsoft.KeyVault/stable/2016-10-01/keyvault.json
+ - $(this-folder)/Microsoft.KeyVault/stable/2016-10-01/providers.json
+ - $(this-folder)/Microsoft.KeyVault/stable/2015-06-01/keyvault.json
-``` yaml $(tag) == 'package-2015-06' && $(java) && $(multiapi)
-java:
- namespace: com.microsoft.azure.management.keyvault.v2015_06_01
- output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2015_06_01
-regenerate-manager: true
-generate-interface: true
```
-### Tag: profile-hybrid-2019-03-01
-
-These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line.
-Creating this tag to pick proper resources from the hybrid profile.
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
-``` yaml $(tag) == 'profile-hybrid-2019-03-01'
-input-file:
-- Microsoft.KeyVault/stable/2016-10-01/providers.json
-- Microsoft.KeyVault/stable/2016-10-01/keyvault.json
-- Microsoft.KeyVault/stable/2016-10-01/secrets.json
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
```
+
diff --git a/specification/labservices/resource-manager/readme.md b/specification/labservices/resource-manager/readme.md
index a388ea6faa79..50b1ddd60e2f 100644
--- a/specification/labservices/resource-manager/readme.md
+++ b/specification/labservices/resource-manager/readme.md
@@ -50,6 +50,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -142,3 +143,28 @@ generate-interface: true
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.LabServices/stable/2018-10-15/ML.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json
index 6c24d2e9b220..ac8f55c061fd 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Operations_List.json
@@ -4,1348 +4,1265 @@
},
"responses": {
"200": {
- "value": [
- {
- "name": "Microsoft.Logic/operations/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Operation",
- "operation": "Get Operation",
- "description": "Gets the operation."
- }
- },
- {
- "name": "Microsoft.Logic/register/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Resource Provider",
- "operation": "Register Resource Provider",
- "description": "Registers the Microsoft.Logic resource provider for a given subscription."
- }
- },
- {
- "name": "Microsoft.Logic/locations/workflows/validate/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Validate Workflow",
- "description": "Validates the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Get Workflow",
- "description": "Reads the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Set Workflow",
- "description": "Creates or updates the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Delete Workflow",
- "description": "Deletes the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/run/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Run Workflow",
- "description": "Starts a run of the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/disable/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Disable Workflow",
- "description": "Disables the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/enable/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Enable Workflow",
- "description": "Enables the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/suspend/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Suspend Workflow",
- "description": "Suspends the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/validate/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Validate Workflow",
- "description": "Validates the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/move/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Move Workflow",
- "description": "Moves Workflow from its existing subscription id, resource group, and/or name to a different subscription id, resource group, and/or name."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/listSwagger/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Get workflow swagger",
- "description": "Gets the workflow swagger definitions."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/versions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Version",
- "operation": "Get Workflow Version",
- "description": "Reads the workflow version."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/versions/triggers/listCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "List Trigger Callback URL",
- "description": "Gets the callback URL for trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/accessKeys/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "Get Access Key",
- "description": "Reads the access key."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/accessKeys/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "Set Access Key",
- "description": "Creates or updates the access key."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/accessKeys/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "Delete Access Key",
- "description": "Deletes the access key."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/accessKeys/list/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "List Access Key",
- "description": "Lists the access key secrets."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/accessKeys/regenerate/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "Regenerate Access Key",
- "description": "Regenerates the access key secrets."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/regenerateAccessKey/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "Regenerate Access Key",
- "description": "Regenerates the access key secrets."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/listCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "List workflow callback URL",
- "description": "Gets the callback URL for workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "Get Trigger",
- "description": "Reads the trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/run/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "Trigger Run",
- "description": "Executes the trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/reset/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "Trigger Reset",
- "description": "Resets the trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/setState/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "Set Trigger State",
- "description": "Sets the trigger state."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/histories/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger Histories",
- "operation": "Get Trigger Histories",
- "description": "Reads the trigger histories."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/histories/resubmit/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger Histories",
- "operation": "Resubmit trigger",
- "description": "Resubmits the workflow trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/listCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "List Trigger Callback URL",
- "description": "Gets the callback URL for trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run",
- "operation": "Get Workflow Run",
- "description": "Reads the workflow run."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/cancel/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run",
- "operation": "Cancel Workflow Run",
- "description": "Cancels the run of a workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/operations/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Operation",
- "operation": "Get Workflow Run Operation Status",
- "description": "Reads the workflow run operation status."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Action",
- "operation": "Get Workflow Run Action",
- "description": "Reads the workflow run action."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/repetitions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Action Repetition",
- "operation": "Get Workflow Run Action Repetition",
- "description": "Reads the workflow run action repetition."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/scoperepetitions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Action Scope Repetition",
- "operation": "Get Workflow Run Action Scope Repetition",
- "description": "Reads the workflow run action scope repetition."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/requestHistories/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow run action request history",
- "operation": "Gets the workflow run action request history",
- "description": "Reads the workflow run action request history."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/repetitions/requestHistories/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow run repetition action request history",
- "operation": "Gets the workflow run repetition action request history",
- "description": "Reads the workflow run repetition action request history."
- }
- },
- {
- "origin": "System",
- "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Diagnostic Setting",
- "operation": "Get Workflow Diagnostic Setting",
- "description": "Reads the workflow diagnostic settings."
- }
- },
- {
- "origin": "System",
- "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Diagnostic Setting",
- "operation": "Set Workflow Diagnostic Setting",
- "description": "Creates or updates the workflow diagnostic setting."
- }
- },
- {
- "origin": "System",
- "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Metric Definition",
- "operation": "Get Workflow Metric Definition",
- "description": "Reads the workflow metric definitions."
- },
- "properties": {
- "serviceSpecification": {
- "metricSpecifications": [
- {
- "name": "RunsStarted",
- "displayName": "Runs Started",
- "displayDescription": "Number of workflow runs started.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsCompleted",
- "displayName": "Runs Completed",
- "displayDescription": "Number of workflow runs completed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsSucceeded",
- "displayName": "Runs Succeeded",
- "displayDescription": "Number of workflow runs succeeded.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsFailed",
- "displayName": "Runs Failed",
- "displayDescription": "Number of workflow runs failed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsCancelled",
- "displayName": "Runs Cancelled",
- "displayDescription": "Number of workflow runs cancelled.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunLatency",
- "displayName": "Run Latency",
- "displayDescription": "Latency of completed workflow runs.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "RunSuccessLatency",
- "displayName": "Run Success Latency",
- "displayDescription": "Latency of succeeded workflow runs.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "RunThrottledEvents",
- "displayName": "Run Throttled Events",
- "displayDescription": "Number of workflow action or trigger throttled events.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunFailurePercentage",
- "displayName": "Run Failure Percentage",
- "displayDescription": "Percentage of workflow runs failed.",
- "unit": "Percent",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsStarted",
- "displayName": "Actions Started ",
- "displayDescription": "Number of workflow actions started.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsCompleted",
- "displayName": "Actions Completed ",
- "displayDescription": "Number of workflow actions completed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsSucceeded",
- "displayName": "Actions Succeeded ",
- "displayDescription": "Number of workflow actions succeeded.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsFailed",
- "displayName": "Actions Failed ",
- "displayDescription": "Number of workflow actions failed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsSkipped",
- "displayName": "Actions Skipped ",
- "displayDescription": "Number of workflow actions skipped.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionLatency",
- "displayName": "Action Latency ",
- "displayDescription": "Latency of completed workflow actions.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "ActionSuccessLatency",
- "displayName": "Action Success Latency ",
- "displayDescription": "Latency of succeeded workflow actions.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "ActionThrottledEvents",
- "displayName": "Action Throttled Events",
- "displayDescription": "Number of workflow action throttled events..",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersStarted",
- "displayName": "Triggers Started ",
- "displayDescription": "Number of workflow triggers started.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersCompleted",
- "displayName": "Triggers Completed ",
- "displayDescription": "Number of workflow triggers completed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersSucceeded",
- "displayName": "Triggers Succeeded ",
- "displayDescription": "Number of workflow triggers succeeded.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersFailed",
- "displayName": "Triggers Failed ",
- "displayDescription": "Number of workflow triggers failed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersSkipped",
- "displayName": "Triggers Skipped",
- "displayDescription": "Number of workflow triggers skipped.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersFired",
- "displayName": "Triggers Fired ",
- "displayDescription": "Number of workflow triggers fired.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggerLatency",
- "displayName": "Trigger Latency ",
- "displayDescription": "Latency of completed workflow triggers.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "TriggerFireLatency",
- "displayName": "Trigger Fire Latency ",
- "displayDescription": "Latency of fired workflow triggers.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "TriggerSuccessLatency",
- "displayName": "Trigger Success Latency ",
- "displayDescription": "Latency of succeeded workflow triggers.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "TriggerThrottledEvents",
- "displayName": "Trigger Throttled Events",
- "displayDescription": "Number of workflow trigger throttled events.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableActionExecutions",
- "displayName": "Billable Action Executions",
- "displayDescription": "Number of workflow action executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableTriggerExecutions",
- "displayName": "Billable Trigger Executions",
- "displayDescription": "Number of workflow trigger executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TotalBillableExecutions",
- "displayName": "Total Billable Executions",
- "displayDescription": "Number of workflow executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableNativeActionExecutions",
- "displayName": "Billable Native Action Executions",
- "displayDescription": "Number of native workflow action executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableNativeTriggerExecutions",
- "displayName": "Billable Native Trigger Executions",
- "displayDescription": "Number of native workflow trigger executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TotalBillableNativeExecutions",
- "displayName": "Total Native Billable Executions",
- "displayDescription": "Number of native workflow executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableStandardActionExecutions",
- "displayName": "Billable Standard Action Executions",
- "displayDescription": "Number of standard workflow action executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableStandardTriggerExecutions",
- "displayName": "Billable Standard Trigger Executions",
- "displayDescription": "Number of standard workflow trigger executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TotalBillableStandardExecutions",
- "displayName": "Total Standard Billable Executions",
- "displayDescription": "Number of standard workflow executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- }
- ]
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Logic/operations/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Operation",
+ "operation": "Get Operation"
}
- }
- },
- {
- "origin": "System",
- "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Log Definition",
- "operation": "Get Workflow Log Definition",
- "description": "Reads the workflow log definitions."
- },
- "properties": {
- "serviceSpecification": {
- "logSpecifications": [
- {
- "name": "WorkflowRuntime",
- "displayName": "Workflow runtime diagnostic events",
- "description": "Diagnostic events related to workflow runtime executions.",
- "blobDuration": "PT1H"
- }
- ]
+ },
+ {
+ "name": "Microsoft.Logic/register/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Resource Provider",
+ "operation": "Register Resource Provider"
}
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/listExpressionTraces/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Action",
- "operation": "List Workflow Run Action Expression Traces",
- "description": "Gets the workflow run action expression traces."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/repetitions/listExpressionTraces/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Action Repetition",
- "operation": "List Workflow Run Action Repetition Expression Traces",
- "description": "Gets the workflow run action repetition expression traces."
- }
- },
- {
- "origin": "System",
- "name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Log Definition",
- "operation": "Get Integration Account Log Definition",
- "description": "Reads the Integration Account log definitions."
- },
- "properties": {
- "serviceSpecification": {
- "logSpecifications": [
- {
- "name": "IntegrationAccountTrackingEvents",
- "displayName": "Integration Account track events",
- "description": "Track events related to Integration Account.",
- "blobDuration": "PT1H"
- }
- ]
+ },
+ {
+ "name": "Microsoft.Logic/locations/workflows/validate/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Validate Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Get Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Set Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Delete Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/run/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Run Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/disable/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Disable Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/enable/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Enable Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/suspend/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Suspend Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/validate/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Validate Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/move/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Move Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/listSwagger/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Get workflow swagger"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/versions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Version",
+ "operation": "Get Workflow Version"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/versions/triggers/listCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "List Trigger Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/accessKeys/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "Get Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/accessKeys/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "Set Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/accessKeys/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "Delete Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/accessKeys/list/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "List Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/accessKeys/regenerate/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "Regenerate Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/regenerateAccessKey/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "Regenerate Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/listCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "List workflow callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "Get Trigger"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/run/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "Trigger Run"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/reset/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "Trigger Reset"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/setState/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "Set Trigger State"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/histories/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger Histories",
+ "operation": "Get Trigger Histories"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/histories/resubmit/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger Histories",
+ "operation": "Resubmit trigger"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/listCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "List Trigger Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run",
+ "operation": "Get Workflow Run"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/cancel/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run",
+ "operation": "Cancel Workflow Run"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/operations/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Operation",
+ "operation": "Get Workflow Run Operation Status"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Action",
+ "operation": "Get Workflow Run Action"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/repetitions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Action Repetition",
+ "operation": "Get Workflow Run Action Repetition"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/scoperepetitions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Action Scope Repetition",
+ "operation": "Get Workflow Run Action Scope Repetition"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/requestHistories/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow run action request history",
+ "operation": "Gets the workflow run action request history"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/repetitions/requestHistories/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow run repetition action request history",
+ "operation": "Gets the workflow run repetition action request history"
+ }
+ },
+ {
+ "origin": "System",
+ "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Diagnostic Setting",
+ "operation": "Get Workflow Diagnostic Setting"
+ }
+ },
+ {
+ "origin": "System",
+ "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Diagnostic Setting",
+ "operation": "Set Workflow Diagnostic Setting"
+ }
+ },
+ {
+ "origin": "System",
+ "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Metric Definition",
+ "operation": "Get Workflow Metric Definition"
+ },
+ "properties": {
+ "serviceSpecification": {
+ "metricSpecifications": [
+ {
+ "name": "RunsStarted",
+ "displayName": "Runs Started",
+ "displayDescription": "Number of workflow runs started.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "RunsCompleted",
+ "displayName": "Runs Completed",
+ "displayDescription": "Number of workflow runs completed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "RunsSucceeded",
+ "displayName": "Runs Succeeded",
+ "displayDescription": "Number of workflow runs succeeded.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "RunsFailed",
+ "displayName": "Runs Failed",
+ "displayDescription": "Number of workflow runs failed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "RunsCancelled",
+ "displayName": "Runs Cancelled",
+ "displayDescription": "Number of workflow runs cancelled.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "RunLatency",
+ "displayName": "Run Latency",
+ "displayDescription": "Latency of completed workflow runs.",
+ "unit": "Seconds",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": false
+ },
+ {
+ "name": "RunSuccessLatency",
+ "displayName": "Run Success Latency",
+ "displayDescription": "Latency of succeeded workflow runs.",
+ "unit": "Seconds",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": false
+ },
+ {
+ "name": "RunThrottledEvents",
+ "displayName": "Run Throttled Events",
+ "displayDescription": "Number of workflow action or trigger throttled events.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "RunFailurePercentage",
+ "displayName": "Run Failure Percentage",
+ "displayDescription": "Percentage of workflow runs failed.",
+ "unit": "Percent",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "ActionsStarted",
+ "displayName": "Actions Started ",
+ "displayDescription": "Number of workflow actions started.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "ActionsCompleted",
+ "displayName": "Actions Completed ",
+ "displayDescription": "Number of workflow actions completed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "ActionsSucceeded",
+ "displayName": "Actions Succeeded ",
+ "displayDescription": "Number of workflow actions succeeded.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "ActionsFailed",
+ "displayName": "Actions Failed ",
+ "displayDescription": "Number of workflow actions failed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "ActionsSkipped",
+ "displayName": "Actions Skipped ",
+ "displayDescription": "Number of workflow actions skipped.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "ActionLatency",
+ "displayName": "Action Latency ",
+ "displayDescription": "Latency of completed workflow actions.",
+ "unit": "Seconds",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": false
+ },
+ {
+ "name": "ActionSuccessLatency",
+ "displayName": "Action Success Latency ",
+ "displayDescription": "Latency of succeeded workflow actions.",
+ "unit": "Seconds",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": false
+ },
+ {
+ "name": "ActionThrottledEvents",
+ "displayName": "Action Throttled Events",
+ "displayDescription": "Number of workflow action throttled events..",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "TriggersStarted",
+ "displayName": "Triggers Started ",
+ "displayDescription": "Number of workflow triggers started.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "TriggersCompleted",
+ "displayName": "Triggers Completed ",
+ "displayDescription": "Number of workflow triggers completed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "TriggersSucceeded",
+ "displayName": "Triggers Succeeded ",
+ "displayDescription": "Number of workflow triggers succeeded.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "TriggersFailed",
+ "displayName": "Triggers Failed ",
+ "displayDescription": "Number of workflow triggers failed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "TriggersSkipped",
+ "displayName": "Triggers Skipped",
+ "displayDescription": "Number of workflow triggers skipped.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "TriggersFired",
+ "displayName": "Triggers Fired ",
+ "displayDescription": "Number of workflow triggers fired.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "TriggerLatency",
+ "displayName": "Trigger Latency ",
+ "displayDescription": "Latency of completed workflow triggers.",
+ "unit": "Seconds",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": false
+ },
+ {
+ "name": "TriggerFireLatency",
+ "displayName": "Trigger Fire Latency ",
+ "displayDescription": "Latency of fired workflow triggers.",
+ "unit": "Seconds",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": false
+ },
+ {
+ "name": "TriggerSuccessLatency",
+ "displayName": "Trigger Success Latency ",
+ "displayDescription": "Latency of succeeded workflow triggers.",
+ "unit": "Seconds",
+ "aggregationType": "Average",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": false
+ },
+ {
+ "name": "TriggerThrottledEvents",
+ "displayName": "Trigger Throttled Events",
+ "displayDescription": "Number of workflow trigger throttled events.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "BillableActionExecutions",
+ "displayName": "Billable Action Executions",
+ "displayDescription": "Number of workflow action executions getting billed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "BillableTriggerExecutions",
+ "displayName": "Billable Trigger Executions",
+ "displayDescription": "Number of workflow trigger executions getting billed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "TotalBillableExecutions",
+ "displayName": "Total Billable Executions",
+ "displayDescription": "Number of workflow executions getting billed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "BillableNativeActionExecutions",
+ "displayName": "Billable Native Action Executions",
+ "displayDescription": "Number of native workflow action executions getting billed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "BillableNativeTriggerExecutions",
+ "displayName": "Billable Native Trigger Executions",
+ "displayDescription": "Number of native workflow trigger executions getting billed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "TotalBillableNativeExecutions",
+ "displayName": "Total Native Billable Executions",
+ "displayDescription": "Number of native workflow executions getting billed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "BillableStandardActionExecutions",
+ "displayName": "Billable Standard Action Executions",
+ "displayDescription": "Number of standard workflow action executions getting billed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "BillableStandardTriggerExecutions",
+ "displayName": "Billable Standard Trigger Executions",
+ "displayDescription": "Number of standard workflow trigger executions getting billed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ },
+ {
+ "name": "TotalBillableStandardExecutions",
+ "displayName": "Total Standard Billable Executions",
+ "displayDescription": "Number of standard workflow executions getting billed.",
+ "unit": "Count",
+ "aggregationType": "Total",
+ "dimensions": [],
+ "availabilities": [
+ {
+ "timeGrain": "PT1M",
+ "blobDuration": "PT1H"
+ }
+ ],
+ "fillGapWithZero": true
+ }
+ ]
+ }
+ }
+ },
+ {
+ "origin": "System",
+ "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Log Definition",
+ "operation": "Get Workflow Log Definition"
+ },
+ "properties": {
+ "serviceSpecification": {
+ "logSpecifications": [
+ {
+ "name": "WorkflowRuntime",
+ "displayName": "Workflow runtime diagnostic events",
+ "description": "Diagnostic events related to workflow runtime executions.",
+ "blobDuration": "PT1H"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/listExpressionTraces/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Action",
+ "operation": "List Workflow Run Action Expression Traces"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/repetitions/listExpressionTraces/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Action Repetition",
+ "operation": "List Workflow Run Action Repetition Expression Traces"
+ }
+ },
+ {
+ "origin": "System",
+ "name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Log Definition",
+ "operation": "Get Integration Account Log Definition"
+ },
+ "properties": {
+ "serviceSpecification": {
+ "logSpecifications": [
+ {
+ "name": "IntegrationAccountTrackingEvents",
+ "displayName": "Integration Account track events",
+ "description": "Track events related to Integration Account.",
+ "blobDuration": "PT1H"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Get Integration Account"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Set Integration Account"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Delete Integration Account"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/regenerateAccessKey/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Regenerate Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/listCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "List Integration Account Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/listKeyVaultKeys/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "List Key Vault Keys"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/logTrackingEvents/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Log Integration Account Tracking Events"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/join/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Join Integration Account"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/partners/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Partner",
+ "operation": "Get Integration Account Partner"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/partners/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Partner",
+ "operation": "Set Integration Account Partner"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/partners/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Partner",
+ "operation": "Delete Integration Account Partner"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/partners/listContentCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Partner",
+ "operation": "List Integration Account Partner Content Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/agreements/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Agreement",
+ "operation": "Get Integration Account Agreement"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/agreements/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Agreement",
+ "operation": "Set Integration Account Agreement"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/agreements/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Agreement",
+ "operation": "Delete Integration Account Agreement"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/agreements/listContentCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Agreement",
+ "operation": "List Integration Account Agreement Content Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/certificates/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Certificate",
+ "operation": "Get Integration Account Certificate"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/certificates/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Certificate",
+ "operation": "Set Integration Account Certificate"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/certificates/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Certificate",
+ "operation": "Delete Integration Account Certificate"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/schemas/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Schema",
+ "operation": "Get Integration Account Schema"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/schemas/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Schema",
+ "operation": "Set Integration Account Schema"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/schemas/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Schema",
+ "operation": "Delete Integration Account Schema"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/schemas/listContentCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Schema",
+ "operation": "List Integration Account Schema Content Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/maps/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Map",
+ "operation": "Get Integration Account Map"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/maps/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Map",
+ "operation": "Set Integration Account Map"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/maps/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Map",
+ "operation": "Delete Integration Account Map"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/maps/listContentCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Map",
+ "operation": "List Integration Account Map Content Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/assemblies/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Assembly",
+ "operation": "Get Integration Account Assembly"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/assemblies/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Assembly",
+ "operation": "Set Integration Account Assembly"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/assemblies/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Assembly",
+ "operation": "Delete Integration Account Assembly"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/assemblies/listContentCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Assembly",
+ "operation": "List Integration Account Assembly Content Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Batch Configuration",
+ "operation": "Get Integration Account Batch Configuration"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Batch Configuration",
+ "operation": "Set Integration Account Batch Configuration"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Batch Configuration",
+ "operation": "Delete Integration Account Batch Configuration"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/sessions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Session",
+ "operation": "Get Integration Account Session"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/sessions/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Session",
+ "operation": "Set Integration Account Session"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/sessions/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Session",
+ "operation": "Delete Integration Account Session"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationServiceEnvironments/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Service Environment",
+ "operation": "Get Integration Service Environment"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationServiceEnvironments/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Service Environment",
+ "operation": "Set Integration Service Environment"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationServiceEnvironments/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Service Environment",
+ "operation": "Delete Integration Service Environment"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationServiceEnvironments/join/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Service Environment",
+ "operation": "Join Integration Service Environment"
}
}
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Get Integration Account",
- "description": "Reads the integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Set Integration Account",
- "description": "Creates or updates the integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Delete Integration Account",
- "description": "Deletes the integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/regenerateAccessKey/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Regenerate Access Key",
- "description": "Regenerates the access key secrets."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/listCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "List Integration Account Callback URL",
- "description": "Gets the callback URL for integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/listKeyVaultKeys/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "List Key Vault Keys",
- "description": "Gets the keys in the key vault."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/logTrackingEvents/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Log Integration Account Tracking Events",
- "description": "Logs the tracking events in the integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/join/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Join Integration Account",
- "description": "Joins the Integration Account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/partners/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Partner",
- "operation": "Get Integration Account Partner",
- "description": "Reads the parter in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/partners/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Partner",
- "operation": "Set Integration Account Partner",
- "description": "Creates or updates the partner in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/partners/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Partner",
- "operation": "Delete Integration Account Partner",
- "description": "Deletes the partner in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/partners/listContentCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Partner",
- "operation": "List Integration Account Partner Content Callback URL",
- "description": "Gets the callback URL for partner content in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/agreements/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Agreement",
- "operation": "Get Integration Account Agreement",
- "description": "Reads the agreement in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/agreements/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Agreement",
- "operation": "Set Integration Account Agreement",
- "description": "Creates or updates the agreement in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/agreements/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Agreement",
- "operation": "Delete Integration Account Agreement",
- "description": "Deletes the agreement in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/agreements/listContentCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Agreement",
- "operation": "List Integration Account Agreement Content Callback URL",
- "description": "Gets the callback URL for agreement content in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/certificates/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Certificate",
- "operation": "Get Integration Account Certificate",
- "description": "Reads the certificate in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/certificates/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Certificate",
- "operation": "Set Integration Account Certificate",
- "description": "Creates or updates the certificate in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/certificates/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Certificate",
- "operation": "Delete Integration Account Certificate",
- "description": "Deletes the certificate in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/schemas/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Schema",
- "operation": "Get Integration Account Schema",
- "description": "Reads the schema in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/schemas/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Schema",
- "operation": "Set Integration Account Schema",
- "description": "Creates or updates the schema in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/schemas/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Schema",
- "operation": "Delete Integration Account Schema",
- "description": "Deletes the schema in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/schemas/listContentCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Schema",
- "operation": "List Integration Account Schema Content Callback URL",
- "description": "Gets the callback URL for schema content in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/maps/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Map",
- "operation": "Get Integration Account Map",
- "description": "Reads the map in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/maps/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Map",
- "operation": "Set Integration Account Map",
- "description": "Creates or updates the map in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/maps/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Map",
- "operation": "Delete Integration Account Map",
- "description": "Deletes the map in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/maps/listContentCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Map",
- "operation": "List Integration Account Map Content Callback URL",
- "description": "Gets the callback URL for map content in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/assemblies/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Assembly",
- "operation": "Get Integration Account Assembly",
- "description": "Reads the assembly in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/assemblies/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Assembly",
- "operation": "Set Integration Account Assembly",
- "description": "Creates or updates the assembly in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/assemblies/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Assembly",
- "operation": "Delete Integration Account Assembly",
- "description": "Deletes the assembly in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/assemblies/listContentCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Assembly",
- "operation": "List Integration Account Assembly Content Callback URL",
- "description": "Gets the callback URL for assembly content in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Batch Configuration",
- "operation": "Get Integration Account Batch Configuration",
- "description": "Reads the batch configuration in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Batch Configuration",
- "operation": "Set Integration Account Batch Configuration",
- "description": "Creates or updates the batch configuration in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Batch Configuration",
- "operation": "Delete Integration Account Batch Configuration",
- "description": "Deletes the batch configuration in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/sessions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Session",
- "operation": "Get Integration Account Session",
- "description": "Reads the batch configuration in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/sessions/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Session",
- "operation": "Set Integration Account Session",
- "description": "Creates or updates the session in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/sessions/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Session",
- "operation": "Delete Integration Account Session",
- "description": "Deletes the session in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationServiceEnvironments/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Service Environment",
- "operation": "Get Integration Service Environment",
- "description": "Reads the integration service environment."
- }
- },
- {
- "name": "Microsoft.Logic/integrationServiceEnvironments/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Service Environment",
- "operation": "Set Integration Service Environment",
- "description": "Creates or updates the integration service environment."
- }
- },
- {
- "name": "Microsoft.Logic/integrationServiceEnvironments/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Service Environment",
- "operation": "Delete Integration Service Environment",
- "description": "Deletes the integration service environment."
- }
- },
- {
- "name": "Microsoft.Logic/integrationServiceEnvironments/join/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Service Environment",
- "operation": "Join Integration Service Environment",
- "description": "Joins the Integration Service Environment."
- }
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json
index 97580408f4fe..079336083d3f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_Get.json
@@ -9,37 +9,39 @@
},
"responses": {
"200": {
- "properties": {
- "inputsLink": {
- "uri": "https://tempuri.org",
- "contentVersion": "5XUACojv0aBfuP56os3CWw==",
- "contentSize": 46,
- "contentHash": {
- "algorithm": "md5",
- "value": "XXUACojv0aBfuP56os3CWw=="
- }
+ "body": {
+ "properties": {
+ "inputsLink": {
+ "uri": "https://tempuri.org",
+ "contentVersion": "5XUACojv0aBfuP56os3CWw==",
+ "contentSize": 46,
+ "contentHash": {
+ "algorithm": "md5",
+ "value": "XXUACojv0aBfuP56os3CWw=="
+ }
+ },
+ "outputsLink": {
+ "uri": "https://tempuri.org",
+ "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==",
+ "contentSize": 11873,
+ "contentHash": {
+ "algorithm": "md5",
+ "value": "XX6KRrevI6AAxEvo9FeBYQ=="
+ }
+ },
+ "startTime": "2018-08-10T20:16:32.305236Z",
+ "endTime": "2018-08-10T20:16:32.5450625Z",
+ "correlation": {
+ "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca",
+ "clientTrackingId": "08586676746934337772206998657CU22"
+ },
+ "status": "Succeeded",
+ "code": "OK"
},
- "outputsLink": {
- "uri": "https://tempuri.org",
- "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==",
- "contentSize": 11873,
- "contentHash": {
- "algorithm": "md5",
- "value": "XX6KRrevI6AAxEvo9FeBYQ=="
- }
- },
- "startTime": "2018-08-10T20:16:32.305236Z",
- "endTime": "2018-08-10T20:16:32.5450625Z",
- "correlation": {
- "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca",
- "clientTrackingId": "08586676746934337772206998657CU22"
- },
- "status": "Succeeded",
- "code": "OK"
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP",
- "name": "HTTP",
- "type": "Microsoft.Logic/workflows/runs/actions"
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP",
+ "name": "HTTP",
+ "type": "Microsoft.Logic/workflows/runs/actions"
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json
index 2fded69b8506..5241c792bd5c 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActions_List.json
@@ -8,41 +8,43 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "inputsLink": {
- "uri": "https://tempuri.org",
- "contentVersion": "5XUACojv0aBfuP56os3CWw==",
- "contentSize": 46,
- "contentHash": {
- "algorithm": "md5",
- "value": "XXUACojv0aBfuP56os3CWw=="
- }
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "inputsLink": {
+ "uri": "https://tempuri.org",
+ "contentVersion": "5XUACojv0aBfuP56os3CWw==",
+ "contentSize": 46,
+ "contentHash": {
+ "algorithm": "md5",
+ "value": "XXUACojv0aBfuP56os3CWw=="
+ }
+ },
+ "outputsLink": {
+ "uri": "https://tempuri.org",
+ "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==",
+ "contentSize": 11873,
+ "contentHash": {
+ "algorithm": "md5",
+ "value": "XX6KRrevI6AAxEvo9FeBYQ=="
+ }
+ },
+ "startTime": "2018-08-10T20:16:32.305236Z",
+ "endTime": "2018-08-10T20:16:32.5450625Z",
+ "correlation": {
+ "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca",
+ "clientTrackingId": "08586676746934337772206998657CU22"
+ },
+ "status": "Succeeded",
+ "code": "OK"
},
- "outputsLink": {
- "uri": "https://tempuri.org",
- "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==",
- "contentSize": 11873,
- "contentHash": {
- "algorithm": "md5",
- "value": "XX6KRrevI6AAxEvo9FeBYQ=="
- }
- },
- "startTime": "2018-08-10T20:16:32.305236Z",
- "endTime": "2018-08-10T20:16:32.5450625Z",
- "correlation": {
- "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca",
- "clientTrackingId": "08586676746934337772206998657CU22"
- },
- "status": "Succeeded",
- "code": "OK"
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP",
- "name": "HTTP",
- "type": "Microsoft.Logic/workflows/runs/actions"
- }
- ]
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP",
+ "name": "HTTP",
+ "type": "Microsoft.Logic/workflows/runs/actions"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json
index 3321ed1e8ce5..4fd4fa55471b 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_Get.json
@@ -8,35 +8,37 @@
},
"responses": {
"200": {
- "properties": {
- "waitEndTime": "2018-08-10T20:16:32.044238Z",
- "startTime": "2018-08-10T20:16:32.044238Z",
- "endTime": "2018-08-10T20:16:32.5779999Z",
- "status": "Succeeded",
- "correlation": {
- "clientTrackingId": "08586676746934337772206998657CU22"
- },
- "workflow": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885",
- "name": "08586676754160363885",
- "type": "Microsoft.Logic/workflows/versions"
- },
- "trigger": {
- "name": "Recurrence",
- "startTime": "2018-08-10T20:16:32.0387927Z",
- "endTime": "2018-08-10T20:16:32.0387927Z",
- "scheduledTime": "2018-08-10T20:16:31.6344174Z",
+ "body": {
+ "properties": {
+ "waitEndTime": "2018-08-10T20:16:32.044238Z",
+ "startTime": "2018-08-10T20:16:32.044238Z",
+ "endTime": "2018-08-10T20:16:32.5779999Z",
+ "status": "Succeeded",
"correlation": {
"clientTrackingId": "08586676746934337772206998657CU22"
},
- "code": "OK",
- "status": "Succeeded"
+ "workflow": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885",
+ "name": "08586676754160363885",
+ "type": "Microsoft.Logic/workflows/versions"
+ },
+ "trigger": {
+ "name": "Recurrence",
+ "startTime": "2018-08-10T20:16:32.0387927Z",
+ "endTime": "2018-08-10T20:16:32.0387927Z",
+ "scheduledTime": "2018-08-10T20:16:31.6344174Z",
+ "correlation": {
+ "clientTrackingId": "08586676746934337772206998657CU22"
+ },
+ "code": "OK",
+ "status": "Succeeded"
+ },
+ "outputs": {}
},
- "outputs": {}
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22",
- "name": "08586676746934337772206998657CU22",
- "type": "Microsoft.Logic/workflows/runs"
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22",
+ "name": "08586676746934337772206998657CU22",
+ "type": "Microsoft.Logic/workflows/runs"
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json
index 983bb890cca0..5ebd64ba273a 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRuns_List.json
@@ -7,39 +7,41 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "waitEndTime": "2018-08-10T20:16:32.044238Z",
- "startTime": "2018-08-10T20:16:32.044238Z",
- "endTime": "2018-08-10T20:16:32.5779999Z",
- "status": "Succeeded",
- "correlation": {
- "clientTrackingId": "08586676746934337772206998657CU22"
- },
- "workflow": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885",
- "name": "08586676754160363885",
- "type": "Microsoft.Logic/workflows/versions"
- },
- "trigger": {
- "name": "Recurrence",
- "startTime": "2018-08-10T20:16:32.0387927Z",
- "endTime": "2018-08-10T20:16:32.0387927Z",
- "scheduledTime": "2018-08-10T20:16:31.6344174Z",
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "waitEndTime": "2018-08-10T20:16:32.044238Z",
+ "startTime": "2018-08-10T20:16:32.044238Z",
+ "endTime": "2018-08-10T20:16:32.5779999Z",
+ "status": "Succeeded",
"correlation": {
"clientTrackingId": "08586676746934337772206998657CU22"
},
- "code": "OK",
- "status": "Succeeded"
+ "workflow": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885",
+ "name": "08586676754160363885",
+ "type": "Microsoft.Logic/workflows/versions"
+ },
+ "trigger": {
+ "name": "Recurrence",
+ "startTime": "2018-08-10T20:16:32.0387927Z",
+ "endTime": "2018-08-10T20:16:32.0387927Z",
+ "scheduledTime": "2018-08-10T20:16:31.6344174Z",
+ "correlation": {
+ "clientTrackingId": "08586676746934337772206998657CU22"
+ },
+ "code": "OK",
+ "status": "Succeeded"
+ },
+ "outputs": {}
},
- "outputs": {}
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22",
- "name": "08586676746934337772206998657CU22",
- "type": "Microsoft.Logic/workflows/runs"
- }
- ]
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22",
+ "name": "08586676746934337772206998657CU22",
+ "type": "Microsoft.Logic/workflows/runs"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json
index 11daf6435e39..d272b7932e1b 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_Get.json
@@ -9,7 +9,7 @@
},
"responses": {
"200": {
- "value": {
+ "body": {
"properties": {
"startTime": "2018-08-10T20:16:32.0387927Z",
"endTime": "2018-08-10T20:16:32.2987996Z",
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json
index 7d7d56ce1518..c90e2b68410f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggerHistories_List.json
@@ -8,29 +8,31 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "startTime": "2018-08-10T20:16:32.0387927Z",
- "endTime": "2018-08-10T20:16:32.2987996Z",
- "scheduledTime": "2018-08-10T20:16:31.6344174Z",
- "status": "Succeeded",
- "code": "OK",
- "correlation": {
- "clientTrackingId": "08586676746934337772206998657CU22"
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "startTime": "2018-08-10T20:16:32.0387927Z",
+ "endTime": "2018-08-10T20:16:32.2987996Z",
+ "scheduledTime": "2018-08-10T20:16:31.6344174Z",
+ "status": "Succeeded",
+ "code": "OK",
+ "correlation": {
+ "clientTrackingId": "08586676746934337772206998657CU22"
+ },
+ "fired": true,
+ "run": {
+ "name": "08586676746934337772206998657CU22",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22",
+ "type": "Microsoft.Logic/workflows/runs"
+ }
},
- "fired": true,
- "run": {
- "name": "08586676746934337772206998657CU22",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22",
- "type": "Microsoft.Logic/workflows/runs"
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22",
- "name": "08586676746934337772206998657CU22",
- "type": "Microsoft.Logic/workflows/triggers/histories"
- }
- ]
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22",
+ "name": "08586676746934337772206998657CU22",
+ "type": "Microsoft.Logic/workflows/triggers/histories"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json
index e5ce86368b32..45b7784fdad3 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_Get.json
@@ -8,20 +8,22 @@
},
"responses": {
"200": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-08-10T17:32:30.2496336Z",
- "changedTime": "2018-08-10T18:47:49.5288666Z",
- "state": "Enabled",
- "workflow": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478",
- "name": "08586676800160476478",
- "type": "Microsoft.Logic/workflows/versions"
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual",
- "name": "manual",
- "type": "Microsoft.Logic/workflows/triggers"
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-08-10T17:32:30.2496336Z",
+ "changedTime": "2018-08-10T18:47:49.5288666Z",
+ "state": "Enabled",
+ "workflow": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478",
+ "name": "08586676800160476478",
+ "type": "Microsoft.Logic/workflows/versions"
+ }
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual",
+ "name": "manual",
+ "type": "Microsoft.Logic/workflows/triggers"
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json
index bdfb38ce41ed..f1386bd1f126 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowTriggers_List.json
@@ -7,24 +7,26 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-08-10T17:32:30.2496336Z",
- "changedTime": "2018-08-10T18:47:49.5288666Z",
- "state": "Enabled",
- "workflow": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478",
- "name": "08586676800160476478",
- "type": "Microsoft.Logic/workflows/versions"
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual",
- "name": "manual",
- "type": "Microsoft.Logic/workflows/triggers"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-08-10T17:32:30.2496336Z",
+ "changedTime": "2018-08-10T18:47:49.5288666Z",
+ "state": "Enabled",
+ "workflow": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478",
+ "name": "08586676800160476478",
+ "type": "Microsoft.Logic/workflows/versions"
+ }
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual",
+ "name": "manual",
+ "type": "Microsoft.Logic/workflows/triggers"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json
index 8582e730d11a..d1f5224a9cb4 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_Get.json
@@ -8,67 +8,69 @@
},
"responses": {
"200": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {},
+ "accessControl": {},
+ "endpointsConfiguration": {
+ "workflow": {
+ "outgoingIpAddresses": [
+ {
+ "address": "13.84.159.168"
+ },
+ {
+ "address": "13.65.86.56"
+ },
+ {
+ "address": "13.65.82.190"
+ }
+ ],
+ "accessEndpointIpAddresses": [
+ {
+ "address": "104.210.153.89"
+ },
+ {
+ "address": "13.85.79.155"
+ },
+ {
+ "address": "13.65.39.247"
+ }
+ ]
+ },
+ "connector": {
+ "outgoingIpAddresses": [
+ {
+ "address": "40.84.145.61"
+ }
+ ]
+ }
}
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
+ "name": "test-workflow",
+ "type": "Microsoft.Logic/workflows",
+ "location": "brazilsouth",
+ "tags": {}
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json
index db0ac1e2a457..7380b3d2eb9a 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowVersions_List.json
@@ -7,71 +7,73 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {},
+ "accessControl": {},
+ "endpointsConfiguration": {
+ "workflow": {
+ "outgoingIpAddresses": [
+ {
+ "address": "13.84.159.168"
+ },
+ {
+ "address": "13.65.86.56"
+ },
+ {
+ "address": "13.65.82.190"
+ }
+ ],
+ "accessEndpointIpAddresses": [
+ {
+ "address": "104.210.153.89"
+ },
+ {
+ "address": "13.85.79.155"
+ },
+ {
+ "address": "13.65.39.247"
+ }
+ ]
+ },
+ "connector": {
+ "outgoingIpAddresses": [
+ {
+ "address": "40.84.145.61"
+ }
+ ]
+ }
}
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
- }
- ]
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
+ "name": "test-workflow",
+ "type": "Microsoft.Logic/workflows",
+ "location": "brazilsouth",
+ "tags": {}
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json
index aab93945cbb5..6dc3a633b528 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_CreateOrUpdate.json
@@ -64,59 +64,61 @@
},
"responses": {
"200": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {},
+ "accessControl": {},
+ "endpointsConfiguration": {
+ "workflow": {
+ "outgoingIpAddresses": [
+ {
+ "address": "13.84.159.168"
+ },
+ {
+ "address": "13.65.86.56"
+ },
+ {
+ "address": "13.65.82.190"
+ }
+ ],
+ "accessEndpointIpAddresses": [
+ {
+ "address": "104.210.153.89"
+ },
+ {
+ "address": "13.85.79.155"
+ },
+ {
+ "address": "13.65.39.247"
+ }
+ ]
+ },
+ "connector": {
+ "outgoingIpAddresses": [
+ {
+ "address": "40.84.145.61"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json
index c2c6b1b45499..04da4cc3e337 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_GenerateUpgradedDefinition.json
@@ -10,17 +10,19 @@
},
"responses": {
"200": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {
- "$connections": {
- "defaultValue": {},
- "type": "Object"
- }
- },
- "triggers": {},
- "actions": {},
- "outputs": {}
+ "body": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {
+ "$connections": {
+ "defaultValue": {},
+ "type": "Object"
+ }
+ },
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json
index ab6341d47595..8b12b9cc7763 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Get.json
@@ -7,67 +7,69 @@
},
"responses": {
"200": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2018-07-01-preview/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2018-07-01-preview/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {},
+ "accessControl": {},
+ "endpointsConfiguration": {
+ "workflow": {
+ "outgoingIpAddresses": [
+ {
+ "address": "13.84.159.168"
+ },
+ {
+ "address": "13.65.86.56"
+ },
+ {
+ "address": "13.65.82.190"
+ }
+ ],
+ "accessEndpointIpAddresses": [
+ {
+ "address": "104.210.153.89"
+ },
+ {
+ "address": "13.85.79.155"
+ },
+ {
+ "address": "13.65.39.247"
+ }
+ ]
+ },
+ "connector": {
+ "outgoingIpAddresses": [
+ {
+ "address": "40.84.145.61"
+ }
+ ]
+ }
}
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
+ "name": "test-workflow",
+ "type": "Microsoft.Logic/workflows",
+ "location": "brazilsouth",
+ "tags": {}
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json
index bbe4fe2d03de..2e1d7a83eeb8 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListByResourceGroup.json
@@ -6,71 +6,73 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {},
+ "accessControl": {},
+ "endpointsConfiguration": {
+ "workflow": {
+ "outgoingIpAddresses": [
+ {
+ "address": "13.84.159.168"
+ },
+ {
+ "address": "13.65.86.56"
+ },
+ {
+ "address": "13.65.82.190"
+ }
+ ],
+ "accessEndpointIpAddresses": [
+ {
+ "address": "104.210.153.89"
+ },
+ {
+ "address": "13.85.79.155"
+ },
+ {
+ "address": "13.65.39.247"
+ }
+ ]
+ },
+ "connector": {
+ "outgoingIpAddresses": [
+ {
+ "address": "40.84.145.61"
+ }
+ ]
+ }
}
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
- }
- ]
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
+ "name": "test-workflow",
+ "type": "Microsoft.Logic/workflows",
+ "location": "brazilsouth",
+ "tags": {}
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json
index 5d18a2201856..1d13883c1213 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_ListBySubscription.json
@@ -5,71 +5,73 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {},
+ "accessControl": {},
+ "endpointsConfiguration": {
+ "workflow": {
+ "outgoingIpAddresses": [
+ {
+ "address": "13.84.159.168"
+ },
+ {
+ "address": "13.65.86.56"
+ },
+ {
+ "address": "13.65.82.190"
+ }
+ ],
+ "accessEndpointIpAddresses": [
+ {
+ "address": "104.210.153.89"
+ },
+ {
+ "address": "13.85.79.155"
+ },
+ {
+ "address": "13.65.39.247"
+ }
+ ]
+ },
+ "connector": {
+ "outgoingIpAddresses": [
+ {
+ "address": "40.84.145.61"
+ }
+ ]
+ }
}
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
- }
- ]
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
+ "name": "test-workflow",
+ "type": "Microsoft.Logic/workflows",
+ "location": "brazilsouth",
+ "tags": {}
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json
index aab93945cbb5..6dc3a633b528 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/Workflows_Update.json
@@ -64,59 +64,61 @@
},
"responses": {
"200": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {},
+ "accessControl": {},
+ "endpointsConfiguration": {
+ "workflow": {
+ "outgoingIpAddresses": [
+ {
+ "address": "13.84.159.168"
+ },
+ {
+ "address": "13.65.86.56"
+ },
+ {
+ "address": "13.65.82.190"
+ }
+ ],
+ "accessEndpointIpAddresses": [
+ {
+ "address": "104.210.153.89"
+ },
+ {
+ "address": "13.85.79.155"
+ },
+ {
+ "address": "13.65.39.247"
+ }
+ ]
+ },
+ "connector": {
+ "outgoingIpAddresses": [
+ {
+ "address": "40.84.145.61"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json
index 4edb3b10ab55..ceac00bace19 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountBatchConfigurationsCreateOrUpdate.json
@@ -7,18 +7,16 @@
"batchConfigurationName": "testBatchConfiguration",
"batchConfiguration": {
"properties": {
- "properties": {
- "batchGroupName": "DEFAULT",
- "releaseCriteria": {
- "recurrence": {
- "frequency": "Minute",
- "interval": 1,
- "startTime": "2017-03-24T11:43:00",
- "timeZone": "India Standard Time"
- },
- "messageCount": 10,
- "batchSize": 234567
- }
+ "batchGroupName": "DEFAULT",
+ "releaseCriteria": {
+ "recurrence": {
+ "frequency": "Minute",
+ "interval": 1,
+ "startTime": "2017-03-24T11:43:00",
+ "timeZone": "India Standard Time"
+ },
+ "messageCount": 10,
+ "batchSize": 234567
}
},
"location": "westus"
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json
index 7350ef83e347..dfbe4d860bbf 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsListKeyVaultKeys.json
@@ -5,10 +5,8 @@
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"integrationAccountName": "testIntegrationAccount",
"listKeyVaultKeys": {
- "keyVault": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.KeyVault/vaults/testKeyVault"
- },
- "skipToken": "testSkipToken"
+ "skipToken": "testSkipToken",
+ "keyVault": {}
}
},
"responses": {
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json
index 86ec41230460..66db66a71087 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/IntegrationAccountsLogTrackingEvent.json
@@ -6,45 +6,11 @@
"integrationAccountName": "testIntegrationAccount",
"logTrackingEvents": {
"sourceType": "Microsoft.Logic/workflows",
- "source": {
- "workflow": {
- "systemId": "/locations/westus/scaleunits/test-01/workflows/bf501b3fceaa4a858a166aa64768ced5"
- },
- "runInstance": {
- "runId": "08586772141809790618914792486CU03"
- },
- "operation": {
- "operationName": "httpgetaction"
- }
- },
"events": [
{
"eventLevel": "Informational",
"eventTime": "2016-08-05T01:54:49.505567Z",
"recordType": "AS2Message",
- "record": {
- "agreementProperties": {
- "senderPartnerName": "testPartner1",
- "receiverPartnerName": "testPartner2",
- "as2To": "testas2to",
- "as2From": "testas2from",
- "agreementName": "testAgreement"
- },
- "messageProperties": {
- "direction": "Receive",
- "messageId": "12345",
- "dispositionType": "received-success",
- "fileName": "test",
- "isMessageFailed": false,
- "IsMessageEncrypted": false,
- "IsMessageSigned": false,
- "correlationMessageId": "Unique message identifier",
- "isMessageCompressed": false,
- "isNrrEnabled": true,
- "isMdnExpected": true,
- "mdnType": "Async"
- }
- },
"error": {
"message": "Some error occurred",
"code": "NotFound"
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json
index 21f8bc57f4c6..3570e17afb96 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/OperationsList.json
@@ -4,1348 +4,690 @@
},
"responses": {
"200": {
- "value": [
- {
- "name": "Microsoft.Logic/operations/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Operation",
- "operation": "Get Operation",
- "description": "Gets the operation."
- }
- },
- {
- "name": "Microsoft.Logic/register/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Resource Provider",
- "operation": "Register Resource Provider",
- "description": "Registers the Microsoft.Logic resource provider for a given subscription."
- }
- },
- {
- "name": "Microsoft.Logic/locations/workflows/validate/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Validate Workflow",
- "description": "Validates the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Get Workflow",
- "description": "Reads the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Set Workflow",
- "description": "Creates or updates the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Delete Workflow",
- "description": "Deletes the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/run/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Run Workflow",
- "description": "Starts a run of the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/disable/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Disable Workflow",
- "description": "Disables the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/enable/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Enable Workflow",
- "description": "Enables the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/suspend/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Suspend Workflow",
- "description": "Suspends the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/validate/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Validate Workflow",
- "description": "Validates the workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/move/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Move Workflow",
- "description": "Moves Workflow from its existing subscription id, resource group, and/or name to a different subscription id, resource group, and/or name."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/listSwagger/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "Get workflow swagger",
- "description": "Gets the workflow swagger definitions."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/versions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Version",
- "operation": "Get Workflow Version",
- "description": "Reads the workflow version."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/versions/triggers/listCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "List Trigger Callback URL",
- "description": "Gets the callback URL for trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/accessKeys/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "Get Access Key",
- "description": "Reads the access key."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/accessKeys/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "Set Access Key",
- "description": "Creates or updates the access key."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/accessKeys/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "Delete Access Key",
- "description": "Deletes the access key."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/accessKeys/list/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "List Access Key",
- "description": "Lists the access key secrets."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/accessKeys/regenerate/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "Regenerate Access Key",
- "description": "Regenerates the access key secrets."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/regenerateAccessKey/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Access Key",
- "operation": "Regenerate Access Key",
- "description": "Regenerates the access key secrets."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/listCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow",
- "operation": "List workflow callback URL",
- "description": "Gets the callback URL for workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "Get Trigger",
- "description": "Reads the trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/run/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "Trigger Run",
- "description": "Executes the trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/reset/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "Trigger Reset",
- "description": "Resets the trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/setState/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "Set Trigger State",
- "description": "Sets the trigger state."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/histories/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger Histories",
- "operation": "Get Trigger Histories",
- "description": "Reads the trigger histories."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/histories/resubmit/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger Histories",
- "operation": "Resubmit trigger",
- "description": "Resubmits the workflow trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/triggers/listCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Trigger",
- "operation": "List Trigger Callback URL",
- "description": "Gets the callback URL for trigger."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run",
- "operation": "Get Workflow Run",
- "description": "Reads the workflow run."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/cancel/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run",
- "operation": "Cancel Workflow Run",
- "description": "Cancels the run of a workflow."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/operations/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Operation",
- "operation": "Get Workflow Run Operation Status",
- "description": "Reads the workflow run operation status."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Action",
- "operation": "Get Workflow Run Action",
- "description": "Reads the workflow run action."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/repetitions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Action Repetition",
- "operation": "Get Workflow Run Action Repetition",
- "description": "Reads the workflow run action repetition."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/scoperepetitions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Action Scope Repetition",
- "operation": "Get Workflow Run Action Scope Repetition",
- "description": "Reads the workflow run action scope repetition."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/requestHistories/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow run action request history",
- "operation": "Gets the workflow run action request history",
- "description": "Reads the workflow run action request history."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/repetitions/requestHistories/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow run repetition action request history",
- "operation": "Gets the workflow run repetition action request history",
- "description": "Reads the workflow run repetition action request history."
- }
- },
- {
- "origin": "System",
- "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Diagnostic Setting",
- "operation": "Get Workflow Diagnostic Setting",
- "description": "Reads the workflow diagnostic settings."
- }
- },
- {
- "origin": "System",
- "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Diagnostic Setting",
- "operation": "Set Workflow Diagnostic Setting",
- "description": "Creates or updates the workflow diagnostic setting."
- }
- },
- {
- "origin": "System",
- "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Metric Definition",
- "operation": "Get Workflow Metric Definition",
- "description": "Reads the workflow metric definitions."
- },
- "properties": {
- "serviceSpecification": {
- "metricSpecifications": [
- {
- "name": "RunsStarted",
- "displayName": "Runs Started",
- "displayDescription": "Number of workflow runs started.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsCompleted",
- "displayName": "Runs Completed",
- "displayDescription": "Number of workflow runs completed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsSucceeded",
- "displayName": "Runs Succeeded",
- "displayDescription": "Number of workflow runs succeeded.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsFailed",
- "displayName": "Runs Failed",
- "displayDescription": "Number of workflow runs failed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunsCancelled",
- "displayName": "Runs Cancelled",
- "displayDescription": "Number of workflow runs cancelled.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunLatency",
- "displayName": "Run Latency",
- "displayDescription": "Latency of completed workflow runs.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "RunSuccessLatency",
- "displayName": "Run Success Latency",
- "displayDescription": "Latency of succeeded workflow runs.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "RunThrottledEvents",
- "displayName": "Run Throttled Events",
- "displayDescription": "Number of workflow action or trigger throttled events.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "RunFailurePercentage",
- "displayName": "Run Failure Percentage",
- "displayDescription": "Percentage of workflow runs failed.",
- "unit": "Percent",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsStarted",
- "displayName": "Actions Started ",
- "displayDescription": "Number of workflow actions started.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsCompleted",
- "displayName": "Actions Completed ",
- "displayDescription": "Number of workflow actions completed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsSucceeded",
- "displayName": "Actions Succeeded ",
- "displayDescription": "Number of workflow actions succeeded.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsFailed",
- "displayName": "Actions Failed ",
- "displayDescription": "Number of workflow actions failed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionsSkipped",
- "displayName": "Actions Skipped ",
- "displayDescription": "Number of workflow actions skipped.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "ActionLatency",
- "displayName": "Action Latency ",
- "displayDescription": "Latency of completed workflow actions.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "ActionSuccessLatency",
- "displayName": "Action Success Latency ",
- "displayDescription": "Latency of succeeded workflow actions.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "ActionThrottledEvents",
- "displayName": "Action Throttled Events",
- "displayDescription": "Number of workflow action throttled events..",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersStarted",
- "displayName": "Triggers Started ",
- "displayDescription": "Number of workflow triggers started.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersCompleted",
- "displayName": "Triggers Completed ",
- "displayDescription": "Number of workflow triggers completed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersSucceeded",
- "displayName": "Triggers Succeeded ",
- "displayDescription": "Number of workflow triggers succeeded.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersFailed",
- "displayName": "Triggers Failed ",
- "displayDescription": "Number of workflow triggers failed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersSkipped",
- "displayName": "Triggers Skipped",
- "displayDescription": "Number of workflow triggers skipped.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggersFired",
- "displayName": "Triggers Fired ",
- "displayDescription": "Number of workflow triggers fired.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TriggerLatency",
- "displayName": "Trigger Latency ",
- "displayDescription": "Latency of completed workflow triggers.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "TriggerFireLatency",
- "displayName": "Trigger Fire Latency ",
- "displayDescription": "Latency of fired workflow triggers.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "TriggerSuccessLatency",
- "displayName": "Trigger Success Latency ",
- "displayDescription": "Latency of succeeded workflow triggers.",
- "unit": "Seconds",
- "aggregationType": "Average",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": false
- },
- {
- "name": "TriggerThrottledEvents",
- "displayName": "Trigger Throttled Events",
- "displayDescription": "Number of workflow trigger throttled events.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableActionExecutions",
- "displayName": "Billable Action Executions",
- "displayDescription": "Number of workflow action executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableTriggerExecutions",
- "displayName": "Billable Trigger Executions",
- "displayDescription": "Number of workflow trigger executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TotalBillableExecutions",
- "displayName": "Total Billable Executions",
- "displayDescription": "Number of workflow executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableNativeActionExecutions",
- "displayName": "Billable Native Action Executions",
- "displayDescription": "Number of native workflow action executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableNativeTriggerExecutions",
- "displayName": "Billable Native Trigger Executions",
- "displayDescription": "Number of native workflow trigger executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TotalBillableNativeExecutions",
- "displayName": "Total Native Billable Executions",
- "displayDescription": "Number of native workflow executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableStandardActionExecutions",
- "displayName": "Billable Standard Action Executions",
- "displayDescription": "Number of standard workflow action executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "BillableStandardTriggerExecutions",
- "displayName": "Billable Standard Trigger Executions",
- "displayDescription": "Number of standard workflow trigger executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- },
- {
- "name": "TotalBillableStandardExecutions",
- "displayName": "Total Standard Billable Executions",
- "displayDescription": "Number of standard workflow executions getting billed.",
- "unit": "Count",
- "aggregationType": "Total",
- "dimensions": [],
- "availabilities": [
- {
- "timeGrain": "PT1M",
- "blobDuration": "PT1H"
- }
- ],
- "fillGapWithZero": true
- }
- ]
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Logic/operations/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Operation",
+ "operation": "Get Operation"
}
- }
- },
- {
- "origin": "System",
- "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Log Definition",
- "operation": "Get Workflow Log Definition",
- "description": "Reads the workflow log definitions."
- },
- "properties": {
- "serviceSpecification": {
- "logSpecifications": [
- {
- "name": "WorkflowRuntime",
- "displayName": "Workflow runtime diagnostic events",
- "description": "Diagnostic events related to workflow runtime executions.",
- "blobDuration": "PT1H"
- }
- ]
+ },
+ {
+ "name": "Microsoft.Logic/register/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Resource Provider",
+ "operation": "Register Resource Provider"
}
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/listExpressionTraces/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Action",
- "operation": "List Workflow Run Action Expression Traces",
- "description": "Gets the workflow run action expression traces."
- }
- },
- {
- "name": "Microsoft.Logic/workflows/runs/actions/repetitions/listExpressionTraces/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Workflow Run Action Repetition",
- "operation": "List Workflow Run Action Repetition Expression Traces",
- "description": "Gets the workflow run action repetition expression traces."
- }
- },
- {
- "origin": "System",
- "name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Log Definition",
- "operation": "Get Integration Account Log Definition",
- "description": "Reads the Integration Account log definitions."
- },
- "properties": {
- "serviceSpecification": {
- "logSpecifications": [
- {
- "name": "IntegrationAccountTrackingEvents",
- "displayName": "Integration Account track events",
- "description": "Track events related to Integration Account.",
- "blobDuration": "PT1H"
- }
- ]
+ },
+ {
+ "name": "Microsoft.Logic/locations/workflows/validate/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Validate Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Get Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Set Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Delete Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/run/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Run Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/disable/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Disable Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/enable/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Enable Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/suspend/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Suspend Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/validate/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Validate Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/move/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Move Workflow"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/listSwagger/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "Get workflow swagger"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/versions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Version",
+ "operation": "Get Workflow Version"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/versions/triggers/listCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "List Trigger Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/accessKeys/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "Get Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/accessKeys/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "Set Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/accessKeys/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "Delete Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/accessKeys/list/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "List Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/accessKeys/regenerate/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "Regenerate Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/regenerateAccessKey/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Access Key",
+ "operation": "Regenerate Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/listCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow",
+ "operation": "List workflow callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "Get Trigger"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/run/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "Trigger Run"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/reset/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "Trigger Reset"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/setState/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "Set Trigger State"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/histories/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger Histories",
+ "operation": "Get Trigger Histories"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/histories/resubmit/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger Histories",
+ "operation": "Resubmit trigger"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/triggers/listCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Trigger",
+ "operation": "List Trigger Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run",
+ "operation": "Get Workflow Run"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/cancel/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run",
+ "operation": "Cancel Workflow Run"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/operations/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Operation",
+ "operation": "Get Workflow Run Operation Status"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Action",
+ "operation": "Get Workflow Run Action"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/repetitions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Action Repetition",
+ "operation": "Get Workflow Run Action Repetition"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/scoperepetitions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Action Scope Repetition",
+ "operation": "Get Workflow Run Action Scope Repetition"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/requestHistories/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow run action request history",
+ "operation": "Gets the workflow run action request history"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/repetitions/requestHistories/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow run repetition action request history",
+ "operation": "Gets the workflow run repetition action request history"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Diagnostic Setting",
+ "operation": "Get Workflow Diagnostic Setting"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/diagnosticSettings/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Diagnostic Setting",
+ "operation": "Set Workflow Diagnostic Setting"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/metricDefinitions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Metric Definition",
+ "operation": "Get Workflow Metric Definition"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/providers/Microsoft.Insights/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Log Definition",
+ "operation": "Get Workflow Log Definition"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/listExpressionTraces/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Action",
+ "operation": "List Workflow Run Action Expression Traces"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/workflows/runs/actions/repetitions/listExpressionTraces/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Workflow Run Action Repetition",
+ "operation": "List Workflow Run Action Repetition Expression Traces"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/providers/Microsoft.Insights/logDefinitions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Log Definition",
+ "operation": "Get Integration Account Log Definition"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Get Integration Account"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Set Integration Account"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Delete Integration Account"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/regenerateAccessKey/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Regenerate Access Key"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/listCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "List Integration Account Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/listKeyVaultKeys/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "List Key Vault Keys"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/logTrackingEvents/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Log Integration Account Tracking Events"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/join/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account",
+ "operation": "Join Integration Account"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/partners/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Partner",
+ "operation": "Get Integration Account Partner"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/partners/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Partner",
+ "operation": "Set Integration Account Partner"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/partners/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Partner",
+ "operation": "Delete Integration Account Partner"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/partners/listContentCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Partner",
+ "operation": "List Integration Account Partner Content Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/agreements/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Agreement",
+ "operation": "Get Integration Account Agreement"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/agreements/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Agreement",
+ "operation": "Set Integration Account Agreement"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/agreements/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Agreement",
+ "operation": "Delete Integration Account Agreement"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/agreements/listContentCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Agreement",
+ "operation": "List Integration Account Agreement Content Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/certificates/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Certificate",
+ "operation": "Get Integration Account Certificate"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/certificates/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Certificate",
+ "operation": "Set Integration Account Certificate"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/certificates/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Certificate",
+ "operation": "Delete Integration Account Certificate"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/schemas/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Schema",
+ "operation": "Get Integration Account Schema"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/schemas/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Schema",
+ "operation": "Set Integration Account Schema"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/schemas/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Schema",
+ "operation": "Delete Integration Account Schema"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/schemas/listContentCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Schema",
+ "operation": "List Integration Account Schema Content Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/maps/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Map",
+ "operation": "Get Integration Account Map"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/maps/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Map",
+ "operation": "Set Integration Account Map"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/maps/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Map",
+ "operation": "Delete Integration Account Map"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/maps/listContentCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Map",
+ "operation": "List Integration Account Map Content Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/assemblies/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Assembly",
+ "operation": "Get Integration Account Assembly"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/assemblies/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Assembly",
+ "operation": "Set Integration Account Assembly"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/assemblies/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Assembly",
+ "operation": "Delete Integration Account Assembly"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/assemblies/listContentCallbackUrl/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Assembly",
+ "operation": "List Integration Account Assembly Content Callback URL"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Batch Configuration",
+ "operation": "Get Integration Account Batch Configuration"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Batch Configuration",
+ "operation": "Set Integration Account Batch Configuration"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Batch Configuration",
+ "operation": "Delete Integration Account Batch Configuration"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/sessions/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Session",
+ "operation": "Get Integration Account Session"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/sessions/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Session",
+ "operation": "Set Integration Account Session"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationAccounts/sessions/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Account Session",
+ "operation": "Delete Integration Account Session"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationServiceEnvironments/read",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Service Environment",
+ "operation": "Get Integration Service Environment"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationServiceEnvironments/write",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Service Environment",
+ "operation": "Set Integration Service Environment"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationServiceEnvironments/delete",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Service Environment",
+ "operation": "Delete Integration Service Environment"
+ }
+ },
+ {
+ "name": "Microsoft.Logic/integrationServiceEnvironments/join/action",
+ "display": {
+ "provider": "Microsoft Logic",
+ "resource": "Integration Service Environment",
+ "operation": "Join Integration Service Environment"
}
}
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Get Integration Account",
- "description": "Reads the integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Set Integration Account",
- "description": "Creates or updates the integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Delete Integration Account",
- "description": "Deletes the integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/regenerateAccessKey/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Regenerate Access Key",
- "description": "Regenerates the access key secrets."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/listCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "List Integration Account Callback URL",
- "description": "Gets the callback URL for integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/listKeyVaultKeys/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "List Key Vault Keys",
- "description": "Gets the keys in the key vault."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/logTrackingEvents/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Log Integration Account Tracking Events",
- "description": "Logs the tracking events in the integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/join/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account",
- "operation": "Join Integration Account",
- "description": "Joins the Integration Account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/partners/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Partner",
- "operation": "Get Integration Account Partner",
- "description": "Reads the parter in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/partners/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Partner",
- "operation": "Set Integration Account Partner",
- "description": "Creates or updates the partner in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/partners/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Partner",
- "operation": "Delete Integration Account Partner",
- "description": "Deletes the partner in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/partners/listContentCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Partner",
- "operation": "List Integration Account Partner Content Callback URL",
- "description": "Gets the callback URL for partner content in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/agreements/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Agreement",
- "operation": "Get Integration Account Agreement",
- "description": "Reads the agreement in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/agreements/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Agreement",
- "operation": "Set Integration Account Agreement",
- "description": "Creates or updates the agreement in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/agreements/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Agreement",
- "operation": "Delete Integration Account Agreement",
- "description": "Deletes the agreement in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/agreements/listContentCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Agreement",
- "operation": "List Integration Account Agreement Content Callback URL",
- "description": "Gets the callback URL for agreement content in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/certificates/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Certificate",
- "operation": "Get Integration Account Certificate",
- "description": "Reads the certificate in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/certificates/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Certificate",
- "operation": "Set Integration Account Certificate",
- "description": "Creates or updates the certificate in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/certificates/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Certificate",
- "operation": "Delete Integration Account Certificate",
- "description": "Deletes the certificate in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/schemas/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Schema",
- "operation": "Get Integration Account Schema",
- "description": "Reads the schema in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/schemas/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Schema",
- "operation": "Set Integration Account Schema",
- "description": "Creates or updates the schema in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/schemas/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Schema",
- "operation": "Delete Integration Account Schema",
- "description": "Deletes the schema in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/schemas/listContentCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Schema",
- "operation": "List Integration Account Schema Content Callback URL",
- "description": "Gets the callback URL for schema content in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/maps/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Map",
- "operation": "Get Integration Account Map",
- "description": "Reads the map in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/maps/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Map",
- "operation": "Set Integration Account Map",
- "description": "Creates or updates the map in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/maps/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Map",
- "operation": "Delete Integration Account Map",
- "description": "Deletes the map in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/maps/listContentCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Map",
- "operation": "List Integration Account Map Content Callback URL",
- "description": "Gets the callback URL for map content in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/assemblies/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Assembly",
- "operation": "Get Integration Account Assembly",
- "description": "Reads the assembly in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/assemblies/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Assembly",
- "operation": "Set Integration Account Assembly",
- "description": "Creates or updates the assembly in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/assemblies/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Assembly",
- "operation": "Delete Integration Account Assembly",
- "description": "Deletes the assembly in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/assemblies/listContentCallbackUrl/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Assembly",
- "operation": "List Integration Account Assembly Content Callback URL",
- "description": "Gets the callback URL for assembly content in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Batch Configuration",
- "operation": "Get Integration Account Batch Configuration",
- "description": "Reads the batch configuration in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Batch Configuration",
- "operation": "Set Integration Account Batch Configuration",
- "description": "Creates or updates the batch configuration in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/batchConfigurations/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Batch Configuration",
- "operation": "Delete Integration Account Batch Configuration",
- "description": "Deletes the batch configuration in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/sessions/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Session",
- "operation": "Get Integration Account Session",
- "description": "Reads the batch configuration in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/sessions/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Session",
- "operation": "Set Integration Account Session",
- "description": "Creates or updates the session in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationAccounts/sessions/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Account Session",
- "operation": "Delete Integration Account Session",
- "description": "Deletes the session in integration account."
- }
- },
- {
- "name": "Microsoft.Logic/integrationServiceEnvironments/read",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Service Environment",
- "operation": "Get Integration Service Environment",
- "description": "Reads the integration service environment."
- }
- },
- {
- "name": "Microsoft.Logic/integrationServiceEnvironments/write",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Service Environment",
- "operation": "Set Integration Service Environment",
- "description": "Creates or updates the integration service environment."
- }
- },
- {
- "name": "Microsoft.Logic/integrationServiceEnvironments/delete",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Service Environment",
- "operation": "Delete Integration Service Environment",
- "description": "Deletes the integration service environment."
- }
- },
- {
- "name": "Microsoft.Logic/integrationServiceEnvironments/join/action",
- "display": {
- "provider": "Microsoft Logic",
- "resource": "Integration Service Environment",
- "operation": "Join Integration Service Environment",
- "description": "Joins the Integration Service Environment."
- }
- }
- ]
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json
new file mode 100644
index 000000000000..8576c68e7cfe
--- /dev/null
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsCreateOrUpdate.json
@@ -0,0 +1,194 @@
+{
+ "title": "Create or update integration account rosettanet process configuration example",
+ "parameters": {
+ "api-version": "2016-06-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "integrationAccountName": "testia123",
+ "rosettaNetProcessConfigurationName": "3A4",
+ "rosettaNetProcessConfiguration": {
+ "properties": {
+ "processCode": "3A4",
+ "processVersion": "V02.02.00",
+ "processName": "Request Purchase Order",
+ "description": "Test description",
+ "activitySettings": {
+ "activityType": "RequestResponse",
+ "activityBehavior": {
+ "isAuthorizationRequired": false,
+ "persistentConfidentialityScope": "None",
+ "isSecuredTransportRequired": false,
+ "actionType": "DoubleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 2,
+ "timeToPerformInSeconds": 7200
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 600
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Purchase Order Request",
+ "role": "Buyer",
+ "description": "This partner role creates a demand for a product or service.",
+ "roleType": "Functional",
+ "service": "Buyer Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Request",
+ "description": "A request to accept a purchase order for fulfillment..",
+ "version": "V02.02.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Purchase Order Confirmation Action",
+ "role": "Seller",
+ "description": "An organization that sells products to partners in the supply chain.",
+ "roleType": "Organizational",
+ "service": "Seller Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Confirmation",
+ "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.",
+ "version": "V02.02.00"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Cache-Control": "no-cache",
+ "Pragma": "no-cache",
+ "Content-Type": "application/json; charset=utf-8",
+ "Expires": -1,
+ "Vary": "Accept-Encoding",
+ "Date": "Tue, 21 Feb 2019 20:43:03 GMT"
+ },
+ "body": {
+ "properties": {
+ "processCode": "3A4",
+ "processVersion": "V02.02.00",
+ "processName": "Request Purchase Order",
+ "description": "Test description",
+ "activitySettings": {
+ "activityType": "RequestResponse",
+ "activityBehavior": {
+ "isAuthorizationRequired": false,
+ "persistentConfidentialityScope": "None",
+ "isSecuredTransportRequired": false,
+ "actionType": "DoubleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 2,
+ "timeToPerformInSeconds": 7200
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 600
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Purchase Order Request",
+ "role": "Buyer",
+ "description": "This partner role creates a demand for a product or service.",
+ "roleType": "Functional",
+ "service": "Buyer Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Request",
+ "description": "A request to accept a purchase order for fulfillment..",
+ "version": "V02.02.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Purchase Order Confirmation Action",
+ "role": "Seller",
+ "description": "An organization that sells products to partners in the supply chain.",
+ "roleType": "Organizational",
+ "service": "Seller Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Confirmation",
+ "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.",
+ "version": "V02.02.00"
+ }
+ },
+ "createdTime": "2018-10-22T19:33:12.3769017Z",
+ "changedTime": "2019-02-21T20:41:35.9796534Z"
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4",
+ "name": "3A4",
+ "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations"
+ }
+ },
+ "201": {
+ "headers": {
+ "Cache-Control": "no-cache",
+ "Pragma": "no-cache",
+ "Content-Type": "application/json; charset=utf-8",
+ "Expires": -1,
+ "Date": "Tue, 21 Feb 2019 20:43:03 GMT"
+ },
+ "body": {
+ "properties": {
+ "createdTime": "2019-02-21T20:41:35.9789189Z",
+ "changedTime": "2019-02-21T20:41:35.9796534Z",
+ "processCode": "3A4",
+ "processVersion": "V02.02.00",
+ "processName": "Request Purchase Order",
+ "description": "Test description",
+ "activitySettings": {
+ "activityType": "RequestResponse",
+ "activityBehavior": {
+ "isAuthorizationRequired": false,
+ "persistentConfidentialityScope": "None",
+ "isSecuredTransportRequired": false,
+ "actionType": "DoubleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 2,
+ "timeToPerformInSeconds": 7200
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 600
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Purchase Order Request",
+ "role": "Buyer",
+ "description": "This partner role creates a demand for a product or service.",
+ "roleType": "Functional",
+ "service": "Buyer Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Request",
+ "description": "A request to accept a purchase order for fulfillment..",
+ "version": "V02.02.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Purchase Order Confirmation Action",
+ "role": "Seller",
+ "description": "An organization that sells products to partners in the supply chain.",
+ "roleType": "Organizational",
+ "service": "Seller Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Confirmation",
+ "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.",
+ "version": "V02.02.00"
+ }
+ }
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A4",
+ "name": "3A4",
+ "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations"
+ }
+ }
+ }
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json
new file mode 100644
index 000000000000..64ef9a187eee
--- /dev/null
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsDelete.json
@@ -0,0 +1,13 @@
+{
+ "parameters": {
+ "api-version": "2016-06-01",
+ "resourceGroupName": "testResourceGroup",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "integrationAccountName": "testIntegrationAccount",
+ "rosettaNetProcessConfigurationName": "3A4"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json
new file mode 100644
index 000000000000..7166e46950c4
--- /dev/null
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsGet.json
@@ -0,0 +1,68 @@
+{
+ "parameters": {
+ "api-version": "2016-06-01",
+ "resourceGroupName": "testResourceGroup",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "integrationAccountName": "testIntegrationAccount",
+ "rosettaNetProcessConfigurationName": "3A4"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "processCode": "3A4",
+ "processVersion": "V02.02.00",
+ "processName": "3A4",
+ "activitySettings": {
+ "activityType": "RequestResponse",
+ "activityBehavior": {
+ "isAuthorizationRequired": true,
+ "persistentConfidentialityScope": "Payload",
+ "isSecuredTransportRequired": true,
+ "actionType": "DoubleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 4,
+ "timeToPerformInSeconds": 600
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 60
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Purchase Order Request Action",
+ "role": "Buyer",
+ "description": "An employee or organization that buys products for a partner type in the supply chain.",
+ "roleType": "Functional",
+ "service": "Buyer Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Request",
+ "description": "A request to accept a purchase order for fulfillment.",
+ "version": "V02.02.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Purchase Order Confirmation Action",
+ "role": "Seller",
+ "description": "An organization that sells products to partners in the supply chain.",
+ "roleType": "Organizational",
+ "service": "Seller Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Purchase Order Confirmation",
+ "description": "Formally confirms the status of line item(s) in a Purchase Order. A Purchase Order line item may have one of the following states: accepted, rejected, or pending.",
+ "version": "V02.02.00"
+ }
+ },
+ "createdTime": "2019-05-22T13:46:54.6312192Z",
+ "changedTime": "2019-05-29T20:09:48.5167814Z"
+ },
+ "id": "/integrationAccounts/testIntegrationAccount/rosettaNetProcessConfigurations/3A4",
+ "name": "3A4",
+ "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations"
+ }
+ }
+ }
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json
new file mode 100644
index 000000000000..199ee16443af
--- /dev/null
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json
@@ -0,0 +1,135 @@
+{
+ "title": "List by integration account rosettanet process configuration examples",
+ "parameters": {
+ "api-version": "2016-06-01",
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "integrationAccountName": "testia123"
+ },
+ "responses": {
+ "200": {
+ "headers": {
+ "Cache-Control": "no-cache",
+ "Pragma": "no-cache",
+ "Content-Type": "application/json; charset=utf-8",
+ "Expires": -1,
+ "Vary": "Accept-Encoding",
+ "Date": "Tue, 28 May 2019 20:43:03 GMT"
+ },
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "processCode": "0A1",
+ "processVersion": "V02.00.00",
+ "processName": "0A1",
+ "activitySettings": {
+ "activityType": "InformationDistribution",
+ "activityBehavior": {
+ "isAuthorizationRequired": false,
+ "persistentConfidentialityScope": "None",
+ "isSecuredTransportRequired": false,
+ "actionType": "SingleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 4,
+ "timeToPerformInSeconds": 86400
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 36400
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Failure Notification Action",
+ "role": "PIP Failure Notifier",
+ "description": "An organizational process that automatically notifies the appropriate Failure Report Administrator of a PIP process failure.",
+ "roleType": "Functional",
+ "service": "PIP Failure Notifier Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Failure Notification",
+ "description": "An unsolicited formal notification of the failure to perform a business activity.",
+ "version": "V02.00.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Failure Notification Action",
+ "role": "Failure Report Administrator",
+ "description": "An employee or organizational entity that receives and processes PIP Failure Notifications.",
+ "roleType": "Organizational",
+ "service": "Failure Report Administrator Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Failure Notification",
+ "description": "An unsolicited formal notification of the failure to perform a business activity.",
+ "version": "V02.00.00"
+ }
+ },
+ "createdTime": "2019-05-22T13:47:26.330972Z",
+ "changedTime": "2019-05-22T13:47:26.3328234Z"
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123//rosettaNetProcessConfigurations/0A1",
+ "name": "IntegrationAccountSession1662",
+ "type": "Microsoft.Logic/integrationAccounts/sessions"
+ },
+ {
+ "properties": {
+ "processCode": "3A3",
+ "processVersion": "R02.00.00",
+ "processName": "3A3",
+ "activitySettings": {
+ "activityType": "RequestResponse",
+ "activityBehavior": {
+ "isAuthorizationRequired": false,
+ "persistentConfidentialityScope": "None",
+ "isSecuredTransportRequired": false,
+ "actionType": "DoubleAction",
+ "responseType": "Async",
+ "nonRepudiationOfOriginAndContent": false,
+ "retryCount": 4,
+ "timeToPerformInSeconds": 86400
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "isNonRepudiationRequired": false,
+ "timeToAcknowledgeInSeconds": 36400
+ }
+ },
+ "initiatorRoleSettings": {
+ "action": "Shopping Cart Transfer Request Action",
+ "role": "Sales Facilitator",
+ "description": "This partner role facilitates the sale of product between partners in the supply chain.",
+ "roleType": "Functional",
+ "service": "Sales Facilitator Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Shopping Cart Transfer Request",
+ "description": "Requests a Supplier to confirm the transfer of a shopping cart.",
+ "version": "R02.00.00"
+ }
+ },
+ "responderRoleSettings": {
+ "action": "Shopping Cart Transfer Confirmation Action",
+ "role": "Supplier",
+ "description": "This partner role supplies product to customers in the supply chain.",
+ "roleType": "Organizational",
+ "service": "Supplier Service",
+ "serviceClassification": "Business Service",
+ "businessDocument": {
+ "name": "Shopping Cart Transfer Confirmation",
+ "description": "Confirms the transfer of a shopping cart from a Sales Facilitator to a Supplier.",
+ "version": "R02.00.00"
+ }
+ },
+ "createdTime": "2019-05-31T06:46:08.1261454Z",
+ "changedTime": "2019-05-31T06:46:08.129905Z"
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Logic/integrationAccounts/testia123/rosettaNetProcessConfigurations/3A3",
+ "name": "3A3",
+ "type": "Microsoft.Logic/integrationAccounts/rosettaNetProcessConfigurations"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json
index 79c49a98d260..485d4d3c6187 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsGet.json
@@ -9,37 +9,38 @@
},
"responses": {
"200": {
- "properties": {
- "inputsLink": {
- "uri": "https://tempuri.org",
- "contentVersion": "5XUACojv0aBfuP56os3CWw==",
- "contentSize": 46,
- "contentHash": {
- "algorithm": "md5",
- "value": "XXUACojv0aBfuP56os3CWw=="
- }
+ "body": {
+ "properties": {
+ "inputsLink": {
+ "uri": "https://tempuri.org",
+ "contentVersion": "5XUACojv0aBfuP56os3CWw==",
+ "contentSize": 46,
+ "contentHash": {
+ "algorithm": "md5",
+ "value": "XXUACojv0aBfuP56os3CWw=="
+ }
+ },
+ "outputsLink": {
+ "uri": "https://tempuri.org",
+ "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==",
+ "contentSize": 11873,
+ "contentHash": {
+ "algorithm": "md5",
+ "value": "XX6KRrevI6AAxEvo9FeBYQ=="
+ }
+ },
+ "startTime": "2018-08-10T20:16:32.305236Z",
+ "endTime": "2018-08-10T20:16:32.5450625Z",
+ "correlation": {
+ "clientTrackingId": "08586676746934337772206998657CU22"
+ },
+ "status": "Succeeded",
+ "code": "OK"
},
- "outputsLink": {
- "uri": "https://tempuri.org",
- "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==",
- "contentSize": 11873,
- "contentHash": {
- "algorithm": "md5",
- "value": "XX6KRrevI6AAxEvo9FeBYQ=="
- }
- },
- "startTime": "2018-08-10T20:16:32.305236Z",
- "endTime": "2018-08-10T20:16:32.5450625Z",
- "correlation": {
- "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca",
- "clientTrackingId": "08586676746934337772206998657CU22"
- },
- "status": "Succeeded",
- "code": "OK"
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP",
- "name": "HTTP",
- "type": "Microsoft.Logic/workflows/runs/actions"
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP",
+ "name": "HTTP",
+ "type": "Microsoft.Logic/workflows/runs/actions"
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json
index 65e48ec70a79..d66df6776a95 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionsList.json
@@ -8,41 +8,42 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "inputsLink": {
- "uri": "https://tempuri.org",
- "contentVersion": "5XUACojv0aBfuP56os3CWw==",
- "contentSize": 46,
- "contentHash": {
- "algorithm": "md5",
- "value": "XXUACojv0aBfuP56os3CWw=="
- }
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "inputsLink": {
+ "uri": "https://tempuri.org",
+ "contentVersion": "5XUACojv0aBfuP56os3CWw==",
+ "contentSize": 46,
+ "contentHash": {
+ "algorithm": "md5",
+ "value": "XXUACojv0aBfuP56os3CWw=="
+ }
+ },
+ "outputsLink": {
+ "uri": "https://tempuri.org",
+ "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==",
+ "contentSize": 11873,
+ "contentHash": {
+ "algorithm": "md5",
+ "value": "XX6KRrevI6AAxEvo9FeBYQ=="
+ }
+ },
+ "startTime": "2018-08-10T20:16:32.305236Z",
+ "endTime": "2018-08-10T20:16:32.5450625Z",
+ "correlation": {
+ "clientTrackingId": "08586676746934337772206998657CU22"
+ },
+ "status": "Succeeded",
+ "code": "OK"
},
- "outputsLink": {
- "uri": "https://tempuri.org",
- "contentVersion": "6X6KRrevI6AAxEvo9FeBYQ==",
- "contentSize": 11873,
- "contentHash": {
- "algorithm": "md5",
- "value": "XX6KRrevI6AAxEvo9FeBYQ=="
- }
- },
- "startTime": "2018-08-10T20:16:32.305236Z",
- "endTime": "2018-08-10T20:16:32.5450625Z",
- "correlation": {
- "actionTrackingId": "56063357-45dd-4278-9be5-8220ce0cc9ca",
- "clientTrackingId": "08586676746934337772206998657CU22"
- },
- "status": "Succeeded",
- "code": "OK"
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP",
- "name": "HTTP",
- "type": "Microsoft.Logic/workflows/runs/actions"
- }
- ]
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22/actions/HTTP",
+ "name": "HTTP",
+ "type": "Microsoft.Logic/workflows/runs/actions"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json
index e2aac39d7dee..e9ff1586ffe9 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsGet.json
@@ -8,35 +8,37 @@
},
"responses": {
"200": {
- "properties": {
- "waitEndTime": "2018-08-10T20:16:32.044238Z",
- "startTime": "2018-08-10T20:16:32.044238Z",
- "endTime": "2018-08-10T20:16:32.5779999Z",
- "status": "Succeeded",
- "correlation": {
- "clientTrackingId": "08586676746934337772206998657CU22"
- },
- "workflow": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885",
- "name": "08586676754160363885",
- "type": "Microsoft.Logic/workflows/versions"
- },
- "trigger": {
- "name": "Recurrence",
- "startTime": "2018-08-10T20:16:32.0387927Z",
- "endTime": "2018-08-10T20:16:32.0387927Z",
- "scheduledTime": "2018-08-10T20:16:31.6344174Z",
+ "body": {
+ "properties": {
+ "waitEndTime": "2018-08-10T20:16:32.044238Z",
+ "startTime": "2018-08-10T20:16:32.044238Z",
+ "endTime": "2018-08-10T20:16:32.5779999Z",
+ "status": "Succeeded",
"correlation": {
"clientTrackingId": "08586676746934337772206998657CU22"
},
- "code": "OK",
- "status": "Succeeded"
+ "workflow": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885",
+ "name": "08586676754160363885",
+ "type": "Microsoft.Logic/workflows/versions"
+ },
+ "trigger": {
+ "name": "Recurrence",
+ "startTime": "2018-08-10T20:16:32.0387927Z",
+ "endTime": "2018-08-10T20:16:32.0387927Z",
+ "scheduledTime": "2018-08-10T20:16:31.6344174Z",
+ "correlation": {
+ "clientTrackingId": "08586676746934337772206998657CU22"
+ },
+ "code": "OK",
+ "status": "Succeeded"
+ },
+ "outputs": {}
},
- "outputs": {}
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22",
- "name": "08586676746934337772206998657CU22",
- "type": "Microsoft.Logic/workflows/runs"
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22",
+ "name": "08586676746934337772206998657CU22",
+ "type": "Microsoft.Logic/workflows/runs"
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json
index a0051eb43519..4bf84603c963 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunsList.json
@@ -7,39 +7,41 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "waitEndTime": "2018-08-10T20:16:32.044238Z",
- "startTime": "2018-08-10T20:16:32.044238Z",
- "endTime": "2018-08-10T20:16:32.5779999Z",
- "status": "Succeeded",
- "correlation": {
- "clientTrackingId": "08586676746934337772206998657CU22"
- },
- "workflow": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885",
- "name": "08586676754160363885",
- "type": "Microsoft.Logic/workflows/versions"
- },
- "trigger": {
- "name": "Recurrence",
- "startTime": "2018-08-10T20:16:32.0387927Z",
- "endTime": "2018-08-10T20:16:32.0387927Z",
- "scheduledTime": "2018-08-10T20:16:31.6344174Z",
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "waitEndTime": "2018-08-10T20:16:32.044238Z",
+ "startTime": "2018-08-10T20:16:32.044238Z",
+ "endTime": "2018-08-10T20:16:32.5779999Z",
+ "status": "Succeeded",
"correlation": {
"clientTrackingId": "08586676746934337772206998657CU22"
},
- "code": "OK",
- "status": "Succeeded"
+ "workflow": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676754160363885",
+ "name": "08586676754160363885",
+ "type": "Microsoft.Logic/workflows/versions"
+ },
+ "trigger": {
+ "name": "Recurrence",
+ "startTime": "2018-08-10T20:16:32.0387927Z",
+ "endTime": "2018-08-10T20:16:32.0387927Z",
+ "scheduledTime": "2018-08-10T20:16:31.6344174Z",
+ "correlation": {
+ "clientTrackingId": "08586676746934337772206998657CU22"
+ },
+ "code": "OK",
+ "status": "Succeeded"
+ },
+ "outputs": {}
},
- "outputs": {}
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22",
- "name": "08586676746934337772206998657CU22",
- "type": "Microsoft.Logic/workflows/runs"
- }
- ]
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586676746934337772206998657CU22",
+ "name": "08586676746934337772206998657CU22",
+ "type": "Microsoft.Logic/workflows/runs"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json
index 62075f31e66f..4dc85ea24f6b 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesGet.json
@@ -9,11 +9,10 @@
},
"responses": {
"200": {
- "value": {
+ "body": {
"properties": {
"startTime": "2018-08-10T20:16:32.0387927Z",
"endTime": "2018-08-10T20:16:32.2987996Z",
- "scheduledTime": "2018-08-10T20:16:31.6344174Z",
"status": "Succeeded",
"code": "OK",
"correlation": {
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json
index 0a5a49364185..3d66e13bc6f8 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggerHistoriesList.json
@@ -8,29 +8,30 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "startTime": "2018-08-10T20:16:32.0387927Z",
- "endTime": "2018-08-10T20:16:32.2987996Z",
- "scheduledTime": "2018-08-10T20:16:31.6344174Z",
- "status": "Succeeded",
- "code": "OK",
- "correlation": {
- "clientTrackingId": "08586676746934337772206998657CU22"
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "startTime": "2018-08-10T20:16:32.0387927Z",
+ "endTime": "2018-08-10T20:16:32.2987996Z",
+ "status": "Succeeded",
+ "code": "OK",
+ "correlation": {
+ "clientTrackingId": "08586676746934337772206998657CU22"
+ },
+ "fired": true,
+ "run": {
+ "name": "08586676746934337772206998657CU22",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22",
+ "type": "Microsoft.Logic/workflows/runs"
+ }
},
- "fired": true,
- "run": {
- "name": "08586676746934337772206998657CU22",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08586676746934337772206998657CU22",
- "type": "Microsoft.Logic/workflows/runs"
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22",
- "name": "08586676746934337772206998657CU22",
- "type": "Microsoft.Logic/workflows/triggers/histories"
- }
- ]
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/triggers/testTriggerName/histories/08586676746934337772206998657CU22",
+ "name": "08586676746934337772206998657CU22",
+ "type": "Microsoft.Logic/workflows/triggers/histories"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json
index cad2208e14f5..e6003828a922 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGet.json
@@ -8,20 +8,22 @@
},
"responses": {
"200": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-08-10T17:32:30.2496336Z",
- "changedTime": "2018-08-10T18:47:49.5288666Z",
- "state": "Enabled",
- "workflow": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478",
- "name": "08586676800160476478",
- "type": "Microsoft.Logic/workflows/versions"
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual",
- "name": "manual",
- "type": "Microsoft.Logic/workflows/triggers"
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-08-10T17:32:30.2496336Z",
+ "changedTime": "2018-08-10T18:47:49.5288666Z",
+ "state": "Enabled",
+ "workflow": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478",
+ "name": "08586676800160476478",
+ "type": "Microsoft.Logic/workflows/versions"
+ }
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual",
+ "name": "manual",
+ "type": "Microsoft.Logic/workflows/triggers"
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json
index cad2208e14f5..94b13c0ac57e 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersGetSchemaJson.json
@@ -8,20 +8,10 @@
},
"responses": {
"200": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-08-10T17:32:30.2496336Z",
- "changedTime": "2018-08-10T18:47:49.5288666Z",
- "state": "Enabled",
- "workflow": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478",
- "name": "08586676800160476478",
- "type": "Microsoft.Logic/workflows/versions"
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual",
- "name": "manual",
- "type": "Microsoft.Logic/workflows/triggers"
+ "body": {
+ "title": "testworkflow",
+ "content": "{}"
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json
index b7b460a1337c..439c43b23b89 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersList.json
@@ -7,24 +7,26 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-08-10T17:32:30.2496336Z",
- "changedTime": "2018-08-10T18:47:49.5288666Z",
- "state": "Enabled",
- "workflow": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478",
- "name": "08586676800160476478",
- "type": "Microsoft.Logic/workflows/versions"
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual",
- "name": "manual",
- "type": "Microsoft.Logic/workflows/triggers"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-08-10T17:32:30.2496336Z",
+ "changedTime": "2018-08-10T18:47:49.5288666Z",
+ "state": "Enabled",
+ "workflow": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/versions/08586676800160476478",
+ "name": "08586676800160476478",
+ "type": "Microsoft.Logic/workflows/versions"
+ }
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/triggers/manual",
+ "name": "manual",
+ "type": "Microsoft.Logic/workflows/triggers"
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json
index cccbaa5b4b43..d5ef6341bd95 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersRun.json
@@ -7,6 +7,8 @@
"triggerName": "manual"
},
"responses": {
- "default": {}
+ "default": {
+ "body": {}
+ }
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json
index 5403d91ae704..3887816c0f0c 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowTriggersSetState.json
@@ -6,9 +6,7 @@
"workflowName": "testWorkflow",
"triggerName": "testTrigger",
"setState": {
- "source": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/sourceResGroup/providers/Microsoft.Logic/workflows/sourceWorkflow/triggers/sourceTrigger"
- }
+ "source": {}
}
},
"responses": {
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json
index f4e3b1edf5a1..68bf77a17872 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsGet.json
@@ -8,67 +8,32 @@
},
"responses": {
"200": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "properties": {
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {}
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
+ "name": "test-workflow",
+ "type": "Microsoft.Logic/workflows",
+ "location": "brazilsouth",
+ "tags": {}
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json
index a44b38d1e452..0812c0df6ad0 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowVersionsList.json
@@ -7,71 +7,36 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
- }
- ]
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {}
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
+ "name": "test-workflow",
+ "type": "Microsoft.Logic/workflows",
+ "location": "brazilsouth",
+ "tags": {}
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json
index 776e94be8767..90c83fc78aa3 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsCreateOrUpdate.json
@@ -6,11 +6,6 @@
"workflowName": "test-workflow",
"workflow": {
"properties": {
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
@@ -64,118 +59,54 @@
},
"responses": {
"200": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {}
}
}
},
"201": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {}
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json
index 0e1dbdff506c..0dbda974d468 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGenerateUpgradedDefinition.json
@@ -10,17 +10,19 @@
},
"responses": {
"200": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {
- "$connections": {
- "defaultValue": {},
- "type": "Object"
- }
- },
- "triggers": {},
- "actions": {},
- "outputs": {}
+ "body": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {
+ "$connections": {
+ "defaultValue": {},
+ "type": "Object"
+ }
+ },
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json
index 8ec69b492675..e9a8d30c027a 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsGet.json
@@ -7,67 +7,35 @@
},
"responses": {
"200": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {}
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
+ "name": "test-workflow",
+ "type": "Microsoft.Logic/workflows",
+ "location": "brazilsouth",
+ "tags": {}
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json
index f45331bbcadb..bee0ba58a582 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListByResourceGroup.json
@@ -6,71 +6,39 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
- }
- ]
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {}
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
+ "name": "test-workflow",
+ "type": "Microsoft.Logic/workflows",
+ "location": "brazilsouth",
+ "tags": {}
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json
index 911ddf497f30..9aee6ae8b6e1 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsListBySubscription.json
@@ -5,71 +5,39 @@
},
"responses": {
"200": {
- "value": [
- {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
- }
- ]
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {}
+ },
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
+ "name": "test-workflow",
+ "type": "Microsoft.Logic/workflows",
+ "location": "brazilsouth",
+ "tags": {}
+ }
+ ]
+ }
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json
index d0ddd1d86533..22a0534d49f4 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsMove.json
@@ -5,7 +5,18 @@
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"workflowName": "testWorkflow",
"move": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/newResourceGroup/providers/Microsoft.Logic/workflows/newWorkflowName"
+ "properties": {
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ }
+ },
+ "location": "brazilsouth",
+ "tags": {}
}
},
"responses": {
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json
index e41aec2e6d3e..68cbe17e3b4f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsUpdate.json
@@ -6,11 +6,6 @@
"workflowName": "test-workflow",
"workflow": {
"properties": {
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
@@ -64,60 +59,28 @@
},
"responses": {
"200": {
- "properties": {
- "provisioningState": "Succeeded",
- "createdTime": "2018-04-25T01:39:21.4365247Z",
- "changedTime": "2018-08-09T22:54:54.3533634Z",
- "state": "Enabled",
- "version": "08586677515911718341",
- "accessEndpoint": "http://tempuri.org",
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- },
- "parameters": {},
- "accessControl": {},
- "endpointsConfiguration": {
- "workflow": {
- "outgoingIpAddresses": [
- {
- "address": "13.84.159.168"
- },
- {
- "address": "13.65.86.56"
- },
- {
- "address": "13.65.82.190"
- }
- ],
- "accessEndpointIpAddresses": [
- {
- "address": "104.210.153.89"
- },
- {
- "address": "13.85.79.155"
- },
- {
- "address": "13.65.39.247"
- }
- ]
+ "body": {
+ "properties": {
+ "provisioningState": "Succeeded",
+ "createdTime": "2018-04-25T01:39:21.4365247Z",
+ "changedTime": "2018-08-09T22:54:54.3533634Z",
+ "state": "Enabled",
+ "version": "08586677515911718341",
+ "accessEndpoint": "http://tempuri.org",
+ "integrationAccount": {
+ "name": "test-integration-account",
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
+ "type": "Microsoft.Logic/integrationAccounts"
},
- "connector": {
- "outgoingIpAddresses": [
- {
- "address": "40.84.145.61"
- }
- ]
- }
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {},
+ "triggers": {},
+ "actions": {},
+ "outputs": {}
+ },
+ "parameters": {}
}
}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json
index a1ad978dc8c7..407bb45c8b9d 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByLocation.json
@@ -2,29 +2,11 @@
"parameters": {
"api-version": "2016-06-01",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "test-resource-group",
"location": "brazilsouth",
"workflowName": "test-workflow",
- "validate": {
- "properties": {
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
- "definition": {
- "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {},
- "triggers": {},
- "actions": {},
- "outputs": {}
- }
- },
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
- "location": "brazilsouth",
- "tags": {}
+ "workflow": {
+ "properties": {}
}
},
"responses": {
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json
index de320d2784ec..3450d80c569f 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowsValidateByResourceGroup.json
@@ -6,11 +6,6 @@
"workflowName": "test-workflow",
"validate": {
"properties": {
- "integrationAccount": {
- "name": "test-integration-account",
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/integrationAccounts/test-integration-account",
- "type": "Microsoft.Logic/integrationAccounts"
- },
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
@@ -20,9 +15,6 @@
"outputs": {}
}
},
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow",
- "name": "test-workflow",
- "type": "Microsoft.Logic/workflows",
"location": "brazilsouth",
"tags": {}
}
diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json
index 5f0b844762c9..77d4055b2c5e 100644
--- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json
+++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json
@@ -4921,6 +4921,232 @@
"x-ms-odata": "#/definitions/IntegrationAccountSessionFilter"
}
},
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/rosettanetprocessconfigurations": {
+ "get": {
+ "tags": [
+ "IntegrationAccountRosettaNetProcessConfigurations"
+ ],
+ "operationId": "RosettaNetProcessConfigurations_ListByIntegrationAccounts",
+ "description": "Gets a list of integration account RosettaNet process configurations.",
+ "x-ms-examples": {
+ "Get RosettaNetProcessConfigurations by integrationaccount name": {
+ "$ref": "./examples/RosettaNetProcessConfigurationsListByIntegrationAccounts.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "$top",
+ "description": "The number of items to be included in the result.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$filter",
+ "description": "The filter to apply on the operation.",
+ "in": "query",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfigurationListResult"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/rosettanetprocessconfigurations/{rosettaNetProcessConfigurationName}": {
+ "get": {
+ "tags": [
+ "IntegrationAccountRosettaNetProcessConfigurations"
+ ],
+ "operationId": "RosettaNetProcessConfigurations_Get",
+ "description": "Gets an integration account RosettaNetProcessConfiguration.",
+ "x-ms-examples": {
+ "Get RosettaNetProcessConfiguration by name": {
+ "$ref": "./examples/RosettaNetProcessConfigurationsGet.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "rosettaNetProcessConfigurationName",
+ "description": "The integration account RosettaNetProcessConfiguration name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "IntegrationAccountRosettaNetProcessConfigurations"
+ ],
+ "operationId": "RosettaNetProcessConfigurations_CreateOrUpdate",
+ "description": "Creates or updates an integration account RosettaNetProcessConfiguration.",
+ "x-ms-examples": {
+ "Create or update an RosettaNetProcessConfiguration": {
+ "$ref": "./examples/RosettaNetProcessConfigurationsCreateOrUpdate.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "rosettaNetProcessConfigurationName",
+ "description": "The integration account RosettaNet ProcessConfiguration name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "rosettaNetProcessConfiguration",
+ "description": "The integration account RosettaNet ProcessConfiguration.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "IntegrationAccountRosettaNetProcessConfigurations"
+ ],
+ "operationId": "RosettaNetProcessConfigurations_Delete",
+ "description": "Deletes an integration account RosettaNet ProcessConfiguration.",
+ "x-ms-examples": {
+ "Delete an RosettaNetProcessConfiguration": {
+ "$ref": "./examples/RosettaNetProcessConfigurationsDelete.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "name": "resourceGroupName",
+ "description": "The resource group name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "integrationAccountName",
+ "description": "The integration account name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "rosettaNetProcessConfigurationName",
+ "description": "The integration account RosettaNetProcessConfiguration name.",
+ "in": "path",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ },
+ "204": {
+ "description": "No Content"
+ }
+ }
+ }
+ },
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/sessions/{sessionName}": {
"get": {
"tags": [
@@ -8209,6 +8435,19 @@
"modelAsString": true
}
},
+ "MessageEncoding": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Base64",
+ "EightBit",
+ "QuotedPrintable"
+ ],
+ "x-ms-enum": {
+ "name": "MessageEncoding",
+ "modelAsString": false
+ }
+ },
"TrailingSeparatorPolicy": {
"type": "string",
"enum": [
@@ -9030,6 +9269,323 @@
"modelAsString": false
}
},
+ "IntegrationAccountRosettaNetProcessConfigurationListResult": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfiguration"
+ },
+ "description": "The list of integration account RosettaNet PIP configuration."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "The URL to get the next set of results."
+ }
+ },
+ "description": "The list of integration account RosettaNet process configuration."
+ },
+ "IntegrationAccountRosettaNetProcessConfiguration": {
+ "type": "object",
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/IntegrationAccountRosettaNetProcessConfigurationProperties",
+ "description": "The integration account RosettaNet process configuration properties."
+ }
+ },
+ "description": "The integration account RosettaNet process configuration.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ]
+ },
+ "IntegrationAccountRosettaNetProcessConfigurationProperties": {
+ "type": "object",
+ "required": [
+ "processCode",
+ "processVersion",
+ "processName",
+ "activitySettings",
+ "initiatorRoleSettings",
+ "responderRoleSettings"
+ ],
+ "properties": {
+ "createdTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The created time."
+ },
+ "changedTime": {
+ "type": "string",
+ "format": "date-time",
+ "readOnly": true,
+ "description": "The changed time."
+ },
+ "metadata": {
+ "type": "object",
+ "description": "The metadata.",
+ "properties": {},
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "activitySettings": {
+ "$ref": "#/definitions/RosettaNetPipActivitySettings",
+ "description": "The RosettaNet process configuration activity settings."
+ },
+ "processCode": {
+ "type": "string",
+ "description": "The integration account RosettaNet process code."
+ },
+ "processVersion": {
+ "type": "string",
+ "description": "The integration account RosettaNet process version."
+ },
+ "processName": {
+ "type": "string",
+ "description": "The integration account RosettaNet process name."
+ },
+ "initiatorRoleSettings": {
+ "$ref": "#/definitions/RosettaNetPipRoleSettings",
+ "description": "The RosettaNet initiator role settings."
+ },
+ "responderRoleSettings": {
+ "$ref": "#/definitions/RosettaNetPipRoleSettings",
+ "description": "The RosettaNet responder role settings."
+ },
+ "description": {
+ "type": "string",
+ "description": "The integration account RosettaNet ProcessConfiguration properties."
+ }
+ },
+ "description": "The integration account RosettaNet process configuration properties."
+ },
+ "RosettaNetPipActivitySettings": {
+ "type": "object",
+ "required": [
+ "activityType",
+ "activityBehavior",
+ "acknowledgmentOfReceiptSettings"
+ ],
+ "properties": {
+ "activityType": {
+ "$ref": "#/definitions/RosettaNetPipActivityType",
+ "description": "The RosettaNet ProcessConfiguration activity type."
+ },
+ "activityBehavior": {
+ "$ref": "#/definitions/RosettaNetPipActivityBehavior",
+ "description": "The RosettaNet ProcessConfiguration activity behavior."
+ },
+ "acknowledgmentOfReceiptSettings": {
+ "$ref": "#/definitions/RosettaNetPipAcknowledgmentOfReceiptSettings",
+ "description": "The RosettaNet ProcessConfiguration acknowledgement settings."
+ }
+ },
+ "description": "The integration account RosettaNet ProcessConfiguration activity settings."
+ },
+ "RosettaNetPipActivityType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "InformationDistribution",
+ "BusinessTransaction",
+ "Notification",
+ "QueryResponse",
+ "RequestConfirm",
+ "RequestResponse"
+ ],
+ "x-ms-enum": {
+ "name": "RosettaNetPipActivityType",
+ "modelAsString": false
+ }
+ },
+ "RosettaNetPipActivityBehavior": {
+ "type": "object",
+ "required": [
+ "isAuthorizationRequired",
+ "persistentConfidentialityScope",
+ "isSecuredTransportRequired",
+ "actionType",
+ "responseType",
+ "nonRepudiationOfOriginAndContent",
+ "retryCount",
+ "timeToPerformInSeconds"
+ ],
+ "properties": {
+ "isAuthorizationRequired": {
+ "type": "boolean",
+ "description": "The value indicating whether authorization is required."
+ },
+ "persistentConfidentialityScope": {
+ "$ref": "#/definitions/RosettaNetPipConfidentialityScope",
+ "description": "The persistent confidentiality encryption scope."
+ },
+ "isSecuredTransportRequired": {
+ "type": "boolean",
+ "description": "The value indicating whether secured transport is required."
+ },
+ "actionType": {
+ "$ref": "#/definitions/RosettaNetActionType",
+ "description": "The value indicating whether the RosettaNet PIP is used for a single action."
+ },
+ "responseType": {
+ "$ref": "#/definitions/RosettaNetResponseType",
+ "description": "The value indicating whether the RosettaNet PIP communication is synchronous."
+ },
+ "nonRepudiationOfOriginAndContent": {
+ "type": "boolean",
+ "description": "The value indicating whether non-repudiation is for origin and content."
+ },
+ "retryCount": {
+ "type": "integer",
+ "description": "The value indicating retry count."
+ },
+ "timeToPerformInSeconds": {
+ "type": "integer",
+ "description": "The time to perform in seconds."
+ }
+ },
+ "description": "The integration account RosettaNet ProcessConfiguration activity behavior."
+ },
+ "RosettaNetPipConfidentialityScope": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "None",
+ "Payload",
+ "PayloadContainer"
+ ],
+ "x-ms-enum": {
+ "name": "RosettaNetPipConfidentialityScope",
+ "modelAsString": false
+ }
+ },
+ "RosettaNetActionType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "SingleAction",
+ "DoubleAction"
+ ],
+ "x-ms-enum": {
+ "name": "RosettaNetActionType",
+ "modelAsString": false
+ }
+ },
+ "RosettaNetResponseType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Sync",
+ "Async"
+ ],
+ "x-ms-enum": {
+ "name": "RosettaNetResponseType",
+ "modelAsString": false
+ }
+ },
+ "RosettaNetPipAcknowledgmentOfReceiptSettings": {
+ "type": "object",
+ "required": [
+ "isNonRepudiationRequired",
+ "timeToAcknowledgeInSeconds"
+ ],
+ "properties": {
+ "isNonRepudiationRequired": {
+ "type": "boolean",
+ "description": "The non-repudiation is required or not."
+ },
+ "timeToAcknowledgeInSeconds": {
+ "type": "integer",
+ "description": "The time to acknowledge in seconds."
+ }
+ },
+ "description": "The integration account RosettaNet ProcessConfiguration Acknowledgement settings."
+ },
+ "RosettaNetPipRoleSettings": {
+ "type": "object",
+ "required": [
+ "action",
+ "role",
+ "roleType",
+ "service",
+ "serviceClassification",
+ "businessDocument"
+ ],
+ "properties": {
+ "action": {
+ "type": "string",
+ "description": "The action name."
+ },
+ "role": {
+ "type": "string",
+ "description": "The role name."
+ },
+ "roleType": {
+ "$ref": "#/definitions/RosettaNetPipRoleType",
+ "description": "The RosettaNet ProcessConfiguration role type."
+ },
+ "service": {
+ "type": "string",
+ "description": "The service name."
+ },
+ "serviceClassification": {
+ "type": "string",
+ "description": "The service classification name."
+ },
+ "businessDocument": {
+ "$ref": "#/definitions/RosettaNetPipBusinessDocument",
+ "description": "The RosettaNet ProcessConfiguration business document."
+ },
+ "description": {
+ "type": "string",
+ "description": "The description."
+ }
+ },
+ "description": "The integration account RosettaNet ProcessConfiguration role settings."
+ },
+ "RosettaNetPipRoleType": {
+ "type": "string",
+ "enum": [
+ "NotSpecified",
+ "Functional",
+ "Organizational",
+ "Employee"
+ ],
+ "x-ms-enum": {
+ "name": "RosettaNetPipRoleType",
+ "modelAsString": false
+ }
+ },
+ "RosettaNetPipBusinessDocument": {
+ "type": "object",
+ "required": [
+ "name",
+ "version"
+ ],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The business document name."
+ },
+ "version": {
+ "type": "string",
+ "description": "The business document version."
+ },
+ "description": {
+ "type": "string",
+ "description": "The business document description."
+ }
+ },
+ "description": "The RosettaNet ProcessConfiguration business document settings."
+ },
"IntegrationAccountCertificateListResult": {
"type": "object",
"properties": {
diff --git a/specification/logic/resource-manager/readme.md b/specification/logic/resource-manager/readme.md
index 397c481de2f0..0e6fe5735d03 100644
--- a/specification/logic/resource-manager/readme.md
+++ b/specification/logic/resource-manager/readme.md
@@ -116,6 +116,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -220,3 +221,31 @@ java:
regenerate-manager: true
generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Logic/preview/2018-07-01-preview/logic.json
+ - $(this-folder)/Microsoft.Logic/stable/2016-06-01/logic.json
+ - $(this-folder)/Microsoft.Logic/preview/2015-08-01-preview/logic.json
+ - $(this-folder)/Microsoft.Logic/preview/2015-02-01-preview/logic.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/CreateWorkspace.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/CreateWorkspace.json
index 75b4eb2b34f4..e6db7d0843c4 100644
--- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/CreateWorkspace.json
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/examples/CreateWorkspace.json
@@ -10,7 +10,8 @@
},
"location": "West Europe",
"properties": {
- "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage"
+ "userStorageAccountId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/teststorage",
+ "ownerEmail": "abc@microsoft.com"
}
}
},
diff --git a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/workspaces.json b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/workspaces.json
index d6b488c17ac1..e629175a459d 100644
--- a/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/workspaces.json
+++ b/specification/machinelearning/resource-manager/Microsoft.MachineLearning/stable/2016-04-01/workspaces.json
@@ -446,7 +446,8 @@
"type": "object",
"description": "The properties of a machine learning workspace.",
"required": [
- "userStorageAccountId"
+ "userStorageAccountId",
+ "ownerEmail"
],
"properties": {
"userStorageAccountId": {
diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md
index 1efefd526941..b2c0f8db07c7 100644
--- a/specification/machinelearning/resource-manager/readme.md
+++ b/specification/machinelearning/resource-manager/readme.md
@@ -98,6 +98,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
@@ -222,3 +223,31 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.MachineLearning/stable/2017-01-01/webservices.json
+ - $(this-folder)/Microsoft.MachineLearning/preview/2016-05-01-preview/commitmentPlans.json
+ - $(this-folder)/Microsoft.MachineLearning/stable/2016-04-01/workspaces.json
+ - $(this-folder)/Microsoft.MachineLearning/preview/2016-05-01-preview/webservices.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/machinelearningcompute/resource-manager/readme.md b/specification/machinelearningcompute/resource-manager/readme.md
index 156ff915d237..6b6f9a3b9ed5 100644
--- a/specification/machinelearningcompute/resource-manager/readme.md
+++ b/specification/machinelearningcompute/resource-manager/readme.md
@@ -61,6 +61,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -122,3 +123,29 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.MachineLearningCompute/preview/2017-08-01-preview/machineLearningCompute.json
+ - $(this-folder)/Microsoft.MachineLearningCompute/preview/2017-06-01-preview/machineLearningCompute.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/machinelearningexperimentation/resource-manager/readme.md b/specification/machinelearningexperimentation/resource-manager/readme.md
index f3c9d80b3aef..4f57336f0a9c 100644
--- a/specification/machinelearningexperimentation/resource-manager/readme.md
+++ b/specification/machinelearningexperimentation/resource-manager/readme.md
@@ -50,6 +50,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
@@ -66,7 +67,7 @@ csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.MachineLearningExperimentation
- output-folder: $(csharp-sdks-folder)/MachineLearningExperimentation/Management.MachineLearningExperimentation/Generated
+ output-folder: $(csharp-sdks-folder)/machinelearningexperimentation/Microsoft.Azure.Management.MachineLearningExperimentation/src/Generated
clear-output-folder: true
```
@@ -109,3 +110,28 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.MachineLearningExperimentation/preview/2017-05-01-preview/machineLearningExperimentation.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/artifact.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/artifact.json
new file mode 100644
index 000000000000..8b52e3788ee0
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/artifact.json
@@ -0,0 +1,1546 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-08-01",
+ "title": "Artifact API"
+ },
+ "schemes": [
+ "https"
+ ],
+ "paths": {
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/metadata": {
+ "post": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Create Artifact.",
+ "description": "Create an Artifact.",
+ "operationId": "Artifacts_Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "artifact",
+ "in": "body",
+ "description": "The Artifact details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Artifact"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifact is created successfully.",
+ "schema": {
+ "$ref": "#/definitions/Artifact"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/register": {
+ "post": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Create an Artifact for an existing data location.",
+ "description": "Create an Artifact for an existing dataPath.",
+ "operationId": "Artifacts_Register",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "artifact",
+ "in": "body",
+ "description": "The Artifact creation details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Artifact"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifact is created successfully.",
+ "schema": {
+ "$ref": "#/definitions/Artifact"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/metadata": {
+ "get": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Get Artifact metadata by Id.",
+ "description": "Get Artifact metadata for a specific Id.",
+ "operationId": "Artifacts_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The details of the Artifact are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/Artifact"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Delete Artifact Metadata.",
+ "description": "Delete an Artifact Metadata.",
+ "operationId": "Artifacts_DeleteMetaData",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "hardDelete",
+ "in": "query",
+ "description": "If set to true. The delete cannot be revert at later time.",
+ "required": false,
+ "type": "boolean",
+ "default": false
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifact metadata deleted successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}": {
+ "get": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Get Artifacts metadata in a container or path.",
+ "description": "Get Artifacts metadata in a specific container or path.",
+ "operationId": "Artifacts_ListInContainer",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "continuationToken",
+ "in": "query",
+ "description": "The continuation token.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The details of the Artifacts are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/PaginatedArtifactList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/content": {
+ "get": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Get Artifact content by Id.",
+ "description": "Get Artifact content of a specific Id.",
+ "operationId": "Artifacts_Download",
+ "consumes": [],
+ "produces": [
+ "application/json",
+ "application/octet-stream"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "File Response",
+ "schema": {
+ "format": "byte",
+ "type": "file"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Upload Artifact content.",
+ "description": "Upload content to an Artifact.",
+ "operationId": "Artifacts_Upload",
+ "consumes": [
+ "application/octet-stream"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "index",
+ "in": "query",
+ "description": "The index.",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "append",
+ "in": "query",
+ "description": "Whether or not to append the content or replace it.",
+ "required": false,
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "name": "allowOverwrite",
+ "in": "query",
+ "description": "whether to allow overwrite if Artifact Content exist already. when set to true, Overwrite happens if Artifact Content already exists",
+ "required": false,
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "name": "content",
+ "in": "body",
+ "description": "The file upload.",
+ "required": true,
+ "schema": {
+ "format": "binary",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifact content is uploaded successfully.",
+ "schema": {
+ "$ref": "#/definitions/Artifact"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/contentinfo": {
+ "get": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Get Artifact content information.",
+ "description": "Get content information of an Artifact.",
+ "operationId": "Artifacts_GetContentInformation",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifact content information is returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/ArtifactContentInformation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/contentinfo/storageuri": {
+ "get": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Get Artifact storage content information.",
+ "description": "Get storage content information of an Artifact.",
+ "operationId": "Artifacts_GetStorageContentInformation",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifact storage content information is returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/ArtifactContentInformation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/write": {
+ "get": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Get writable shared access signature for Artifact.",
+ "description": "Get writable shared access signature for a specific Artifact.",
+ "operationId": "Artifacts_GetSas",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifact writable shared access signature is returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/ArtifactContentInformation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/prefix/contentinfo": {
+ "get": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Get shared access signature for an Artifact",
+ "description": "Get shared access signature for an Artifact in specific path.",
+ "operationId": "Artifacts_ListSasByPrefix",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "continuationToken",
+ "in": "query",
+ "description": "The continuation token.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifact writable shared access signature is returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/PaginatedArtifactContentInformationList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/prefix/contentinfo/storageuri": {
+ "get": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Get storage Uri for Artifacts in a path.",
+ "description": "Get storage Uri for Artifacts in a specific path.",
+ "operationId": "Artifacts_ListStorageUriByPrefix",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "continuationToken",
+ "in": "query",
+ "description": "The continuation token.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifact storage uri is returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/PaginatedArtifactContentInformationList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/batch/metadata": {
+ "post": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Get Batch Artifacts by Ids.",
+ "description": "Get Batch Artifacts by the specific Ids.",
+ "operationId": "Artifacts_BatchGetById",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "artifactIds",
+ "in": "body",
+ "description": "The command for Batch Artifact get request.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ArtifactIdList"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The requested Batch Artifacts are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/BatchArtifactContentInformationResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/storageuri/batch/metadata": {
+ "post": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Get Batch Artifacts storage by Ids.",
+ "description": "Get Batch Artifacts storage by specific Ids.",
+ "operationId": "Artifacts_BatchGetStorageById",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "artifactIds",
+ "in": "body",
+ "description": "The list of artifactIds to get.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ArtifactIdList"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Batch Artifact's storage are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/BatchArtifactContentInformationResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/batch/ingest/containersas": {
+ "post": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Batch ingest using shared access signature.",
+ "description": "Ingest Batch Artifacts using shared access signature.",
+ "operationId": "Artifacts_BatchIngestFromSas",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "artifactContainerSas",
+ "in": "body",
+ "description": "The artifact container shared access signature to use for batch ingest.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ArtifactContainerSas"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Batch is ingested using shared access signature successfully.",
+ "schema": {
+ "$ref": "#/definitions/PaginatedArtifactList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/batch/metadata": {
+ "post": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Create a batch of empty Artifacts.",
+ "description": "Create a Batch of empty Artifacts from the supplied paths.",
+ "operationId": "Artifacts_BatchCreateEmptyArtifacts",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "artifactPaths",
+ "in": "body",
+ "description": "The list of Artifact paths to create.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ArtifactPathList"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Batch of empty Artifacts created successfully.",
+ "schema": {
+ "$ref": "#/definitions/BatchArtifactContentInformationResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/batch/metadata:delete": {
+ "post": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Delete Batch of Artifact Metadata.",
+ "description": "Delete a Batch of Artifact Metadata.",
+ "operationId": "Artifacts_DeleteBatchMetaData",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "artifactPaths",
+ "in": "body",
+ "description": "The list of Artifact paths to delete.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ArtifactPathList"
+ }
+ },
+ {
+ "name": "hardDelete",
+ "in": "query",
+ "description": "If set to true, the delete cannot be reverted at a later time.",
+ "required": false,
+ "type": "boolean",
+ "default": false
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The batch delete of Artifact metadata completed successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/artifact/v2.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/artifacts/{origin}/{container}/batch": {
+ "delete": {
+ "tags": [
+ "Artifact"
+ ],
+ "summary": "Delete Artifact Metadata.",
+ "description": "Delete Artifact Metadata in a specific container.",
+ "operationId": "Artifacts_DeleteMetaDataInContainer",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "origin",
+ "in": "path",
+ "description": "The origin of the Artifact.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "container",
+ "in": "path",
+ "description": "The container name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "hardDelete",
+ "in": "query",
+ "description": "If set to true. The delete cannot be revert at later time.",
+ "required": false,
+ "type": "boolean",
+ "default": false
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifact metadata deleted successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Artifact": {
+ "description": "Details of an Artifact.",
+ "required": [
+ "origin",
+ "container",
+ "path"
+ ],
+ "type": "object",
+ "properties": {
+ "artifactId": {
+ "description": "The identifier of an Artifact. Format of ArtifactId - {Origin}/{Container}/{Path}.",
+ "type": "string"
+ },
+ "origin": {
+ "description": "The origin of the Artifact creation request. Available origins are 'ExperimentRun', 'LocalUpload', 'WebUpload', 'Dataset' and 'Unknown'.",
+ "type": "string"
+ },
+ "container": {
+ "description": "The name of container. Artifacts can be grouped by container.",
+ "type": "string"
+ },
+ "path": {
+ "description": "The path to the Artifact in a container.",
+ "type": "string"
+ },
+ "etag": {
+ "description": "The Etag of the Artifact.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdTime": {
+ "format": "date-time",
+ "description": "The Date and Time at which the Artifact is created. The DateTime is in UTC.",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataPath": {
+ "$ref": "#/definitions/DataPath"
+ }
+ }
+ },
+ "DataPath": {
+ "type": "object",
+ "properties": {
+ "dataStoreName": {
+ "type": "string"
+ },
+ "relativePath": {
+ "type": "string"
+ },
+ "sqlDataPath": {
+ "$ref": "#/definitions/SqlDataPath"
+ }
+ }
+ },
+ "SqlDataPath": {
+ "type": "object",
+ "properties": {
+ "sqlTableName": {
+ "type": "string"
+ },
+ "sqlQuery": {
+ "type": "string"
+ },
+ "sqlStoredProcedureName": {
+ "type": "string"
+ },
+ "sqlStoredProcedureParams": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StoredProcedureParameter"
+ }
+ }
+ }
+ },
+ "StoredProcedureParameter": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "String",
+ "Int",
+ "Decimal",
+ "Guid",
+ "Boolean",
+ "Date"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StoredProcedureParameterType",
+ "modelAsString": false
+ }
+ }
+ }
+ },
+ "PaginatedArtifactList": {
+ "description": "A paginated list of Artifacts.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type Artifact.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Artifact"
+ }
+ },
+ "continuationToken": {
+ "description": "The token used in retrieving the next page. If null, there are no additional pages.",
+ "type": "string"
+ },
+ "nextLink": {
+ "description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
+ "type": "string"
+ }
+ }
+ },
+ "ArtifactContentInformation": {
+ "description": "Details of an Artifact Content Information.",
+ "type": "object",
+ "properties": {
+ "contentUri": {
+ "description": "The URI of the content.",
+ "type": "string"
+ },
+ "origin": {
+ "description": "The origin of the Artifact creation request. Available origins are 'ExperimentRun', 'LocalUpload', 'WebUpload', 'Dataset', 'ComputeRecord', 'Metric', and 'Unknown'.",
+ "type": "string"
+ },
+ "container": {
+ "description": "The name of container. Artifacts can be grouped by container.",
+ "type": "string"
+ },
+ "path": {
+ "description": "The path to the Artifact in a container.",
+ "type": "string"
+ }
+ }
+ },
+ "PaginatedArtifactContentInformationList": {
+ "description": "A paginated list of ArtifactContentInformations.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type ArtifactContentInformation.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArtifactContentInformation"
+ }
+ },
+ "continuationToken": {
+ "description": "The token used in retrieving the next page. If null, there are no additional pages.",
+ "type": "string"
+ },
+ "nextLink": {
+ "description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
+ "type": "string"
+ }
+ }
+ },
+ "ArtifactIdList": {
+ "description": "Contains list of Artifact Ids.",
+ "required": [
+ "artifactIds"
+ ],
+ "type": "object",
+ "properties": {
+ "artifactIds": {
+ "description": "List of Artifacts Ids.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "BatchArtifactContentInformationResult": {
+ "description": "Results of the Batch Artifact Content Information request.",
+ "type": "object",
+ "properties": {
+ "artifacts": {
+ "description": "Artifact details of the Artifact Ids requested.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/Artifact"
+ }
+ },
+ "artifactContentInformation": {
+ "description": "Artifact Content Information details of the Artifact Ids requested.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ArtifactContentInformation"
+ }
+ },
+ "errors": {
+ "description": "Errors occurred while fetching the requested Artifact Ids.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "The error response.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/RootError",
+ "description": "The top level error that occurred."
+ },
+ "correlation": {
+ "description": "Dictionary containing correlation details for the error.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "environment": {
+ "description": "The hosting environment.",
+ "type": "string"
+ },
+ "location": {
+ "description": "The Azure region.",
+ "type": "string"
+ },
+ "time": {
+ "format": "date-time",
+ "description": "The time in UTC.",
+ "type": "string"
+ }
+ }
+ },
+ "RootError": {
+ "description": "The root error.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The service-defined error code. Supported error codes: ServiceError, UserError, ValidationError, AzureStorageError, TransientError, RequestThrottled.",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human-readable representation of the error.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the error (e.g., the name of the property in error).",
+ "type": "string"
+ },
+ "details": {
+ "description": "The related errors that occurred during the request.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ },
+ "innerError": {
+ "$ref": "#/definitions/InnerErrorResponse",
+ "description": "A nested list of inner errors. When evaluating errors, clients MUST traverse through all of the nested “innerErrors” and choose the deepest one that they understand."
+ }
+ }
+ },
+ "ErrorDetails": {
+ "description": "The error details.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "The error message.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the error (e.g., the name of the property in error).",
+ "type": "string"
+ }
+ }
+ },
+ "InnerErrorResponse": {
+ "description": "A nested structure of errors.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "innerError": {
+ "$ref": "#/definitions/InnerErrorResponse",
+ "description": "A nested list of inner errors. When evaluating errors, clients MUST traverse through all of the nested “innerErrors” and choose the deepest one that they understand."
+ }
+ }
+ },
+ "ArtifactContainerSas": {
+ "description": "Details of the Artifact Container's shared access signature.",
+ "required": [
+ "containerSas",
+ "containerUri"
+ ],
+ "type": "object",
+ "properties": {
+ "containerSas": {
+ "description": "The shared access signature of the Container.",
+ "type": "string"
+ },
+ "containerUri": {
+ "description": "The URI of the Container.",
+ "type": "string"
+ },
+ "prefix": {
+ "description": "The Prefix to the Blobs in the Container.",
+ "type": "string"
+ },
+ "artifactPrefix": {
+ "description": "The Prefix to the Artifact in the Blob.",
+ "type": "string"
+ }
+ }
+ },
+ "ArtifactPathList": {
+ "description": "Contains list of Artifact Paths.",
+ "required": [
+ "paths"
+ ],
+ "type": "object",
+ "properties": {
+ "paths": {
+ "description": "List of Artifact Paths.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArtifactPath"
+ }
+ }
+ }
+ },
+ "ArtifactPath": {
+ "description": "Details of an Artifact Path.",
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "properties": {
+ "path": {
+ "description": "The path to the Artifact in a container.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Azure Subscription ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid",
+ "x-ms-parameter-location": "method"
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The Name of the resource group in which the workspace is located.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "workspaceNameParameter": {
+ "name": "workspaceName",
+ "in": "path",
+ "description": "The name of the workspace.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2"
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "tags": []
+}
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/datastore.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/datastore.json
new file mode 100644
index 000000000000..74f681ba9d14
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/datastore.json
@@ -0,0 +1,925 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-08-01",
+ "title": "Azure Machine Learning Datastore Management Client"
+ },
+ "schemes": [
+ "https"
+ ],
+ "paths": {
+ "/datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores": {
+ "get": {
+ "tags": [
+ "DataStore"
+ ],
+ "summary": "Get Datastores list.",
+ "description": "Get the list of Datastores attached to the workspace.",
+ "operationId": "List",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "dataStoreNames",
+ "in": "query",
+ "description": "List of Datastore names.",
+ "required": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "collectionFormat": "multi",
+ "uniqueItems": false
+ },
+ {
+ "name": "continuationToken",
+ "in": "query",
+ "description": "The Continuation Token.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "count",
+ "in": "query",
+ "description": "Count of Datastores to be returned.",
+ "required": false,
+ "type": "integer",
+ "format": "int32",
+ "default": 30
+ },
+ {
+ "name": "includeSecret",
+ "in": "query",
+ "description": "Whether to include the datastore secret in the response.",
+ "required": false,
+ "type": "boolean",
+ "default": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The list of Datastores are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/PaginatedDataStoreList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ },
+ "post": {
+ "tags": [
+ "DataStore"
+ ],
+ "summary": "Create or update a Datastore.",
+ "description": "Create or update a Datastore in the given workspace.",
+ "operationId": "Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "dto",
+ "in": "body",
+ "description": "The Datastore details.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/DataStore"
+ }
+ },
+ {
+ "name": "createIfNotExists",
+ "in": "query",
+ "description": "If set to true, the call will create an Datastore if it doesn't exist.",
+ "required": false,
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "name": "skipValidation",
+ "in": "query",
+ "description": "If set to true, the call will skip Datastore validation.",
+ "required": false,
+ "type": "boolean",
+ "default": false
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Datastore is created/updated successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DataStore"
+ ],
+ "summary": "Delete all Datastores.",
+ "description": "Delete all Datastores in the workspace.",
+ "operationId": "DeleteAll",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "All the Datastores in the workspace are deleted successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/datastores/{name}": {
+ "get": {
+ "tags": [
+ "DataStore"
+ ],
+ "summary": "Get Datastore details.",
+ "description": "Get details of a Datastore with a specific name.",
+ "operationId": "Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The Datastore name.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Datastore details are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/DataStore"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "DataStore"
+ ],
+ "summary": "Update or create a Datastore.",
+ "description": "Update or create a Datastore in the given workspace.",
+ "operationId": "Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The Datastore name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "dto",
+ "in": "body",
+ "description": "The Datastore details.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/DataStore"
+ }
+ },
+ {
+ "name": "createIfNotExists",
+ "in": "query",
+ "description": "If set to true, the call will create an Datastore if it doesn't exist.",
+ "required": false,
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "name": "skipValidation",
+ "in": "query",
+ "description": "If set to true, the call will skip Datastore validation.",
+ "required": false,
+ "type": "boolean",
+ "default": false
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Datastore is created/updated successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "DataStore"
+ ],
+ "summary": "Delete a Datastore.",
+ "description": "Delete a Datastore with a specific name.",
+ "operationId": "Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The Datastore name.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Datastore is deleted successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/default/{name}": {
+ "put": {
+ "tags": [
+ "DataStoreDefault"
+ ],
+ "summary": "Set a default Datastore.",
+ "description": "Set a default Datastore in the workspace.",
+ "operationId": "SetDefault",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "name",
+ "in": "path",
+ "description": "The Datastore name.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The default Datastore is set successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/datastore/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/default": {
+ "get": {
+ "tags": [
+ "DataStoreDefault"
+ ],
+ "summary": "Get the default Datastore.",
+ "description": "Get the default Datastore in the workspace.",
+ "operationId": "GetDefault",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The default Datastore is returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/DataStore"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "PaginatedDataStoreList": {
+ "description": "A paginated list of DataStores.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type DataStore.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataStore"
+ }
+ },
+ "continuationToken": {
+ "description": "The token used in retrieving the next page. If null, there are no additional pages.",
+ "type": "string"
+ },
+ "nextLink": {
+ "description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
+ "type": "string"
+ }
+ }
+ },
+ "DataStore": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Name of the datastore",
+ "type": "string"
+ },
+ "dataStoreType": {
+ "description": "The Azure storage service this datastore points to.",
+ "enum": [
+ "AzureBlob",
+ "AzureFile",
+ "AzureDataLake",
+ "AzureSqlDatabase",
+ "AzurePostgreSql",
+ "DBFS",
+ "AzureDataLakeGen2",
+ "GlusterFs"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DataStoreType",
+ "modelAsString": false
+ }
+ },
+ "hasBeenValidated": {
+ "description": "A read only property that denotes whether the service datastore has been validated with credentials.",
+ "type": "boolean"
+ },
+ "tags": {
+ "description": "Tags to datastore",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "azureStorageSection": {
+ "$ref": "#/definitions/AzureStorage",
+ "description": "Data specific to azure storage"
+ },
+ "azureDataLakeSection": {
+ "$ref": "#/definitions/AzureDataLake",
+ "description": "Data Specific to azure data lake"
+ },
+ "azureSqlDatabaseSection": {
+ "$ref": "#/definitions/AzureSqlDatabase",
+ "description": "Data specific to azure SQL database"
+ },
+ "azurePostgreSqlSection": {
+ "$ref": "#/definitions/AzurePostgreSql",
+ "description": "Data specific to azure PostgreSQL"
+ },
+ "glusterFsSection": {
+ "$ref": "#/definitions/GlusterFs",
+ "description": "Data specific to GlusterFS"
+ }
+ }
+ },
+ "AzureStorage": {
+ "type": "object",
+ "properties": {
+ "accountName": {
+ "description": "Storage Account Name",
+ "type": "string"
+ },
+ "containerName": {
+ "description": "The storage container name",
+ "type": "string"
+ },
+ "endpoint": {
+ "description": "The host of the container",
+ "type": "string"
+ },
+ "protocol": {
+ "description": "The protocol to use. Defaults to https",
+ "type": "string"
+ },
+ "credentialType": {
+ "description": "The credential type",
+ "enum": [
+ "None",
+ "Sas",
+ "AccountKey",
+ "ClientCredentials"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "AzureStorageCredentialTypes",
+ "modelAsString": false
+ }
+ },
+ "credential": {
+ "description": "The credential",
+ "type": "string"
+ },
+ "clientCredentials": {
+ "$ref": "#/definitions/ClientCredentials",
+ "description": "Service principal credential when credential type is Microsoft.MachineLearning.DataStore.Contracts.AzureStorageCredentialTypes.ClientCredentials"
+ },
+ "blobCacheTimeout": {
+ "format": "int32",
+ "description": "If this is an Microsoft.MachineLearning.DataStore.Contracts.DataStoreType.AzureBlob, the length of time (in seconds) to cache files locally after they are accessed (downloaded).",
+ "type": "integer"
+ },
+ "isSas": {
+ "description": "Indicate if we are using SAS token or Account Key (Deprecated)",
+ "type": "boolean"
+ },
+ "accountKey": {
+ "description": "Storage Account Key (Deprecated)",
+ "type": "string"
+ },
+ "sasToken": {
+ "description": "SAS Token for the container (Deprecated)",
+ "type": "string"
+ },
+ "areWorkspaceManagedIdentitiesAllowed": {
+ "description": "Indicate if we are using Workspace ManagedIdentities/MSI token",
+ "type": "boolean"
+ },
+ "subscriptionId": {
+ "format": "uuid",
+ "description": "Subscription Id",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource Group Name",
+ "type": "string"
+ }
+ }
+ },
+ "AzureDataLake": {
+ "type": "object",
+ "properties": {
+ "storeName": {
+ "description": "The Azure Data Lake store name",
+ "type": "string"
+ },
+ "clientId": {
+ "format": "uuid",
+ "description": "The Client ID/Application ID",
+ "type": "string"
+ },
+ "tenantId": {
+ "format": "uuid",
+ "description": "The ID of the tenant the service principal/app belongs to",
+ "type": "string"
+ },
+ "isCertAuth": {
+ "description": "Is it using certificate to authenticate. If false then use client secret",
+ "type": "boolean"
+ },
+ "certificate": {
+ "description": "The content of the certificate used for authentication",
+ "type": "string"
+ },
+ "thumbprint": {
+ "description": "The thumbprint of the certificate above",
+ "type": "string"
+ },
+ "clientSecret": {
+ "description": "The client secret",
+ "type": "string"
+ },
+ "authorityUrl": {
+ "description": "The authority URL used for authentication",
+ "type": "string"
+ },
+ "resourceUri": {
+ "description": "The resource the service principal/app has access to",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "format": "uuid",
+ "description": "Subscription Id",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource Group Name",
+ "type": "string"
+ }
+ }
+ },
+ "AzureSqlDatabase": {
+ "type": "object",
+ "properties": {
+ "serverName": {
+ "description": "The Azure SQL server name",
+ "type": "string"
+ },
+ "databaseName": {
+ "description": "The Azure SQL database name",
+ "type": "string"
+ },
+ "endpoint": {
+ "description": "The server host endpoint",
+ "type": "string"
+ },
+ "clientId": {
+ "format": "uuid",
+ "description": "The Client ID/Application ID",
+ "type": "string"
+ },
+ "tenantId": {
+ "format": "uuid",
+ "description": "The ID of the tenant the service principal/app belongs to",
+ "type": "string"
+ },
+ "isCertAuth": {
+ "description": "Is it using certificate to authenticate. If false then use client secret",
+ "type": "boolean"
+ },
+ "certificate": {
+ "description": "The content of the certificate used for authentication",
+ "type": "string"
+ },
+ "thumbprint": {
+ "description": "The thumbprint of the certificate above",
+ "type": "string"
+ },
+ "clientSecret": {
+ "description": "The client secret",
+ "type": "string"
+ },
+ "authorityUrl": {
+ "description": "The authority URL used for authentication",
+ "type": "string"
+ },
+ "resourceUri": {
+ "description": "The resource the service principal/app has access to",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "format": "uuid",
+ "description": "Subscription Id",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource Group Name",
+ "type": "string"
+ }
+ }
+ },
+ "AzurePostgreSql": {
+ "type": "object",
+ "properties": {
+ "serverName": {
+ "description": "The Azure PostgreSQL server name",
+ "type": "string"
+ },
+ "databaseName": {
+ "description": "The Azure PostgreSQL database name",
+ "type": "string"
+ },
+ "userId": {
+ "description": "The Azure PostgreSQL user id",
+ "type": "string"
+ },
+ "userPassword": {
+ "description": "The Azure PostgreSQL user password",
+ "type": "string"
+ },
+ "portNumber": {
+ "description": "The Azure PostgreSQL port number",
+ "type": "string"
+ },
+ "endpoint": {
+ "description": "The Azure PostgreSQL server host endpoint",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "format": "uuid",
+ "description": "Subscription Id",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource Group Name",
+ "type": "string"
+ }
+ }
+ },
+ "GlusterFs": {
+ "type": "object",
+ "properties": {
+ "serverAddress": {
+ "description": "The server address of one of the servers that hosts the GlusterFS. Can be either the IP address\r\nor server name.",
+ "type": "string"
+ },
+ "volumeName": {
+ "description": "The name of the created GlusterFS volume.",
+ "type": "string"
+ }
+ }
+ },
+ "ClientCredentials": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "format": "uuid",
+ "description": "The Client ID/Application ID",
+ "type": "string"
+ },
+ "tenantId": {
+ "format": "uuid",
+ "description": "The ID of the tenant the service principal/app belongs to",
+ "type": "string"
+ },
+ "isCertAuth": {
+ "description": "Is it using certificate to authenticate. If false then use client secret",
+ "type": "boolean"
+ },
+ "certificate": {
+ "description": "The content of the certificate used for authentication",
+ "type": "string"
+ },
+ "thumbprint": {
+ "description": "The thumbprint of the certificate above",
+ "type": "string"
+ },
+ "clientSecret": {
+ "description": "The client secret",
+ "type": "string"
+ },
+ "authorityUrl": {
+ "description": "The authority URL used for authentication",
+ "type": "string"
+ },
+ "resourceUri": {
+ "description": "The resource the service principal/app has access to",
+ "type": "string"
+ },
+ "subscriptionId": {
+ "format": "uuid",
+ "description": "Subscription Id",
+ "type": "string"
+ },
+ "resourceGroup": {
+ "description": "Resource Group Name",
+ "type": "string"
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "The error response.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/RootError",
+ "description": "The top level error that occurred."
+ },
+ "correlation": {
+ "description": "Dictionary containing correlation details for the error.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "environment": {
+ "description": "The hosting environment.",
+ "type": "string"
+ },
+ "location": {
+ "description": "The Azure region.",
+ "type": "string"
+ },
+ "time": {
+ "format": "date-time",
+ "description": "The time in UTC.",
+ "type": "string"
+ }
+ }
+ },
+ "RootError": {
+ "description": "The root error.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The service-defined error code. Supported error codes: ServiceError, UserError, ValidationError, AzureStorageError, TransientError, RequestThrottled.",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human-readable representation of the error.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the error (e.g., the name of the property in error).",
+ "type": "string"
+ },
+ "details": {
+ "description": "The related errors that occurred during the request.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ },
+ "innerError": {
+ "$ref": "#/definitions/InnerErrorResponse",
+ "description": "A nested list of inner errors. When evaluating errors, clients MUST traverse through all of the nested “innerErrors” and choose the deepest one that they understand."
+ }
+ }
+ },
+ "ErrorDetails": {
+ "description": "The error details.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "The error message.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the error (e.g., the name of the property in error).",
+ "type": "string"
+ }
+ }
+ },
+ "InnerErrorResponse": {
+ "description": "A nested structure of errors.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "innerError": {
+ "$ref": "#/definitions/InnerErrorResponse",
+ "description": "A nested list of inner errors. When evaluating errors, clients MUST traverse through all of the nested “innerErrors” and choose the deepest one that they understand."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Azure Subscription ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid",
+ "x-ms-parameter-location": "method"
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The Name of the resource group in which the workspace is located.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "workspaceNameParameter": {
+ "name": "workspaceName",
+ "in": "path",
+ "description": "The name of the workspace.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2"
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "tags": []
+}
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelHyperDriveExperiment.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelHyperDriveExperiment.json
new file mode 100644
index 000000000000..ba759fa0ea93
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelHyperDriveExperiment.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "region": "eastus",
+ "dnsSuffix": "api.azureml.ms",
+ "armScope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo_resource_group/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace/experiments/demo_experiment",
+ "runId": "demorun_1558388311"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "code": 200,
+ "result": "Cancellation requested for demorun_1558388311"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelRunWithUri.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelRunWithUri.json
new file mode 100644
index 000000000000..119a85b57fd1
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/cancelRunWithUri.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "region": "eastus",
+ "dnsSuffix": "api.azureml.ms",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "demo_resource_group",
+ "workspaceName": "demo_workspace",
+ "experimentName": "demo_experiment",
+ "runId": "demorun_15501234342_0"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "runId": "demorun_15501234342_0"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/createHyperDriveExperiment.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/createHyperDriveExperiment.json
new file mode 100644
index 000000000000..4874d2a84fce
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/createHyperDriveExperiment.json
@@ -0,0 +1,54 @@
+{
+ "parameters": {
+ "region": "eastus",
+ "dnsSuffix": "api.azureml.ms",
+ "armScope": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/demo_resource_group/providers/Microsoft.MachineLearningServices/workspaces/demo_workspace/experiments/demo_experiment",
+ "config": "multipart-form-data"
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "code": 201,
+ "result": {
+ "all_jobs_generated": false,
+ "cancellation_requested": false,
+ "created": "2019-05-23T20:00:00.0Z",
+ "created_by_user_id": 0,
+ "description": null,
+ "experiment_id": "demo_experiment_1",
+ "experiment_uri": null,
+ "generator_config": {
+ "name": "BAYESIANOPTIMIZATION",
+ "parameter_space": {
+ "--param1": [
+ "uniform",
+ [
+ 0,
+ 1
+ ]
+ ]
+ }
+ },
+ "max_concurrent_jobs": 1,
+ "max_duration_minutes": 10080,
+ "max_total_jobs": 4,
+ "modified": "2019-05-23T20:00:00.0Z",
+ "name": "demo_experiment",
+ "platform": "AML",
+ "platform_config": {},
+ "policy_config": {
+ "name": "DEFAULT"
+ },
+ "primary_metric_config": {
+ "name": "accuracy",
+ "goal": "MAXIMIZE"
+ },
+ "status": "Running",
+ "study_id": 0,
+ "study_uri": null,
+ "hyperdrive_run_id": ""
+ }
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startLocalRun.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startLocalRun.json
new file mode 100644
index 000000000000..21d70904a3e8
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startLocalRun.json
@@ -0,0 +1,53 @@
+{
+ "parameters": {
+ "region": "eastus",
+ "dnsSuffix": "api.azureml.ms",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "demo_resource_group",
+ "workspaceName": "demo_workspace",
+ "experimentName": "demo_experiment",
+ "definition": {
+ "snapshotId": "00000000-0000-0000-0000-000000000000",
+ "configuration": {
+ "script": "findsquare.py",
+ "arguments": [
+ "234"
+ ],
+ "framework": "Python",
+ "communicator": "None",
+ "target": "batchai",
+ "maxRunDurationSeconds": 1200,
+ "nodeCount": 1,
+ "environment": {
+ "python": {
+ "interpreterPath": "python",
+ "userManagedDependencies": false,
+ "condaDependencies": {
+ "name": "project_environment",
+ "dependencies": [
+ "python=3.6.2",
+ {
+ "pip": [
+ "azureml-defaults"
+ ]
+ }
+ ]
+ }
+ },
+ "docker": {
+ "baseImage": "mcr.microsoft.com/azureml/base:0.2.2"
+ }
+ },
+ "history": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "schema": {
+ "format": "byte",
+ "type": "file"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startRun.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startRun.json
new file mode 100644
index 000000000000..00e885a53c72
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startRun.json
@@ -0,0 +1,19 @@
+{
+ "parameters": {
+ "region": "eastus",
+ "dnsSuffix": "api.azureml.ms",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "demo_resource_group",
+ "workspaceName": "demo_workspace",
+ "experimentName": "demo_experiment",
+ "runDefinitionFile": "multipart-form-data",
+ "projectZipFile": "multipart-form-data"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "runId": "demorun_15501234342_0"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startSnapshotRun.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startSnapshotRun.json
new file mode 100644
index 000000000000..9c494e4dba90
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/examples/startSnapshotRun.json
@@ -0,0 +1,52 @@
+{
+ "parameters": {
+ "region": "eastus",
+ "dnsSuffix": "api.azureml.ms",
+ "subscriptionId": "00000000-0000-0000-0000-000000000000",
+ "resourceGroupName": "demo_resource_group",
+ "workspaceName": "demo_workspace",
+ "experimentName": "demo_experiment",
+ "definition": {
+ "snapshotId": "00000000-0000-0000-0000-000000000000",
+ "configuration": {
+ "script": "findsquare.py",
+ "arguments": [
+ "234"
+ ],
+ "framework": "Python",
+ "communicator": "None",
+ "target": "batchai",
+ "maxRunDurationSeconds": 1200,
+ "nodeCount": 1,
+ "environment": {
+ "python": {
+ "interpreterPath": "python",
+ "userManagedDependencies": false,
+ "condaDependencies": {
+ "name": "project_environment",
+ "dependencies": [
+ "python=3.6.2",
+ {
+ "pip": [
+ "azureml-defaults"
+ ]
+ }
+ ]
+ }
+ },
+ "docker": {
+ "baseImage": "mcr.microsoft.com/azureml/base:0.2.2"
+ }
+ },
+ "history": {}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "runId": "demorun_15501234342_0"
+ }
+ }
+ }
+}
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/execution.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/execution.json
new file mode 100644
index 000000000000..ca260daefa7b
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/execution.json
@@ -0,0 +1,827 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-08-01",
+ "title": "Execution Service API"
+ },
+ "schemes": [
+ "https"
+ ],
+ "paths": {
+ "/execution/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/startlocalrun": {
+ "post": {
+ "tags": [
+ "Execution"
+ ],
+ "summary": "Start a run on a local machine.",
+ "description": "Starts an experiment run using the provided definition.json file to define the run.\r\n The source code and configuration is defined in a zip archive in project.zip.",
+ "operationId": "Execution_StartLocalRun",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json",
+ "application/octet-stream"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "definition",
+ "in": "body",
+ "description": "A JSON run definition structure.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RunDefinition"
+ }
+ },
+ {
+ "name": "runId",
+ "in": "query",
+ "description": "A run id. If not supplied a run id will be created automatically.",
+ "required": false,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][\\w-]{0,255}$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "File Response",
+ "schema": {
+ "format": "byte",
+ "type": "file"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Start a local run": {
+ "$ref": "./examples/startLocalRun.json"
+ }
+ }
+ }
+ },
+ "/execution/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/startrun": {
+ "post": {
+ "tags": [
+ "Execution"
+ ],
+ "summary": "Start a run on a remote compute target.",
+ "description": "Starts an experiment run using the provided definition.json file to define the run.\r\n The source code and configuration is defined in a zip archive in project.zip.",
+ "operationId": "Execution_StartRun",
+ "consumes": [
+ "multipart/form-data"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runDefinitionFile",
+ "in": "formData",
+ "description": "The JSON file containing the RunDefinition",
+ "required": true,
+ "type": "file"
+ },
+ {
+ "name": "projectZipFile",
+ "in": "formData",
+ "description": "The zip archive of the project folder containing the source code to use for the run.",
+ "required": true,
+ "type": "file"
+ },
+ {
+ "name": "runId",
+ "in": "query",
+ "description": "A run id. If not supplied a run id will be created automatically.",
+ "required": false,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][\\w-]{0,255}$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A run was successfully started.",
+ "schema": {
+ "$ref": "#/definitions/StartRunResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Start a run": {
+ "$ref": "./examples/startRun.json"
+ }
+ }
+ }
+ },
+ "/execution/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/snapshotrun": {
+ "post": {
+ "tags": [
+ "Execution"
+ ],
+ "summary": "Start a run from a snapshot on a remote compute target.",
+ "description": "Starts an experiment run on the remote compute target using the provided definition.json file to define the run.\r\n The code for the run is retrieved using the snapshotId in definition.json.",
+ "operationId": "Execution_StartSnapshotRun",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "definition",
+ "in": "body",
+ "description": "A JSON run definition structure.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RunDefinition"
+ }
+ },
+ {
+ "name": "runId",
+ "in": "query",
+ "description": "A run id. If not supplied a run id will be created automatically.",
+ "required": false,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][\\w-]{0,255}$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "A snapshot run was successfully started.",
+ "schema": {
+ "$ref": "#/definitions/StartRunResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Start a snapshot run": {
+ "$ref": "./examples/startSnapshotRun.json"
+ }
+ }
+ }
+ },
+ "/execution/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runId/{runId}/cancel": {
+ "post": {
+ "tags": [
+ "Execution"
+ ],
+ "summary": "Cancel a run.",
+ "description": "Cancels a run within an experiment.",
+ "operationId": "Execution_CancelRunWithUri",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The id of the run to cancel.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][\\w-]{0,255}$"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The run was successfully cancelled.",
+ "schema": {
+ "$ref": "#/definitions/StartRunResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Cancel a run with URI": {
+ "$ref": "./examples/cancelRunWithUri.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RunDefinition": {
+ "type": "object",
+ "properties": {
+ "configuration": {
+ "$ref": "#/definitions/RunConfiguration",
+ "description": "Fully specified configuration information for the run. Even when that information\r\nis contained in configuration files within the project folder, the client collapses\r\nit all and inlines it into the run definition when submitting a run."
+ },
+ "snapshotId": {
+ "format": "uuid",
+ "description": "Snapshots are user project folders that have been uploaded to the cloud for subsequent\r\nexecution. This field is required when executing against cloud-based compute targets\r\nunless the run submission was against the API endpoint that takes a zipped project folder\r\ninline with the request.",
+ "type": "string"
+ },
+ "parentRunId": {
+ "description": "Specifies that the run history entry for this execution should be scoped within\r\nan existing run as a child. Defaults to null, meaning the run has no parent.\r\nThis is intended for first-party service integration, not third-party API users.",
+ "type": "string",
+ "example": "myexperiment_155000000001_0"
+ },
+ "runType": {
+ "description": "Specifies the runsource property for this run. The default value is \"experiment\" if not specified.",
+ "type": "string",
+ "example": "experiment"
+ }
+ }
+ },
+ "RunConfiguration": {
+ "type": "object",
+ "properties": {
+ "script": {
+ "description": "The relative path to the python script file. The file path is relative to the source_directory passed to submit run.",
+ "type": "string",
+ "example": "findsquare.py"
+ },
+ "arguments": {
+ "description": "Command line arguments for the python script file.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "example": "[\"234\"]"
+ },
+ "framework": {
+ "description": "The supported frameworks are Python, PySpark, CNTK, TensorFlow, and PyTorch. Use Tensorflow for AmlCompute clusters, and Python for distributed training jobs.",
+ "enum": [
+ "Python",
+ "PySpark",
+ "Cntk",
+ "TensorFlow",
+ "PyTorch"
+ ],
+ "type": "string",
+ "example": "Python",
+ "x-ms-enum": {
+ "name": "Framework",
+ "modelAsString": false
+ }
+ },
+ "communicator": {
+ "description": "The supported communicators are None, ParameterServer, OpenMpi, and IntelMpi Keep in mind that OpenMpi requires a custom image with OpenMpi installed.\r\nUse ParameterServer or OpenMpi for AmlCompute clusters. Use IntelMpi for distributed training jobs.",
+ "enum": [
+ "None",
+ "ParameterServer",
+ "Gloo",
+ "Mpi",
+ "Nccl"
+ ],
+ "type": "string",
+ "example": "None",
+ "x-ms-enum": {
+ "name": "Communicator",
+ "modelAsString": false
+ }
+ },
+ "target": {
+ "description": "Target refers to compute where the job is scheduled for execution. The default target is \"local\" referring to the local machine.",
+ "type": "string",
+ "example": "amlcompute"
+ },
+ "dataReferences": {
+ "description": "All the data sources are made available to the run during execution based on each configuration.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/DataReferenceConfiguration"
+ }
+ },
+ "jobName": {
+ "description": "This is primarily intended for notebooks to override the default job name.\r\nDefaults to ArgumentVector[0] if not specified.",
+ "type": "string",
+ "example": "FindSquaresJob"
+ },
+ "maxRunDurationSeconds": {
+ "format": "int64",
+ "description": "Maximum allowed time for the run. The system will attempt to automatically cancel the run if it took longer than this value.\r\nMaxRunDurationSeconds=null means infinite duration.",
+ "type": "integer",
+ "example": "84000"
+ },
+ "nodeCount": {
+ "format": "int32",
+ "description": "Number of compute nodes to run the job on. Only applies to AMLCompute.",
+ "type": "integer",
+ "example": "1"
+ },
+ "environment": {
+ "$ref": "#/definitions/EnvironmentDefinition",
+ "description": "The environment definition, This field configures the python environment.\r\nIt can be configured to use an existing Python environment or configured to setup a temp environment for the experiment.\r\nThe definition is also responsible for setting the required application dependencies."
+ },
+ "history": {
+ "$ref": "#/definitions/HistoryConfiguration",
+ "description": "This section is used to disable and enable experiment history logging features."
+ },
+ "spark": {
+ "$ref": "#/definitions/SparkConfiguration",
+ "description": "When the platform is set to Pyspark, The spark configuration is used to set the default sparkconf for the submitted job."
+ },
+ "tensorflow": {
+ "$ref": "#/definitions/TensorflowConfiguration",
+ "description": "The attribute is used to configure the distributed tensorflow parameters.\r\nThis attribute takes effect only when the framework is set to TensorFlow, and the communicator to ParameterServer.\r\nAmlCompute is the only supported compute for this configuration."
+ },
+ "mpi": {
+ "$ref": "#/definitions/MpiConfiguration",
+ "description": "The attribute is used to configure the distributed MPI job parameters.\r\nThis attribute takes effect only when the framework is set to Python, and the communicator to OpenMpi or IntelMpi.\r\nAmlCompute is the only supported compute type for this configuration."
+ },
+ "hdi": {
+ "$ref": "#/definitions/HdiConfiguration",
+ "description": "This attribute takes effect only when the target is set to an Azure HDI compute.\r\nThe HDI Configuration is used to set the YARN deployment mode. It is defaulted to cluster mode."
+ }
+ }
+ },
+ "DataReferenceConfiguration": {
+ "description": "A class for managing DataReferenceConfiguration.",
+ "type": "object",
+ "properties": {
+ "dataStoreName": {
+ "description": "The name of the data store.",
+ "type": "string",
+ "example": "myblobstore"
+ },
+ "mode": {
+ "description": "Operation on the datastore, mount, download, upload.",
+ "enum": [
+ "Mount",
+ "Download",
+ "Upload"
+ ],
+ "type": "string",
+ "example": "Mount",
+ "x-ms-enum": {
+ "name": "DataStoreMode",
+ "modelAsString": false
+ }
+ },
+ "pathOnDataStore": {
+ "description": "Relative path on the datastore.",
+ "type": "string",
+ "example": "/images/validation"
+ },
+ "pathOnCompute": {
+ "description": "The path on the compute target.",
+ "type": "string"
+ },
+ "overwrite": {
+ "description": "Whether to overwrite the data if existing.",
+ "type": "boolean"
+ }
+ }
+ },
+ "EnvironmentDefinition": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the environment.",
+ "type": "string",
+ "example": "mydevenvironment"
+ },
+ "version": {
+ "description": "The environment version.",
+ "type": "string",
+ "example": "1"
+ },
+ "python": {
+ "$ref": "#/definitions/PythonSection",
+ "description": "Settings for a Python environment."
+ },
+ "environmentVariables": {
+ "description": "Definition of environment variables to be defined in the environment.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "docker": {
+ "$ref": "#/definitions/DockerSection",
+ "description": "The definition of a Docker container."
+ },
+ "spark": {
+ "$ref": "#/definitions/SparkSection",
+ "description": "The configuration for a Spark environment."
+ },
+ "inferencingStackVersion": {
+ "description": "The inferencing stack version added to the image. To avoid adding an inferencing stack, do not set this value. Valid values: \"latest\".",
+ "type": "string",
+ "example": "latest"
+ }
+ }
+ },
+ "HistoryConfiguration": {
+ "type": "object",
+ "properties": {
+ "outputCollection": {
+ "description": "Set to true to collect outputs and store in run history.",
+ "type": "boolean"
+ },
+ "directoriesToWatch": {
+ "description": "The list of directories to monitor and upload files from.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "example": "[\"logs\", \"outputs\"]"
+ }
+ }
+ },
+ "SparkConfiguration": {
+ "type": "object",
+ "properties": {
+ "configuration": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "TensorflowConfiguration": {
+ "type": "object",
+ "properties": {
+ "workerCount": {
+ "format": "int32",
+ "description": "The number of workers.",
+ "type": "integer",
+ "example": "2"
+ },
+ "parameterServerCount": {
+ "format": "int32",
+ "description": "Number of parameter servers.",
+ "type": "integer",
+ "example": "1"
+ }
+ }
+ },
+ "MpiConfiguration": {
+ "type": "object",
+ "properties": {
+ "processCountPerNode": {
+ "format": "int32",
+ "description": "Number of processes per node.",
+ "type": "integer",
+ "example": "2"
+ }
+ }
+ },
+ "HdiConfiguration": {
+ "type": "object",
+ "properties": {
+ "yarnDeployMode": {
+ "enum": [
+ "None",
+ "Client",
+ "Cluster"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "YarnDeployMode",
+ "modelAsString": false
+ }
+ }
+ }
+ },
+ "PythonSection": {
+ "type": "object",
+ "properties": {
+ "interpreterPath": {
+ "description": "The python interpreter path. This is only used when user_managed_dependencies=True.",
+ "type": "string"
+ },
+ "userManagedDependencies": {
+ "description": "True means that AzureML reuses an existing python environment; False means that AzureML will create a python environment based on the Conda dependencies specification.",
+ "type": "boolean"
+ },
+ "condaDependencies": {
+ "type": "object"
+ },
+ "baseCondaEnvironment": {
+ "type": "string"
+ }
+ }
+ },
+ "DockerSection": {
+ "type": "object",
+ "properties": {
+ "baseImage": {
+ "description": "Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile.",
+ "type": "string",
+ "example": "ubuntu:latest"
+ },
+ "baseDockerfile": {
+ "description": "Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage.",
+ "type": "string",
+ "example": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\""
+ },
+ "enabled": {
+ "description": "Set true to perform this run inside a Docker container.",
+ "type": "boolean"
+ },
+ "sharedVolumes": {
+ "description": "Set false to disable AzureML's usage of the Docker shared volumes feature to work around bugs in certain versions of Docker for Windows.",
+ "type": "boolean"
+ },
+ "arguments": {
+ "description": "Extra arguments to the Docker run command.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "baseImageRegistry": {
+ "$ref": "#/definitions/ContainerRegistry",
+ "description": "Image registry that contains the base image."
+ }
+ }
+ },
+ "SparkSection": {
+ "type": "object",
+ "properties": {
+ "repositories": {
+ "description": "The list of spark repositories.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "packages": {
+ "description": "The Spark packages to use.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SparkMavenPackage"
+ }
+ },
+ "precachePackages": {
+ "description": "Whether to precache the packages.",
+ "type": "boolean"
+ }
+ }
+ },
+ "ContainerRegistry": {
+ "type": "object",
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "password": {
+ "type": "string"
+ }
+ }
+ },
+ "SparkMavenPackage": {
+ "type": "object",
+ "properties": {
+ "group": {
+ "type": "string"
+ },
+ "artifact": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ }
+ },
+ "StartRunResult": {
+ "description": "Contains the details of a run.",
+ "required": [
+ "runId"
+ ],
+ "type": "object",
+ "properties": {
+ "runId": {
+ "description": "The identifier for a run.",
+ "type": "string",
+ "example": "myexperiment_155000000001_0"
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "The error response.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/RootError",
+ "description": "The top level error that occurred."
+ },
+ "correlation": {
+ "description": "Dictionary containing correlation details for the error.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "environment": {
+ "description": "The hosting environment.",
+ "type": "string"
+ },
+ "location": {
+ "description": "The Azure region.",
+ "type": "string"
+ },
+ "time": {
+ "format": "date-time",
+ "description": "The time in UTC.",
+ "type": "string"
+ }
+ }
+ },
+ "RootError": {
+ "description": "The root error.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The service-defined error code. Supported error codes: ServiceError, UserError, ValidationError, AzureStorageError, TransientError, RequestThrottled.",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human-readable representation of the error.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the error (e.g., the name of the property in error).",
+ "type": "string"
+ },
+ "details": {
+ "description": "The related errors that occurred during the request.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ },
+ "innerError": {
+ "$ref": "#/definitions/InnerErrorResponse",
+ "description": "A nested list of inner errors. When evaluating errors, clients MUST traverse through all of the nested “innerErrors” and choose the deepest one that they understand."
+ }
+ }
+ },
+ "ErrorDetails": {
+ "description": "The error details.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "The error message.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the error (e.g., the name of the property in error).",
+ "type": "string"
+ }
+ }
+ },
+ "InnerErrorResponse": {
+ "description": "A nested structure of errors.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "innerError": {
+ "$ref": "#/definitions/InnerErrorResponse",
+ "description": "A nested list of inner errors. When evaluating errors, clients MUST traverse through all of the nested “innerErrors” and choose the deepest one that they understand."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Azure Subscription ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid",
+ "x-ms-parameter-location": "method"
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The Name of the resource group in which the workspace is located.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "workspaceNameParameter": {
+ "name": "workspaceName",
+ "in": "path",
+ "description": "The name of the workspace.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2"
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "tags": []
+}
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/hyperdrive.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/hyperdrive.json
new file mode 100644
index 000000000000..ca5399f51681
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/hyperdrive.json
@@ -0,0 +1,585 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "description": "HyperDrive REST API",
+ "version": "2019-08-01",
+ "title": "HyperDrive"
+ },
+ "tags": [],
+ "schemes": [
+ "https"
+ ],
+ "paths": {
+ "/hyperdrive/v1.0/{armScope}/runs": {
+ "post": {
+ "tags": [
+ "HyperDriveExperiment"
+ ],
+ "summary": "Create an Experiment.",
+ "description": "Create a HyperDrive Experiment.",
+ "operationId": "HyperDrive_CreateExperiment",
+ "consumes": [
+ "multipart/form-data"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ArmScopeParameter"
+ },
+ {
+ "in": "formData",
+ "name": "config",
+ "description": "The configuration file with experiment JSON content. A text file that is a JSON-serialized '#/definitions/HyperDriveCreateExperiment' object.",
+ "type": "file",
+ "required": true
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/HyperDriveExperimentResponse"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/HyperDriveErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Create a HyperDrive experiment": {
+ "$ref": "./examples/createHyperDriveExperiment.json"
+ }
+ }
+ }
+ },
+ "/hyperdrive/v1.0/{armScope}/runs/{runId}/cancel": {
+ "post": {
+ "tags": [
+ "HyperDriveExperiment"
+ ],
+ "summary": "Cancel an Experiment.",
+ "description": "Cancel a HyperDrive Experiment.",
+ "operationId": "HyperDrive_CancelExperiment",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/ArmScopeParameter"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "Hyperdrive run id to cancel.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "in": "header",
+ "name": "RunHistoryHost",
+ "description": "The host for run location.",
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/HyperDriveCancelExperimentResponse"
+ }
+ },
+ "default": {
+ "description": "Error",
+ "schema": {
+ "$ref": "#/definitions/HyperDriveErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Cancel a HyperDrive experiment": {
+ "$ref": "./examples/cancelHyperDriveExperiment.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "HyperDriveErrorResponse": {
+ "properties": {
+ "code": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Error response code."
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message."
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object",
+ "description": "Response in case of an error."
+ },
+ "HyperDriveCancelExperimentResponse": {
+ "properties": {
+ "code": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Response code."
+ },
+ "result": {
+ "type": "string",
+ "description": "Message indicating operation success."
+ }
+ },
+ "required": [
+ "code",
+ "result"
+ ],
+ "type": "object",
+ "description": "Response for HyperDrive_CancelExperiment in case of success."
+ },
+ "HyperDriveExperimentBase": {
+ "description": "Base object for both request and response of HyperDrive_CreateExperiment api.",
+ "properties": {
+ "description": {
+ "maxLength": 511,
+ "type": "string",
+ "x-nullable": true,
+ "description": "The description for Hyperdrive run."
+ },
+ "generator_config": {
+ "description": "Hyperparameter space and the sampling method configuration.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "enum": [
+ "RANDOM",
+ "GRID",
+ "BAYESIANOPTIMIZATION"
+ ],
+ "description": "Hyperparameter sampling method.",
+ "x-ms-enum": {
+ "name": "Name",
+ "modelAsString": true
+ }
+ },
+ "parameter_space": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "array",
+ "items": {},
+ "minItems": 2,
+ "maxItems": 2,
+ "description": "The first element in the array is a string identifying the parameter expression type like choice, uniform etc. The second element is a parameter expressions corresponding to the type.\r\n Please refer to https://docs.microsoft.com/en-us/python/api/azureml-train-core/azureml.train.hyperdrive.parameter_expressions?view=azure-ml-py for a list of supported types and options for each type.\r\n choice parameters are specified as ['choice', [[1, 2, 3, 4]]]. randint is in format ['randint', [1]].\r\n uniform, loguniform, normal, lognormal are in format [expression type, [0.01, 0.05]].\r\n quniform, qloguniform, qnormal, qlognormal are in format [expression type, [0.01, 0.05, 3]].\r\n",
+ "example": [
+ "choice",
+ [
+ [
+ 1,
+ 2,
+ 3,
+ 4
+ ]
+ ]
+ ]
+ },
+ "description": "Dictionary specifying hyperparameter space."
+ }
+ },
+ "required": [
+ "name",
+ "parameter_space"
+ ],
+ "type": "object"
+ },
+ "max_concurrent_jobs": {
+ "format": "int32",
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer",
+ "description": "Maximum number of runs to run concurrently."
+ },
+ "max_duration_minutes": {
+ "format": "int32",
+ "maximum": 43200,
+ "minimum": 1,
+ "type": "integer",
+ "description": "Maximum duration of the Hyperdrive run."
+ },
+ "max_total_jobs": {
+ "format": "int32",
+ "maximum": 1000,
+ "minimum": 1,
+ "type": "integer",
+ "description": "Maximum number of runs."
+ },
+ "name": {
+ "maxLength": 255,
+ "type": "string",
+ "description": "Name of the Hyperdrive run."
+ },
+ "platform": {
+ "type": "string",
+ "enum": [
+ "AML"
+ ],
+ "description": "Platform of the Hyperdrive run.",
+ "x-ms-enum": {
+ "name": "Platform",
+ "modelAsString": true
+ }
+ },
+ "platform_config": {
+ "type": "object",
+ "description": "Platform config object specifying the run definition structure."
+ },
+ "policy_config": {
+ "description": "Early termination policy configuration.",
+ "$ref": "#/definitions/HyperDrivePolicyConfigBase"
+ },
+ "primary_metric_config": {
+ "description": "Name of the primary metric and goal of optimizing.",
+ "properties": {
+ "goal": {
+ "type": "string",
+ "enum": [
+ "MAXIMIZE",
+ "MINIMIZE"
+ ],
+ "description": "Determines if the primary metric has to be minimized/maximized.",
+ "x-ms-enum": {
+ "name": "Goal",
+ "modelAsString": true
+ }
+ },
+ "name": {
+ "type": "string",
+ "description": "Name of the primary metric reported by runs."
+ }
+ },
+ "required": [
+ "goal",
+ "name"
+ ],
+ "type": "object"
+ },
+ "study_id": {
+ "format": "int32",
+ "minimum": 0,
+ "type": "integer",
+ "x-nullable": true,
+ "description": "Study Id of the Hyperdrive run."
+ }
+ },
+ "required": [
+ "generator_config",
+ "name",
+ "platform",
+ "platform_config",
+ "policy_config",
+ "primary_metric_config"
+ ],
+ "type": "object"
+ },
+ "HyperDriveExperiment": {
+ "type": "object",
+ "description": "Part of response for HyperDrive_CreateExperiment in case of success. Contains details about the created hyperdrive run.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HyperDriveExperimentBase"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "all_jobs_generated": {
+ "type": "boolean",
+ "description": "Indicates if all runs have been generated."
+ },
+ "cancellation_requested": {
+ "type": "boolean",
+ "description": "Indicates if cancellation has been requested for this Hyperdrive run."
+ },
+ "created": {
+ "format": "date-time",
+ "type": "string",
+ "description": "Hyperdrive run creation time."
+ },
+ "created_by_user_id": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Id of the user who created the Hyperdrive run."
+ },
+ "experiment_id": {
+ "type": "string",
+ "description": "Hyperdrive run id."
+ },
+ "experiment_uri": {
+ "type": "string",
+ "description": "Hyperdrive run Uri."
+ },
+ "modified": {
+ "format": "date-time",
+ "type": "string",
+ "description": "Hyperdrive run modification time."
+ },
+ "status": {
+ "type": "string",
+ "description": "Hyperdrive run status."
+ },
+ "study_uri": {
+ "type": "string",
+ "description": "Study Uri of the Hyperdrive run."
+ },
+ "hyperdrive_run_id": {
+ "type": "string",
+ "description": "Hyperdrive run id."
+ }
+ },
+ "required": [
+ "all_jobs_generated",
+ "cancellation_requested",
+ "created",
+ "created_by_user_id",
+ "experiment_id",
+ "modified",
+ "status",
+ "hyperdrive_run_id"
+ ]
+ }
+ ],
+ "properties": {}
+ },
+ "HyperDriveCreateExperiment": {
+ "type": "object",
+ "description": "Part of request for HyperDrive_CreateExperiment. Contains configuration details required to create hyperdrive run.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HyperDriveExperimentBase"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "user": {
+ "maxLength": 255,
+ "type": "string",
+ "description": "User who is creating the Hyperdrive run."
+ }
+ },
+ "required": [
+ "user"
+ ]
+ }
+ ],
+ "properties": {}
+ },
+ "HyperDrivePolicyConfigBase": {
+ "description": "Early termination policy configuration.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "enum": [
+ "Default",
+ "Bandit",
+ "MedianStopping",
+ "TruncationSelection"
+ ],
+ "description": "Type of early termination policy.",
+ "x-ms-enum": {
+ "name": "Name",
+ "modelAsString": true
+ }
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "discriminator": "name"
+ },
+ "HyperDriveDefaultPolicy": {
+ "type": "object",
+ "description": "No early termination is applied in the case of DefaultPolicy",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HyperDrivePolicyConfigBase"
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "Default"
+ },
+ "HyperDriveBanditPolicy": {
+ "type": "object",
+ "description": "Bandit Policy configuration. Please refer https://docs.microsoft.com/en-us/python/api/azureml-train-core/azureml.train.hyperdrive.banditpolicy?view=azure-ml-py for more information.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HyperDrivePolicyConfigBase"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "description": "Policy configuration properties.",
+ "properties": {
+ "evaluation_interval": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Evaluation interval of the policy."
+ },
+ "delay_evaluation": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Value indicating the number of sequences for which the first evaluation is delayed."
+ },
+ "slack_factor": {
+ "format": "float",
+ "type": "number",
+ "description": "Slack factor."
+ },
+ "slack_amount": {
+ "format": "float",
+ "type": "number",
+ "description": "Slack amount."
+ }
+ }
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "Bandit"
+ },
+ "HyperDriveMedianStoppingPolicy": {
+ "type": "object",
+ "description": "Median stopping policy configuration. Please refer https://docs.microsoft.com/en-us/python/api/azureml-train-core/azureml.train.hyperdrive.medianstoppingpolicy?view=azure-ml-py for more information.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HyperDrivePolicyConfigBase"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "description": "Policy configuration properties.",
+ "properties": {
+ "evaluation_interval": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Evaluation interval of the policy."
+ },
+ "delay_evaluation": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Value indicating the number of sequences for which the first evaluation is delayed."
+ }
+ }
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "MedianStopping"
+ },
+ "HyperDriveTruncationSelectionPolicy": {
+ "type": "object",
+ "description": "Truncation selection policy configuration. Please refer https://docs.microsoft.com/en-us/python/api/azureml-train-core/azureml.train.hyperdrive.truncationselectionpolicy?view=azure-ml-py for more information.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/HyperDrivePolicyConfigBase"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "properties": {
+ "type": "object",
+ "description": "Policy configuration properties.",
+ "properties": {
+ "evaluation_interval": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Evaluation interval of the policy."
+ },
+ "delay_evaluation": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Value indicating the number of sequences for which the first evaluation is delayed."
+ },
+ "truncation_percentage": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Truncation percentage value."
+ },
+ "exclude_finished_jobs": {
+ "type": "boolean",
+ "description": "Boolean indicating if metrics from finished jobs should be excluded in the policy decision process."
+ }
+ }
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "TruncationSelection"
+ },
+ "HyperDriveExperimentResponse": {
+ "description": "Response for HyperDrive_CreateExperiment in case of success.",
+ "properties": {
+ "code": {
+ "format": "int32",
+ "type": "integer",
+ "description": "Response code."
+ },
+ "result": {
+ "description": "Details about created Hyperdrive run.",
+ "$ref": "#/definitions/HyperDriveExperiment"
+ }
+ },
+ "required": [
+ "code",
+ "result"
+ ],
+ "type": "object"
+ }
+ },
+ "parameters": {
+ "ArmScopeParameter": {
+ "name": "armScope",
+ "in": "path",
+ "description": "The ARM scope passed in through URL with format:\r\n subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}.\r\n",
+ "required": true,
+ "type": "string",
+ "x-ms-skip-url-encoding": true,
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2"
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ]
+}
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/modelManagement.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/modelManagement.json
new file mode 100644
index 000000000000..ff6ed3317c07
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/modelManagement.json
@@ -0,0 +1,3603 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-08-01",
+ "title": "Azure Machine Learning Model Management Service",
+ "description": "These APIs allow end users to manage Azure Machine Learning Models, Images, Profiles, and Services."
+ },
+ "paths": {
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets": {
+ "get": {
+ "tags": [
+ "Asset"
+ ],
+ "summary": "Query the list of Assets in a workspace.",
+ "description": "If no filter is passed, the query lists all the Assets in the given workspace. The returned list is paginated and the count of items in each page is an optional parameter.",
+ "operationId": "Assets_ListQuery",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "runId",
+ "in": "query",
+ "description": "The run Id associated with the Assets.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "query",
+ "description": "The object name.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "count",
+ "in": "query",
+ "description": "The number of items to retrieve in a page.",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "The continuation token to retrieve the next page.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "tags",
+ "in": "query",
+ "description": "A set of tags with which to filter the returned models.\r\n It is a comma separated string of tags key or tags key=value\r\n Example: tagKey1,tagKey2,tagKey3=value3",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "properties",
+ "in": "query",
+ "description": "A set of properties with which to filter the returned models.\r\n It is a comma separated string of properties key and/or properties key=value\r\n Example: propKey1,propKey2,propKey3=value3",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "orderby",
+ "in": "query",
+ "description": "An option for specifying how to order the list.",
+ "required": false,
+ "type": "string",
+ "default": "CreatedAtDesc",
+ "enum": [
+ "CreatedAtDesc",
+ "CreatedAtAsc",
+ "UpdatedAtDesc",
+ "UpdatedAtAsc"
+ ]
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PaginatedAssetList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ },
+ "post": {
+ "tags": [
+ "Asset"
+ ],
+ "summary": "Create an Asset.",
+ "description": "Create an Asset from the provided payload.",
+ "operationId": "Assets_Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "asset",
+ "in": "body",
+ "description": "The Asset to be created.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/Asset"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Asset"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/assets/{id}": {
+ "get": {
+ "tags": [
+ "Asset"
+ ],
+ "summary": "Get an Asset.",
+ "description": "Get an Asset by Id.",
+ "operationId": "Assets_QueryById",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The Asset Id.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Asset"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Asset"
+ ],
+ "summary": "Delete an Asset.",
+ "description": "Delete the specified Asset.",
+ "operationId": "Assets_Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The Id of the Asset to delete.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The resource exists and was deleted successfully."
+ },
+ "204": {
+ "description": "The resource does not exist and the request was well formed."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Asset"
+ ],
+ "summary": "Update an Asset.",
+ "description": "Patch a specific Asset.",
+ "operationId": "Assets_Patch",
+ "consumes": [
+ "application/json-patch+json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The Id of the Asset to patch.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "patch",
+ "in": "body",
+ "description": "The payload that is used to patch an Asset.",
+ "required": true,
+ "schema": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/JsonPatchOperation"
+ }
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Asset"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}": {
+ "get": {
+ "tags": [
+ "Model"
+ ],
+ "summary": "Gets a model.",
+ "description": "Gets a model by model id.",
+ "operationId": "MLModels_QueryById",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The model id.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Model"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Model"
+ ],
+ "summary": "Delete the specified Model.",
+ "description": "Deletes a model if it exists.",
+ "operationId": "MLModels_Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The model id.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The resource exists and was deleted successfully."
+ },
+ "204": {
+ "description": "The resource does not exist and the request was well formed."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Model"
+ ],
+ "summary": "Patch a specific model.",
+ "description": "Updates an existing model with the specified patch.",
+ "operationId": "MLModels_Patch",
+ "consumes": [
+ "application/json-patch+json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The model id.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "patch",
+ "in": "body",
+ "description": "The payload that is used to patch the model.",
+ "required": true,
+ "schema": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/JsonPatchOperation"
+ }
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Model"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models": {
+ "get": {
+ "tags": [
+ "Model"
+ ],
+ "summary": "Query the list of Models in a workspace.",
+ "description": "The result list can be filtered using tag and name. If no filter is passed, the query lists all the Models in the given workspace. The returned list is paginated and the count of items in each page is an optional parameter.",
+ "operationId": "MLModels_ListQuery",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "name",
+ "in": "query",
+ "description": "The object name.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "framework",
+ "in": "query",
+ "description": "The framework.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "description",
+ "in": "query",
+ "description": "The object description.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "count",
+ "in": "query",
+ "description": "The number of items to retrieve in a page.",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "The continuation token to retrieve the next page.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "tags",
+ "in": "query",
+ "description": "A set of tags with which to filter the returned models.\r\n It is a comma separated string of tags key or tags key=value\r\n Example: tagKey1,tagKey2,tagKey3=value3",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "properties",
+ "in": "query",
+ "description": "A set of properties with which to filter the returned models.\r\n It is a comma separated string of properties key and/or properties key=value\r\n Example: propKey1,propKey2,propKey3=value3",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "query",
+ "description": "The runId which created the model.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "orderBy",
+ "in": "query",
+ "description": "An option to specify how the models are ordered in the response.",
+ "required": false,
+ "type": "string",
+ "default": "CreatedAtDesc",
+ "enum": [
+ "CreatedAtDesc",
+ "CreatedAtAsc",
+ "UpdatedAtDesc",
+ "UpdatedAtAsc"
+ ]
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PaginatedModelList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ },
+ "post": {
+ "tags": [
+ "Model"
+ ],
+ "summary": "Register a model.",
+ "description": "Register the model provided.",
+ "operationId": "MLModels_Register",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "model",
+ "in": "body",
+ "description": "The payload that is used to register the model.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Model"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The model registration was successful.",
+ "schema": {
+ "$ref": "#/definitions/Model"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/models/{id}/metrics": {
+ "get": {
+ "tags": [
+ "Model"
+ ],
+ "summary": "Retrieve the metrics for a Model.",
+ "description": "The operational events collected for the Model are returned.",
+ "operationId": "MLModels_GetMetrics",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The Model Id.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "startDate",
+ "in": "query",
+ "description": "The start date from which to retrieve metrics, ISO 8601 literal format.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "endDate",
+ "in": "query",
+ "description": "The end date from which to retrieve metrics, ISO 8601 literal format.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ModelOperationalState"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/operations/{id}": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "summary": "Get the status of an async operation.",
+ "description": "Get the status of an async operation by operation id.",
+ "operationId": "Operations_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The operation id.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/AsyncOperationStatus"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles/{id}": {
+ "get": {
+ "tags": [
+ "Profile"
+ ],
+ "summary": "Get a Profile.",
+ "description": "Get the Profile for an Image.",
+ "operationId": "Profiles_QueryById",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "imageId",
+ "in": "path",
+ "description": "The Image Id.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The Profile Id.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ProfileResponse"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/images/{imageId}/profiles": {
+ "get": {
+ "tags": [
+ "Profile"
+ ],
+ "summary": "Get a list of Image Profiles.",
+ "description": "If no filter is passed, the query lists all Profiles for the Image. The returned list is paginated and the count of items in each page is an optional parameter.",
+ "operationId": "Profiles_ListQuery",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "imageId",
+ "in": "path",
+ "description": "The Image Id.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "query",
+ "description": "The Profile name.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "description",
+ "in": "query",
+ "description": "The Profile description.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "tags",
+ "in": "query",
+ "description": "A set of tags with which to filter the returned models.\r\n It is a comma separated string of tags key or tags key=value\r\n Example: tagKey1,tagKey2,tagKey3=value3",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "properties",
+ "in": "query",
+ "description": "A set of properties with which to filter the returned models.\r\n It is a comma separated string of properties key and/or properties key=value\r\n Example: propKey1,propKey2,propKey3=value3",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "count",
+ "in": "query",
+ "description": "The number of items to retrieve in a page.",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "The continuation token to retrieve the next page.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "orderBy",
+ "in": "query",
+ "description": "The option to order the response.",
+ "required": false,
+ "type": "string",
+ "default": "CreatedAtDesc",
+ "enum": [
+ "CreatedAtDesc",
+ "CreatedAtAsc",
+ "UpdatedAtDesc",
+ "UpdatedAtAsc"
+ ]
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PaginatedProfileResponseList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ },
+ "post": {
+ "tags": [
+ "Profile"
+ ],
+ "summary": "Create a Profile.",
+ "description": "Create a Profile for an Image.",
+ "operationId": "Profiles_Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "imageId",
+ "in": "path",
+ "description": "The Image Id.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "inputRequest",
+ "in": "body",
+ "description": "The payload that is used to create the Profile.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ProfileRequestBase"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The request was accepted. The header 'Operation-Location' contains the async operation location URL. Accessing this URL with a GET call will return the status of the background task."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}": {
+ "get": {
+ "tags": [
+ "Service"
+ ],
+ "summary": "Get a Service.",
+ "description": "Get a Service by Id.",
+ "operationId": "Services_QueryById",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The Service Id.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "expand",
+ "in": "query",
+ "description": "Set to True to include Model details.",
+ "required": false,
+ "type": "boolean",
+ "default": false
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/ServiceResponseBase"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Service"
+ ],
+ "summary": "Delete a Service.",
+ "description": "Delete a specific Service.",
+ "operationId": "Services_Delete",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The Service Id.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The resource exists and was deleted successfully."
+ },
+ "202": {
+ "description": "Success"
+ },
+ "204": {
+ "description": "The resource does not exist and the request was well formed."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Service"
+ ],
+ "summary": "Patch a Service.",
+ "description": "Patch a specific Service.",
+ "operationId": "Services_Patch",
+ "consumes": [
+ "application/json-patch+json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The Service Id.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "patch",
+ "in": "body",
+ "description": "The payload that is used to patch the Service.",
+ "required": true,
+ "schema": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/JsonPatchOperation"
+ }
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success"
+ },
+ "202": {
+ "description": "The request was accepted. The header 'Operation-Location' contains the async operation location URL. Accessing this URL with a GET call will return the status of the background task."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services": {
+ "get": {
+ "tags": [
+ "Service"
+ ],
+ "summary": "Query the list of Services in a Workspace.",
+ "description": "If no filter is passed, the query lists all Services in the Workspace. The returned list is paginated and the count of item in each page is an optional parameter.",
+ "operationId": "Services_ListQuery",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "imageId",
+ "in": "query",
+ "description": "The Image Id.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "imageName",
+ "in": "query",
+ "description": "The Image name.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "modelId",
+ "in": "query",
+ "description": "The Model Id.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "modelName",
+ "in": "query",
+ "description": "The Model name.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "name",
+ "in": "query",
+ "description": "The object name.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "count",
+ "in": "query",
+ "description": "The number of items to retrieve in a page.",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "computeType",
+ "in": "query",
+ "description": "The compute environment type.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$skipToken",
+ "in": "query",
+ "description": "The continuation token to retrieve the next page.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "tags",
+ "in": "query",
+ "description": "A set of tags with which to filter the returned models.\r\n It is a comma separated string of tags key or tags key=value\r\n Example: tagKey1,tagKey2,tagKey3=value3",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "properties",
+ "in": "query",
+ "description": "A set of properties with which to filter the returned models.\r\n It is a comma separated string of properties key and/or properties key=value\r\n Example: propKey1,propKey2,propKey3=value3",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "expand",
+ "in": "query",
+ "description": "Set to True to include Model details.",
+ "required": false,
+ "type": "boolean",
+ "default": false
+ },
+ {
+ "name": "orderby",
+ "in": "query",
+ "description": "The option to order the response.",
+ "required": false,
+ "type": "string",
+ "default": "UpdatedAtDesc",
+ "enum": [
+ "CreatedAtDesc",
+ "CreatedAtAsc",
+ "UpdatedAtDesc",
+ "UpdatedAtAsc"
+ ]
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PaginatedServiceList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ },
+ "post": {
+ "tags": [
+ "Service"
+ ],
+ "summary": "Create a Service.",
+ "description": "Create a Service with the specified payload.",
+ "operationId": "Services_Create",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "request",
+ "in": "body",
+ "description": "The payload that is used to create the Service.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/CreateServiceRequest"
+ }
+ }
+ ],
+ "responses": {
+ "202": {
+ "description": "The request was accepted. The header 'Operation-Location' contains the async operation location URL. Accessing this URL with a GET call will return the status of the background task."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/listkeys": {
+ "post": {
+ "tags": [
+ "Service",
+ "Keys"
+ ],
+ "summary": "Lists Service keys.",
+ "description": "Gets a list of Service keys.",
+ "operationId": "Services_ListServiceKeys",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The Service Id.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/AuthKeys"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/regenerateKeys": {
+ "post": {
+ "tags": [
+ "Service",
+ "Keys"
+ ],
+ "summary": "Regenerate Service Keys.",
+ "description": "Regenerate and return the Service keys.",
+ "operationId": "Services_RegenerateServiceKeys",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The Service Id.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "request",
+ "in": "body",
+ "description": "The payload that is used to regenerate keys.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RegenerateServiceKeysRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/AuthKeys"
+ }
+ },
+ "202": {
+ "description": "The request was accepted. The header 'Operation-Location' contains the async operation location URL. Accessing this URL with a GET call will return the status of the background task."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/modelmanagement/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.MachineLearningServices/workspaces/{workspace}/services/{id}/token": {
+ "post": {
+ "tags": [
+ "Service",
+ "Token"
+ ],
+ "summary": "Generate Service Access Token.",
+ "description": "Gets access token that can be used for calling service.",
+ "operationId": "Services_GetServiceToken",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceParameter"
+ },
+ {
+ "name": "id",
+ "in": "path",
+ "description": "The Service Id.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "201": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/AuthToken"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ModelErrorResponse"
+ }
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Asset": {
+ "description": "The Asset definition.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The Asset Id.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The name of the Asset.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The Asset description.",
+ "type": "string"
+ },
+ "artifacts": {
+ "description": "A list of child artifacts.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArtifactDetails"
+ }
+ },
+ "kvTags": {
+ "description": "The Asset tag dictionary. Tags are mutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "description": "The Asset property dictionary. Properties are immutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "runid": {
+ "description": "The RunId associated with this Asset.",
+ "type": "string"
+ },
+ "meta": {
+ "description": "A dictionary containing metadata about the Asset.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "createdTime": {
+ "format": "date-time",
+ "description": "The time the Asset was created in UTC.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ArtifactDetails": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "prefix": {
+ "type": "string"
+ }
+ }
+ },
+ "PaginatedAssetList": {
+ "description": "A paginated list of Assets.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type Asset.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Asset"
+ }
+ },
+ "nextLink": {
+ "description": "A continuation link (absolute URI) to the next page of results in the list.",
+ "type": "string"
+ }
+ }
+ },
+ "JsonPatchOperation": {
+ "description": "The Json Patch definition.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "The value.",
+ "type": "object"
+ },
+ "path": {
+ "description": "The target location.",
+ "type": "string"
+ },
+ "op": {
+ "description": "The operation.",
+ "type": "string"
+ },
+ "from": {
+ "description": "The source location.",
+ "type": "string"
+ }
+ }
+ },
+ "Model": {
+ "description": "An Azure Machine Learning Model.",
+ "required": [
+ "name",
+ "url",
+ "mimeType"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The Model Id.",
+ "type": "string",
+ "example": "sklearn_mnist:1"
+ },
+ "name": {
+ "description": "The Model name.",
+ "type": "string",
+ "example": "sklearn_mnist"
+ },
+ "framework": {
+ "description": "The Model framework.",
+ "type": "string"
+ },
+ "frameworkVersion": {
+ "description": "The Model framework version.",
+ "type": "string"
+ },
+ "version": {
+ "format": "int64",
+ "description": "The Model version assigned by Model Management Service.",
+ "type": "integer",
+ "example": "1"
+ },
+ "datasets": {
+ "description": "The list of datasets associated with the model.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatasetReference"
+ }
+ },
+ "url": {
+ "description": "The URL of the Model. Usually a SAS URL.",
+ "type": "string"
+ },
+ "mimeType": {
+ "description": "The MIME type of Model content. For more details about MIME type, please open https://www.iana.org/assignments/media-types/media-types.xhtml",
+ "type": "string"
+ },
+ "description": {
+ "description": "The Model description text.",
+ "type": "string",
+ "example": "A mnist model, first version."
+ },
+ "createdTime": {
+ "format": "date-time",
+ "description": "The Model creation time (UTC).",
+ "type": "string",
+ "readOnly": true
+ },
+ "modifiedTime": {
+ "format": "date-time",
+ "description": "The Model last modified time (UTC).",
+ "type": "string",
+ "readOnly": true
+ },
+ "unpack": {
+ "description": "Indicates whether we need to unpack the Model during docker Image creation.",
+ "type": "boolean"
+ },
+ "parentModelId": {
+ "description": "The Parent Model Id.",
+ "type": "string",
+ "example": "sklearn_mnist_root:1"
+ },
+ "runId": {
+ "description": "The RunId that created this model.",
+ "type": "string"
+ },
+ "experimentName": {
+ "description": "The name of the experiment where this model was created.",
+ "type": "string"
+ },
+ "kvTags": {
+ "description": "The Model tag dictionary. Items are mutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "description": "The Model property dictionary. Properties are immutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "DatasetReference": {
+ "description": "The dataset reference object.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the dataset reference.",
+ "type": "string"
+ },
+ "id": {
+ "description": "The id of the dataset reference.",
+ "type": "string"
+ }
+ }
+ },
+ "PaginatedModelList": {
+ "description": "A paginated list of Models.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type Model.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Model"
+ }
+ },
+ "nextLink": {
+ "description": "A continuation link (absolute URI) to the next page of results in the list.",
+ "type": "string"
+ }
+ }
+ },
+ "ModelOperationalState": {
+ "description": "The operational state of the Model.",
+ "type": "object",
+ "properties": {
+ "deploymentSummary": {
+ "$ref": "#/definitions/DeploymentSummary",
+ "description": "The summary of the deployment."
+ },
+ "endTime": {
+ "description": "The deployment end time.",
+ "type": "string"
+ },
+ "startTime": {
+ "description": "The deployment start time.",
+ "type": "string"
+ }
+ }
+ },
+ "DeploymentSummary": {
+ "description": "The deployment summary.",
+ "type": "object",
+ "properties": {
+ "successfulDeployments": {
+ "format": "int32",
+ "description": "The number of successful deployments.",
+ "type": "integer"
+ },
+ "unsuccessfulDeployments": {
+ "format": "int32",
+ "description": "The number of unsuccessful deployments.",
+ "type": "integer"
+ }
+ }
+ },
+ "AsyncOperationStatus": {
+ "description": "The async operation status.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The async operation id.",
+ "type": "string"
+ },
+ "operationType": {
+ "description": "The async operation type.",
+ "type": "string"
+ },
+ "state": {
+ "description": "The async operation state.",
+ "enum": [
+ "NotStarted",
+ "Running",
+ "Cancelled",
+ "Succeeded",
+ "Failed",
+ "TimedOut"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "AsyncOperationState",
+ "modelAsString": false
+ }
+ },
+ "createdTime": {
+ "format": "date-time",
+ "description": "The async operation creation time (UTC).",
+ "type": "string"
+ },
+ "endTime": {
+ "format": "date-time",
+ "description": "The async operation end time (UTC)l",
+ "type": "string"
+ },
+ "error": {
+ "$ref": "#/definitions/ModelErrorResponse",
+ "description": "The error details."
+ },
+ "resourceLocation": {
+ "description": "The resource created/updated by the async operation.",
+ "type": "string"
+ },
+ "operationLog": {
+ "description": "The async operation log.",
+ "type": "string"
+ },
+ "operationDetails": {
+ "$ref": "#/definitions/AsyncOperationDetails",
+ "description": "The async operation details."
+ },
+ "parentRequestId": {
+ "description": "The request id that created this operation",
+ "type": "string"
+ }
+ }
+ },
+ "ModelErrorResponse": {
+ "description": "The Model Management Service Error object.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "statusCode": {
+ "format": "int32",
+ "description": "The HTTP status code.",
+ "type": "integer"
+ },
+ "message": {
+ "description": "The error message.",
+ "type": "string"
+ },
+ "details": {
+ "description": "An array of error detail objects.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ }
+ }
+ },
+ "AsyncOperationDetails": {
+ "description": "The async operation details.",
+ "type": "object",
+ "properties": {
+ "subOperationType": {
+ "description": "The suboperation type.",
+ "type": "string"
+ },
+ "subOperationState": {
+ "description": "The suboperation state.",
+ "type": "string"
+ }
+ }
+ },
+ "ErrorDetails": {
+ "description": "The error details.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "The error message.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the error (e.g., the name of the property in error).",
+ "type": "string"
+ }
+ }
+ },
+ "ProfileResponse": {
+ "description": "The profile response.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The profile name.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The profile description.",
+ "type": "string"
+ },
+ "imageId": {
+ "description": "The Image Id.",
+ "type": "string"
+ },
+ "inputData": {
+ "description": "The input data.",
+ "type": "string"
+ },
+ "state": {
+ "description": "The state of the profile.",
+ "type": "string"
+ },
+ "createdTime": {
+ "format": "date-time",
+ "description": "The profile creation time (UTC).",
+ "type": "string"
+ },
+ "kvTags": {
+ "description": "The profile tags dictionary. Tags are mutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "description": "The profile properties dictionary. Properties are immutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "recommendedMemoryInGB": {
+ "format": "double",
+ "description": "The recommended amount of memory to allocate in GB.",
+ "type": "number"
+ },
+ "recommendedCpu": {
+ "format": "double",
+ "description": "The recommended CPU allocation.",
+ "type": "number"
+ },
+ "recommendationLatencyInMs": {
+ "format": "double",
+ "description": "Latency associated with the recommended memory/cpu config",
+ "type": "number"
+ },
+ "profileRunResult": {
+ "description": "The profile run result.",
+ "type": "string"
+ },
+ "error": {
+ "$ref": "#/definitions/ModelErrorResponse",
+ "description": "The error details."
+ },
+ "profilingErrorLogs": {
+ "description": "The profiling error logs.",
+ "type": "string"
+ }
+ }
+ },
+ "PaginatedProfileResponseList": {
+ "description": "A paginated list of ProfileResponses.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type ProfileResponse.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ProfileResponse"
+ }
+ },
+ "nextLink": {
+ "description": "A continuation link (absolute URI) to the next page of results in the list.",
+ "type": "string"
+ }
+ }
+ },
+ "ProfileRequestBase": {
+ "description": "The request for creating a profile.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The profile name.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The profile description.",
+ "type": "string"
+ },
+ "inputData": {
+ "description": "The profile input data.",
+ "type": "string"
+ },
+ "kvTags": {
+ "description": "The tags dictionary.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "description": "The properties dictionary.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ServiceResponseBase": {
+ "description": "The base service response. The correct inherited response based on computeType will be returned (ex. ACIServiceResponse)",
+ "required": [
+ "computeType"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The service Id.",
+ "type": "string"
+ },
+ "name": {
+ "description": "The service name.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The service description.",
+ "type": "string"
+ },
+ "kvTags": {
+ "description": "The service tag dictionary. Tags are mutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "description": "The service property dictionary. Properties are immutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "operationId": {
+ "description": "The ID of the latest asynchronous operation for this service.",
+ "type": "string"
+ },
+ "state": {
+ "description": "The current state of the service.",
+ "enum": [
+ "Transitioning",
+ "Healthy",
+ "Unhealthy",
+ "Failed"
+ ],
+ "type": "string",
+ "example": "Healthy",
+ "x-ms-enum": {
+ "name": "WebServiceState",
+ "modelAsString": false
+ }
+ },
+ "createdTime": {
+ "format": "date-time",
+ "description": "The time the service was created.",
+ "type": "string"
+ },
+ "updatedTime": {
+ "format": "date-time",
+ "description": "The time the service was updated.",
+ "type": "string"
+ },
+ "error": {
+ "$ref": "#/definitions/ModelErrorResponse",
+ "description": "The error details."
+ },
+ "computeType": {
+ "description": "The compute environment type for the service.",
+ "enum": [
+ "ACI",
+ "AKS",
+ "AMLCOMPUTE",
+ "IOT",
+ "AKSENDPOINT",
+ "UNKNOWN"
+ ],
+ "type": "string",
+ "example": "AKS",
+ "x-ms-enum": {
+ "name": "ComputeEnvironmentType",
+ "modelAsString": false
+ }
+ },
+ "deploymentType": {
+ "description": "The deployment type for the service.",
+ "enum": [
+ "GRPCRealtimeEndpoint",
+ "HttpRealtimeEndpoint",
+ "Batch"
+ ],
+ "type": "string",
+ "example": "HttpRealtimeEndpoint",
+ "x-ms-enum": {
+ "name": "DeploymentType",
+ "modelAsString": false
+ }
+ }
+ },
+ "discriminator": "computeType"
+ },
+ "PaginatedServiceList": {
+ "description": "A paginated list of Services.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type Service.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ServiceResponseBase"
+ }
+ },
+ "nextLink": {
+ "description": "A continuation link (absolute URI) to the next page of results in the list.",
+ "type": "string"
+ }
+ }
+ },
+ "CreateServiceRequest": {
+ "description": "The base class for creating a service.",
+ "required": [
+ "name",
+ "computeType"
+ ],
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The service name.",
+ "type": "string"
+ },
+ "description": {
+ "description": "The description of the service.",
+ "type": "string"
+ },
+ "kvTags": {
+ "description": "The service tag dictionary. Tags are mutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "description": "The service properties dictionary. Properties are immutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "keys": {
+ "$ref": "#/definitions/AuthKeys",
+ "description": "The authentication keys."
+ },
+ "computeType": {
+ "description": "The compute environment type for the service.",
+ "enum": [
+ "ACI",
+ "AKS",
+ "AMLCOMPUTE",
+ "IOT",
+ "AKSENDPOINT",
+ "UNKNOWN"
+ ],
+ "type": "string",
+ "example": "AKS",
+ "x-ms-enum": {
+ "name": "ComputeEnvironmentType",
+ "modelAsString": false
+ }
+ },
+ "deploymentType": {
+ "description": "The deployment type for the service.",
+ "enum": [
+ "GRPCRealtimeEndpoint",
+ "HttpRealtimeEndpoint",
+ "Batch"
+ ],
+ "type": "string",
+ "example": "HttpRealtimeEndpoint",
+ "x-ms-enum": {
+ "name": "DeploymentType",
+ "modelAsString": false
+ }
+ },
+ "imageId": {
+ "description": "The Image Id.",
+ "type": "string"
+ },
+ "environmentImageRequest": {
+ "$ref": "#/definitions/EnvironmentImageRequest",
+ "description": "The Environment, models and assets needed for inferencing."
+ },
+ "location": {
+ "description": "The location of the service.",
+ "type": "string"
+ }
+ },
+ "discriminator": "computeType"
+ },
+ "AuthKeys": {
+ "type": "object",
+ "properties": {
+ "primaryKey": {
+ "description": "The primary key.",
+ "type": "string"
+ },
+ "secondaryKey": {
+ "description": "The secondary key.",
+ "type": "string"
+ }
+ }
+ },
+ "ACIServiceResponse": {
+ "description": "The response for an ACI service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceResponseBase"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "containerResourceRequirements": {
+ "$ref": "#/definitions/ContainerResourceRequirements",
+ "description": "The container resource requirements."
+ },
+ "imageId": {
+ "description": "The Id of the Image.",
+ "type": "string"
+ },
+ "imageDetails": {
+ "$ref": "#/definitions/DockerImageResponse",
+ "description": "The Image details."
+ },
+ "scoringUri": {
+ "description": "The Uri for sending scoring requests.",
+ "type": "string"
+ },
+ "location": {
+ "description": "The location of the service.",
+ "type": "string"
+ },
+ "authEnabled": {
+ "description": "Whether or not authentication is enabled on the service.",
+ "type": "boolean"
+ },
+ "sslEnabled": {
+ "description": "Whether or not SSL is enabled.",
+ "type": "boolean"
+ },
+ "appInsightsEnabled": {
+ "description": "Whether or not Application Insights is enabled.",
+ "type": "boolean"
+ },
+ "dataCollection": {
+ "$ref": "#/definitions/ModelDataCollection",
+ "description": "Details of the data collection options specified."
+ },
+ "sslCertificate": {
+ "description": "The SSL certificate to use if SSL is enabled.",
+ "type": "string"
+ },
+ "sslKey": {
+ "description": "The SSL key for the certificate.",
+ "type": "string"
+ },
+ "cname": {
+ "description": "The CName for the service.",
+ "type": "string"
+ },
+ "publicIp": {
+ "description": "The public IP address for the service.",
+ "type": "string"
+ },
+ "publicFqdn": {
+ "description": "The public Fqdn for the service.",
+ "type": "string"
+ },
+ "swaggerUri": {
+ "description": "The Uri for sending swagger requests.",
+ "type": "string"
+ },
+ "modelConfigMap": {
+ "description": "Details on the models and configurations.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "environment": {
+ "$ref": "#/definitions/ModelEnvironmentDefinition",
+ "description": "Details on the Environment."
+ },
+ "models": {
+ "description": "The list of models.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Model"
+ }
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "ACI"
+ },
+ "EnvironmentImageRequest": {
+ "description": "Request to create a Docker image based on Environment.",
+ "type": "object",
+ "properties": {
+ "driverProgram": {
+ "description": "The name of the driver file.",
+ "type": "string"
+ },
+ "assets": {
+ "description": "The list of assets.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentImageAsset"
+ }
+ },
+ "modelIds": {
+ "description": "The list of model Ids.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "example": "[mymodel:1, mymodel:2]"
+ },
+ "environment": {
+ "$ref": "#/definitions/ModelEnvironmentDefinition",
+ "description": "The details of the AZURE ML environment."
+ }
+ }
+ },
+ "EnvironmentImageAsset": {
+ "description": "An Image asset.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The Asset Id.",
+ "type": "string"
+ },
+ "mimeType": {
+ "description": "The mime type.",
+ "type": "string"
+ },
+ "url": {
+ "description": "The Url of the Asset.",
+ "type": "string"
+ },
+ "unpack": {
+ "description": "Whether the Asset is unpacked.",
+ "type": "boolean"
+ }
+ }
+ },
+ "ModelEnvironmentDefinition": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "The name of the environment.",
+ "type": "string",
+ "example": "mydevenvironment"
+ },
+ "version": {
+ "description": "The environment version.",
+ "type": "string",
+ "example": "1"
+ },
+ "python": {
+ "$ref": "#/definitions/ModelPythonSection",
+ "description": "Settings for a Python environment."
+ },
+ "environmentVariables": {
+ "description": "Definition of environment variables to be defined in the environment.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "docker": {
+ "$ref": "#/definitions/ModelDockerSection",
+ "description": "The definition of a Docker container."
+ },
+ "spark": {
+ "$ref": "#/definitions/ModelSparkSection",
+ "description": "The configuration for a Spark environment."
+ },
+ "inferencingStackVersion": {
+ "description": "The Inferencing stack version.",
+ "type": "string",
+ "example": "latest"
+ }
+ }
+ },
+ "ModelPythonSection": {
+ "type": "object",
+ "properties": {
+ "interpreterPath": {
+ "description": "The python interpreter path. This is only used when user_managed_dependencies=True.",
+ "type": "string"
+ },
+ "userManagedDependencies": {
+ "description": "True means that AzureML reuses an existing python environment; False means that AzureML will create a python environment based on the Conda dependencies specification.",
+ "type": "boolean"
+ },
+ "condaDependencies": {
+ "type": "object"
+ },
+ "baseCondaEnvironment": {
+ "type": "string"
+ }
+ }
+ },
+ "ModelDockerSection": {
+ "type": "object",
+ "properties": {
+ "baseImage": {
+ "description": "Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile.",
+ "type": "string",
+ "example": "ubuntu:latest"
+ },
+ "baseDockerfile": {
+ "description": "Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage.",
+ "type": "string",
+ "example": "FROM ubuntu:latest\r\nRUN echo \"Hello world!\""
+ },
+ "enabled": {
+ "description": "Set True to perform this run inside a Docker container.",
+ "type": "boolean",
+ "example": "True"
+ },
+ "sharedVolumes": {
+ "description": "Set False if necessary to work around shared volume bugs on Windows.",
+ "type": "boolean",
+ "example": "True"
+ },
+ "gpuSupport": {
+ "description": "Run with NVidia Docker extension to support GPUs.",
+ "type": "boolean",
+ "example": "False"
+ },
+ "shmSize": {
+ "description": "The shared memory size setting for NVidia GPUs.",
+ "type": "string",
+ "example": "1g"
+ },
+ "arguments": {
+ "description": "Extra arguments to the Docker run command.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "baseImageRegistry": {
+ "$ref": "#/definitions/ContainerRegistry",
+ "description": "Image registry that contains the base image."
+ }
+ }
+ },
+ "ModelSparkSection": {
+ "type": "object",
+ "properties": {
+ "repositories": {
+ "description": "The list of spark repositories.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "packages": {
+ "description": "The Spark packages to use.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SparkMavenPackage"
+ }
+ },
+ "precachePackages": {
+ "description": "Whether to precache the packages.",
+ "type": "boolean",
+ "example": "True"
+ }
+ }
+ },
+ "ContainerRegistry": {
+ "type": "object",
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "password": {
+ "type": "string"
+ }
+ }
+ },
+ "SparkMavenPackage": {
+ "type": "object",
+ "properties": {
+ "group": {
+ "type": "string"
+ },
+ "artifact": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ }
+ },
+ "RegenerateServiceKeysRequest": {
+ "type": "object",
+ "properties": {
+ "keyType": {
+ "format": "int32",
+ "description": "Specification for which type of key to generate.",
+ "enum": [
+ "Primary",
+ "Secondary"
+ ],
+ "type": "integer",
+ "example": "Primary",
+ "x-ms-enum": {
+ "name": "KeyType",
+ "modelAsString": false
+ }
+ },
+ "keyValue": {
+ "description": "The value the key is set to.",
+ "type": "string"
+ }
+ }
+ },
+ "AuthToken": {
+ "description": "Service Token",
+ "type": "object",
+ "properties": {
+ "accessToken": {
+ "description": "Access token.",
+ "type": "string"
+ },
+ "tokenType": {
+ "description": "Access token type.",
+ "type": "string"
+ },
+ "expiryOn": {
+ "format": "int64",
+ "description": "Access token expiry time (UTC).",
+ "type": "integer"
+ },
+ "refreshAfter": {
+ "format": "int64",
+ "description": "Refresh access token after time (UTC).",
+ "type": "integer"
+ }
+ }
+ },
+ "ContainerResourceRequirements": {
+ "description": "The resource requirements for the container (cpu and memory).",
+ "type": "object",
+ "properties": {
+ "cpu": {
+ "format": "double",
+ "description": "The number of CPU cores on the container.",
+ "type": "number",
+ "example": "4"
+ },
+ "memoryInGB": {
+ "format": "double",
+ "description": "The amount of memory on the container in GB.",
+ "type": "number",
+ "example": "64"
+ },
+ "gpu": {
+ "format": "int32",
+ "description": "The number of GPU cores in the container.",
+ "type": "integer"
+ },
+ "fpga": {
+ "format": "int32",
+ "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2.",
+ "type": "integer"
+ }
+ }
+ },
+ "DockerImageResponse": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ImageResponseBase"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "driverProgram": {
+ "description": "The name of the driver file.",
+ "type": "string"
+ },
+ "assets": {
+ "description": "The list of assets.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EnvironmentImageAsset"
+ }
+ },
+ "targetRuntime": {
+ "$ref": "#/definitions/TargetRuntime",
+ "description": "The target runtime."
+ },
+ "dockerFileUri": {
+ "description": "The Uri to the docker file.",
+ "type": "string"
+ },
+ "generatedDockerFileUri": {
+ "description": "The Uri to the generated docker file.",
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "WEBAPICONTAINER"
+ },
+ "ModelDataCollection": {
+ "description": "The Model data collection properties.",
+ "type": "object",
+ "properties": {
+ "eventHubEnabled": {
+ "description": "Option for enabling/disabling Event Hub.",
+ "type": "boolean"
+ },
+ "storageEnabled": {
+ "description": "Option for enabling/disabling storage.",
+ "type": "boolean"
+ }
+ }
+ },
+ "RegistryInfo": {
+ "description": "Contains registry information.",
+ "required": [
+ "user",
+ "location",
+ "password"
+ ],
+ "type": "object",
+ "properties": {
+ "user": {
+ "description": "The user.",
+ "type": "string"
+ },
+ "location": {
+ "description": "The location.",
+ "type": "string"
+ },
+ "password": {
+ "description": "The password.",
+ "type": "string"
+ }
+ }
+ },
+ "TargetRuntime": {
+ "description": "The target runtime.",
+ "type": "object",
+ "properties": {
+ "targetArchitecture": {
+ "description": "The target architecture.",
+ "enum": [
+ "Amd64",
+ "Arm32v7"
+ ],
+ "type": "string",
+ "example": "Amd64",
+ "x-ms-enum": {
+ "name": "ArchitectureType",
+ "modelAsString": false
+ }
+ },
+ "osType": {
+ "description": "The target operating system.",
+ "enum": [
+ "Linux",
+ "Windows"
+ ],
+ "type": "string",
+ "example": "linux",
+ "x-ms-enum": {
+ "name": "OSType",
+ "modelAsString": false
+ }
+ },
+ "runtimeType": {
+ "description": "The target runtime type.",
+ "enum": [
+ "SparkPython",
+ "Tlc37",
+ "Tlc38",
+ "Tlc310",
+ "Python",
+ "PythonSlim",
+ "PythonCustom"
+ ],
+ "type": "string",
+ "example": "Python",
+ "x-ms-enum": {
+ "name": "RuntimeType",
+ "modelAsString": false
+ }
+ },
+ "properties": {
+ "description": "The properties dictionary.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "AKSEndpointResponse": {
+ "description": "The response for an AKS Endpoint.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceResponseBase"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "computeName": {
+ "description": "The name of the compute resource.",
+ "type": "string"
+ },
+ "namespace": {
+ "description": "The Kubernetes namespace of the deployment.",
+ "type": "string"
+ },
+ "appInsightsEnabled": {
+ "description": "Whether or not Application Insights is enabled.",
+ "type": "boolean"
+ },
+ "authEnabled": {
+ "description": "Whether or not authentication is enabled.",
+ "type": "boolean"
+ },
+ "aadAuthEnabled": {
+ "description": "Whether or not AAD authentication is enabled.",
+ "type": "boolean"
+ },
+ "swaggerUri": {
+ "description": "The Uri for sending swagger requests.",
+ "type": "string"
+ },
+ "scoringUri": {
+ "description": "The Uri for sending scoring requests.",
+ "type": "string"
+ },
+ "variants": {
+ "description": "All the variants that belongs to this endpoint.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AKSServiceResponse"
+ }
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "AKSENDPOINT"
+ },
+ "AKSServiceResponse": {
+ "description": "The response for an AKS service.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/AKSVariantResponse"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "imageDetails": {
+ "$ref": "#/definitions/ImageResponseBase",
+ "description": "The Docker Image details."
+ },
+ "imageId": {
+ "description": "The Id of the Image.",
+ "type": "string"
+ },
+ "models": {
+ "description": "The list of models.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Model"
+ }
+ },
+ "containerResourceRequirements": {
+ "$ref": "#/definitions/ContainerResourceRequirements",
+ "description": "The container resource requirements."
+ },
+ "maxConcurrentRequestsPerContainer": {
+ "format": "int32",
+ "description": "The maximum number of concurrent requests per container.",
+ "type": "integer"
+ },
+ "maxQueueWaitMs": {
+ "format": "int32",
+ "description": "Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)",
+ "type": "integer"
+ },
+ "computeName": {
+ "description": "The name of the compute resource.",
+ "type": "string"
+ },
+ "namespace": {
+ "description": "The Kubernetes namespace of the deployment.",
+ "type": "string"
+ },
+ "numReplicas": {
+ "format": "int32",
+ "description": "The number of replicas on the cluster.",
+ "type": "integer"
+ },
+ "dataCollection": {
+ "$ref": "#/definitions/ModelDataCollection",
+ "description": "Details of the data collection options specified."
+ },
+ "appInsightsEnabled": {
+ "description": "Whether or not Application Insights is enabled.",
+ "type": "boolean"
+ },
+ "autoScaler": {
+ "$ref": "#/definitions/AutoScaler",
+ "description": "The auto scaler properties."
+ },
+ "scoringUri": {
+ "description": "The Uri for sending scoring requests.",
+ "type": "string"
+ },
+ "deploymentStatus": {
+ "$ref": "#/definitions/AKSReplicaStatus",
+ "description": "The deployment status."
+ },
+ "scoringTimeoutMs": {
+ "format": "int32",
+ "description": "The scoring timeout in milliseconds.",
+ "type": "integer"
+ },
+ "livenessProbeRequirements": {
+ "$ref": "#/definitions/LivenessProbeRequirements",
+ "description": "The liveness probe requirements."
+ },
+ "authEnabled": {
+ "description": "Whether or not authentication is enabled.",
+ "type": "boolean"
+ },
+ "aadAuthEnabled": {
+ "description": "Whether or not AAD authentication is enabled.",
+ "type": "boolean"
+ },
+ "swaggerUri": {
+ "description": "The Uri for sending swagger requests.",
+ "type": "string"
+ },
+ "modelConfigMap": {
+ "description": "Details on the models and configurations.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ },
+ "environment": {
+ "$ref": "#/definitions/ModelEnvironmentDefinition",
+ "description": "Details on the Environment."
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "AKS"
+ },
+ "ImageResponseBase": {
+ "required": [
+ "imageFlavor"
+ ],
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "The image Id.",
+ "type": "string",
+ "example": "myimage:3"
+ },
+ "name": {
+ "description": "The image name.",
+ "type": "string",
+ "example": "myimage:3"
+ },
+ "version": {
+ "format": "int64",
+ "description": "The image version.",
+ "type": "integer",
+ "example": "3"
+ },
+ "description": {
+ "description": "The image description.",
+ "type": "string",
+ "example": "My docker image."
+ },
+ "kvTags": {
+ "description": "The image tag dictionary. Tags are mutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "description": "The image properties dictionary. Properties are immutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "createdTime": {
+ "format": "date-time",
+ "description": "The time the image was created.",
+ "type": "string"
+ },
+ "modifiedTime": {
+ "format": "date-time",
+ "description": "The time the image was last modified.",
+ "type": "string"
+ },
+ "autoDelete": {
+ "description": "Whether the image will be automatically deleted with the last service using it.",
+ "type": "boolean"
+ },
+ "imageType": {
+ "description": "The type of the image.",
+ "enum": [
+ "Docker"
+ ],
+ "type": "string",
+ "example": "Docker",
+ "x-ms-enum": {
+ "name": "ImageType",
+ "modelAsString": false
+ }
+ },
+ "imageFlavor": {
+ "description": "The flavor of the image.",
+ "enum": [
+ "WebApiContainer",
+ "BatchContainer",
+ "IoTContainer",
+ "AccelContainer",
+ "UserProvidedContainer"
+ ],
+ "type": "string",
+ "example": "WebApiContainer",
+ "x-ms-enum": {
+ "name": "ImageFlavor",
+ "modelAsString": false
+ }
+ },
+ "creationState": {
+ "description": "The state of the operation.",
+ "enum": [
+ "NotStarted",
+ "Running",
+ "Cancelled",
+ "Succeeded",
+ "Failed",
+ "TimedOut"
+ ],
+ "type": "string",
+ "example": "Running",
+ "x-ms-enum": {
+ "name": "AsyncOperationState",
+ "modelAsString": false
+ }
+ },
+ "error": {
+ "$ref": "#/definitions/ModelErrorResponse",
+ "description": "The error response."
+ },
+ "modelIds": {
+ "description": "The list of model Ids.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "modelDetails": {
+ "description": "The list of models.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Model"
+ }
+ },
+ "imageLocation": {
+ "description": "The Image location string.",
+ "type": "string"
+ },
+ "imageBuildLogUri": {
+ "description": "The Uri to the image build logs.",
+ "type": "string"
+ },
+ "operationId": {
+ "description": "The ID of the asynchronous operation for this image.",
+ "type": "string"
+ }
+ },
+ "discriminator": "imageFlavor"
+ },
+ "AutoScaler": {
+ "description": "The Auto Scaler properties.",
+ "type": "object",
+ "properties": {
+ "autoscaleEnabled": {
+ "description": "Option to enable/disable auto scaling.",
+ "type": "boolean"
+ },
+ "minReplicas": {
+ "format": "int32",
+ "description": "The minimum number of replicas to scale down to.",
+ "type": "integer",
+ "example": "1"
+ },
+ "maxReplicas": {
+ "format": "int32",
+ "description": "The maximum number of replicas in the cluster.",
+ "type": "integer",
+ "example": "3"
+ },
+ "targetUtilization": {
+ "format": "int32",
+ "description": "The target utilization percentage to use for determining whether to scale the cluster.",
+ "type": "integer",
+ "example": "70"
+ },
+ "refreshPeriodInSeconds": {
+ "format": "int32",
+ "description": "The amount of seconds to wait between auto scale updates.",
+ "type": "integer",
+ "example": "120"
+ }
+ }
+ },
+ "AKSReplicaStatus": {
+ "type": "object",
+ "properties": {
+ "desiredReplicas": {
+ "format": "int32",
+ "description": "The desired number of replicas.",
+ "type": "integer",
+ "example": "2"
+ },
+ "updatedReplicas": {
+ "format": "int32",
+ "description": "The number of updated replicas.",
+ "type": "integer",
+ "example": "1"
+ },
+ "availableReplicas": {
+ "format": "int32",
+ "description": "The number of available replicas.",
+ "type": "integer",
+ "example": "1"
+ },
+ "error": {
+ "$ref": "#/definitions/ModelErrorResponse",
+ "description": "The error details."
+ }
+ }
+ },
+ "LivenessProbeRequirements": {
+ "description": "The liveness probe requirements.",
+ "type": "object",
+ "properties": {
+ "failureThreshold": {
+ "format": "int32",
+ "description": "The number of failures to allow before returning an unhealthy status.",
+ "type": "integer"
+ },
+ "successThreshold": {
+ "format": "int32",
+ "description": "The number of successful probes before returning a healthy status.",
+ "type": "integer"
+ },
+ "timeoutSeconds": {
+ "format": "int32",
+ "description": "The probe timeout in seconds.",
+ "type": "integer"
+ },
+ "periodSeconds": {
+ "format": "int32",
+ "description": "The length of time between probes in seconds.",
+ "type": "integer"
+ },
+ "initialDelaySeconds": {
+ "format": "int32",
+ "description": "The delay before the first probe in seconds.",
+ "type": "integer"
+ }
+ }
+ },
+ "AKSVariantResponse": {
+ "description": "The response for an AKS variant.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceResponseBase"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "isDefault": {
+ "description": "Is this the default variant.",
+ "type": "boolean"
+ },
+ "trafficPercentile": {
+ "format": "float",
+ "description": "The amount of traffic variant receives.",
+ "type": "number"
+ },
+ "type": {
+ "description": "The type of the variant.",
+ "enum": [
+ "Control",
+ "Treatment"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "VariantType",
+ "modelAsString": false
+ }
+ }
+ }
+ }
+ ],
+ "properties": {}
+ },
+ "BatchServiceResponse": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceResponseBase"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "modelIds": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "computeName": {
+ "type": "string"
+ },
+ "environmentName": {
+ "type": "string"
+ },
+ "environmentVersion": {
+ "type": "string"
+ },
+ "scoringUri": {
+ "type": "string"
+ },
+ "appInsightsEnabled": {
+ "type": "boolean"
+ },
+ "modelDataCollection": {
+ "$ref": "#/definitions/ModelDataCollection"
+ },
+ "entryScript": {
+ "type": "string"
+ },
+ "inputFormat": {
+ "type": "string"
+ },
+ "outputAction": {
+ "type": "string"
+ },
+ "miniBatchSize": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "errorThreshold": {
+ "format": "double",
+ "type": "number"
+ },
+ "nodeCount": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "processCountPerNode": {
+ "format": "int32",
+ "type": "integer"
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "AMLCOMPUTE"
+ },
+ "IotServiceResponse": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceResponseBase"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "iotDeviceId": {
+ "type": "string"
+ },
+ "routes": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "computeName": {
+ "type": "string"
+ },
+ "iotEdgeModules": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IotModuleSettings"
+ }
+ },
+ "authEnabled": {
+ "type": "boolean"
+ },
+ "imageDetails": {
+ "$ref": "#/definitions/ImageResponseBase"
+ },
+ "imageId": {
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "IOT"
+ },
+ "IotModuleSettings": {
+ "type": "object",
+ "properties": {
+ "imageLocation": {
+ "type": "string"
+ },
+ "moduleName": {
+ "type": "string"
+ },
+ "propertiesDesired": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "createOptions": {
+ "type": "string"
+ },
+ "environmentVariables": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "UnknownServiceResponse": {
+ "description": "The response for an unsupported Service\r\nDefines the basic service properties",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ServiceResponseBase"
+ },
+ {
+ "type": "object",
+ "properties": {}
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "UNKNOWON"
+ },
+ "ACIServiceCreateRequest": {
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CreateServiceRequest"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "containerResourceRequirements": {
+ "$ref": "#/definitions/ContainerResourceRequirements",
+ "description": "The container resource requirements."
+ },
+ "authEnabled": {
+ "description": "Whether or not authentication is enabled on the service.",
+ "default": false,
+ "type": "boolean"
+ },
+ "sslEnabled": {
+ "description": "Whether or not SSL is enabled.",
+ "default": false,
+ "type": "boolean"
+ },
+ "appInsightsEnabled": {
+ "description": "Whether or not Application Insights is enabled.",
+ "default": false,
+ "type": "boolean"
+ },
+ "dataCollection": {
+ "$ref": "#/definitions/ModelDataCollection",
+ "description": "Details of the data collection options specified."
+ },
+ "sslCertificate": {
+ "description": "The SSL certificate to use if SSL is enabled.",
+ "type": "string"
+ },
+ "sslKey": {
+ "description": "The SSL key for the certificate.",
+ "type": "string"
+ },
+ "cname": {
+ "description": "The CName for the service.",
+ "type": "string"
+ },
+ "dnsNameLabel": {
+ "description": "The Dns label for the service.",
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "ACI"
+ },
+ "AKSServiceCreateRequest": {
+ "description": "The request to create an AKS service.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CreateEndpointVariantRequest"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "numReplicas": {
+ "format": "int32",
+ "description": "The number of replicas on the cluster.",
+ "type": "integer"
+ },
+ "dataCollection": {
+ "$ref": "#/definitions/ModelDataCollection",
+ "description": "Details of the data collection options specified."
+ },
+ "computeName": {
+ "description": "The name of the compute resource.",
+ "type": "string"
+ },
+ "appInsightsEnabled": {
+ "description": "Whether or not Application Insights is enabled.",
+ "type": "boolean"
+ },
+ "autoScaler": {
+ "$ref": "#/definitions/AutoScaler",
+ "description": "The auto scaler properties."
+ },
+ "containerResourceRequirements": {
+ "$ref": "#/definitions/ContainerResourceRequirements",
+ "description": "The container resource requirements."
+ },
+ "maxConcurrentRequestsPerContainer": {
+ "format": "int32",
+ "description": "The maximum number of concurrent requests per container.",
+ "type": "integer"
+ },
+ "maxQueueWaitMs": {
+ "format": "int32",
+ "description": "Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)",
+ "type": "integer"
+ },
+ "namespace": {
+ "description": "Kubernetes namespace for the service.",
+ "type": "string"
+ },
+ "scoringTimeoutMs": {
+ "format": "int32",
+ "description": "The scoring timeout in milliseconds.",
+ "type": "integer"
+ },
+ "authEnabled": {
+ "description": "Whether or not authentication is enabled.",
+ "type": "boolean"
+ },
+ "livenessProbeRequirements": {
+ "$ref": "#/definitions/LivenessProbeRequirements",
+ "description": "The liveness probe requirements."
+ },
+ "aadAuthEnabled": {
+ "description": "Whether or not AAD authentication is enabled.",
+ "type": "boolean"
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "AKS"
+ },
+ "CreateEndpointRequest": {
+ "description": "The request to create an Endpoint in the AKS.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CreateServiceRequest"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "computeName": {
+ "description": "The name of the compute resource.",
+ "type": "string"
+ },
+ "appInsightsEnabled": {
+ "description": "Whether or not Application Insights is enabled.",
+ "type": "boolean"
+ },
+ "authEnabled": {
+ "description": "Whether or not authentication is enabled.",
+ "type": "boolean"
+ },
+ "aadAuthEnabled": {
+ "description": "Whether or not AAD authentication is enabled.",
+ "type": "boolean"
+ },
+ "namespace": {
+ "description": "Kubernetes namespace for the service.",
+ "type": "string"
+ },
+ "variants": {
+ "description": "The service tag list.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AKSServiceCreateRequest"
+ }
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "AKSENDPOINT"
+ },
+ "CreateEndpointVariantRequest": {
+ "description": "The Variant properties.",
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CreateServiceRequest"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "isDefault": {
+ "description": "Is this the default variant.",
+ "type": "boolean"
+ },
+ "trafficPercentile": {
+ "format": "float",
+ "description": "The amount of traffic variant receives.",
+ "type": "number"
+ },
+ "type": {
+ "description": "The type of the variant.",
+ "enum": [
+ "Control",
+ "Treatment"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "VariantType",
+ "modelAsString": false
+ }
+ }
+ }
+ }
+ ],
+ "properties": {}
+ },
+ "CreateIotServiceRequest": {
+ "required": [
+ "name"
+ ],
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/CreateServiceRequest"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "iotDeviceId": {
+ "type": "string"
+ },
+ "routes": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "iotEdgeUserModule": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IotModuleSettings"
+ }
+ },
+ "iotEdgeModule": {
+ "$ref": "#/definitions/IotBaseModuleSettings"
+ },
+ "computeName": {
+ "type": "string"
+ },
+ "acrCredentials": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegistryInfo"
+ }
+ },
+ "authEnabled": {
+ "type": "boolean"
+ }
+ }
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "IOT"
+ },
+ "IotBaseModuleSettings": {
+ "type": "object",
+ "properties": {
+ "moduleName": {
+ "type": "string"
+ },
+ "propertiesDesired": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "createOptions": {
+ "type": "string"
+ },
+ "environmentVariables": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "FPGADockerImageResponse": {
+ "description": "The FPGA Docker Image response.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ImageResponseBase"
+ },
+ {
+ "type": "object",
+ "properties": {}
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "ACCELCONTAINER"
+ }
+ },
+ "parameters": {
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Azure Subscription ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid",
+ "x-ms-parameter-location": "method"
+ },
+ "resourceGroupParameter": {
+ "name": "resourceGroup",
+ "in": "path",
+ "description": "The Name of the resource group in which the workspace is located.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "workspaceParameter": {
+ "name": "workspace",
+ "in": "path",
+ "description": "The name of the workspace.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2"
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "tags": []
+}
diff --git a/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/runHistory.json b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/runHistory.json
new file mode 100644
index 000000000000..2ffbaecc600a
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/Microsoft.MachineLearningServices/preview/2019-08-01/runHistory.json
@@ -0,0 +1,2701 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2019-08-01",
+ "title": "Run History APIs"
+ },
+ "schemes": [
+ "https"
+ ],
+ "paths": {
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/batch/events": {
+ "post": {
+ "tags": [
+ "Events"
+ ],
+ "summary": "Batch post event data.",
+ "description": "Post event data to a specific Run Id.",
+ "operationId": "Events_BatchPost",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "batchEventCommand",
+ "in": "body",
+ "description": "The batch of Event details.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/BatchEventCommand"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The batch of Events is posted successfully.",
+ "schema": {
+ "$ref": "#/definitions/BatchEventCommandResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/events": {
+ "post": {
+ "tags": [
+ "Events"
+ ],
+ "summary": "Post event data.",
+ "description": "Post event data to a specific Run Id.",
+ "operationId": "Events_Post",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "eventMessage",
+ "in": "body",
+ "description": "The Event details.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/BaseEvent"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Event is posted successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}": {
+ "get": {
+ "tags": [
+ "Experiments"
+ ],
+ "summary": "Get details of an Experiment.",
+ "description": "Get details of an Experiment with specific Experiment name.",
+ "operationId": "Experiments_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The details of the Experiment are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/Experiment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "post": {
+ "tags": [
+ "Experiments"
+ ],
+ "summary": "Create an Experiment.",
+ "description": "Create a new Experiment.",
+ "operationId": "Experiments_Create",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Experiment is created successfully.",
+ "schema": {
+ "$ref": "#/definitions/Experiment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experimentids/{experimentId}": {
+ "get": {
+ "tags": [
+ "Experiments"
+ ],
+ "summary": "Get details of an Experiment.",
+ "description": "Get details of an Experiment with specific Experiment Id.",
+ "operationId": "Experiments_GetById",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentId",
+ "in": "path",
+ "description": "The identifier of the experiment.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Experiment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Experiments"
+ ],
+ "summary": "Update details of an Experiment.",
+ "description": "Update details of an Experiment with specific Experiment Id.",
+ "operationId": "Experiments_Update",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentId",
+ "in": "path",
+ "description": "The identifier of the experiment.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "modifyExperimentDto",
+ "in": "body",
+ "description": "Experiment details which needs to be updated.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/ModifyExperiment"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Experiment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments:query": {
+ "post": {
+ "tags": [
+ "Experiments"
+ ],
+ "summary": "Get all Experiments in a specific workspace.",
+ "description": "Get all experiments in a specific workspace with the specified query filters.",
+ "operationId": "Experiments_GetByQuery",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "queryParams",
+ "in": "body",
+ "description": "Query parameters for data sorting and filtering.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/QueryParams"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PaginatedExperimentList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experimentids/{experimentId}/tags": {
+ "delete": {
+ "tags": [
+ "Experiments"
+ ],
+ "summary": "Delete list of Tags in an Experiment.",
+ "description": "Delete list of Tags from a specific Experiment Id.",
+ "operationId": "Experiments_DeleteTags",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentId",
+ "in": "path",
+ "description": "The identifier of the experiment.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "tags",
+ "in": "body",
+ "description": "The requested tags list to be deleted.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/DeleteTagsCommand"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Experiment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/children": {
+ "get": {
+ "tags": [
+ "Run"
+ ],
+ "summary": "Get details of all child runs.",
+ "description": "Get details of all child runs for the specified Run Id with the specified filters.",
+ "operationId": "Runs_GetChild",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "$filter",
+ "in": "query",
+ "description": "Allows for filtering the collection of resources.\r\nThe expression specified is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$continuationtoken",
+ "in": "query",
+ "description": "The continuation token to use for getting the next set of resources.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "$orderby",
+ "in": "query",
+ "description": "The list of resource properties to use for sorting the requested resources.",
+ "required": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "collectionFormat": "multi",
+ "uniqueItems": false
+ },
+ {
+ "name": "$sortorder",
+ "in": "query",
+ "description": "The sort order of the returned resources. Not used, specify asc or desc after each property name in the OrderBy parameter.",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "Asc",
+ "Desc"
+ ]
+ },
+ {
+ "name": "$top",
+ "in": "query",
+ "description": "The maximum number of items in the resource collection to be included in the result.\r\nIf not specified, all items are returned.",
+ "required": false,
+ "type": "integer",
+ "format": "int32"
+ },
+ {
+ "name": "$count",
+ "in": "query",
+ "description": "Whether to include a count of the matching resources along with the resources returned in the response.",
+ "required": false,
+ "type": "boolean"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The details of the child Runs are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/PaginatedRunList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/details": {
+ "get": {
+ "tags": [
+ "Run"
+ ],
+ "summary": "Get Run Details.",
+ "description": "Get Run Details for a specific Run Id.",
+ "operationId": "Runs_GetDetails",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The details of the Run are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/RunDetails"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/batch/runs": {
+ "patch": {
+ "tags": [
+ "Run"
+ ],
+ "summary": "Add or Modify a batch of Runs.",
+ "description": "Add or Modify a batch of Runs for a given experiment.",
+ "operationId": "Runs_BatchAddOrModify",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "requestDto",
+ "in": "body",
+ "description": "The list of requested Run Additions/modifications in an Experiment.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/BatchAddOrModifyRunRequest"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Batch Runs are added/modified successfully.",
+ "schema": {
+ "$ref": "#/definitions/BatchAddOrModifyRunResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}": {
+ "get": {
+ "tags": [
+ "Run"
+ ],
+ "summary": "Get Run details.",
+ "description": "Get Run details of a specific Run Id.",
+ "operationId": "Runs_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The details of the Run are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Run"
+ ],
+ "summary": "Add or Modify a Run.",
+ "description": "Add a new Run or Modify an existing Run.",
+ "operationId": "Runs_Patch",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string",
+ "pattern": "^[a-zA-Z0-9][\\w-]{0,255}$"
+ },
+ {
+ "name": "createRunDto",
+ "in": "body",
+ "description": "The requested Run parameter Additions/modifications.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/CreateRun"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Run is added/modified successfully.",
+ "schema": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/tags": {
+ "delete": {
+ "tags": [
+ "Run"
+ ],
+ "summary": "Delete list of Tags in a Run.",
+ "description": "Delete list of Tags from a specific Run Id.",
+ "operationId": "Runs_DeleteTags",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "tags",
+ "in": "body",
+ "description": "The requested tags list to be deleted.",
+ "required": false,
+ "schema": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs:query": {
+ "post": {
+ "tags": [
+ "Run"
+ ],
+ "summary": "Get all Runs for a specific Experiment.",
+ "description": "Get all Runs for a specific Experiment with the specified query filters.",
+ "operationId": "Runs_GetByQuery",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "queryParams",
+ "in": "body",
+ "description": "Query parameters for data sorting and filtering.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/QueryParams"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PaginatedRunList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts": {
+ "get": {
+ "tags": [
+ "RunArtifacts"
+ ],
+ "summary": "Get Artifacts in a container.",
+ "description": "Get Artifacts in container for a specific Run Id.",
+ "operationId": "RunArtifacts_ListInContainer",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "continuationToken",
+ "in": "query",
+ "description": "The Continuation Token.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifacts in Container are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/PaginatedArtifactList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/path": {
+ "get": {
+ "tags": [
+ "RunArtifacts"
+ ],
+ "summary": "Get Artifacts in the provided path.",
+ "description": "Get Artifacts in the provided path for a specific Run Id.",
+ "operationId": "RunArtifacts_ListInPath",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "continuationToken",
+ "in": "query",
+ "description": "The Continuation Token.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PaginatedArtifactList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/metadata": {
+ "get": {
+ "tags": [
+ "RunArtifacts"
+ ],
+ "summary": "Get Artifact by Id.",
+ "description": "Get Artifact for a specific Id.",
+ "operationId": "RunArtifacts_GetById",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/Artifact"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/contentinfo": {
+ "get": {
+ "tags": [
+ "RunArtifacts"
+ ],
+ "summary": "Get Artifact content information.",
+ "description": "Get Artifact content information for give Run Id.",
+ "operationId": "RunArtifacts_GetContentInformation",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Artifact content information is returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/ArtifactContentInformation"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/artifacturi": {
+ "get": {
+ "tags": [
+ "RunArtifacts"
+ ],
+ "summary": "Get URI of an Artifact.",
+ "description": "Get URI of an Artifact for a specific Run Id.",
+ "operationId": "RunArtifacts_GetSasUri",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "type": "string"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/prefix/contentinfo": {
+ "get": {
+ "tags": [
+ "RunArtifacts"
+ ],
+ "summary": "Get SAS of an Artifact.",
+ "description": "Get SAS of an Artifact in the specified path.",
+ "operationId": "RunArtifacts_ListSasByPrefix",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "path",
+ "in": "query",
+ "description": "The Artifact Path.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "continuationToken",
+ "in": "query",
+ "description": "The Continuation Token.",
+ "required": false,
+ "type": "string"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/PaginatedArtifactContentInformationList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/artifacts/batch/metadata": {
+ "post": {
+ "tags": [
+ "RunArtifacts"
+ ],
+ "summary": "Create a batch of empty Artifacts.",
+ "description": "Create a batch of empty Artifacts in a specific Run.",
+ "operationId": "RunArtifacts_BatchCreateEmptyArtifacts",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier of the Run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "artifactPaths",
+ "in": "body",
+ "description": "The list of artifact paths.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/ArtifactPathList"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Batch Artifacts are created successfully.",
+ "schema": {
+ "$ref": "#/definitions/BatchArtifactContentInformationResult"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/metrics": {
+ "post": {
+ "tags": [
+ "RunMetrics"
+ ],
+ "summary": "Post Metric to a Run.",
+ "description": "Post a Metric to a specific Run Id.",
+ "operationId": "RunMetrics_Post",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier for a run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "metricDto",
+ "in": "body",
+ "description": "Details of the metric which will be added to the Run Id.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/Metric"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Run Metric is posted successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/runs/{runId}/batch/metrics": {
+ "post": {
+ "tags": [
+ "RunMetrics"
+ ],
+ "summary": "Post Metrics to a Run.",
+ "description": "Post Metrics to a specific Run Id.",
+ "operationId": "RunMetrics_BatchPost",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "runId",
+ "in": "path",
+ "description": "The identifier for a run.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "batchMetricDto",
+ "in": "body",
+ "description": "Details of the Metrics which will be added to the Run Id.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/BatchMetric"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Run Metrics are posted successfully."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/metrics/{metricId}": {
+ "get": {
+ "tags": [
+ "RunMetrics"
+ ],
+ "summary": "Get Metric details.",
+ "description": "Get Metric details for a specific Metric Id.",
+ "operationId": "RunMetrics_Get",
+ "consumes": [],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "metricId",
+ "in": "path",
+ "description": "The identifier for a Metric.",
+ "required": true,
+ "type": "string",
+ "format": "uuid"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Success",
+ "schema": {
+ "$ref": "#/definitions/RunMetric"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ }
+ },
+ "/history/v1.0/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/experiments/{experimentName}/metrics:query": {
+ "post": {
+ "tags": [
+ "RunMetrics"
+ ],
+ "summary": "Get all Run Metrics for the specific Experiment.",
+ "description": "Get all Run Metrics for the specific Experiment with the specified query filters.",
+ "operationId": "RunMetrics_GetByQuery",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/workspaceNameParameter"
+ },
+ {
+ "name": "experimentName",
+ "in": "path",
+ "description": "The experiment name.",
+ "required": true,
+ "type": "string"
+ },
+ {
+ "name": "queryParams",
+ "in": "body",
+ "description": "Query Parameters for data sorting and filtering.",
+ "required": false,
+ "schema": {
+ "$ref": "#/definitions/QueryParams"
+ }
+ },
+ {
+ "name": "MergeStrategyType",
+ "in": "query",
+ "description": "The type of merge strategy. Currently supported strategies are:\r\nNone - all logged values are returned as individual metrics.\r\nMergeToVector - merges multiple values into a vector of values.\r\nDefault - the system determines the behavior.",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "Default",
+ "None",
+ "MergeToVector"
+ ]
+ },
+ {
+ "name": "MergeStrategyOptions",
+ "in": "query",
+ "description": "Controls behavior of the merge strategy in certain cases; e.g. when a metric is not merged.",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "None",
+ "ReportUnmergedMetricsValues"
+ ]
+ },
+ {
+ "name": "MergeStrategySettings.Version",
+ "in": "query",
+ "description": "The strategy settings version.",
+ "required": false,
+ "type": "string"
+ },
+ {
+ "name": "MergeStrategySettings.SelectMetrics",
+ "in": "query",
+ "description": "Defines how to select metrics when merging them together.",
+ "required": false,
+ "type": "string",
+ "enum": [
+ "SelectAll",
+ "SelectByFirstValueSchema",
+ "SelectByFirstValueSchemaMergeNumericValues"
+ ]
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The Run Metrics are returned successfully.",
+ "schema": {
+ "$ref": "#/definitions/PaginatedRunMetricList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "BatchEventCommand": {
+ "type": "object",
+ "properties": {
+ "events": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BaseEvent"
+ }
+ }
+ }
+ },
+ "BaseEvent": {
+ "description": "Base event is the envelope used to post event data to the Event controller",
+ "type": "object",
+ "properties": {
+ "timestamp": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "data": {
+ "type": "object"
+ }
+ }
+ },
+ "BatchEventCommandResult": {
+ "type": "object",
+ "properties": {
+ "errors": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/KeyValuePairBaseEventErrorResponse"
+ }
+ }
+ }
+ },
+ "KeyValuePairBaseEventErrorResponse": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "$ref": "#/definitions/BaseEvent",
+ "readOnly": true
+ },
+ "value": {
+ "$ref": "#/definitions/ErrorResponse",
+ "readOnly": true
+ }
+ }
+ },
+ "ErrorResponse": {
+ "description": "The error response.",
+ "type": "object",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/RootError",
+ "description": "The top level error that occurred."
+ },
+ "correlation": {
+ "description": "Dictionary containing correlation details for the error.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "environment": {
+ "description": "The hosting environment.",
+ "type": "string"
+ },
+ "location": {
+ "description": "The Azure region.",
+ "type": "string"
+ },
+ "time": {
+ "format": "date-time",
+ "description": "The time in UTC.",
+ "type": "string"
+ }
+ }
+ },
+ "RootError": {
+ "description": "The root error.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The service-defined error code. Supported error codes: ServiceError, UserError, ValidationError, AzureStorageError, TransientError, RequestThrottled.",
+ "type": "string"
+ },
+ "message": {
+ "description": "A human-readable representation of the error.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the error (e.g., the name of the property in error).",
+ "type": "string"
+ },
+ "details": {
+ "description": "The related errors that occurred during the request.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ErrorDetails"
+ }
+ },
+ "innerError": {
+ "$ref": "#/definitions/InnerErrorResponse",
+ "description": "A nested list of inner errors. When evaluating errors, clients MUST traverse through all of the nested “innerErrors” and choose the deepest one that they understand."
+ }
+ }
+ },
+ "ErrorDetails": {
+ "description": "The error details.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "message": {
+ "description": "The error message.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The target of the error (e.g., the name of the property in error).",
+ "type": "string"
+ }
+ }
+ },
+ "InnerErrorResponse": {
+ "description": "A nested structure of errors.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string"
+ },
+ "innerError": {
+ "$ref": "#/definitions/InnerErrorResponse",
+ "description": "A nested list of inner errors. When evaluating errors, clients MUST traverse through all of the nested “innerErrors” and choose the deepest one that they understand."
+ }
+ }
+ },
+ "Experiment": {
+ "type": "object",
+ "properties": {
+ "experimentId": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "createdUtc": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "archivedTime": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "latestCreatedRunCreatedUtc": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "latestCreatedRunId": {
+ "type": "string"
+ }
+ }
+ },
+ "ModifyExperiment": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "archive": {
+ "type": "boolean"
+ }
+ }
+ },
+ "QueryParams": {
+ "description": "The set of supported filters.",
+ "type": "object",
+ "properties": {
+ "filter": {
+ "description": "Allows for filtering the collection of resources.\r\nThe expression specified is evaluated for each resource in the collection, and only items where the expression evaluates to true are included in the response.\r\nSee https://docs.microsoft.com/en-us/azure/search/query-odata-filter-orderby-syntax for details on the expression syntax.",
+ "type": "string"
+ },
+ "continuationToken": {
+ "description": "The continuation token to use for getting the next set of resources.",
+ "type": "string"
+ },
+ "orderBy": {
+ "description": "The comma separated list of resource properties to use for sorting the requested resources.\r\nOptionally, can be followed by either 'asc' or 'desc'",
+ "type": "string",
+ "example": "Color, Size desc"
+ },
+ "top": {
+ "format": "int32",
+ "description": "The maximum number of items in the resource collection to be included in the result.\r\nIf not specified, all items are returned.",
+ "type": "integer"
+ }
+ }
+ },
+ "PaginatedExperimentList": {
+ "description": "A paginated list of Experiments.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type Experiment.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Experiment"
+ }
+ },
+ "continuationToken": {
+ "description": "The token used in retrieving the next page. If null, there are no additional pages.",
+ "type": "string"
+ },
+ "nextLink": {
+ "description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
+ "type": "string"
+ }
+ }
+ },
+ "DeleteTagsCommand": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "PaginatedRunList": {
+ "description": "A paginated list of Runs.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type Run.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "continuationToken": {
+ "description": "The token used in retrieving the next page. If null, there are no additional pages.",
+ "type": "string"
+ },
+ "nextLink": {
+ "description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
+ "type": "string"
+ }
+ }
+ },
+ "Run": {
+ "description": "The definition of a Run.",
+ "type": "object",
+ "properties": {
+ "runNumber": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "rootRunId": {
+ "type": "string"
+ },
+ "experimentId": {
+ "description": "The Id of the experiment that created this run.",
+ "type": "string"
+ },
+ "createdUtc": {
+ "format": "date-time",
+ "description": "The time the run was created in UTC.",
+ "type": "string"
+ },
+ "createdBy": {
+ "$ref": "#/definitions/CreatedBy",
+ "description": "The details of the user who created the run."
+ },
+ "userId": {
+ "description": "The Id of the user that created the run.",
+ "type": "string"
+ },
+ "token": {
+ "description": "A token used for authenticating a run.",
+ "type": "string"
+ },
+ "tokenExpiryTimeUtc": {
+ "format": "date-time",
+ "description": "The Token expiration time in UTC.",
+ "type": "string"
+ },
+ "error": {
+ "$ref": "#/definitions/ErrorResponse",
+ "description": "If an error occurred during the run, this will be populated."
+ },
+ "warnings": {
+ "description": "A list of warnings that occurred during the run.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RunDetailsWarning"
+ }
+ },
+ "revision": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "runId": {
+ "description": "The identifier for the run. Run IDs must be less than 256 characters and contain only alphanumeric characters with dashes and underscores.",
+ "type": "string"
+ },
+ "parentRunId": {
+ "description": "The parent of the run if the run is hierarchical; otherwise, Null.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status of the run. The Status string value maps to the RunStatus Enum.",
+ "type": "string"
+ },
+ "startTimeUtc": {
+ "format": "date-time",
+ "description": "The start time of the run in UTC.",
+ "type": "string"
+ },
+ "endTimeUtc": {
+ "format": "date-time",
+ "description": "The end time of the run in UTC.",
+ "type": "string"
+ },
+ "heartbeatEnabled": {
+ "type": "boolean"
+ },
+ "options": {
+ "$ref": "#/definitions/RunOptions"
+ },
+ "name": {
+ "type": "string"
+ },
+ "dataContainerId": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "hidden": {
+ "type": "boolean"
+ },
+ "runType": {
+ "type": "string"
+ },
+ "properties": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "scriptName": {
+ "type": "string"
+ },
+ "target": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "runDefinition": {
+ "type": "object"
+ },
+ "createdFrom": {
+ "$ref": "#/definitions/CreatedFrom"
+ },
+ "cancelUri": {
+ "type": "string"
+ },
+ "diagnosticsUri": {
+ "type": "string"
+ }
+ }
+ },
+ "CreatedBy": {
+ "type": "object",
+ "properties": {
+ "userObjectId": {
+ "description": "A user or service principal's object ID.\r\nThis is PII and should never be logged.",
+ "type": "string"
+ },
+ "userTenantId": {
+ "description": "A user or service principal's tenant ID.",
+ "type": "string"
+ },
+ "userName": {
+ "description": "A user's full name or a service principal's app ID.\r\nThis is PII and should never be logged.",
+ "type": "string"
+ }
+ }
+ },
+ "RunDetailsWarning": {
+ "type": "object",
+ "properties": {
+ "source": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ }
+ },
+ "RunOptions": {
+ "type": "object",
+ "properties": {
+ "generateDataContainerIdIfNotSpecified": {
+ "type": "boolean"
+ }
+ }
+ },
+ "CreatedFrom": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ "Notebook"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CreatedFromType",
+ "modelAsString": false
+ }
+ },
+ "locationType": {
+ "enum": [
+ "ArtifactId"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "CreatedFromLocationType",
+ "modelAsString": false
+ }
+ },
+ "location": {
+ "type": "string"
+ }
+ }
+ },
+ "RunDetails": {
+ "description": "The details of the run.",
+ "type": "object",
+ "properties": {
+ "runId": {
+ "description": "The identifier for the run.",
+ "type": "string"
+ },
+ "target": {
+ "description": "The name of the compute target where the run is executed.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status of the run. The Status string value maps to the RunStatus Enum.",
+ "type": "string"
+ },
+ "parentRunId": {
+ "description": "The parent of the run if the run is hierarchical.",
+ "type": "string"
+ },
+ "startTimeUtc": {
+ "format": "date-time",
+ "description": "The start time of the run in UTC.",
+ "type": "string"
+ },
+ "endTimeUtc": {
+ "format": "date-time",
+ "description": "The end time of the run in UTC.",
+ "type": "string"
+ },
+ "error": {
+ "$ref": "#/definitions/ErrorResponse",
+ "description": "If an error occurred during the run, this will be populated."
+ },
+ "warnings": {
+ "description": "A list of warnings that occurred during the run.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RunDetailsWarning"
+ }
+ },
+ "tags": {
+ "description": "The tag dictionary for the run. Tags are mutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "properties": {
+ "description": "The properties dictionary for the run. Properties are immutable.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "runDefinition": {
+ "description": "The run definition specification.",
+ "type": "object"
+ },
+ "logFiles": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "revision": {
+ "format": "int32",
+ "type": "integer"
+ }
+ }
+ },
+ "BatchAddOrModifyRunRequest": {
+ "type": "object",
+ "properties": {
+ "runs": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/CreateRun"
+ }
+ }
+ }
+ },
+ "CreateRun": {
+ "type": "object",
+ "properties": {
+ "runId": {
+ "description": "The identifier for the run. Run IDs must be less than 256 characters and contain only alphanumeric characters with dashes and underscores.",
+ "type": "string"
+ },
+ "parentRunId": {
+ "description": "The parent of the run if the run is hierarchical; otherwise, Null.",
+ "type": "string"
+ },
+ "status": {
+ "description": "The status of the run. The Status string value maps to the RunStatus Enum.",
+ "type": "string"
+ },
+ "startTimeUtc": {
+ "format": "date-time",
+ "description": "The start time of the run in UTC.",
+ "type": "string"
+ },
+ "endTimeUtc": {
+ "format": "date-time",
+ "description": "The end time of the run in UTC.",
+ "type": "string"
+ },
+ "heartbeatEnabled": {
+ "type": "boolean"
+ },
+ "options": {
+ "$ref": "#/definitions/RunOptions"
+ },
+ "name": {
+ "type": "string"
+ },
+ "dataContainerId": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "hidden": {
+ "type": "boolean"
+ },
+ "runType": {
+ "type": "string"
+ },
+ "properties": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "scriptName": {
+ "type": "string"
+ },
+ "target": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "runDefinition": {
+ "type": "object"
+ },
+ "createdFrom": {
+ "$ref": "#/definitions/CreatedFrom"
+ },
+ "cancelUri": {
+ "type": "string"
+ },
+ "diagnosticsUri": {
+ "type": "string"
+ }
+ }
+ },
+ "BatchAddOrModifyRunResult": {
+ "type": "object",
+ "properties": {
+ "runs": {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/Run"
+ }
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "PaginatedArtifactList": {
+ "description": "A paginated list of Artifacts.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type Artifact.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Artifact"
+ }
+ },
+ "continuationToken": {
+ "description": "The token used in retrieving the next page. If null, there are no additional pages.",
+ "type": "string"
+ },
+ "nextLink": {
+ "description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
+ "type": "string"
+ }
+ }
+ },
+ "Artifact": {
+ "description": "Details of an Artifact.",
+ "required": [
+ "origin",
+ "container",
+ "path"
+ ],
+ "type": "object",
+ "properties": {
+ "artifactId": {
+ "description": "The identifier of an Artifact. Format of ArtifactId - {Origin}/{Container}/{Path}.",
+ "type": "string"
+ },
+ "origin": {
+ "description": "The origin of the Artifact creation request. Available origins are 'ExperimentRun', 'LocalUpload', 'WebUpload', 'Dataset' and 'Unknown'.",
+ "type": "string"
+ },
+ "container": {
+ "description": "The name of container. Artifacts can be grouped by container.",
+ "type": "string"
+ },
+ "path": {
+ "description": "The path to the Artifact in a container.",
+ "type": "string"
+ },
+ "etag": {
+ "description": "The Etag of the Artifact.",
+ "type": "string",
+ "readOnly": true
+ },
+ "createdTime": {
+ "format": "date-time",
+ "description": "The Date and Time at which the Artifact is created. The DateTime is in UTC.",
+ "type": "string",
+ "readOnly": true
+ },
+ "dataPath": {
+ "$ref": "#/definitions/DataPath"
+ }
+ }
+ },
+ "DataPath": {
+ "type": "object",
+ "properties": {
+ "dataStoreName": {
+ "type": "string"
+ },
+ "relativePath": {
+ "type": "string"
+ },
+ "sqlDataPath": {
+ "$ref": "#/definitions/SqlDataPath"
+ }
+ }
+ },
+ "SqlDataPath": {
+ "type": "object",
+ "properties": {
+ "sqlTableName": {
+ "type": "string"
+ },
+ "sqlQuery": {
+ "type": "string"
+ },
+ "sqlStoredProcedureName": {
+ "type": "string"
+ },
+ "sqlStoredProcedureParams": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StoredProcedureParameter"
+ }
+ }
+ }
+ },
+ "StoredProcedureParameter": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "String",
+ "Int",
+ "Decimal",
+ "Guid",
+ "Boolean",
+ "Date"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "StoredProcedureParameterType",
+ "modelAsString": false
+ }
+ }
+ }
+ },
+ "ArtifactContentInformation": {
+ "description": "Details of an Artifact Content Information.",
+ "type": "object",
+ "properties": {
+ "contentUri": {
+ "description": "The URI of the content.",
+ "type": "string"
+ },
+ "origin": {
+ "description": "The origin of the Artifact creation request. Available origins are 'ExperimentRun', 'LocalUpload', 'WebUpload', 'Dataset', 'ComputeRecord', 'Metric', and 'Unknown'.",
+ "type": "string"
+ },
+ "container": {
+ "description": "The name of container. Artifacts can be grouped by container.",
+ "type": "string"
+ },
+ "path": {
+ "description": "The path to the Artifact in a container.",
+ "type": "string"
+ }
+ }
+ },
+ "PaginatedArtifactContentInformationList": {
+ "description": "A paginated list of ArtifactContentInformations.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type ArtifactContentInformation.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArtifactContentInformation"
+ }
+ },
+ "continuationToken": {
+ "description": "The token used in retrieving the next page. If null, there are no additional pages.",
+ "type": "string"
+ },
+ "nextLink": {
+ "description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
+ "type": "string"
+ }
+ }
+ },
+ "ArtifactPathList": {
+ "description": "Contains list of Artifact Paths.",
+ "required": [
+ "paths"
+ ],
+ "type": "object",
+ "properties": {
+ "paths": {
+ "description": "List of Artifact Paths.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ArtifactPath"
+ }
+ }
+ }
+ },
+ "ArtifactPath": {
+ "description": "Details of an Artifact Path.",
+ "required": [
+ "path"
+ ],
+ "type": "object",
+ "properties": {
+ "path": {
+ "description": "The path to the Artifact in a container.",
+ "type": "string"
+ }
+ }
+ },
+ "BatchArtifactContentInformationResult": {
+ "description": "Results of the Batch Artifact Content Information request.",
+ "type": "object",
+ "properties": {
+ "artifacts": {
+ "description": "Artifact details of the Artifact Ids requested.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/Artifact"
+ }
+ },
+ "artifactContentInformation": {
+ "description": "Artifact Content Information details of the Artifact Ids requested.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ArtifactContentInformation"
+ }
+ },
+ "errors": {
+ "description": "Errors occurred while fetching the requested Artifact Ids.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "Metric": {
+ "type": "object",
+ "properties": {
+ "metricId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "dataContainerId": {
+ "type": "string"
+ },
+ "metricType": {
+ "type": "string"
+ },
+ "createdUtc": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "numCells": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "dataLocation": {
+ "type": "string"
+ },
+ "cells": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/MetricSchema"
+ }
+ }
+ },
+ "MetricSchema": {
+ "type": "object",
+ "properties": {
+ "numProperties": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "properties": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MetricSchemaProperty"
+ }
+ }
+ }
+ },
+ "MetricSchemaProperty": {
+ "type": "object",
+ "properties": {
+ "propertyId": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ }
+ },
+ "BatchMetric": {
+ "type": "object",
+ "properties": {
+ "values": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Metric"
+ }
+ }
+ }
+ },
+ "RunMetric": {
+ "type": "object",
+ "properties": {
+ "runId": {
+ "type": "string"
+ },
+ "metricId": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "dataContainerId": {
+ "type": "string"
+ },
+ "metricType": {
+ "type": "string"
+ },
+ "createdUtc": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "numCells": {
+ "format": "int32",
+ "type": "integer"
+ },
+ "dataLocation": {
+ "type": "string"
+ },
+ "cells": {
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object"
+ }
+ }
+ },
+ "schema": {
+ "$ref": "#/definitions/MetricSchema"
+ }
+ }
+ },
+ "PaginatedRunMetricList": {
+ "description": "A paginated list of RunMetrics.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "An array of objects of type RunMetric.",
+ "uniqueItems": false,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RunMetric"
+ }
+ },
+ "continuationToken": {
+ "description": "The token used in retrieving the next page. If null, there are no additional pages.",
+ "type": "string"
+ },
+ "nextLink": {
+ "description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
+ "type": "string"
+ }
+ }
+ }
+ },
+ "parameters": {
+ "subscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "description": "The Azure Subscription ID.",
+ "required": true,
+ "type": "string",
+ "format": "uuid",
+ "x-ms-parameter-location": "method"
+ },
+ "resourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "description": "The Name of the resource group in which the workspace is located.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ },
+ "workspaceNameParameter": {
+ "name": "workspaceName",
+ "in": "path",
+ "description": "The name of the workspace.",
+ "required": true,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "flow": "implicit",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ },
+ "type": "oauth2"
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "tags": []
+}
diff --git a/specification/machinelearningservices/data-plane/readme.md b/specification/machinelearningservices/data-plane/readme.md
new file mode 100644
index 000000000000..3da680e4ba65
--- /dev/null
+++ b/specification/machinelearningservices/data-plane/readme.md
@@ -0,0 +1,135 @@
+# AzureMachineLearning
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for AzureMachineLearning.
+
+---
+## Getting Started
+To build the SDK for AzureMachineLearning, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+
+
+
+### Basic Information
+These are the global settings for the AzureMachineLearning API.
+
+``` yaml
+title: Azure Machine Learning Service
+description: These APIs allow end users to manage Azure Machine Learning Services.
+openapi-type: data-plane
+tag: package-2019-08-preview
+use-internal-constructors: true
+add-credentials: true
+```
+
+## Suppression
+
+``` yaml
+directive:
+ - suppress: AvoidNestedProperties
+ reason: Client defined properties dictionaries should not be flattened.
+ - suppress: GuidUsage
+ reason: Existing properties; cannot change without breaking API
+ - suppress: DeleteMustNotHaveRequestBody
+ reason: Existing API for batch deletion
+ - suppress: LROStatusCodesReturnTypeSchema
+ reason: Not a Long Running Operation
+ - from: hyperdrive.json
+ suppress: DefinitionsPropertiesNamesCamelCase
+ reason: Existing service; would be a breaking change
+```
+
+### Tag: package-2019-08-preview
+
+These settings apply only when `--tag=package-2019-08-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-08-preview'
+input-file:
+ - Microsoft.MachineLearningServices/preview/2019-08-01/execution.json
+ - Microsoft.MachineLearningServices/preview/2019-08-01/modelManagement.json
+ - Microsoft.MachineLearningServices/preview/2019-08-01/runHistory.json
+ - Microsoft.MachineLearningServices/preview/2019-08-01/datastore.json
+ - Microsoft.MachineLearningServices/preview/2019-08-01/artifact.json
+ - Microsoft.MachineLearningServices/preview/2019-08-01/hyperdrive.json
+```
+
+
+---
+# Code Generation
+
+
+## Swagger to SDK
+
+Swagger to SDK has been intentionally disabled for this spec.
+
+## C#
+
+These settings apply only when `--csharp` is specified on the command line.
+Please also specify `--csharp-sdks-folder=`.
+
+``` yaml $(csharp)
+csharp:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ namespace: Microsoft.Azure.MachineLearning.Services
+ output-folder: $(csharp-sdks-folder)/MachineLearning/Services/Generated
+ clear-output-folder: true
+```
+
+
+## Python
+
+Python generation is intentionally disabled. Please use the published Python package for Azure Machine Learning on PyPi.
+
+
+## Java
+
+These settings apply only when `--java` is specified on the command line.
+Please also specify `--azure-libraries-for-java-folder=`.
+
+``` yaml $(java)
+java:
+ azure-arm: true
+ namespace: com.microsoft.azure.machinelearning.services
+ license-header: MICROSOFT_MIT_NO_CODEGEN
+ output-folder: $(azure-libraries-for-java-folder)/azure-machinelearning-services
+```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.MachineLearningServices/preview/2019-08-01/execution.json
+ - $(this-folder)/Microsoft.MachineLearningServices/preview/2019-08-01/modelManagement.json
+ - $(this-folder)/Microsoft.MachineLearningServices/preview/2019-08-01/runHistory.json
+ - $(this-folder)/Microsoft.MachineLearningServices/preview/2019-08-01/datastore.json
+ - $(this-folder)/Microsoft.MachineLearningServices/preview/2019-08-01/artifact.json
+ - $(this-folder)/Microsoft.MachineLearningServices/preview/2019-08-01/hyperdrive.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json
index a5220ca132a4..cedabe460a02 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/ListVMSizesResult.json
@@ -452,4 +452,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json
index 0c03d1d86d02..082d445ec9f9 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/examples/patchAmlCompute.json
@@ -1,36 +1,36 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2018-11-19",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2018-11-19",
- "parameters": {
- "properties": {
- "scaleSettings": {
- "maxNodeCount": 4,
- "minNodeCount": 4,
- "nodeIdleTimeBeforeScaleDown": "PT5M"
- }
- }
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
}
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "computeType": "AmlCompute",
- "provisioningState": "Updating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
+ }
}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json
index 844d8039e251..d7f0af3f304d 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json
@@ -819,6 +819,7 @@
}
},
"x-ms-pageable": {
+ "itemName": "nodes",
"nextLinkName": "nextLink"
},
"x-ms-examples": {
@@ -1142,7 +1143,7 @@
"description": "The Usage Names."
},
"Usage": {
- "type":"object",
+ "type": "object",
"properties": {
"unit": {
"readOnly": true,
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json
index a5220ca132a4..cedabe460a02 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/ListVMSizesResult.json
@@ -452,4 +452,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json
index 152922e0b3ce..ee48dd333d17 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAKSCompute.json
@@ -1,44 +1,44 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2019-05-01",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "AKS"
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "AKS",
- "provisioningState": "Creating"
- }
- }
- },
- "201": {
- "body": {
- "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "AKS",
- "provisioningState": "Creating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AKS",
+ "provisioningState": "Creating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json
index f5d3e81e7272..d6ba80c357d8 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicAmlCompute.json
@@ -1,53 +1,53 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2019-05-01",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "AmlCompute",
- "properties": {
- "vmSize": "STANDARD_NC6",
- "vmPriority": "Dedicated",
- "scaleSettings": {
- "maxNodeCount": 1,
- "minNodeCount": 0,
- "nodeIdleTimeBeforeScaleDown": "PT5M"
- }
- }
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "properties": {
+ "vmSize": "STANDARD_NC6",
+ "vmPriority": "Dedicated",
+ "scaleSettings": {
+ "maxNodeCount": 1,
+ "minNodeCount": 0,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ }
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "provisioningState": "Creating"
+ }
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "AmlCompute",
- "provisioningState": "Creating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "AmlCompute",
- "provisioningState": "Creating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "provisioningState": "Creating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json
index fce2f7e27857..b201da715bed 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createBasicDataFactoryCompute.json
@@ -1,44 +1,44 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2019-05-01",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "DataFactory"
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "DataFactory",
- "provisioningState": "Creating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "computeType": "DataFactory",
- "provisioningState": "Creating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "computeType": "DataFactory",
+ "provisioningState": "Creating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json
index 850b79a91c09..1aab6c1ec2fb 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/createWorkspace.json
@@ -1,57 +1,57 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-05-01",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2019-05-01",
- "parameters": {
- "location": "eastus2euap",
- "properties": {
- "friendlyName": "HelloName",
- "description": "test description",
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
- }
+ "location": "eastus2euap",
+ "properties": {
+ "friendlyName": "HelloName",
+ "description": "test description",
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
}
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json
index dddf6bb5a28f..54f2556dd473 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteCompute.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2019-05-01",
- "underlyingResourceAction": "Delete"
- },
- "responses": {
- "200": {},
- "202": {
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
- "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
+ "underlyingResourceAction": "Delete"
+ },
+ "responses": {
+ "200": {},
+ "202": {
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus...",
+ "Location": "https://management.azure.com/subscriptions/...pathToOperationResult..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json
index d80ac27c824d..690c28f0d699 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/deleteWorkspace.json
@@ -1,12 +1,12 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2019-05-01"
- },
- "responses": {
- "200": {},
- "204": {}
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json
index 85fc45b5a2fa..f934ecce5a6d 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAKSCompute.json
@@ -1,25 +1,25 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2019-05-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Succeeded"
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json
index 17af049850b9..b90f0bc77352 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getAmlCompute.json
@@ -1,48 +1,48 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2019-05-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "computeType": "AmlCompute",
- "createdOn": "2017-09-26T22:28:08.327Z",
- "provisioningState": "Succeeded",
- "properties": {
- "vmSize": "STANDARD_NC6",
- "vmPriority": "Dedicated",
- "subnet": "test-subnet-resource-id",
- "scaleSettings": {
- "maxNodeCount": 1,
- "minNodeCount": 0,
- "nodeIdleTimeBeforeScaleDown": "PT5M"
- },
- "allocationState": "Resizing",
- "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z",
- "errors": null,
- "currentNodeCount": 0,
- "targetNodeCount": 1,
- "nodeStateCounts": {
- "preparingNodeCount": 0,
- "runningNodeCount": 0,
- "idleNodeCount": 0,
- "unusableNodeCount": 0,
- "leavingNodeCount": 0,
- "preemptedNodeCount": 0
- }
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "createdOn": "2017-09-26T22:28:08.327Z",
+ "provisioningState": "Succeeded",
+ "properties": {
+ "vmSize": "STANDARD_NC6",
+ "vmPriority": "Dedicated",
+ "subnet": "test-subnet-resource-id",
+ "scaleSettings": {
+ "maxNodeCount": 1,
+ "minNodeCount": 0,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ },
+ "allocationState": "Resizing",
+ "allocationStateTransitionTime": "2017-09-27T22:28:08.998Z",
+ "errors": null,
+ "currentNodeCount": 0,
+ "targetNodeCount": 1,
+ "nodeStateCounts": {
+ "preparingNodeCount": 0,
+ "runningNodeCount": 0,
+ "idleNodeCount": 0,
+ "unusableNodeCount": 0,
+ "leavingNodeCount": 0,
+ "preemptedNodeCount": 0
}
+ }
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json
index cefbea43cf28..d81e461cbd99 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getComputes.json
@@ -1,41 +1,41 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "api-version": "2019-05-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Succeeded"
- }
- },
- {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute1234",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Succeeded"
- }
- }
- ],
- "nextLink": "nextLink"
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
}
- }
+ },
+ {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute1234",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute1234",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute1234-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Succeeded"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json
index 975aaf2127d9..1f337f997011 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspace.json
@@ -1,28 +1,28 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2019-05-01"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
}
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json
index f7795d415bb3..2372abce3514 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesByResourceGroup.json
@@ -1,48 +1,48 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "api-version": "2019-05-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1",
- "name": "testworkspace1",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName 1",
- "description": "test description"
- }
- }
- ],
- "nextLink": "nextLink"
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
- }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace1",
+ "name": "testworkspace1",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName 1",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json
index 19b842664298..f5773ab7679b 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/getWorkspacesBySubscription.json
@@ -1,47 +1,47 @@
{
- "parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "api-version": "2019-05-01"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- },
- {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "HelloName",
- "description": "test description"
- }
- }
- ],
- "nextLink": "nextLink"
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
}
- }
+ },
+ {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-5678/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistryNew",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkvNew",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccountOld",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "HelloName",
+ "description": "test description"
+ }
+ }
+ ],
+ "nextLink": "nextLink"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json
index f8ea09f00174..96829acd2c49 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listKeysAKSCompute.json
@@ -1,19 +1,19 @@
{
- "parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2019-05-01"
- },
- "responses": {
- "200": {
- "body": {
- "computeType": "AKS",
- "userKubeConfig": "user kube config...",
- "adminKubeConfig": "admin kube config...",
- "imagePullSecretName": "the image pull secret name"
- }
- }
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "computeType": "AKS",
+ "userKubeConfig": "user kube config...",
+ "adminKubeConfig": "admin kube config...",
+ "imagePullSecretName": "the image pull secret name"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json
index 4605c2b7285e..94825e385523 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/listWorkspaceKeys.json
@@ -1,32 +1,31 @@
{
- "parameters": {
- "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "api-version": "2019-05-01"
- },
- "responses": {
- "200": {
- "body":
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==",
+ "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr",
+ "appInsightsInstrumentationKey": null,
+ "containerRegistryCredentials": {
+ "location": null,
+ "username": "testdemoworkjmjmeykp",
+ "passwords": [
{
- "userStorageKey": "r5rKCJ018TLk+bdAi/9YaVzgcQ0nkLsUqGyUN03KsdCFtqG0SjFGPV8+vT1frWqkvBL0bGoPpLc1BlZSSaZmOA==",
- "userStorageResourceId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/ragargeastus2euap/providers/Microsoft.Storage/storageAccounts/testdemoworkazashomr",
- "appInsightsInstrumentationKey": null,
- "containerRegistryCredentials": {
- "location": null,
- "username": "testdemoworkjmjmeykp",
- "passwords": [
- {
- "name": "password",
- "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw"
- },
- {
- "name": "password2",
- "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t"
- }
- ]
- }
+ "name": "password",
+ "value": "vBvVhYgAGtUSewVCUv3w95p4/q5Yrsnw"
+ },
+ {
+ "name": "password2",
+ "value": "0KARRQoQHSUq1yViPWg7YFernOS=Ic/t"
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json
index a94b47b24dd1..b6a9b2c410bc 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/patchAmlCompute.json
@@ -1,36 +1,36 @@
{
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2019-05-01",
- "parameters": {
- "properties": {
- "scaleSettings": {
- "maxNodeCount": 4,
- "minNodeCount": 4,
- "nodeIdleTimeBeforeScaleDown": "PT5M"
- }
- }
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
+ "parameters": {
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
+ }
}
+ }
},
"responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "computeType": "AmlCompute",
- "provisioningState": "Updating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
}
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json
index 1435064d9874..67bcfb233275 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/resyncWorkspaceKeys.json
@@ -1,13 +1,11 @@
{
- "parameters": {
- "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "api-version": "2019-05-01"
- },
- "responses": {
- "200": {
-
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "api-version": "2019-05-01"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json
index 581bd410245d..01f0f9684575 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAKSCompute.json
@@ -1,54 +1,54 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2019-05-01",
- "parameters": {
- "id": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "properties": {
- "agentCount": 4
- }
- }
+ "id": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "properties": {
+ "agentCount": 4
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
+ }
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Updating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus",
- "properties": {
- "description": "some compute",
- "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
- "computeType": "AKS",
- "provisioningState": "Updating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus",
+ "properties": {
+ "description": "some compute",
+ "resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2",
+ "computeType": "AKS",
+ "provisioningState": "Updating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json
index 6f014c0e5c6e..bcb7cf3c8c31 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateAmlCompute.json
@@ -1,57 +1,57 @@
{
+ "parameters": {
+ "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
+ "resourceGroupName": "testrg123",
+ "workspaceName": "workspaces123",
+ "computeName": "compute123",
+ "api-version": "2019-05-01",
"parameters": {
- "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
- "resourceGroupName": "testrg123",
- "workspaceName": "workspaces123",
- "computeName": "compute123",
- "api-version": "2019-05-01",
- "parameters": {
- "location": "eastus",
- "properties": {
- "computeType": "AmlCompute",
- "properties": {
- "description": "some compute",
- "computeType": "AmlCompute",
- "properties": {
- "scaleSettings": {
- "maxNodeCount": 4,
- "minNodeCount": 4,
- "nodeIdleTimeBeforeScaleDown": "PT5M"
- }
- }
- }
+ "location": "eastus",
+ "properties": {
+ "computeType": "AmlCompute",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "properties": {
+ "scaleSettings": {
+ "maxNodeCount": 4,
+ "minNodeCount": 4,
+ "nodeIdleTimeBeforeScaleDown": "PT5M"
}
+ }
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
+ }
+ }
},
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "computeType": "AmlCompute",
- "provisioningState": "Updating"
- }
- }
- },
- "201": {
- "body": {
- "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
- "type": "Microsoft.MachineLearningServices/workspaces/computes",
- "name": "compute123",
- "location": "eastus2",
- "properties": {
- "description": "some compute",
- "computeType": "AmlCompute",
- "provisioningState": "Updating"
- }
- },
- "headers": {
- "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
- }
+ "201": {
+ "body": {
+ "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123",
+ "type": "Microsoft.MachineLearningServices/workspaces/computes",
+ "name": "compute123",
+ "location": "eastus2",
+ "properties": {
+ "description": "some compute",
+ "computeType": "AmlCompute",
+ "provisioningState": "Updating"
}
+ },
+ "headers": {
+ "Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..."
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json
index b3c61f6b0910..ed1f3b938cef 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/examples/updateWorkspace.json
@@ -1,34 +1,34 @@
{
+ "parameters": {
+ "subscriptionId": "00000000-1111-2222-3333-444444444444",
+ "resourceGroupName": "workspace-1234",
+ "workspaceName": "testworkspace",
+ "api-version": "2019-05-01",
"parameters": {
- "subscriptionId": "00000000-1111-2222-3333-444444444444",
- "resourceGroupName": "workspace-1234",
- "workspaceName": "testworkspace",
- "api-version": "2019-05-01",
- "parameters": {
- "properties": {
- "friendlyName": "New friendly name",
- "description": "new description"
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
- "name": "testworkspace",
- "type": "Microsoft.MachineLearningServices/workspaces",
- "location": "eastus2euap",
- "properties": {
- "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
- "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
- "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
- "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
- "discoveryUrl": "http://example.com",
- "creationTime": "2017-03-01T23:14:37.0707808Z",
- "friendlyName": "New friendly name",
- "description": "new description"
- }
- }
+ "properties": {
+ "friendlyName": "New friendly name",
+ "description": "new description"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.MachineLearningServices/workspaces/testworkspace",
+ "name": "testworkspace",
+ "type": "Microsoft.MachineLearningServices/workspaces",
+ "location": "eastus2euap",
+ "properties": {
+ "containerRegistry": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.ContainerRegistry/registries/testRegistry",
+ "keyVault": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/Microsoft.KeyVault/vaults/testkv",
+ "applicationInsights": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-1234/providers/microsoft.insights/components/testinsights",
+ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount",
+ "discoveryUrl": "http://example.com",
+ "creationTime": "2017-03-01T23:14:37.0707808Z",
+ "friendlyName": "New friendly name",
+ "description": "new description"
}
}
-}
\ No newline at end of file
+ }
+ }
+}
diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json
index 21694eeadb20..750aeedeb7b6 100644
--- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json
+++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json
@@ -73,7 +73,9 @@
"description": "Gets the properties of the specified machine learning workspace.",
"operationId": "Workspaces_Get",
"x-ms-examples": {
- "Get Workspace": { "$ref": "./examples/getWorkspace.json" }
+ "Get Workspace": {
+ "$ref": "./examples/getWorkspace.json"
+ }
},
"parameters": [
{
@@ -111,7 +113,9 @@
"description": "Creates or updates a workspace with the specified parameters.",
"operationId": "Workspaces_CreateOrUpdate",
"x-ms-examples": {
- "Create Workspace": { "$ref": "./examples/createWorkspace.json" }
+ "Create Workspace": {
+ "$ref": "./examples/createWorkspace.json"
+ }
},
"parameters": [
{
@@ -164,7 +168,9 @@
"description": "Deletes a machine learning workspace.",
"operationId": "Workspaces_Delete",
"x-ms-examples": {
- "Delete Workspace": { "$ref": "./examples/deleteWorkspace.json" }
+ "Delete Workspace": {
+ "$ref": "./examples/deleteWorkspace.json"
+ }
},
"parameters": [
{
@@ -202,7 +208,9 @@
"description": "Updates a machine learning workspace with the specified parameters.",
"operationId": "Workspaces_Update",
"x-ms-examples": {
- "Update Workspace": { "$ref": "./examples/updateWorkspace.json" }
+ "Update Workspace": {
+ "$ref": "./examples/updateWorkspace.json"
+ }
},
"parameters": [
{
@@ -251,7 +259,9 @@
"description": "Lists all the available machine learning workspaces under the specified resource group.",
"operationId": "Workspaces_ListByResourceGroup",
"x-ms-examples": {
- "Get Workspaces by Resource Group": { "$ref": "./examples/getWorkspacesByResourceGroup.json" }
+ "Get Workspaces by Resource Group": {
+ "$ref": "./examples/getWorkspacesByResourceGroup.json"
+ }
},
"parameters": [
{
@@ -294,7 +304,9 @@
"description": "Lists all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
"operationId": "Workspaces_ListKeys",
"x-ms-examples": {
- "List Workspace Keys": { "$ref": "./examples/listWorkspaceKeys.json" }
+ "List Workspace Keys": {
+ "$ref": "./examples/listWorkspaceKeys.json"
+ }
},
"parameters": [
{
@@ -334,7 +346,9 @@
"description": "Resync all the keys associated with this workspace. This includes keys for the storage account, app insights and password for container registry",
"operationId": "Workspaces_ResyncKeys",
"x-ms-examples": {
- "Resync Workspace Keys": { "$ref": "./examples/resyncWorkspaceKeys.json" }
+ "Resync Workspace Keys": {
+ "$ref": "./examples/resyncWorkspaceKeys.json"
+ }
},
"parameters": [
{
@@ -374,6 +388,9 @@
{
"$ref": "#/parameters/APIVersionParameter"
},
+ {
+ "$ref": "#/parameters/ExpandChildrenParameter"
+ },
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
@@ -450,7 +467,9 @@
"description": "Lists all the available machine learning workspaces under the specified subscription.",
"operationId": "Workspaces_ListBySubscription",
"x-ms-examples": {
- "Get Workspaces by subscription": { "$ref": "./examples/getWorkspacesBySubscription.json" }
+ "Get Workspaces by subscription": {
+ "$ref": "./examples/getWorkspacesBySubscription.json"
+ }
},
"parameters": [
{
@@ -494,7 +513,9 @@
"operationId": "MachineLearningCompute_ListByWorkspace",
"description": "Gets computes in specified workspace.",
"x-ms-examples": {
- "Get Computes": { "$ref": "./examples/getComputes.json" }
+ "Get Computes": {
+ "$ref": "./examples/getComputes.json"
+ }
},
"parameters": [
{
@@ -538,8 +559,12 @@
"operationId": "MachineLearningCompute_Get",
"description": "Gets compute definition by its name. Any secrets (storage keys, service credentials, etc) are not returned - use 'keys' nested resource to get them.",
"x-ms-examples": {
- "Get a AKS Compute": { "$ref": "./examples/getAKSCompute.json" },
- "Get a AML Compute": { "$ref": "./examples/getAmlCompute.json" }
+ "Get a AKS Compute": {
+ "$ref": "./examples/getAKSCompute.json"
+ },
+ "Get a AML Compute": {
+ "$ref": "./examples/getAmlCompute.json"
+ }
},
"parameters": [
{
@@ -582,11 +607,21 @@
"description": "Creates or updates compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation. If your intent is to create a new compute, do a GET first to verify that it does not exist yet.",
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "Create a AML Compute": { "$ref": "./examples/createBasicAmlCompute.json" },
- "Create AKS Compute": { "$ref": "./examples/createBasicAKSCompute.json" },
- "Create a DataFactory Compute": { "$ref": "./examples/createBasicDataFactoryCompute.json" },
- "Update a AML Compute": { "$ref": "./examples/updateAmlCompute.json" },
- "Update a AKS Compute": { "$ref": "./examples/updateAKSCompute.json" }
+ "Create a AML Compute": {
+ "$ref": "./examples/createBasicAmlCompute.json"
+ },
+ "Create AKS Compute": {
+ "$ref": "./examples/createBasicAKSCompute.json"
+ },
+ "Create a DataFactory Compute": {
+ "$ref": "./examples/createBasicDataFactoryCompute.json"
+ },
+ "Update a AML Compute": {
+ "$ref": "./examples/updateAmlCompute.json"
+ },
+ "Update a AKS Compute": {
+ "$ref": "./examples/updateAKSCompute.json"
+ }
},
"parameters": [
{
@@ -644,7 +679,9 @@
"description": "Updates properties of a compute. This call will overwrite a compute if it exists. This is a nonrecoverable operation.",
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "Update a AmlCompute Compute": { "$ref": "./examples/patchAmlCompute.json" }
+ "Update a AmlCompute Compute": {
+ "$ref": "./examples/patchAmlCompute.json"
+ }
},
"parameters": [
{
@@ -696,7 +733,9 @@
"description": "Deletes specified Machine Learning compute.",
"x-ms-long-running-operation": true,
"x-ms-examples": {
- "Delete Compute": { "$ref": "./examples/deleteCompute.json" }
+ "Delete Compute": {
+ "$ref": "./examples/deleteCompute.json"
+ }
},
"parameters": [
{
@@ -798,7 +837,9 @@
"operationId": "MachineLearningCompute_ListKeys",
"description": "Gets secrets related to Machine Learning compute (storage keys, service credentials, etc).",
"x-ms-examples": {
- "List AKS Compute Keys": { "$ref": "./examples/listKeysAKSCompute.json" }
+ "List AKS Compute Keys": {
+ "$ref": "./examples/listKeysAKSCompute.json"
+ }
},
"parameters": [
{
@@ -889,6 +930,14 @@
"description": "Version of Azure Machine Learning resource provider API.",
"required": true
},
+ "ExpandChildrenParameter": {
+ "in": "query",
+ "name": "expandChildren",
+ "type": "string",
+ "description": "Specifies if detailed usages of child resources are required.",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
"PaginationParameter": {
"in": "query",
"name": "$skiptoken",
@@ -930,7 +979,7 @@
"modelAsString": true
},
"x-ms-parameter-location": "method"
-}
+ }
},
"definitions": {
"Operation": {
@@ -1101,7 +1150,7 @@
"description": "The Usage Names."
},
"Usage": {
- "type":"object",
+ "type": "object",
"properties": {
"id": {
"readOnly": true,
@@ -1403,7 +1452,7 @@
},
{
"type": "object",
- "properties":{
+ "properties": {
"properties": {
"description": "Compute properties",
"$ref": "#/definitions/Compute"
@@ -1569,9 +1618,9 @@
"$ref": "#/definitions/UserAccountCredentials"
},
"subnet": {
- "title": "Subnet.",
- "description": "Virtual network subnet resource ID the compute nodes belong to.",
- "$ref": "#/definitions/ResourceId"
+ "title": "Subnet.",
+ "description": "Virtual network subnet resource ID the compute nodes belong to.",
+ "$ref": "#/definitions/ResourceId"
},
"allocationState": {
"type": "string",
@@ -1600,7 +1649,7 @@
"description": "Collection of errors encountered by various compute nodes during node setup.",
"type": "array",
"items": {
- "$ref": "#/definitions/MachineLearningServiceError"
+ "$ref": "#/definitions/MachineLearningServiceError"
}
},
"currentNodeCount": {
@@ -2189,4 +2238,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md
index 9206e90cea44..2b0d4d220ae7 100644
--- a/specification/machinelearningservices/resource-manager/readme.md
+++ b/specification/machinelearningservices/resource-manager/readme.md
@@ -65,6 +65,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-go
- repo: azure-sdk-for-python
- repo: azure-sdk-for-js
@@ -82,37 +83,10 @@ csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.MachineLearningServices
- output-folder: $(csharp-sdks-folder)/MachineLearningServices/Management.MachineLearningServices/Generated
+ output-folder: $(csharp-sdks-folder)/machinelearningservices/Microsoft.Azure.Management.MachineLearningServices/src/Generated
clear-output-folder: true
```
-## Python
-
-These settings apply only when `--python` is specified on the command line.
-Please also specify `--python-sdks-folder=`.
-Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
-
-``` yaml $(python)
-python-mode: create
-python:
- azure-arm: true
- license-header: MICROSOFT_MIT_NO_VERSION
- payload-flattening-threshold: 2
- namespace: azure.mgmt.machinelearningservices
- package-name: azure-mgmt-machinelearningservices
- package-version: 0.1.0
- clear-output-folder: true
-```
-``` yaml $(python) && $(python-mode) == 'update'
-python:
- no-namespace-folders: true
- output-folder: $(python-sdks-folder)/azure-mgmt-machinelearningservices/azure/mgmt/machinelearningservices
-```
-``` yaml $(python) && $(python-mode) == 'create'
-python:
- basic-setup-py: true
- output-folder: $(python-sdks-folder)/azure-mgmt-machinelearningservices
-```
## Go
@@ -179,3 +153,30 @@ java:
regenerate-manager: true
generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.MachineLearningServices/stable/2019-05-01/machineLearningServices.json
+ - $(this-folder)/Microsoft.MachineLearningServices/stable/2018-11-19/machineLearningServices.json
+ - $(this-folder)/Microsoft.MachineLearningServices/preview/2018-03-01-preview/machineLearningServices.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/machinelearningservices/resource-manager/readme.python.md b/specification/machinelearningservices/resource-manager/readme.python.md
new file mode 100644
index 000000000000..1adbed6eb50e
--- /dev/null
+++ b/specification/machinelearningservices/resource-manager/readme.python.md
@@ -0,0 +1,27 @@
+## Python
+
+These settings apply only when `--python` is specified on the command line.
+Please also specify `--python-sdks-folder=`.
+Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
+
+``` yaml $(python)
+python-mode: create
+python:
+ azure-arm: true
+ license-header: MICROSOFT_MIT_NO_VERSION
+ payload-flattening-threshold: 2
+ namespace: azure.mgmt.machinelearningservices
+ package-name: azure-mgmt-machinelearningservices
+ package-version: 0.1.0
+ clear-output-folder: true
+```
+``` yaml $(python) && $(python-mode) == 'update'
+python:
+ no-namespace-folders: true
+ output-folder: $(python-sdks-folder)/machinelearning/azure-mgmt-machinelearningservices/azure/mgmt/machinelearningservices
+```
+``` yaml $(python) && $(python-mode) == 'create'
+python:
+ basic-setup-py: true
+ output-folder: $(python-sdks-folder)/machinelearning/azure-mgmt-machinelearningservices
+```
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json
new file mode 100644
index 000000000000..11b5b3e89563
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksDelete.json
@@ -0,0 +1,14 @@
+{
+ "title": "Delete Managed Network",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json
new file mode 100644
index 000000000000..46f750fc191d
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksGet.json
@@ -0,0 +1,62 @@
+{
+ "title": "Get Managed Network",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myManagedNetwork",
+ "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
+ "type": "Microsoft.ManagedNetwork/managedNetworks",
+ "tags": {},
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "sadf-asdf-asdf-asdf",
+ "scope": {
+ "managementGroups": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000"
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000"
+ }
+ ],
+ "subscriptions": [
+ {
+ "id": "subscriptionA"
+ },
+ {
+ "id": "subscriptionB"
+ }
+ ],
+ "virtualNetworks": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB"
+ }
+ ]
+ },
+ "connectivity": {
+ "groups": [],
+ "peerings": []
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json
new file mode 100644
index 000000000000..eac86d4ff8bb
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json
@@ -0,0 +1,66 @@
+{
+ "title": "Get Managed Network",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myManagedNetwork",
+ "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
+ "type": "Microsoft.ManagedNetwork/managedNetworks",
+ "tags": {},
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "sadf-asdf-asdf-asdf",
+ "scope": {
+ "managementGroups": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000"
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000"
+ }
+ ],
+ "subscriptions": [
+ {
+ "id": "subscriptionA"
+ },
+ {
+ "id": "subscriptionB"
+ }
+ ],
+ "virtualNetworks": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB"
+ }
+ ]
+ },
+ "connectivity": {
+ "groups": [],
+ "peerings": []
+ }
+ }
+ }
+ ],
+ "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10"
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json
new file mode 100644
index 000000000000..be6cdeb0bad1
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksListBySubscription.json
@@ -0,0 +1,65 @@
+{
+ "title": "Get Managed Network",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myManagedNetwork",
+ "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
+ "type": "Microsoft.ManagedNetwork/managedNetworks",
+ "tags": {},
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "sadf-asdf-asdf-asdf",
+ "scope": {
+ "managementGroups": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000"
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000"
+ }
+ ],
+ "subscriptions": [
+ {
+ "id": "subscriptionA"
+ },
+ {
+ "id": "subscriptionB"
+ }
+ ],
+ "virtualNetworks": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB"
+ }
+ ]
+ },
+ "connectivity": {
+ "groups": [],
+ "peerings": []
+ }
+ }
+ }
+ ],
+ "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks?api-version=2019-06-01$skipToken=10"
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json
new file mode 100644
index 000000000000..e1c562701091
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPatch.json
@@ -0,0 +1,116 @@
+{
+ "title": "Create/Update Managed Network",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork",
+ "parameters": {
+ "tags": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myManagedNetwork",
+ "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
+ "type": "Microsoft.ManagedNetwork/managedNetworks",
+ "tags": {},
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "sadf-asdf-asdf-asdf",
+ "scope": {
+ "managementGroups": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000"
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000"
+ }
+ ],
+ "subscriptions": [
+ {
+ "id": "subscriptionA"
+ },
+ {
+ "id": "subscriptionB"
+ }
+ ],
+ "virtualNetworks": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB"
+ }
+ ]
+ },
+ "connectivity": {
+ "groups": [],
+ "peerings": []
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "myManagedNetwork",
+ "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
+ "type": "Microsoft.ManagedNetwork/managedNetworks",
+ "tags": {},
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "sadf-asdf-asdf-asdf",
+ "scope": {
+ "managementGroups": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000"
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000"
+ }
+ ],
+ "subscriptions": [
+ {
+ "id": "subscriptionA"
+ },
+ {
+ "id": "subscriptionB"
+ }
+ ],
+ "virtualNetworks": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB"
+ }
+ ]
+ },
+ "connectivity": {
+ "groups": [],
+ "peerings": []
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json
new file mode 100644
index 000000000000..084e5ebb2405
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetwork/ManagedNetworksPut.json
@@ -0,0 +1,153 @@
+{
+ "title": "Create/Update Managed Network",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork",
+ "managedNetwork": {
+ "tags": {},
+ "location": "eastus",
+ "properties": {
+ "scope": {
+ "managementGroups": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000"
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000"
+ }
+ ],
+ "subscriptions": [
+ {
+ "id": "subscriptionA"
+ },
+ {
+ "id": "subscriptionB"
+ }
+ ],
+ "virtualNetworks": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myManagedNetwork",
+ "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
+ "type": "Microsoft.ManagedNetwork/managedNetworks",
+ "tags": {},
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "sadf-asdf-asdf-asdf",
+ "scope": {
+ "managementGroups": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000"
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000"
+ }
+ ],
+ "subscriptions": [
+ {
+ "id": "subscriptionA"
+ },
+ {
+ "id": "subscriptionB"
+ }
+ ],
+ "virtualNetworks": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB"
+ }
+ ]
+ },
+ "connectivity": {
+ "groups": [],
+ "peerings": []
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "myManagedNetwork",
+ "id": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork",
+ "type": "Microsoft.ManagedNetwork/managedNetworks",
+ "tags": {},
+ "location": "eastus",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "sadf-asdf-asdf-asdf",
+ "scope": {
+ "managementGroups": [
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0001-0000-0000-000000000000"
+ },
+ {
+ "id": "providers/Microsoft.Management/managementGroups/20000000-0002-0000-0000-000000000000"
+ }
+ ],
+ "subscriptions": [
+ {
+ "id": "subscriptionA"
+ },
+ {
+ "id": "subscriptionB"
+ }
+ ],
+ "virtualNetworks": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetA"
+ },
+ {
+ "id": "subscriptions/subscriptionC/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetC/subnets/subnetB"
+ }
+ ]
+ },
+ "connectivity": {
+ "groups": [],
+ "peerings": []
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json
new file mode 100644
index 000000000000..bc71484ad16c
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json
@@ -0,0 +1,15 @@
+{
+ "title": "Delete Managed Network Group",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork",
+ "managedNetworkGroupName": "myManagedNetworkGroup1"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json
new file mode 100644
index 000000000000..a145cdb74f37
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json
@@ -0,0 +1,38 @@
+{
+ "title": "Get Managed Network Group",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork",
+ "managedNetworkGroupName": "myManagedNetworkGroup1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myManagedNetworkGroup1",
+ "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1",
+ "type": "Microsoft.ManagedNetwork/managedNetworkGroups",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "asdf-asdf-asdf1",
+ "managementGroups": [],
+ "subscriptions": [],
+ "virtualNetworks": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json
new file mode 100644
index 000000000000..dbbaf7ad1739
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json
@@ -0,0 +1,42 @@
+{
+ "title": "Get Managed Network Group",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myManagedNetworkGroup1",
+ "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1",
+ "type": "Microsoft.ManagedNetwork/managedNetworkGroups",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "asdf-asdf-asdf1",
+ "managementGroups": [],
+ "subscriptions": [],
+ "virtualNetworks": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA"
+ }
+ ]
+ }
+ }
+ ],
+ "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups?api-version=2019-06-01&$skipToken=10"
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json
new file mode 100644
index 000000000000..7c927ac6945f
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json
@@ -0,0 +1,83 @@
+{
+ "title": "Create/Update Managed Network Group",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork",
+ "managedNetworkGroupName": "myManagedNetworkGroup1",
+ "managedNetworkGroup": {
+ "properties": {
+ "managementGroups": [],
+ "subscriptions": [],
+ "virtualNetworks": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myManagedNetworkGroup1",
+ "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1",
+ "type": "Microsoft.ManagedNetwork/managedNetworkGroups",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "asdf-asdf-asdf1",
+ "managementGroups": [],
+ "subscriptions": [],
+ "virtualNetworks": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "myManagedNetworkGroup1",
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1",
+ "type": "Microsoft.ManagedNetwork/managedNetworkGroups",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "asdf-asdf-asdf1",
+ "managementGroups": [],
+ "subscriptions": [],
+ "virtualNetworks": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA"
+ },
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetB"
+ }
+ ],
+ "subnets": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/VnetA/subnets/subnetA"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json
new file mode 100644
index 000000000000..fc081eb2399c
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json
@@ -0,0 +1,15 @@
+{
+ "title": "Get Managed Network Peering Policy",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork",
+ "managedNetworkPeeringPolicyName": "myHubAndSpoke"
+ },
+ "responses": {
+ "200": {},
+ "202": {},
+ "204": {}
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json
new file mode 100644
index 000000000000..f7dabe223031
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json
@@ -0,0 +1,32 @@
+{
+ "title": "Get Managed Network Peering Policy",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork",
+ "managedNetworkPeeringPolicyName": "myHubAndSpoke"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myHubAndSpoke",
+ "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke",
+ "type": "Microsoft.ManagedNetwork/peeringPolicies",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "asdf-asdf-asdf2",
+ "peeringPolicyType": "HubAndSpokeTopology",
+ "hub": {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet"
+ },
+ "spokes": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json
new file mode 100644
index 000000000000..6934ff5c83e6
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json
@@ -0,0 +1,36 @@
+{
+ "title": "Get Managed Network Group",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "myHubAndSpoke",
+ "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke",
+ "type": "Microsoft.ManagedNetwork/peeringPolicies",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "asdf-asdf-asdf2",
+ "peeringPolicyType": "HubAndSpokeTopology",
+ "hub": {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet"
+ },
+ "spokes": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1"
+ }
+ ]
+ }
+ }
+ ],
+ "nextLink": "{baseurl}/subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies?api-version=2019-06-01&$skipToken=10"
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json
new file mode 100644
index 000000000000..a09f56bd3de4
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json
@@ -0,0 +1,65 @@
+{
+ "title": "Create/Update Managed Network Peering Policy",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "subscriptionId": "subscriptionA",
+ "resourceGroupName": "myResourceGroup",
+ "managedNetworkName": "myManagedNetwork",
+ "managedNetworkPeeringPolicyName": "myHubAndSpoke",
+ "managedNetworkPolicy": {
+ "properties": {
+ "peeringPolicyType": "HubAndSpokeTopology",
+ "hub": {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet"
+ },
+ "spokes": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1"
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "myHubAndSpoke",
+ "id": "/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke",
+ "type": "Microsoft.ManagedNetwork/peeringPolicies",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "asdf-asdf-asdf2",
+ "peeringPolicyType": "HubAndSpokeTopology",
+ "hub": {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet"
+ },
+ "spokes": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1"
+ }
+ ]
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "myHubAndSpoke",
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkPeeringPolicies/myHubAndSpoke",
+ "type": "Microsoft.ManagedNetwork/peeringPolicies",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "asdf-asdf-asdf2",
+ "peeringPolicyType": "HubAndSpokeTopology",
+ "hub": {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet"
+ },
+ "spokes": [
+ {
+ "id": "/subscriptionB/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork/managedNetworkGroups/myManagedNetworkGroup1"
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json
new file mode 100644
index 000000000000..f9c417947452
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsDelete.json
@@ -0,0 +1,11 @@
+{
+ "title": "Create/Update Managed Network",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "scope": "subscriptions/subscriptionC",
+ "scopeAssignmentName": "subscriptionCAssignment"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json
new file mode 100644
index 000000000000..0a80f8a74d2c
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsGet.json
@@ -0,0 +1,20 @@
+{
+ "title": "Create/Update Managed Network",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "scope": "subscriptions/subscriptionC",
+ "scopeAssignmentName": "subscriptionCAssignment"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "subscriptionCAssignment",
+ "id": "subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment",
+ "type": "Microsoft.ManagedNetwork/scopeAssignment",
+ "properties": {
+ "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json
new file mode 100644
index 000000000000..47daf72edb4c
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsList.json
@@ -0,0 +1,26 @@
+{
+ "title": "Create/Update Managed Network",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "scope": "subscriptions/subscriptionC"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "subscriptionCAssignemnt",
+ "id": "subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment",
+ "type": "Microsoft.ManagedNetwork/scopeAssignment",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "sadf-asdf-asdf-asdf",
+ "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork"
+ }
+ }
+ ],
+ "nextLink": "{baseurl}/subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments?api-version=2019-06-01&$skipToken=10"
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json
new file mode 100644
index 000000000000..9e346c1e37fa
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/examples/ScopeAssignment/ScopeAssignmentsPut.json
@@ -0,0 +1,39 @@
+{
+ "title": "Create/Update Managed Network",
+ "parameters": {
+ "api-version": "2019-06-01",
+ "scope": "subscriptions/subscriptionC",
+ "scopeAssignmentName": "subscriptionCAssignment",
+ "parameters": {
+ "properties": {
+ "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "name": "subscriptionCAssignment",
+ "id": "subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment",
+ "type": "Microsoft.ManagedNetwork/scopeAssignment",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "sadf-asdf-asdf-asdf",
+ "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "name": "subscriptionCAssignment",
+ "id": "subscriptions/subscriptionC/providers/Microsoft.ManagedNetwork/scopeAssignments/subscriptionCAssignment",
+ "type": "Microsoft.ManagedNetwork/scopeAssignment",
+ "properties": {
+ "provisioningState": "Succeeded",
+ "etag": "sadf-asdf-asdf-asdf",
+ "assignedManagedNetwork": "subscriptions/subscriptionA/resourceGroups/myResourceGroup/providers/Microsoft.ManagedNetwork/managedNetworks/myManagedNetwork"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json
new file mode 100644
index 000000000000..661b8e6bddcb
--- /dev/null
+++ b/specification/managednetwork/resource-manager/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json
@@ -0,0 +1,1561 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "ManagedNetworkManagementClient",
+ "description": "The Microsoft Azure Managed Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to programmatically view, control, change, and monitor your entire Azure network centrally and with ease.",
+ "version": "2019-06-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}": {
+ "get": {
+ "tags": [
+ "ManagedNetworks"
+ ],
+ "operationId": "ManagedNetworks_Get",
+ "description": "The Get ManagedNetworks operation gets a Managed Network Resource, specified by the resource group and Managed Network name",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get successful. The operation returns the specified Managed Network resource.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetwork"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedNetworksGet": {
+ "$ref": "./examples/ManagedNetwork/ManagedNetworksGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ManagedNetworks"
+ ],
+ "operationId": "ManagedNetworks_CreateOrUpdate",
+ "description": "The Put ManagedNetworks operation creates/updates a Managed Network Resource, specified by resource group and Managed Network name",
+ "parameters": [
+ {
+ "name": "managedNetwork",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedNetwork"
+ },
+ "description": "Parameters supplied to the create/update a Managed Network Resource"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting Managed Network resource.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetwork"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting Managed Network resource.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetwork"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedNetworksPut": {
+ "$ref": "./examples/ManagedNetwork/ManagedNetworksPut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ManagedNetworks"
+ ],
+ "operationId": "ManagedNetworks_Delete",
+ "description": "The Delete ManagedNetworks operation deletes a Managed Network Resource, specified by the resource group and Managed Network name",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedNetworksDelete": {
+ "$ref": "./examples/ManagedNetwork/ManagedNetworksDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "patch": {
+ "tags": [
+ "ManagedNetworks"
+ ],
+ "operationId": "ManagedNetworks_Update",
+ "description": "Updates the specified Managed Network resource tags.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkUpdate"
+ },
+ "description": "Parameters supplied to update application gateway tags and/or scope."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the updated Managed Network resource.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetwork"
+ }
+ },
+ "201": {
+ "description": "Update successful. The operation returns the updated Managed Network resource.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetwork"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedNetworksPatch": {
+ "$ref": "./examples/ManagedNetwork/ManagedNetworksPatch.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks": {
+ "get": {
+ "tags": [
+ "ManagedNetworks"
+ ],
+ "operationId": "ManagedNetworks_ListByResourceGroup",
+ "description": "The ListByResourceGroup ManagedNetwork operation retrieves all the Managed Network resources in a resource group in a paginated format.",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ListPageSizeParameter"
+ },
+ {
+ "$ref": "#/parameters/ListSkipTokenParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get successful. The operation returns all Managed Network resources under the specified resource group in a paginated format",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkListResult"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedNetworksListByResourceGroup": {
+ "$ref": "./examples/ManagedNetwork/ManagedNetworksListByResourceGroup.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/Microsoft.ManagedNetwork/managedNetworks": {
+ "get": {
+ "tags": [
+ "ManagedNetworks"
+ ],
+ "operationId": "ManagedNetworks_ListBySubscription",
+ "description": "The ListBySubscription ManagedNetwork operation retrieves all the Managed Network Resources in the current subscription in a paginated format.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ListPageSizeParameter"
+ },
+ {
+ "$ref": "#/parameters/ListSkipTokenParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get successful. The operation returns all Managed Network resources under the current subscription in a paginated format.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkListResult"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ManagedNetworksListBySubscription": {
+ "$ref": "./examples/ManagedNetwork/ManagedNetworksListBySubscription.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments/{scopeAssignmentName}": {
+ "get": {
+ "tags": [
+ "ScopeAssignments"
+ ],
+ "operationId": "ScopeAssignments_Get",
+ "description": "Get the specified scope assignment.",
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The base resource of the scope assignment.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "scopeAssignmentName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the scope assignment to get."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the scope assignment.",
+ "schema": {
+ "$ref": "#/definitions/ScopeAssignment"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ScopeAssignmentsGet": {
+ "$ref": "./examples/ScopeAssignment/ScopeAssignmentsGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ScopeAssignments"
+ ],
+ "operationId": "ScopeAssignments_CreateOrUpdate",
+ "description": "Creates a scope assignment.",
+ "parameters": [
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ScopeAssignment"
+ },
+ "description": "Parameters supplied to the specify which Managed Network this scope is being assigned"
+ },
+ {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The base resource of the scope assignment to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "scopeAssignmentName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the scope assignment to create."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Updated - Returns information about the scope assignment.",
+ "schema": {
+ "$ref": "#/definitions/ScopeAssignment"
+ }
+ },
+ "201": {
+ "description": "Created - Returns information about the scope assignment.",
+ "schema": {
+ "$ref": "#/definitions/ScopeAssignment"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ScopeAssignmentsPut": {
+ "$ref": "./examples/ScopeAssignment/ScopeAssignmentsPut.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "ScopeAssignments"
+ ],
+ "operationId": "ScopeAssignments_Delete",
+ "description": "Deletes a scope assignment.",
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The scope of the scope assignment to delete.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "name": "scopeAssignmentName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the scope assignment to delete."
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete Succeed."
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed."
+ }
+ },
+ "x-ms-examples": {
+ "ScopeAssignmentsDelete": {
+ "$ref": "./examples/ScopeAssignment/ScopeAssignmentsDelete.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedNetwork/scopeAssignments": {
+ "get": {
+ "tags": [
+ "ScopeAssignments"
+ ],
+ "operationId": "ScopeAssignments_List",
+ "description": "Get the specified scope assignment.",
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "parameters": [
+ {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The base resource of the scope assignment.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns information about the scope assignment.",
+ "schema": {
+ "$ref": "#/definitions/ScopeAssignmentListResult"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ScopeAssignmentsList": {
+ "$ref": "./examples/ScopeAssignment/ScopeAssignmentsList.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups/{managedNetworkGroupName}": {
+ "get": {
+ "tags": [
+ "ManagedNetworkGroups"
+ ],
+ "operationId": "ManagedNetworkGroups_Get",
+ "description": "The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkGroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get successful. The operation returns the specified Managed Network Group resource.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkGroup"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagementNetworkGroupsGet": {
+ "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ManagedNetworkGroups"
+ ],
+ "operationId": "ManagedNetworkGroups_CreateOrUpdate",
+ "description": "The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource",
+ "parameters": [
+ {
+ "name": "managedNetworkGroup",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkGroup"
+ },
+ "description": "Parameters supplied to the create/update a Managed Network Group resource"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkGroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting Managed Network Group resource.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkGroup"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting Managed Network Group resource.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkGroup"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagementNetworkGroupsPut": {
+ "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsPut.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "delete": {
+ "tags": [
+ "ManagedNetworkGroups"
+ ],
+ "operationId": "ManagedNetworkGroups_Delete",
+ "description": "The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkGroupNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagementNetworkGroupsDelete": {
+ "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkGroups": {
+ "get": {
+ "tags": [
+ "ManagedNetworkGroups"
+ ],
+ "operationId": "ManagedNetworkGroups_ListByManagedNetwork",
+ "description": "The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ListPageSizeParameter"
+ },
+ {
+ "$ref": "#/parameters/ListSkipTokenParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get successful. The operation returns all Managed Network Group resources under the specified Managed Network in a paginated format.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkGroupListResult"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ManagedNetworksGroupsListByManagedNetwork": {
+ "$ref": "./examples/ManagedNetworkGroup/ManagedNetworkGroupsListByManagedNetwork.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies/{managedNetworkPeeringPolicyName}": {
+ "get": {
+ "tags": [
+ "ManagedNetworkPeeringPolicies"
+ ],
+ "operationId": "ManagedNetworkPeeringPolicies_Get",
+ "description": "The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get successful. The operation returns the specified Managed Network Peering Policy resource.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkPeeringPolicy"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedNetworkPeeringPoliciesGet": {
+ "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesGet.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "ManagedNetworkPeeringPolicies"
+ ],
+ "operationId": "ManagedNetworkPeeringPolicies_CreateOrUpdate",
+ "description": "The Put ManagedNetworkPeeringPolicies operation creates/updates a new Managed Network Peering Policy",
+ "parameters": [
+ {
+ "name": "managedNetworkPolicy",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkPeeringPolicy"
+ },
+ "description": "Parameters supplied to create/update a Managed Network Peering Policy"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Update successful. The operation returns the resulting Managed Network Peering Policy resource.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkPeeringPolicy"
+ }
+ },
+ "201": {
+ "description": "Create successful. The operation returns the resulting Managed Network Peering Policy resource.",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkPeeringPolicy"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedNetworkPeeringPoliciesPut": {
+ "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesPut.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ },
+ "delete": {
+ "tags": [
+ "ManagedNetworkPeeringPolicies"
+ ],
+ "operationId": "ManagedNetworkPeeringPolicies_Delete",
+ "description": "The Delete ManagedNetworkPeeringPolicies operation deletes a Managed Network Peering Policy, specified by the resource group, Managed Network name, and peering policy name",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkPeeringPolicyNameParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Delete successful."
+ },
+ "202": {
+ "description": "Accepted and the operation will complete asynchronously."
+ },
+ "204": {
+ "description": "Request successful. Resource does not exist."
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "ManagedNetworkPeeringPoliciesDelete": {
+ "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesDelete.json"
+ }
+ },
+ "x-ms-long-running-operation": true,
+ "x-ms-long-running-operation-options": {
+ "final-state-via": "azure-async-operation"
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetwork/managedNetworks/{managedNetworkName}/managedNetworkPeeringPolicies": {
+ "get": {
+ "tags": [
+ "ManagedNetworkPeeringPolicies"
+ ],
+ "operationId": "ManagedNetworkPeeringPolicies_ListByManagedNetwork",
+ "description": "The ListByManagedNetwork PeeringPolicies operation retrieves all the Managed Network Peering Policies in a specified Managed Network, in a paginated format.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ManagedNetworkNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ListPageSizeParameter"
+ },
+ {
+ "$ref": "#/parameters/ListSkipTokenParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Get successful. The operation returns all Managed Network Peering Policy resources in the specified Managed Network, in a paginated format",
+ "schema": {
+ "$ref": "#/definitions/ManagedNetworkPeeringPolicyListResult"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "ManagedNetworkPeeringPoliciesListByManagedNetwork": {
+ "$ref": "./examples/ManagedNetworkPeeringPolicy/ManagedNetworkPeeringPoliciesListByManagedNetwork.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.ManagedNetwork/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "description": "Lists all of the available MNC operations.",
+ "operationId": "Operations_List",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK. The request has succeeded.",
+ "schema": {
+ "$ref": "#/definitions/OperationListResult"
+ }
+ },
+ "default": {
+ "description": "Resource Provider error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ManagedNetwork": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ManagedNetworkProperties",
+ "description": "The MNC properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/TrackedResource"
+ }
+ ],
+ "description": "The Managed Network resource"
+ },
+ "ManagedNetworkProperties": {
+ "type": "object",
+ "properties": {
+ "scope": {
+ "readOnly": true,
+ "$ref": "#/definitions/Scope",
+ "description": "The collection of management groups, subscriptions, virtual networks, and subnets by the Managed Network. This is a read-only property that is reflective of all ScopeAssignments for this Managed Network"
+ },
+ "connectivity": {
+ "$ref": "#/definitions/ConnectivityCollection",
+ "readOnly": true,
+ "description": "The collection of groups and policies concerned with connectivity"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceProperties"
+ }
+ ],
+ "description": "Properties of Managed Network"
+ },
+ "ManagedNetworkUpdate": {
+ "type": "object",
+ "properties": {
+ "tags": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/TagsObject",
+ "description": "Updates the tags property of the Managed Network"
+ }
+ },
+ "description": "Update Tags of Managed Network"
+ },
+ "ManagedNetworkListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedNetwork"
+ },
+ "description": "Gets a page of ManagedNetworks"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Gets the URL to get the next page of results."
+ }
+ },
+ "description": "Result of the request to list Managed Network. It contains a list of Managed Networks and a URL link to get the next set of results."
+ },
+ "Scope": {
+ "properties": {
+ "managementGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "The collection of management groups covered by the Managed Network"
+ },
+ "subscriptions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "The collection of subscriptions covered by the Managed Network"
+ },
+ "virtualNetworks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "The collection of virtual nets covered by the Managed Network"
+ },
+ "subnets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "The collection of subnets covered by the Managed Network"
+ }
+ },
+ "description": "Scope of a Managed Network"
+ },
+ "ScopeAssignment": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ScopeAssignmentProperties",
+ "description": "The Scope Assignment properties"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "description": "The Managed Network resource"
+ },
+ "ScopeAssignmentListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ScopeAssignment"
+ },
+ "description": "Gets a page of ScopeAssignment"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Gets the URL to get the next set of results."
+ }
+ },
+ "description": "Result of the request to list ScopeAssignment. It contains a list of groups and a URL link to get the next set of results."
+ },
+ "ScopeAssignmentProperties": {
+ "type": "object",
+ "properties": {
+ "assignedManagedNetwork": {
+ "type": "string",
+ "description": "The managed network ID with scope will be assigned to."
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceProperties"
+ }
+ ],
+ "description": "Properties of Managed Network"
+ },
+ "ConnectivityCollection": {
+ "properties": {
+ "groups": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedNetworkGroup"
+ },
+ "description": "The collection of connectivity related Managed Network Groups within the Managed Network"
+ },
+ "peerings": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedNetworkPeeringPolicy"
+ },
+ "description": "The collection of Managed Network Peering Policies within the Managed Network"
+ }
+ },
+ "description": "The collection of Connectivity related groups and policies within the Managed Network"
+ },
+ "ManagedNetworkGroup": {
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ManagedNetworkGroupProperties",
+ "description": "Gets or sets the properties of a network group"
+ },
+ "kind": {
+ "description": "Responsibility role under which this Managed Network Group will be created",
+ "enum": [
+ "Connectivity"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "Kind",
+ "modelAsString": true
+ }
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "description": "The Managed Network Group resource"
+ },
+ "ManagedNetworkGroupProperties": {
+ "properties": {
+ "managementGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "The collection of management groups covered by the Managed Network"
+ },
+ "subscriptions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "The collection of subscriptions covered by the Managed Network"
+ },
+ "virtualNetworks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "The collection of virtual nets covered by the Managed Network"
+ },
+ "subnets": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "The collection of subnets covered by the Managed Network"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceProperties"
+ }
+ ],
+ "description": "Properties of a Managed Network Group"
+ },
+ "ManagedNetworkGroupListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedNetworkGroup"
+ },
+ "description": "Gets a page of ManagedNetworkGroup"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Gets the URL to get the next set of results."
+ }
+ },
+ "description": "Result of the request to list Managed Network Groups. It contains a list of groups and a URL link to get the next set of results."
+ },
+ "ManagedNetworkPeeringPolicy": {
+ "properties": {
+ "properties": {
+ "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties",
+ "description": "Gets or sets the properties of a Managed Network Policy"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "description": "The Managed Network Peering Policy resource"
+ },
+ "ManagedNetworkPeeringPolicyProperties": {
+ "discriminator": "peeringPolicyType",
+ "properties": {
+ "peeringPolicyType": {
+ "type": "string",
+ "enum": [
+ "HubAndSpokeTopology",
+ "MeshTopology"
+ ],
+ "x-ms-enum": {
+ "name": "type",
+ "modelAsString": true
+ },
+ "description": "Gets or sets the connectivity type of a network structure policy"
+ },
+ "hub": {
+ "$ref": "#/definitions/ResourceId",
+ "description": "Gets or sets the hub virtual network ID"
+ },
+ "spokes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "Gets or sets the spokes group IDs"
+ },
+ "mesh": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "Gets or sets the mesh group IDs"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ResourceProperties"
+ }
+ ],
+ "required": [
+ "peeringPolicyType"
+ ],
+ "description": "Properties of a Managed Network Peering Policy"
+ },
+ "HubAndSpokePeeringPolicyProperties": {
+ "x-ms-discriminator-value": "HubAndSpokeTopology",
+ "properties": {
+ "hub": {
+ "$ref": "#/definitions/ResourceId",
+ "description": "Gets or sets the hub virtual network ID"
+ },
+ "spokes": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "Gets or sets the spokes group IDs"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties"
+ }
+ ],
+ "description": "Properties of a Hub and Spoke Peering Policy"
+ },
+ "MeshPeeringPolicyProperties": {
+ "x-ms-discriminator-value": "MeshTopology",
+ "properties": {
+ "mesh": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ResourceId"
+ },
+ "description": "Gets or sets the mesh group IDs"
+ }
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/ManagedNetworkPeeringPolicyProperties"
+ }
+ ],
+ "description": "Properties of a Mesh Peering Policy"
+ },
+ "ManagedNetworkPeeringPolicyListResult": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ManagedNetworkPeeringPolicy"
+ },
+ "description": "Gets a page of Peering Policies"
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "Gets the URL to get the next page of results."
+ }
+ },
+ "description": "Result of the request to list Managed Network Peering Policies. It contains a list of policies and a URL link to get the next set of results."
+ },
+ "ErrorResponse": {
+ "description": "The error response that indicates why an operation has failed.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "The error code.",
+ "type": "string",
+ "readOnly": true
+ },
+ "message": {
+ "description": "The error message.",
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "Operation": {
+ "description": "REST API operation",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "Operation name: {provider}/{resource}/{operation}",
+ "type": "string"
+ },
+ "display": {
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "description": "Service provider: Microsoft.ManagedNetwork",
+ "type": "string"
+ },
+ "resource": {
+ "description": "Resource on which the operation is performed: Profile, endpoint, etc.",
+ "type": "string"
+ },
+ "operation": {
+ "description": "Operation type: Read, write, delete, etc.",
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "OperationListResult": {
+ "description": "Result of the request to list Managed Network operations. It contains a list of operations and a URL link to get the next set of results.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Resource Provider operations supported by the Managed Network resource provider."
+ },
+ "nextLink": {
+ "type": "string",
+ "description": "URL to get the next set of operation list results if there are any."
+ }
+ }
+ },
+ "Resource": {
+ "description": "The general resource model definition",
+ "properties": {
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The name of the resource"
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts."
+ }
+ },
+ "x-ms-azure-resource": true
+ },
+ "TrackedResource": {
+ "description": "The resource model definition for a ARM tracked top level resource",
+ "properties": {
+ "tags": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "x-ms-mutability": [
+ "read",
+ "create",
+ "update"
+ ],
+ "description": "Resource tags."
+ },
+ "location": {
+ "type": "string",
+ "x-ms-mutability": [
+ "read",
+ "create"
+ ],
+ "description": "The geo-location where the resource lives"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ]
+ },
+ "ProxyResource": {
+ "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ]
+ },
+ "ResourceId": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Resource Id"
+ }
+ },
+ "description": "Generic pointer to a resource"
+ },
+ "TagsObject": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags."
+ },
+ "ResourceProperties": {
+ "properties": {
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Provisioning state of the ManagedNetwork resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.",
+ "enum": [
+ "Updating",
+ "Deleting",
+ "Failed",
+ "Succeeded"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "etag": {
+ "type": "string",
+ "readOnly": true,
+ "description": "A unique read-only string that changes whenever the resource is updated."
+ }
+ },
+ "description": "Base for resource properties."
+ }
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
+ },
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedNetworkNameParameter": {
+ "name": "managedNetworkName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Managed Network.",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedNetworkGroupNameParameter": {
+ "name": "managedNetworkGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Managed Network Group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ManagedNetworkPeeringPolicyNameParameter": {
+ "name": "managedNetworkPeeringPolicyName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the Managed Network Peering Policy.",
+ "x-ms-parameter-location": "method"
+ },
+ "ListPageSizeParameter": {
+ "name": "$top",
+ "description": "May be used to limit the number of results in a page for list queries.",
+ "in": "query",
+ "required": false,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 20,
+ "x-ms-parameter-location": "method"
+ },
+ "ListSkipTokenParameter": {
+ "name": "$skiptoken",
+ "description": "Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "x-ms-parameter-location": "method"
+ }
+ }
+}
diff --git a/specification/managednetwork/resource-manager/readme.go.md b/specification/managednetwork/resource-manager/readme.go.md
new file mode 100644
index 000000000000..f1cd2be36ad8
--- /dev/null
+++ b/specification/managednetwork/resource-manager/readme.go.md
@@ -0,0 +1,26 @@
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+``` yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ namespace: managednetwork
+ clear-output-folder: true
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-06-01-preview
+```
+
+### Tag: package-2019-06-01-preview and go
+
+These settings apply only when `--tag=package-2019-06-01-preview --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-06-01-preview' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-06-01-preview/$(namespace)
+```
diff --git a/specification/managednetwork/resource-manager/readme.md b/specification/managednetwork/resource-manager/readme.md
new file mode 100644
index 000000000000..37cf92ae60cc
--- /dev/null
+++ b/specification/managednetwork/resource-manager/readme.md
@@ -0,0 +1,85 @@
+# Managed Network
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for Managed Network.
+
+
+
+---
+## Getting Started
+To build the SDK for Managed Network, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+
+
+
+### Basic Information
+These are the global settings for the Managed Network API.
+
+``` yaml
+openapi-type: arm
+tag: package-2019-06-01-preview
+```
+
+### Tag: package-2019-03-01-preview
+
+These settings apply only when `--tag=package-2019-06-01-preview` is specified on the command line.
+
+``` yaml $(tag) == 'package-2019-06-01-preview'
+input-file:
+- Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json
+```
+# Code Generation
+
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+``` yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-python
+ - repo: azure-sdk-for-java
+ - repo: azure-sdk-for-go
+ - repo: azure-sdk-for-net
+ - repo: azure-sdk-for-js
+ - repo: azure-sdk-for-node
+ - repo: azure-sdk-for-ruby
+ after_scripts:
+ - bundle install && rake arm:regen_all_profiles['azure_mgmt_managed_network']
+```
+
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.ManagedNetwork/preview/2019-06-01-preview/managedNetwork.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationAssignment.json
new file mode 100644
index 000000000000..bf296dd20764
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationAssignment.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {},
+ "202": {}
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationDefinition.json
new file mode 100644
index 000000000000..e49cd019a9f7
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/DeleteRegistrationDefinition.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetOperations.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetOperations.json
new file mode 100644
index 000000000000..56d89bd46400
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetOperations.json
@@ -0,0 +1,22 @@
+{
+ "parameters": {
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.ManagedServices/registrationDefinitions/read",
+ "display": {
+ "provider": "Microsoft Managed Services",
+ "resource": "Managed Services Registration Definition",
+ "operation": "List Managed Services Registration Definitions",
+ "description": "Retrieves a list of Managed Services registration definitions."
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignment.json
new file mode 100644
index 000000000000..37b79850b164
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignment.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded",
+ "registrationDefinition": {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854",
+ "manageeTenantName": "test_test_aad_SbtFhyGiLHPFm",
+ "managedByTenantName": "Contoso Corp."
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-8e081c90ada2"
+ }
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignments.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignments.json
new file mode 100644
index 000000000000..f3355d221f1f
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationAssignments.json
@@ -0,0 +1,49 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded",
+ "registrationDefinition": {
+ "properties": {
+ "description": "Test",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "manageeTenantId": "01c0bcd5-4f47-4e4b-b492-418b7e2a8854",
+ "manageeTenantName": "test_test_aad_SbtFhyGiLHPFm",
+ "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc",
+ "managedByTenantName": "Contoso Corp."
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-8e081c90ada2"
+ }
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinition.json
new file mode 100644
index 000000000000..a772ff5161d3
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinition.json
@@ -0,0 +1,35 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "Test",
+ "registrationDefinitionName": "DefinitionName",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinitions.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinitions.json
new file mode 100644
index 000000000000..dbf8cc57fb18
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/GetRegistrationDefinitions.json
@@ -0,0 +1,38 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "api-version": "2019-06-01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationAssignment.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationAssignment.json
new file mode 100644
index 000000000000..db26691b85b0
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationAssignment.json
@@ -0,0 +1,36 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationAssignmentId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01",
+ "requestBody": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "registrationDefinitionId": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-8e081c90ada2",
+ "provisioningState": "Succeeded"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8c82-a144aff49dea/providers/Microsoft.ManagedServices/registrationAssignments/484a7d5f-9729-4b87-bc9b-26610985a013",
+ "type": "Microsoft.ManagedServices/registrationAssignments",
+ "name": "484a7d5f-9729-4b87-bc9b-26610985a013"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationDefinition.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationDefinition.json
new file mode 100644
index 000000000000..5c5fde7daceb
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/examples/PutRegistrationDefinition.json
@@ -0,0 +1,80 @@
+{
+ "parameters": {
+ "scope": "subscription/0afefe50-734e-4610-8a82-a144ahf49dea",
+ "registrationDefinitionId": "26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "api-version": "2019-06-01",
+ "requestBody": {
+ "properties": {
+ "registrationDefinitionName": "DefinitionName",
+ "description": "Tes1t",
+ "managedByTenantId": "83abe5cd-bcc3-441a-bd86-e6a75360cecc",
+ "authorizations": [
+ {
+ "principalId": "f98d86a2-4cc4-4e9d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ]
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ },
+ "201": {
+ "body": {
+ "properties": {
+ "description": "Test",
+ "managedByTenantId": "83ace5cd-bcc3-441a-hd86-e6a75360cecc",
+ "registrationDefinitionName": "DefinitionName",
+ "authorizations": [
+ {
+ "principalId": "f98g86a2-4cc4-4e6d-ad47-b3e80a1bcdfc",
+ "roleDefinitionId": "acdd72a7-3385-48ef-bd42-f606fba81ae7"
+ }
+ ],
+ "provisioningState": "Succeeded",
+ "managedByTenantName": "Test Tenant"
+ },
+ "plan": {
+ "name": "addesai-plan",
+ "product": "test",
+ "publisher": "marketplace-test",
+ "version": "1.0.0"
+ },
+ "id": "/subscriptions/0afefe50-734e-4610-8a82-a144ahf49dea/providers/Microsoft.ManagedServices/registrationDefinitions/26c128c2-fefa-4340-9bb1-6e081c90ada2",
+ "type": "Microsoft.ManagedServices/registrationDefinitions",
+ "name": "26c128c2-fefa-4340-9bb1-6e081c90ada2"
+ }
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json
new file mode 100644
index 000000000000..6f4a6b03172c
--- /dev/null
+++ b/specification/managedservices/resource-manager/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json
@@ -0,0 +1,846 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "title": "ManagedServicesClient",
+ "version": "2019-06-01",
+ "description": "Specification for ManagedServices."
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/{scope}/providers/Microsoft.ManagedServices/registrationDefinitions/{registrationDefinitionId}": {
+ "get": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_Get",
+ "description": "Gets the registration definition details.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/registrationDefinitionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns the complete registration definition with plan details.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Registration Definition": {
+ "$ref": "./examples/GetRegistrationDefinition.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_Delete",
+ "description": "Deletes the registration definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/registrationDefinitionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - The registration definition is deleted."
+ },
+ "204": {
+ "description": "No Content- The registration definition does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Registration Definition": {
+ "$ref": "./examples/DeleteRegistrationDefinition.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "description": "Creates or updates a registration definition.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/registrationDefinitionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "name": "requestBody",
+ "in": "body",
+ "required": true,
+ "description": "The parameters required to create new registration definition.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok - Returns information about the updated registration definition.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ },
+ "201": {
+ "description": "Created - Returns information about the created registration definition.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Put Registration Definition": {
+ "$ref": "./examples/PutRegistrationDefinition.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedServices/registrationAssignments/{registrationAssignmentId}": {
+ "get": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_Get",
+ "description": "Gets the details of specified registration assignment.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistrationAssignmentIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ExpandRegistrationDefinition"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns the registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Registration Assignment": {
+ "$ref": "./examples/GetRegistrationAssignment.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_Delete",
+ "x-ms-long-running-operation": true,
+ "description": "Deletes the specified registration assignment.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistrationAssignmentIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - The registration assignment is deleted."
+ },
+ "202": {
+ "description": "Accepted - The registration assignment deletion operation is accepted."
+ },
+ "204": {
+ "description": "No Content- The registration assignment does not exist."
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Delete Registration Assignment": {
+ "$ref": "./examples/DeleteRegistrationAssignment.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_CreateOrUpdate",
+ "x-ms-long-running-operation": true,
+ "description": "Creates or updates a registration assignment.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/RegistrationAssignmentIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "requestBody",
+ "in": "body",
+ "required": true,
+ "description": "The parameters required to create new registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "Ok - Returns information about the updated registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ },
+ "201": {
+ "description": "Created - Returns information about the created registration assignment.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Put Registration Assignment": {
+ "$ref": "./examples/PutRegistrationAssignment.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedServices/registrationDefinitions": {
+ "get": {
+ "tags": [
+ "RegistrationDefinitions"
+ ],
+ "operationId": "RegistrationDefinitions_List",
+ "description": "Gets a list of the registration definitions.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns a list of the registration definitions.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationDefinitionList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get Registration Definitions": {
+ "$ref": "./examples/GetRegistrationDefinitions.json"
+ }
+ }
+ }
+ },
+ "/{scope}/providers/Microsoft.ManagedServices/registrationAssignments": {
+ "get": {
+ "tags": [
+ "RegistrationAssignments"
+ ],
+ "operationId": "RegistrationAssignments_List",
+ "description": "Gets a list of the registration assignments.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ScopeParameter"
+ },
+ {
+ "$ref": "#/parameters/ExpandRegistrationDefinition"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns a list of the registration assignments.",
+ "schema": {
+ "$ref": "#/definitions/RegistrationAssignmentList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": "nextLink"
+ },
+ "x-ms-examples": {
+ "Get Registration Assignments": {
+ "$ref": "./examples/GetRegistrationAssignments.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.ManagedServices/operations": {
+ "get": {
+ "tags": [
+ "Operations"
+ ],
+ "operationId": "Operations_List",
+ "description": "Gets a list of the operations.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK - Returns a list of operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationList"
+ }
+ },
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Get Registration Operations": {
+ "$ref": "./examples/GetOperations.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "RegistrationDefinition": {
+ "properties": {
+ "properties": {
+ "description": "Properties of a registration definition.",
+ "$ref": "#/definitions/RegistrationDefinitionProperties"
+ },
+ "plan": {
+ "description": "Plan details for the managed services.",
+ "$ref": "#/definitions/Plan"
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Fully qualified path of the registration definition."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the registration definition."
+ }
+ },
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "description": "Registration definition."
+ },
+ "RegistrationDefinitionProperties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Description of the registration definition."
+ },
+ "authorizations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Authorization"
+ },
+ "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role."
+ },
+ "registrationDefinitionName": {
+ "type": "string",
+ "description": "Name of the registration definition."
+ },
+ "managedByTenantId": {
+ "type": "string",
+ "description": "Id of the managedBy tenant."
+ },
+ "provisioningState": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Current state of the registration definition.",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Running",
+ "Ready",
+ "Creating",
+ "Created",
+ "Deleting",
+ "Deleted",
+ "Canceled",
+ "Failed",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "managedByTenantName": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the managedBy tenant."
+ }
+ },
+ "required": [
+ "managedByTenantId",
+ "authorizations"
+ ],
+ "type": "object",
+ "description": "Properties of a registration definition."
+ },
+ "RegistrationDefinitionList": {
+ "properties": {
+ "value": {
+ "type": "array",
+ "readOnly": true,
+ "items": {
+ "$ref": "#/definitions/RegistrationDefinition"
+ },
+ "description": "List of registration definitions."
+ },
+ "nextLink": {
+ "description": "Link to next page of registration definitions.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "List of registration definitions."
+ },
+ "RegistrationAssignment": {
+ "properties": {
+ "properties": {
+ "description": "Properties of a registration assignment.",
+ "$ref": "#/definitions/RegistrationAssignmentProperties"
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "The fully qualified path of the registration assignment."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the registration assignment."
+ }
+ },
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "description": "Registration assignment."
+ },
+ "RegistrationAssignmentProperties": {
+ "properties": {
+ "registrationDefinitionId": {
+ "type": "string",
+ "description": "Fully qualified path of the registration definition."
+ },
+ "provisioningState": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Current state of the registration assignment.",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Running",
+ "Ready",
+ "Creating",
+ "Created",
+ "Deleting",
+ "Deleted",
+ "Canceled",
+ "Failed",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "registrationDefinition": {
+ "readOnly": true,
+ "properties": {
+ "properties": {
+ "properties": {
+ "description": {
+ "type": "string",
+ "description": "Description of the registration definition."
+ },
+ "authorizations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Authorization"
+ },
+ "description": "Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role."
+ },
+ "registrationDefinitionName": {
+ "type": "string",
+ "description": "Name of the registration definition."
+ },
+ "provisioningState": {
+ "type": "string",
+ "description": "Current state of the registration definition.",
+ "enum": [
+ "NotSpecified",
+ "Accepted",
+ "Running",
+ "Ready",
+ "Creating",
+ "Created",
+ "Deleting",
+ "Deleted",
+ "Canceled",
+ "Failed",
+ "Succeeded",
+ "Updating"
+ ],
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ },
+ "manageeTenantId": {
+ "type": "string",
+ "description": "Id of the home tenant."
+ },
+ "manageeTenantName": {
+ "type": "string",
+ "description": "Name of the home tenant."
+ },
+ "managedByTenantId": {
+ "type": "string",
+ "description": "Id of the managedBy tenant."
+ },
+ "managedByTenantName": {
+ "type": "string",
+ "description": "Name of the managedBy tenant."
+ }
+ },
+ "description": "Properties of registration definition inside registration assignment."
+ },
+ "plan": {
+ "description": "Plan details for the managed services.",
+ "$ref": "#/definitions/Plan"
+ },
+ "id": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Fully qualified path of the registration definition."
+ },
+ "type": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Type of the resource (Microsoft.ManagedServices/registrationDefinitions)."
+ },
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Name of the registration definition."
+ }
+ },
+ "type": "object",
+ "description": "Registration definition inside registration assignment."
+ }
+ },
+ "required": [
+ "registrationDefinitionId"
+ ],
+ "type": "object",
+ "description": "Properties of a registration assignment."
+ },
+ "RegistrationAssignmentList": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/RegistrationAssignment"
+ },
+ "description": "List of registration assignments."
+ },
+ "nextLink": {
+ "description": "Link to next page of registration assignments.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "description": "List of registration assignments."
+ },
+ "Plan": {
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "The plan name."
+ },
+ "publisher": {
+ "type": "string",
+ "description": "The publisher ID."
+ },
+ "product": {
+ "type": "string",
+ "description": "The product code."
+ },
+ "version": {
+ "type": "string",
+ "description": "The plan's version."
+ }
+ },
+ "required": [
+ "name",
+ "publisher",
+ "product",
+ "version"
+ ],
+ "type": "object",
+ "description": "Plan details for the managed services."
+ },
+ "Operation": {
+ "properties": {
+ "name": {
+ "readOnly": true,
+ "type": "string",
+ "description": "Operation name: {provider}/{resource}/{operation}"
+ },
+ "display": {
+ "readOnly": true,
+ "description": "The object that represents the operation.",
+ "properties": {
+ "provider": {
+ "type": "string",
+ "description": "Service provider: Microsoft.ManagedServices"
+ },
+ "resource": {
+ "type": "string",
+ "description": "Resource on which the operation is performed: Registration definition, registration assignment etc."
+ },
+ "operation": {
+ "type": "string",
+ "description": "Operation type: Read, write, delete, etc."
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the operation."
+ }
+ }
+ }
+ },
+ "type": "object",
+ "description": "Object that describes a single Microsoft.ManagedServices operation."
+ },
+ "OperationList": {
+ "properties": {
+ "value": {
+ "readOnly": true,
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ },
+ "description": "List of Microsoft.ManagedServices operations."
+ }
+ },
+ "type": "object",
+ "description": "List of the operations."
+ },
+ "Authorization": {
+ "properties": {
+ "principalId": {
+ "type": "string",
+ "description": "Principal Id of the security group/service principal/user that would be assigned permissions to the projected subscription"
+ },
+ "roleDefinitionId": {
+ "type": "string",
+ "description": "The role definition identifier. This role will define all the permissions that the security group/service principal/user must have on the projected subscription. This role cannot be an owner role."
+ }
+ },
+ "required": [
+ "principalId",
+ "roleDefinitionId"
+ ],
+ "type": "object",
+ "description": "Authorization tuple containing principal Id (of user/service principal/security group) and role definition id."
+ },
+ "ErrorResponse": {
+ "properties": {
+ "error": {
+ "readOnly": true,
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code."
+ },
+ "message": {
+ "type": "string",
+ "description": "Error message indicating why the operation failed."
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object",
+ "description": "Error response indicates Azure Resource Manager is not able to process the incoming request. The reason is provided in the error message."
+ }
+ },
+ "description": "Error response."
+ }
+ },
+ "parameters": {
+ "ScopeParameter": {
+ "name": "scope",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true,
+ "type": "string",
+ "description": "Scope of the resource."
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "The API version to use for this operation."
+ },
+ "RegistrationAssignmentIdParameter": {
+ "name": "registrationAssignmentId",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "description": "Guid of the registration assignment."
+ },
+ "registrationDefinitionIdParameter": {
+ "name": "registrationDefinitionId",
+ "in": "path",
+ "required": true,
+ "x-ms-parameter-location": "method",
+ "type": "string",
+ "description": "Guid of the registration definition."
+ },
+ "ExpandRegistrationDefinition": {
+ "name": "$expandRegistrationDefinition",
+ "in": "query",
+ "x-ms-parameter-location": "method",
+ "type": "boolean",
+ "description": "Tells whether to return registration definition details also along with registration assignment details."
+ }
+ }
+}
diff --git a/specification/managedservices/resource-manager/readme.go.md b/specification/managedservices/resource-manager/readme.go.md
index 528ab78e06f5..ccecacca42db 100644
--- a/specification/managedservices/resource-manager/readme.go.md
+++ b/specification/managedservices/resource-manager/readme.go.md
@@ -9,6 +9,24 @@ go:
clear-output-folder: true
```
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2019-06
+ - tag: package-2019-04-preview
+ - tag: package-2018-06-preview
+```
+
+### Tag: package-2019-06 and go
+
+These settings apply only when `--tag=package-2019-06 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag) == 'package-2019-06' && $(go)
+output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2019-06-01/$(namespace)
+```
+
### Tag: package-2019-04-preview and go
These settings apply only when `--tag=package-2019-04-preview --go` is specified on the command line.
diff --git a/specification/managedservices/resource-manager/readme.md b/specification/managedservices/resource-manager/readme.md
index 88855e90cd10..16673ff45462 100644
--- a/specification/managedservices/resource-manager/readme.md
+++ b/specification/managedservices/resource-manager/readme.md
@@ -4,10 +4,10 @@
This is the AutoRest configuration file for Managed Services.
-
-
---
+
## Getting Started
+
To build the SDK for ManagedServices, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
> `autorest`
@@ -15,20 +15,29 @@ To build the SDK for ManagedServices, simply [Install AutoRest](https://aka.ms/a
To see additional help and options, run:
> `autorest --help`
+
---
## Configuration
-
-
### Basic Information
+
These are the global settings for the ManagedServices API.
``` yaml
openapi-type: arm
-tag: package-2019-04-preview
+tag: package-2019-06
```
+
+### Tag: package-2019-06
+
+These settings apply only when `--tag=package-2019-06` is specified on the command line.
+
+```yaml $(tag) == 'package-2019-06'
+input-file:
+ - Microsoft.ManagedServices/stable/2019-06-01/managedservices.json
+```
### Tag: package-2019-04-preview
These settings apply only when `--tag=package-2019-04-preview` is specified on the command line.
@@ -48,8 +57,8 @@ input-file:
```
---
-# Code Generation
+# Code Generation
## Swagger to SDK
@@ -58,6 +67,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -68,7 +78,6 @@ swagger-to-sdk:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_billing']
```
-
## C#
These settings apply only when `--csharp` is specified on the command line.
@@ -85,4 +94,31 @@ csharp:
## Go
-See configuration in [readme.go.md](./readme.go.md)
\ No newline at end of file
+See configuration in [readme.go.md](./readme.go.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.ManagedServices/stable/2019-06-01/managedservices.json
+ - $(this-folder)/Microsoft.ManagedServices/preview/2019-04-01-preview/managedservices.json
+ - $(this-folder)/Microsoft.ManagedServices/preview/2018-06-01-preview/managedservices.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json
index 410980412b47..491ff4540b01 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/CheckManagementGroupNameAvailability.json
@@ -9,9 +9,11 @@
},
"responses": {
"200": {
- "nameAvailable": "true|false",
- "reason": "Invalid|AlreadyExists",
- "message": ""
+ "body": {
+ "nameAvailable": false,
+ "reason": "AlreadyExists",
+ "message": ""
+ }
}
}
}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json
index 13156d60aa8c..17c4a41cab8e 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-01-01-preview/examples/PutManagementGroup.json
@@ -2,7 +2,7 @@
"parameters": {
"api-version": "2018-01-01-preview",
"groupId": "ChildGroup",
- "createGroupRequest": {
+ "createManagementGroupRequest": {
"properties": {
"displayName": "ChildGroup",
"parent": {
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json
index 069f200486bc..b4029257d647 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/CheckManagementGroupNameAvailability.json
@@ -9,9 +9,11 @@
},
"responses": {
"200": {
- "nameAvailable": "true|false",
- "reason": "Invalid|AlreadyExists",
- "message": ""
+ "body": {
+ "nameAvailable": false,
+ "reason": "AlreadyExists",
+ "message": ""
+ }
}
}
}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json
index ebf478b568ca..606eb7ca1963 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/StartTenantBackfillRequest.json
@@ -5,8 +5,10 @@
},
"responses": {
"200": {
- "tenantId": "20000000-0000-0000-0000-000000000000",
- "status": "Started"
+ "body": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "status": "Started"
+ }
}
}
}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json
index e80a4a561964..1e95785a5fcc 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/examples/TenantBackfillStatusRequest.json
@@ -5,8 +5,10 @@
},
"responses": {
"200": {
- "tenantId": "20000000-0000-0000-0000-000000000000",
- "status": "Started"
+ "body": {
+ "tenantId": "20000000-0000-0000-0000-000000000000",
+ "status": "Started"
+ }
}
}
}
diff --git a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json
index 24eb42691d01..dce21369519b 100644
--- a/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json
+++ b/specification/managementgroups/resource-manager/Microsoft.Management/preview/2018-03-01-preview/management.json
@@ -272,9 +272,11 @@
"x-ms-long-running-operation": true
}
},
- "/providers/Microsoft.Management/managementGroups/{groupId}/descendants" : {
+ "/providers/Microsoft.Management/managementGroups/{groupId}/descendants": {
"post": {
- "tags": [ "ManagementGroups_Descendants" ],
+ "tags": [
+ "ManagementGroups_Descendants"
+ ],
"operationId": "ManagementGroups_GetDescendants",
"description": "List all entities that descend from a management group.\n",
"parameters": [
@@ -988,73 +990,73 @@
}
}
},
- "DescendantListResult" : {
- "description" : "Describes the result of the request to view descendants.",
- "properties" : {
- "value" : {
- "description" : "The list of descendants.",
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/DescendantInfo"
+ "DescendantListResult": {
+ "description": "Describes the result of the request to view descendants.",
+ "properties": {
+ "value": {
+ "description": "The list of descendants.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DescendantInfo"
}
},
- "nextLink" : {
- "description" : "The URL to use for getting the next set of results.",
- "type" : "string",
- "readOnly" : true
+ "nextLink": {
+ "description": "The URL to use for getting the next set of results.",
+ "type": "string",
+ "readOnly": true
}
}
},
- "DescendantInfo" : {
- "description" : "The descendant.",
- "properties" : {
- "id" : {
- "type" : "string",
- "description" : "The fully qualified ID for the descendant. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 or /subscriptions/0000000-0000-0000-0000-000000000000",
- "readOnly" : true,
- "x-nullable" : true
- },
- "type" : {
- "type" : "string",
- "description" : "The type of the resource. For example, /providers/Microsoft.Management/managementGroups or /subscriptions",
- "readOnly" : true,
- "x-nullable" : true
- },
- "name" : {
- "type" : "string",
- "description" : "The name of the descendant. For example, 00000000-0000-0000-0000-000000000000",
- "readOnly" : true
- },
- "properties" : {
- "title" : "Properties",
- "x-ms-client-flatten" : true,
- "x-nullable" : true,
- "$ref" : "#/definitions/DescendantInfoProperties"
+ "DescendantInfo": {
+ "description": "The descendant.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the descendant. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000 or /subscriptions/0000000-0000-0000-0000-000000000000",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "type": {
+ "type": "string",
+ "description": "The type of the resource. For example, /providers/Microsoft.Management/managementGroups or /subscriptions",
+ "readOnly": true,
+ "x-nullable": true
+ },
+ "name": {
+ "type": "string",
+ "description": "The name of the descendant. For example, 00000000-0000-0000-0000-000000000000",
+ "readOnly": true
+ },
+ "properties": {
+ "title": "Properties",
+ "x-ms-client-flatten": true,
+ "x-nullable": true,
+ "$ref": "#/definitions/DescendantInfoProperties"
}
}
},
- "DescendantInfoProperties" : {
- "description" : "The generic properties of an descendant.",
- "type" : "object",
- "properties" : {
- "displayName" : {
- "type" : "string",
- "description" : "The friendly name of the management group.",
- "x-nullable" : true
- },
- "parent" : {
- "title" : "Parent",
- "$ref" : "#/definitions/DescendantParentGroupInfo",
- "x-nullable" : true
+ "DescendantInfoProperties": {
+ "description": "The generic properties of an descendant.",
+ "type": "object",
+ "properties": {
+ "displayName": {
+ "type": "string",
+ "description": "The friendly name of the management group.",
+ "x-nullable": true
+ },
+ "parent": {
+ "title": "Parent",
+ "$ref": "#/definitions/DescendantParentGroupInfo",
+ "x-nullable": true
}
}
},
- "DescendantParentGroupInfo" : {
- "description" : "The ID of the parent management group.",
- "properties" : {
- "id" : {
- "type" : "string",
- "description" : "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
+ "DescendantParentGroupInfo": {
+ "description": "The ID of the parent management group.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fully qualified ID for the parent management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000"
}
}
},
diff --git a/specification/managementgroups/resource-manager/readme.md b/specification/managementgroups/resource-manager/readme.md
index 122d1afcb49a..c8b28e279208 100644
--- a/specification/managementgroups/resource-manager/readme.md
+++ b/specification/managementgroups/resource-manager/readme.md
@@ -69,6 +69,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -198,3 +199,31 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Management/preview/2018-03-01-preview/management.json
+ - $(this-folder)/Microsoft.Management/preview/2018-01-01-preview/management.json
+ - $(this-folder)/Microsoft.Management/preview/2017-11-01-preview/management.json
+ - $(this-folder)/Microsoft.Management/preview/2017-08-31-preview/management.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/managementpartner/resource-manager/readme.md b/specification/managementpartner/resource-manager/readme.md
index 7b3a27a73bc0..0b22fe3e05ea 100644
--- a/specification/managementpartner/resource-manager/readme.md
+++ b/specification/managementpartner/resource-manager/readme.md
@@ -71,6 +71,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
@@ -93,4 +94,29 @@ csharp:
## Go
-See configuration in [readme.go.md](./readme.go.md)
\ No newline at end of file
+See configuration in [readme.go.md](./readme.go.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.ManagementPartner/preview/2018-02-01/ManagementPartner.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/maps/resource-manager/readme.md b/specification/maps/resource-manager/readme.md
index 07a15d4cb993..9e1c939c5790 100644
--- a/specification/maps/resource-manager/readme.md
+++ b/specification/maps/resource-manager/readme.md
@@ -57,6 +57,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
@@ -135,3 +136,29 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Maps/stable/2017-01-01-preview/maps-management.json
+ - $(this-folder)/Microsoft.Maps/stable/2018-05-01/maps-management.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json
index c5ea31cb57b0..84aa1b303a02 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-preview/examples/VirtualNetworkRulesDelete.json
@@ -7,14 +7,8 @@
"api-version": "2018-06-01-preview"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json
index cfb5339892be..27b0a8024fa7 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/examples/VirtualNetworkRulesDelete.json
@@ -7,14 +7,8 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json
index cfb5339892be..27b0a8024fa7 100644
--- a/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json
+++ b/specification/mariadb/resource-manager/Microsoft.DBforMariaDB/stable/2018-06-01/examples/VirtualNetworkRulesDelete.json
@@ -7,14 +7,8 @@
"api-version": "2018-06-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "202": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "202": {},
+ "204": {}
}
}
diff --git a/specification/mariadb/resource-manager/readme.md b/specification/mariadb/resource-manager/readme.md
index 3590e156b45d..f5b892640fe2 100644
--- a/specification/mariadb/resource-manager/readme.md
+++ b/specification/mariadb/resource-manager/readme.md
@@ -72,6 +72,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -90,7 +91,7 @@ csharp:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: Microsoft.Azure.Management.MariaDB
- output-folder: $(csharp-sdks-folder)/MariaDB/Management.MariaDB/Generated
+ output-folder: $(csharp-sdks-folder)/mariadb/Microsoft.Azure.Management.MariaDB/src/Generated
clear-output-folder: true
```
@@ -129,3 +130,30 @@ See configuration in [readme.go.md](./readme.go.md)
## Java
See configuration in [readme.java.md](./readme.java.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.DBforMariaDB/preview/2018-06-01-preview/mariadb.json
+ - $(this-folder)/Microsoft.DBforMariaDB/stable/2018-06-01/mariadb.json
+ - $(this-folder)/Microsoft.DBforMariaDB/preview/2018-06-01-privatepreview/mariadb.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md
index 5be496a81d44..bd6daac596b3 100644
--- a/specification/marketplaceordering/resource-manager/readme.md
+++ b/specification/marketplaceordering/resource-manager/readme.md
@@ -4,7 +4,7 @@
The underlying APIs are available to users who would like to write their own REST calls. These APIs would allow the user to accept the terms at a subscription, offer and SKU level. These apis are invoked in the context of azure subscription.
-----
+---
***GetAzureRmMarketplaceTerms***
**Request**
@@ -73,6 +73,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
@@ -192,3 +193,28 @@ generate-interface: true
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json
index 3a1564f14a8d..d2a1187fcf79 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Accounts.json
@@ -741,4 +741,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json
index 9ff8172d6c01..6e955254ba49 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Assets.json
@@ -605,4 +605,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json
index 32f0e829b2f9..3140d12d8964 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Common.json
@@ -77,4 +77,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json
index 9b3c1a298ade..7f59d29e3915 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json
@@ -1129,4 +1129,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json
index 76c810446bcd..24c3bf6273bd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/Encoding.json
@@ -2180,4 +2180,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json
index 29e20f920731..55caec9a3de5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json
@@ -1258,4 +1258,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json
index 9aad81eaa24d..b7b88c5076da 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-check-name-availability.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json
index e45eecd0de39..91ad5f029386 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-create.json
@@ -62,6 +62,6 @@
]
}
}
- }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json
index a593d19bc763..65a89864b63f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-delete.json
@@ -8,4 +8,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json
index 0f3507993b5a..eb25d616000a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json
index a2b39638396a..4206c3bc5bcd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-list-all-accounts.json
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json
index 294acb38dda4..037780538a17 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json
index 4e934468d15f..1aaaf1fb839f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-subscription-list-all-accounts.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json
index 5cc591cd0c8e..fe0db4ce798d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-sync-storage-keys.json
@@ -11,4 +11,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json
index 311521534af8..f92e6114dd39 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/accounts-update.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json
index 6030d2cfaf61..cfdbf7c19b37 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-create.json
@@ -48,4 +48,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json
index f421538b2777..6f4be3e65868 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json
index 559f24ed6e8d..23a4660c94c3 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-by-name.json
@@ -26,4 +26,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json
index a37c1a437f7c..ef85de92474c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-get-encryption-keys.json
@@ -13,4 +13,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json
index 02277422b47c..51c49a391036 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-all.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json
index 5e2e5e25d6dc..a6d14025ce32 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-by-date.json
@@ -74,4 +74,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json
index 41346fb9dfec..1e5206367b70 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-in-date-range.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json
index c76387b456da..c7fafa21dbb4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-list-sas-urls.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json
index f364c58cad97..b3546014b743 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/assets-update.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json
index d28b0de1b976..be4d3ada5988 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-multiple-options.json
@@ -133,4 +133,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json
index 0e549a219813..4b5aba3f9ac6 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-nodrm-token.json
@@ -101,4 +101,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json
index 7ff95f2e2cc3..f7bc21f95e9b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-playready-open.json
@@ -154,4 +154,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json
index 040b101db20a..e0afa11884b0 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-create-widevine-token.json
@@ -123,4 +123,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json
index 3a62484b13ce..5cd1a9391337 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json
index 37ecf53dd233..d22bcc073e01 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-by-name.json
@@ -64,4 +64,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json
index 72108574dc0a..52d8768ccbc9 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-get-with-secrets.json
@@ -59,4 +59,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json
index 376d4d470ebe..0a7167f59ed5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-all.json
@@ -162,4 +162,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json
index 1664dc22f8d8..5977b31209da 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-by-lastModified.json
@@ -163,4 +163,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json
index ed8ce398dad1..7ada7b7f9945 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-list-in-date-range.json
@@ -13,4 +13,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json
index b948d59eaac4..e0e1d710967b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/content-key-policies-update.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json
index 6c4837424e0e..d18100de323e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-cancel.json
@@ -10,4 +10,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json
index 74d038f1e020..0c45eb221624 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-create.json
@@ -58,4 +58,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json
index a8953bb8464e..ef8e5b5d0d29 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-delete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json
index fb2d9650f6dd..a564286d6b03 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-get-by-name.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json
index 737ff0387a52..94b761c4bc83 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/jobs-list-all.json
@@ -113,4 +113,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json
index 07d8578572d6..a771cb52b163 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-create.json
@@ -139,4 +139,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json
index ccc70906235e..6d8e5103b47e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-delete.json
@@ -6,7 +6,7 @@
"liveEventName": "myLiveEvent1",
"api-version": "2018-03-30-preview",
"parameters": {
- "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
"Name": "myLiveEvent1",
"Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents",
"Location": "West US",
@@ -16,7 +16,7 @@
"tag2": "value2"
}
},
- "Properties": {
+ "properties": {
"Description": "test event updated",
"Input": {
"StreamingProtocol": "FragmentedMP4",
@@ -38,7 +38,7 @@
}
},
"PreviewLocator": null,
- "StreamingPolicyName": null
+ "streamingPolicyName": null
},
"Encoding": {
"EncodingType": "None",
@@ -59,4 +59,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json
index 12a9f113030c..7dc4a3134198 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-all.json
@@ -72,4 +72,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json
index b17b37239b60..c7d09630c08f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-list-by-name.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json
index f6bdc3bb200c..9a30f0878c16 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-reset.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json
index f6bdc3bb200c..9a30f0878c16 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json
index 6f8396ac56d7..1465d38e4368 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-stop.json
@@ -13,4 +13,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json
index b88fe16c6755..114aecce95bd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveevent-update.json
@@ -134,4 +134,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json
index cc03b1310c27..6e57bce7b94b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-create.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json
index 5de0349ad5d5..f475dbae1b86 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-delete.json
@@ -12,4 +12,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json
index 3545c1448292..90f002383c0e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-all.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json
index 16a359f44592..8ccde48efc47 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/liveoutput-list-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json
index 3a7ff0ba371a..cd98a866b0ef 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/operations-list-all.json
@@ -282,4 +282,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json
index 103434801d22..e8a2a73441cd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-clear.json
@@ -7,8 +7,8 @@
"api-version": "2018-03-30-preview",
"parameters": {
"properties": {
- "StreamingPolicyName": "clearStreamingPolicy",
- "AssetName": "ClimbingMountRainier"
+ "streamingPolicyName": "clearStreamingPolicy",
+ "assetName": "ClimbingMountRainier"
}
}
},
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
index 9de3dfdafc7c..66bd0a17fc62 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
@@ -9,22 +9,22 @@
"properties": {
"assetName": "ClimbingMountRainier",
"streamingPolicyName": "secureStreamingPolicy",
- "StreamingLocatorId": "90000000-0000-0000-0000-00000000000A",
- "ContentKeys": [
+ "streamingLocatorId": "90000000-0000-0000-0000-00000000000A",
+ "contentKeys": [
{
- "Label": "aesDefaultKey",
- "Id": "60000000-0000-0000-0000-000000000001",
- "Value": "1UqLohAfWsEGkULYxHjYZg=="
+ "label": "aesDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000001",
+ "value": "1UqLohAfWsEGkULYxHjYZg=="
},
{
- "Label": "cencDefaultKey",
- "Id": "60000000-0000-0000-0000-000000000004",
- "Value": "4UqLohAfWsEGkULYxHjYZg=="
+ "label": "cencDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000004",
+ "value": "4UqLohAfWsEGkULYxHjYZg=="
},
{
- "Label": "cbcsDefaultKey",
- "Id": "60000000-0000-0000-0000-000000000007",
- "Value": "7UqLohAfWsEGkULYxHjYZg=="
+ "label": "cbcsDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000007",
+ "value": "7UqLohAfWsEGkULYxHjYZg=="
}
]
}
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json
index 9138dce3a7a6..1b8880b44c0a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-create-secure.json
@@ -7,10 +7,10 @@
"api-version": "2018-03-30-preview",
"parameters": {
"properties": {
- "StreamingPolicyName": "secureStreamingPolicy",
- "AssetName": "ClimbingMountRainier",
- "StartTime": "2018-03-01T00:00:00Z",
- "EndTime": "2028-12-31T23:59:59.9999999Z"
+ "streamingPolicyName": "secureStreamingPolicy",
+ "assetName": "ClimbingMountRainier",
+ "startTime": "2018-03-01T00:00:00Z",
+ "endTime": "2028-12-31T23:59:59.9999999Z"
}
}
},
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json
index 712cafeac16c..9ef01ec206d4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json
index f2c0f95e24d6..e276c06f488a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-get-by-name.json
@@ -26,4 +26,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json
index dc3b9c0cc892..ae5038f19142 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-content-keys.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json
index 968c00a670ae..afddf2b64604 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-and-download.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json
index 6f6ec79a6910..9ff02d37fb91 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list-paths-streaming-only.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json
index 4a5d0b17ca6b..d2d88fd3a56e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-locators-list.json
@@ -43,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json
index 4623cd02a1ec..00d0aaa62e7f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-clear.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
index 479bebc0c6b8..ca94fbcc66bd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
index a95e8ca8ecd7..37b9da320afc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
@@ -95,4 +95,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json
index ecacf2b9ad98..3f34dfb69945 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-envelopeEncryption-only.json
@@ -57,4 +57,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json
index e4fd7183e756..d38f5725f9e5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-create-secure-streaming.json
@@ -167,4 +167,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json
index c5ea443b34b1..9082340db923 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json
index ecc90cd1fb0c..5b29cbb299a5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policies-list.json
@@ -231,4 +231,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json
index 66380bf55ac3..da8e0b6575f1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streaming-policy-get-by-name.json
@@ -31,4 +31,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json
index 93a632a26c56..94bdc07e92a6 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-create.json
@@ -154,4 +154,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json
index e532a6ae1216..7e3a8499226a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-delete.json
@@ -6,7 +6,7 @@
"streamingEndpointName": "myStreamingEndpoint1",
"api-version": "2018-03-30-preview",
"parameters": {
- "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
"Name": "myStreamingEndpoint1",
"Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints",
"Location": "West US",
@@ -16,7 +16,7 @@
"tag2": "value2"
}
},
- "Properties": {
+ "properties": {
"Description": "test event 1",
"ScaleUnits": 1,
"AccessControl": null,
@@ -41,4 +41,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json
index f60c33a79cde..1c1bfcdbf416 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-all.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json
index a802c913a87f..f91aadf6a9d1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-list-by-name.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json
index e273ce6e4363..b41181b3e87c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-scale.json
@@ -13,4 +13,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json
index 962923ef6cee..6bbdf333e387 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json
index 962923ef6cee..6bbdf333e387 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-stop.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json
index c0e8fd319d63..b31956ab3f91 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/streamingendpoint-update.json
@@ -79,4 +79,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json
index 43271891927c..6cf758172436 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-create.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json
index 35c7f090b821..61d0634926bc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json
index 348878740740..43cb10cae8a2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-get-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json
index 5dea1ab618ac..38c68e78c16e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-list-all.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json
index 109314fe7765..21038d3bb833 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/examples/transforms-update.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json
index 7b8f3c334c1c..30b837f363eb 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json
@@ -700,7 +700,7 @@
"List all StreamingEndpoints": {
"$ref": "examples/streamingendpoint-list-all.json"
}
- }
+ }
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": {
@@ -812,7 +812,7 @@
"Create a StreamingEndpoint": {
"$ref": "examples/streamingendpoint-create.json"
}
- }
+ }
},
"patch": {
"tags": [
@@ -1046,7 +1046,7 @@
"description": "StreamingEndpoint scale parameters",
"in": "body",
"required": true,
- "schema": {
+ "schema": {
"$ref": "#/definitions/StreamingEntityScaleUnit"
}
}
@@ -1054,7 +1054,7 @@
"responses": {
"200": {
"description": "OK. The request has succeeded."
- },
+ },
"202": {
"description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
},
@@ -1086,7 +1086,10 @@
"description": "The HLS configuration."
},
"LiveOutputProperties": {
- "required": ["assetName","archiveWindowLength"],
+ "required": [
+ "assetName",
+ "archiveWindowLength"
+ ],
"properties": {
"description": {
"type": "string",
@@ -1200,7 +1203,9 @@
"description": "The Live Event endpoint."
},
"LiveEventInput": {
- "required": ["streamingProtocol"],
+ "required": [
+ "streamingProtocol"
+ ],
"properties": {
"streamingProtocol": {
"type": "string",
@@ -1341,7 +1346,9 @@
"description": "The LiveEvent action input parameter definition."
},
"LiveEventProperties": {
- "required": ["input"],
+ "required": [
+ "input"
+ ],
"properties": {
"description": {
"type": "string",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json
index 0571041d0296..a0504dd205c2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Accounts.json
@@ -777,4 +777,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json
index 9026f24d46ad..9b121cbfffe2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Assets.json
@@ -641,4 +641,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json
index b5f79e9a09f1..8163d87ee174 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Common.json
@@ -77,4 +77,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json
index fbd29107a954..bd5e75a8489e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json
@@ -1165,4 +1165,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json
index 9b89b0e92ca5..9da7a568fcf5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/Encoding.json
@@ -2188,4 +2188,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json
index 1732f0fa3e65..8f12d0b43965 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json
@@ -1278,4 +1278,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json
index c4d155d2e2d0..4854b4fa231c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-check-name-availability.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json
index a07945d423e8..fab4f55bf8a7 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-create.json
@@ -62,6 +62,6 @@
]
}
}
- }
+ }
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json
index 013be2cb9959..b30b0511bb70 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-delete.json
@@ -8,4 +8,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json
index e095ffaaeb46..237fd02f35dc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json
index 1f3402d2111c..fa0263497644 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-list-all-accounts.json
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json
index dcdb73b08a18..ac3469354d4a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json
index 1589d46d80f1..01de2d995eb2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-subscription-list-all-accounts.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json
index b7a116ae3766..6b0ca53a8b8f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-sync-storage-keys.json
@@ -11,4 +11,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json
index 0beb3a4f9ad0..eb87fb24aea6 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/accounts-update.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json
index a61e1e8aac85..1ac2bb045cd9 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-create.json
@@ -48,4 +48,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json
index 9911dace2279..cf58e37bd9cc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json
index f1d65ce5bfe6..1e951cad5ef9 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-by-name.json
@@ -26,4 +26,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json
index 636528ef24de..3f9457b8de36 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-get-encryption-keys.json
@@ -13,4 +13,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json
index 79e3aa6a38ec..992f1cf1c222 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-all.json
@@ -73,4 +73,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json
index 5e7189e5e1aa..c92a141c786d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-by-date.json
@@ -74,4 +74,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json
index 80afef55c969..5eda82aec2b3 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-in-date-range.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json
index fbf0ccb18508..f8b262a1c7bc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-list-sas-urls.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json
index d86cf01440d8..43204ab84872 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/assets-update.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json
index db98a8275870..529fe3b583fe 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-multiple-options.json
@@ -133,4 +133,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json
index c4d93e6c4857..82c9ea28c525 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-nodrm-token.json
@@ -101,4 +101,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json
index 4a5c5ecc3e84..244ebd5a0718 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-playready-open.json
@@ -154,4 +154,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json
index a749d7e2a053..f27d4a2e2c2b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-create-widevine-token.json
@@ -123,4 +123,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json
index 7a56da4ed983..25ee061d3780 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json
index 006e7ff3d0a5..265a07bdb845 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-by-name.json
@@ -64,4 +64,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json
index 3f71f2d56986..9c60480b911d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-get-with-secrets.json
@@ -59,4 +59,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json
index 3a77fb2f317e..6368211a5bbf 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-all.json
@@ -162,4 +162,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json
index d5f52a4a9601..fc542affee4d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-by-lastModified.json
@@ -163,4 +163,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json
index a06a45cfa1f3..17bcbe59aca4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-list-in-date-range.json
@@ -13,4 +13,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json
index 4c46b1735b58..fa114e545910 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/content-key-policies-update.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json
index 7a80feb79c4b..9ce3cd1e845b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-cancel.json
@@ -10,4 +10,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json
index 43b43b964fb1..2bb32ed6bd2c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-create.json
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json
index 3abfca49aa8e..1f60565c8c24 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-delete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json
index c9685745227e..b916dc8b42f5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-get-by-name.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json
index 62c223520a2c..891fd89ec930 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/jobs-list-all.json
@@ -116,4 +116,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json
index 2ecef28601e3..41e6b6c5cac9 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-create.json
@@ -139,4 +139,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json
index 4fa2565c2920..628fb07fe2f8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-delete.json
@@ -6,7 +6,7 @@
"liveEventName": "myLiveEvent1",
"api-version": "2018-06-01-preview",
"parameters": {
- "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
"Name": "myLiveEvent1",
"Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents",
"Location": "West US",
@@ -16,7 +16,7 @@
"tag2": "value2"
}
},
- "Properties": {
+ "properties": {
"Description": "test event updated",
"Input": {
"StreamingProtocol": "FragmentedMP4",
@@ -38,7 +38,7 @@
}
},
"PreviewLocator": null,
- "StreamingPolicyName": null
+ "streamingPolicyName": null
},
"Encoding": {
"EncodingType": "None",
@@ -59,4 +59,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json
index 54d4d9242136..e79e94944d26 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-all.json
@@ -72,4 +72,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json
index 52d683ac3c20..d6adcd0782dd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-list-by-name.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json
index 03df7fcc6963..2dda81cb0189 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-reset.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json
index 03df7fcc6963..2dda81cb0189 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json
index 7d4f7edbb688..4a44932b9ece 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-stop.json
@@ -13,4 +13,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json
index 516aa9233361..9bface3db543 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveevent-update.json
@@ -134,4 +134,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json
index b9ddd9ceec43..17a7865f1317 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-create.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json
index d95aec17f1b5..748f3ea3f5db 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-delete.json
@@ -12,4 +12,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json
index 36db1ae31638..812a52c1f1e9 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-all.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json
index 0f2f40e1f579..d50b7c253bc1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/liveoutput-list-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json
index 26e68293f502..2ac2230b88f8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/operations-list-all.json
@@ -498,4 +498,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json
index 0e11d877520b..1b30017fdb61 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-clear.json
@@ -7,8 +7,8 @@
"api-version": "2018-06-01-preview",
"parameters": {
"properties": {
- "StreamingPolicyName": "clearStreamingPolicy",
- "AssetName": "ClimbingMountRainier"
+ "streamingPolicyName": "clearStreamingPolicy",
+ "assetName": "ClimbingMountRainier"
}
}
},
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
index 3cbab7cf9583..7a698a948e2f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
@@ -9,22 +9,22 @@
"properties": {
"assetName": "ClimbingMountRainier",
"streamingPolicyName": "secureStreamingPolicy",
- "StreamingLocatorId": "90000000-0000-0000-0000-00000000000A",
- "ContentKeys": [
+ "streamingLocatorId": "90000000-0000-0000-0000-00000000000A",
+ "contentKeys": [
{
- "Label": "aesDefaultKey",
- "Id": "60000000-0000-0000-0000-000000000001",
- "Value": "1UqLohAfWsEGkULYxHjYZg=="
+ "label": "aesDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000001",
+ "value": "1UqLohAfWsEGkULYxHjYZg=="
},
{
- "Label": "cencDefaultKey",
- "Id": "60000000-0000-0000-0000-000000000004",
- "Value": "4UqLohAfWsEGkULYxHjYZg=="
+ "label": "cencDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000004",
+ "value": "4UqLohAfWsEGkULYxHjYZg=="
},
{
- "Label": "cbcsDefaultKey",
- "Id": "60000000-0000-0000-0000-000000000007",
- "Value": "7UqLohAfWsEGkULYxHjYZg=="
+ "label": "cbcsDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000007",
+ "value": "7UqLohAfWsEGkULYxHjYZg=="
}
]
}
@@ -75,4 +75,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json
index c98cae2f9386..07a624a1a49d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-create-secure.json
@@ -7,10 +7,10 @@
"api-version": "2018-06-01-preview",
"parameters": {
"properties": {
- "StreamingPolicyName": "secureStreamingPolicy",
- "AssetName": "ClimbingMountRainier",
- "StartTime": "2018-03-01T00:00:00Z",
- "EndTime": "2028-12-31T23:59:59.9999999Z"
+ "streamingPolicyName": "secureStreamingPolicy",
+ "assetName": "ClimbingMountRainier",
+ "startTime": "2018-03-01T00:00:00Z",
+ "endTime": "2028-12-31T23:59:59.9999999Z"
}
}
},
@@ -59,4 +59,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json
index 103ee8162976..0b0b93feb238 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json
index 7cf317734fa0..297a80f7ba82 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-get-by-name.json
@@ -27,4 +27,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json
index 3cea4f5a0e46..f9fa9e32c525 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-content-keys.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json
index e3ce4ad16047..180a24a42e6f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-and-download.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json
index e598f984f93d..4001cdfc59a8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list-paths-streaming-only.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json
index 3fe5359b9a4d..818a66cca260 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-locators-list.json
@@ -45,4 +45,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json
index 3abecb479631..6023a1a392bd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-clear.json
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
index d15e58b288eb..07c96dca1068 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCbcs-only.json
@@ -70,4 +70,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
index f874620125b1..faa38a52d4e0 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-commonEncryptionCenc-only.json
@@ -95,4 +95,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json
index b300ca3fe7a6..0bcf3b1898a8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-envelopeEncryption-only.json
@@ -57,4 +57,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json
index adab37a61e20..15bd4f179724 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-create-secure-streaming.json
@@ -167,4 +167,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json
index 8fc0c1a0349a..7208ad95601d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json
index 64d265289d93..53b9a43c944c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policies-list.json
@@ -232,4 +232,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json
index b90bdad10ff2..497091d9dc6b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streaming-policy-get-by-name.json
@@ -31,4 +31,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json
index d336524c9417..0dcd0fdadb19 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-create.json
@@ -154,4 +154,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json
index fc2f1ee3d946..7148c5546afe 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-delete.json
@@ -6,7 +6,7 @@
"streamingEndpointName": "myStreamingEndpoint1",
"api-version": "2018-06-01-preview",
"parameters": {
- "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
"Name": "myStreamingEndpoint1",
"Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints",
"Location": "West US",
@@ -16,7 +16,7 @@
"tag2": "value2"
}
},
- "Properties": {
+ "properties": {
"Description": "test event 1",
"ScaleUnits": 1,
"AccessControl": null,
@@ -41,4 +41,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json
index 85a9badc34a7..6133ddb6391f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-all.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json
index 1f9dbdce3552..c53f4fc3bbe4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-list-by-name.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json
index bb3194bc81a8..a175800afb0b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-scale.json
@@ -13,4 +13,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json
index b960e18206f5..4bdabc55baa2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json
index b960e18206f5..4bdabc55baa2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-stop.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json
index a22f51b3657b..7359529c5d4c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/streamingendpoint-update.json
@@ -79,4 +79,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json
index cfb560f28e43..2a70fe190934 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-create.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json
index 407300c86a51..51179fa69b98 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json
index 1191595b52bb..e55f2a349995 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-get-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json
index 87167e023f06..a13c5e01f038 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-list-all.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json
index 0e244b8bf60c..2e6d19f48549 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/examples/transforms-update.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json
index 8de9f4a1b6bc..258578eb9c4e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json
@@ -700,7 +700,7 @@
"List all StreamingEndpoints": {
"$ref": "examples/streamingendpoint-list-all.json"
}
- }
+ }
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": {
@@ -812,7 +812,7 @@
"Create a StreamingEndpoint": {
"$ref": "examples/streamingendpoint-create.json"
}
- }
+ }
},
"patch": {
"tags": [
@@ -1046,7 +1046,7 @@
"description": "StreamingEndpoint scale parameters",
"in": "body",
"required": true,
- "schema": {
+ "schema": {
"$ref": "#/definitions/StreamingEntityScaleUnit"
}
}
@@ -1054,7 +1054,7 @@
"responses": {
"200": {
"description": "OK. The request has succeeded."
- },
+ },
"202": {
"description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously."
},
@@ -1086,7 +1086,10 @@
"description": "The HLS configuration."
},
"LiveOutputProperties": {
- "required": ["assetName","archiveWindowLength"],
+ "required": [
+ "assetName",
+ "archiveWindowLength"
+ ],
"properties": {
"description": {
"type": "string",
@@ -1200,7 +1203,9 @@
"description": "The Live Event endpoint."
},
"LiveEventInput": {
- "required": ["streamingProtocol"],
+ "required": [
+ "streamingProtocol"
+ ],
"properties": {
"streamingProtocol": {
"type": "string",
@@ -1345,7 +1350,9 @@
"description": "The LiveEvent action input parameter definition."
},
"LiveEventProperties": {
- "required": ["input"],
+ "required": [
+ "input"
+ ],
"properties": {
"description": {
"type": "string",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json
index 47d6c3492b06..8c9aa5b7f511 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json
@@ -546,4 +546,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json
index ed122a0cce52..6400418515d4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Accounts.json
@@ -920,4 +920,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json
index d59d4c3a1951..eb9403081237 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json
@@ -1270,4 +1270,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json
index ad4c13194592..2df77971fd91 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json
@@ -8,7 +8,7 @@
"description": "This Swagger was generated by the API Framework.",
"version": "2018-07-01"
},
- "host": "management.azure.com",
+ "host": "management.azure.com",
"consumes": [
"application/json"
],
@@ -1165,4 +1165,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json
index a28c0a8abdb8..2e56502e0079 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/Encoding.json
@@ -2398,4 +2398,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json
index a2dafe7e44d4..a08ee4ec0a75 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json
@@ -1286,4 +1286,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json
index 6c16d2e0f75a..1106df0390d4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-multiple-options.json
@@ -128,7 +128,7 @@
}
]
}
- }
+ }
}
}
}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json
index d2177b3b804a..f3a08ef8e1b0 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/content-key-policies-create-playready-open.json
@@ -129,4 +129,3 @@
}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-delete.json
index 76f800375bfa..fde89a247eab 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/liveevent-delete.json
@@ -6,7 +6,7 @@
"liveEventName": "myLiveEvent1",
"api-version": "2018-07-01",
"parameters": {
- "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
"Name": "myLiveEvent1",
"Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents",
"Location": "West US",
@@ -16,7 +16,7 @@
"tag2": "value2"
}
},
- "Properties": {
+ "properties": {
"Description": "test event updated",
"Input": {
"StreamingProtocol": "FragmentedMP4",
@@ -38,7 +38,7 @@
}
},
"PreviewLocator": null,
- "StreamingPolicyName": null
+ "streamingPolicyName": null
},
"Encoding": {
"EncodingType": "None",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
index ead22b5064a0..d8740a7b20e7 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure-userDefinedContentKeys.json
@@ -67,4 +67,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json
index a3d8d8279ccf..3d973264ab34 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streaming-locators-create-secure.json
@@ -53,4 +53,3 @@
}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-delete.json
index b78b3322644f..40c287acc475 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/streamingendpoint-delete.json
@@ -6,7 +6,7 @@
"streamingEndpointName": "myStreamingEndpoint1",
"api-version": "2018-07-01",
"parameters": {
- "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
"Name": "myStreamingEndpoint1",
"Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints",
"Location": "West US",
@@ -16,7 +16,7 @@
"tag2": "value2"
}
},
- "Properties": {
+ "properties": {
"Description": "test event 1",
"ScaleUnits": 1,
"AccessControl": null,
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json
index ef297c226a2e..5ea5b1612e7f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-create.json
@@ -65,4 +65,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json
index c816fe71ced2..8fd9e83f3250 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/examples/transforms-update.json
@@ -44,4 +44,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json
index ac213c96b864..26c4772ce123 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json
@@ -700,7 +700,7 @@
"List all StreamingEndpoints": {
"$ref": "examples/streamingendpoint-list-all.json"
}
- }
+ }
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": {
@@ -812,7 +812,7 @@
"Create a StreamingEndpoint": {
"$ref": "examples/streamingendpoint-create.json"
}
- }
+ }
},
"patch": {
"tags": [
@@ -1046,7 +1046,7 @@
"description": "StreamingEndpoint scale parameters",
"in": "body",
"required": true,
- "schema": {
+ "schema": {
"$ref": "#/definitions/StreamingEntityScaleUnit"
}
}
@@ -1054,7 +1054,7 @@
"responses": {
"200": {
"description": "OK. The request has succeeded."
- },
+ },
"202": {
"description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
},
@@ -1086,7 +1086,10 @@
"description": "The HLS configuration."
},
"LiveOutputProperties": {
- "required": [ "assetName", "archiveWindowLength" ],
+ "required": [
+ "assetName",
+ "archiveWindowLength"
+ ],
"properties": {
"description": {
"type": "string",
@@ -1210,7 +1213,9 @@
"description": "The IP access control for Live Event Input."
},
"LiveEventInput": {
- "required": [ "streamingProtocol" ],
+ "required": [
+ "streamingProtocol"
+ ],
"properties": {
"streamingProtocol": {
"type": "string",
@@ -1357,7 +1362,9 @@
"description": "A track selection condition."
},
"LiveEventOutputTranscriptionTrack": {
- "required": [ "trackName" ],
+ "required": [
+ "trackName"
+ ],
"properties": {
"trackName": {
"type": "string",
@@ -1410,7 +1417,9 @@
"description": "The LiveEvent action input parameter definition."
},
"LiveEventProperties": {
- "required": [ "input" ],
+ "required": [
+ "input"
+ ],
"properties": {
"description": {
"type": "string",
@@ -1591,7 +1600,9 @@
"description": "scale units definition"
},
"StreamingEndpointProperties": {
- "required": [ "scaleUnits" ],
+ "required": [
+ "scaleUnits"
+ ],
"properties": {
"description": {
"type": "string",
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json
index fd1064c21bc5..08dbdd4508df 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCheckNameAvailability.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json
index b859bba032f3..0831e46e7254 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceCreate.json
@@ -7,7 +7,7 @@
"parameters": {
"location": "West US",
"properties": {
- "storageAccounts": [
+ "storageAccounts": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore",
"isPrimary": true
@@ -15,13 +15,13 @@
]
}
}
- },
+ },
"responses": {
"201": {
"body": {
"location": "West US",
"properties": {
- "storageAccounts": [
+ "storageAccounts": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore",
"isPrimary": true
@@ -32,4 +32,3 @@
}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json
index 29e5ea14f3d3..696949aa4ed5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceDelete.json
@@ -6,12 +6,7 @@
"api-version": "2015-10-01"
},
"responses": {
- "200": {
- "body": ""
- },
- "204": {
- "body": ""
- }
+ "200": {},
+ "204": {}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json
index 589d3618bc9f..e20b0079f804 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceGet.json
@@ -11,7 +11,7 @@
"name": "contosmedia",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/contosoresources/providers/Microsoft.Media/mediaservices/contosmedia",
"type": "Microsoft.Media/mediaservices",
- "tags": [],
+ "tags": {},
"location": "East US",
"properties": {
"apiEndpoints": [
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json
index 5f1f3b9a468e..e63b42baf399 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListByResourceGroup.json
@@ -12,7 +12,7 @@
"name": "contosmedia",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/contosoresources/providers/Microsoft.Media/mediaservices/contosmedia",
"type": "Microsoft.Media/mediaservices",
- "tags": [],
+ "tags": {},
"location": "East US",
"properties": {
"apiEndpoints": [
@@ -33,7 +33,7 @@
"name": "contosmedia2",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/contosoresources/providers/Microsoft.Media/mediaservices/contosmedia2",
"type": "Microsoft.Media/mediaservices",
- "tags": [],
+ "tags": {},
"location": "West US",
"properties": {
"apiEndpoints": [
@@ -54,4 +54,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json
index 111b60e1d127..9952ebf32be2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceListKeys.json
@@ -16,4 +16,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json
index 65e2f4ef9fe5..2101656df90b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceRegenerateKey.json
@@ -7,13 +7,12 @@
"parameters": {
"keyType": "Primary"
}
- },
+ },
"responses": {
"200": {
"body": {
- "key":""
+ "key": ""
}
}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json
index 1e8d17789fc8..7888f9c85b92 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceSyncStorageKeys.json
@@ -7,11 +7,8 @@
"parameters": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore"
}
- },
+ },
"responses": {
- "200": {
- "body": ""
- }
+ "200": {}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json
index 225fc4e84743..e09a1ff1182d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/MediaServiceUpdate.json
@@ -7,7 +7,7 @@
"parameters": {
"location": "West US",
"properties": {
- "storageAccounts": [
+ "storageAccounts": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore",
"isPrimary": true
@@ -15,13 +15,13 @@
]
}
}
- },
+ },
"responses": {
"200": {
"body": {
"location": "West US",
"properties": {
- "storageAccounts": [
+ "storageAccounts": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosostore",
"isPrimary": true
@@ -32,4 +32,3 @@
}
}
}
-
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json
index 275347bc21bc..37c0d04d1ba1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/examples/OperationsList.json
@@ -58,4 +58,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json
index 0dd24421734d..c067803e10d5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2015-10-01/media.json
@@ -42,7 +42,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "OperationsList": { "$ref": "./examples/OperationsList.json" }
+ "OperationsList": {
+ "$ref": "./examples/OperationsList.json"
+ }
},
"parameters": [
{
@@ -67,7 +69,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceCheckNameAvailability": { "$ref": "./examples/MediaServiceCheckNameAvailability.json" }
+ "MediaServiceCheckNameAvailability": {
+ "$ref": "./examples/MediaServiceCheckNameAvailability.json"
+ }
},
"parameters": [
{
@@ -92,12 +96,12 @@
"schema": {
"$ref": "#/definitions/CheckNameAvailabilityOutput"
},
- "examples": {
+ "examples": {
"application/json": {
"nameAvailable": false,
"reason": "AlreadyExists",
"message": "Already in use by another Media Service instance. Please try again with a name that is not likely to be in use."
- }
+ }
}
},
"default": {
@@ -117,7 +121,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceListByResourceGroup": { "$ref": "./examples/MediaServiceListByResourceGroup.json" }
+ "MediaServiceListByResourceGroup": {
+ "$ref": "./examples/MediaServiceListByResourceGroup.json"
+ }
},
"parameters": [
{
@@ -129,7 +135,7 @@
{
"$ref": "#/parameters/resourceGroupNameParameter"
}
- ],
+ ],
"responses": {
"200": {
"description": "Success. Returns a list of all of the Media Services accounts in a resource group.",
@@ -144,15 +150,15 @@
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia",
"type": "Microsoft.Media/mediaservices",
"location": "West US",
- "properties":{
- "apiEndpoints":[
- {
+ "properties": {
+ "apiEndpoints": [
+ {
"endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/",
"majorVersion": "2"
}
],
- "storageAccounts":[
- {
+ "storageAccounts": [
+ {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia",
"isPrimary": true
}
@@ -171,7 +177,7 @@
}
},
"x-ms-pageable": {
- "nextLinkName": null
+ "nextLinkName": null
}
}
},
@@ -183,7 +189,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceGet": { "$ref": "./examples/MediaServiceGet.json" }
+ "MediaServiceGet": {
+ "$ref": "./examples/MediaServiceGet.json"
+ }
},
"parameters": [
{
@@ -205,27 +213,27 @@
"schema": {
"$ref": "#/definitions/MediaService"
},
- "examples" : {
+ "examples": {
"application/json": {
"name": "contosomedia",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia",
"type": "Microsoft.Media/mediaservices",
"location": "West US",
- "properties":{
- "apiEndpoints":[
- {
+ "properties": {
+ "apiEndpoints": [
+ {
"endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/",
"majorVersion": "2"
}
],
- "storageAccounts":[
- {
+ "storageAccounts": [
+ {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia",
"isPrimary": true
}
]
}
- }
+ }
}
},
"default": {
@@ -243,7 +251,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceCreate": { "$ref": "./examples/MediaServiceCreate.json" }
+ "MediaServiceCreate": {
+ "$ref": "./examples/MediaServiceCreate.json"
+ }
},
"parameters": [
{
@@ -274,27 +284,27 @@
"schema": {
"$ref": "#/definitions/MediaService"
},
- "examples" : {
+ "examples": {
"application/json": {
"name": "contosomedia",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia",
"type": "Microsoft.Media/mediaservices",
"location": "West US",
- "properties":{
- "apiEndpoints":[
- {
+ "properties": {
+ "apiEndpoints": [
+ {
"endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/",
"majorVersion": "2"
}
],
- "storageAccounts":[
- {
+ "storageAccounts": [
+ {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia",
"isPrimary": true
}
]
}
- }
+ }
}
},
"default": {
@@ -312,7 +322,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceDelete": { "$ref": "./examples/MediaServiceDelete.json" }
+ "MediaServiceDelete": {
+ "$ref": "./examples/MediaServiceDelete.json"
+ }
},
"parameters": [
{
@@ -350,7 +362,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceUpdate": { "$ref": "./examples/MediaServiceUpdate.json" }
+ "MediaServiceUpdate": {
+ "$ref": "./examples/MediaServiceUpdate.json"
+ }
},
"parameters": [
{
@@ -381,26 +395,26 @@
"schema": {
"$ref": "#/definitions/MediaService"
},
- "examples" : {
+ "examples": {
"application/json": {
"name": "contosomedia",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosomedia",
"type": "Microsoft.Media/mediaservices",
"location": "West US",
- "properties":{
- "apiEndpoints":[
- {
+ "properties": {
+ "apiEndpoints": [
+ {
"endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/",
"majorVersion": "2"
}
],
- "storageAccounts":[
- {
+ "storageAccounts": [
+ {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia",
"isPrimary": true
}
]
- }
+ }
}
}
},
@@ -421,7 +435,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceRegenerateKey": { "$ref": "./examples/MediaServiceRegenerateKey.json" }
+ "MediaServiceRegenerateKey": {
+ "$ref": "./examples/MediaServiceRegenerateKey.json"
+ }
},
"parameters": [
{
@@ -455,7 +471,7 @@
"examples": {
"application/json": {
"key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx="
- }
+ }
}
},
"default": {
@@ -475,7 +491,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceListKeys": { "$ref": "./examples/MediaServiceListKeys.json" }
+ "MediaServiceListKeys": {
+ "$ref": "./examples/MediaServiceListKeys.json"
+ }
},
"parameters": [
{
@@ -497,14 +515,14 @@
"schema": {
"$ref": "#/definitions/ServiceKeys"
},
- "examples":{
+ "examples": {
"application/json": {
"primaryAuthEndpoint": "https://wamsprodglobal001acs.accesscontrol.windows.net/",
"secondaryAuthEndpoint": "https://wamsprodglobal002acs.accesscontrol.windows.net/",
"primaryKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=",
"secondaryKey": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=",
"scope": "urn:windowsazuremediaservices"
- }
+ }
}
},
"default": {
@@ -524,7 +542,9 @@
"url": "https://aka.ms/media-manage"
},
"x-ms-examples": {
- "MediaServiceSyncStorageKeys": { "$ref": "./examples/MediaServiceSyncStorageKeys.json" }
+ "MediaServiceSyncStorageKeys": {
+ "$ref": "./examples/MediaServiceSyncStorageKeys.json"
+ }
},
"parameters": [
{
@@ -566,9 +586,9 @@
"definitions": {
"ApiEndpoint": {
"description": "The properties for a Media Services REST API endpoint.",
- "example": {
- "endpoint":"https://wamsbayclus001rest-hs.cloudapp.net/api/",
- "majorVersion":"2"
+ "example": {
+ "endpoint": "https://wamsbayclus001rest-hs.cloudapp.net/api/",
+ "majorVersion": "2"
},
"properties": {
"endpoint": {
@@ -603,8 +623,8 @@
"CheckNameAvailabilityInput": {
"description": "The request body for CheckNameAvailability API.",
"example": {
- "name":"contosomedia",
- "type":"mediaservices"
+ "name": "contosomedia",
+ "type": "mediaservices"
},
"required": [
"name",
@@ -634,7 +654,7 @@
"name": "ResourceType",
"modelAsString": false
}
- },
+ },
"CheckNameAvailabilityOutput": {
"description": "The response body for CheckNameAvailability API.",
"properties": {
@@ -653,7 +673,7 @@
"x-ms-enum": {
"name": "EntityNameUnavailabilityReason",
"modelAsString": false
- }
+ }
},
"message": {
"description": "Specifies the detailed reason if the name is not available.",
@@ -730,21 +750,21 @@
"type": "string",
"enum": [
"Primary",
- "Secondary"
+ "Secondary"
],
"x-ms-enum": {
"name": "KeyType",
"modelAsString": false
- }
+ }
}
},
"required": [
- "keyType"
+ "keyType"
]
},
"RegenerateKeyOutput": {
"description": "The response body for a RegenerateKey API.",
- "example": {
+ "example": {
"key": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx="
},
"properties": {
@@ -820,7 +840,7 @@
},
"StorageAccount": {
"description": "The properties of a storage account associated with this resource.",
- "example": {
+ "example": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Storage/storageAccounts/contosomedia",
"isPrimary": true
},
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json
index 47d6c3492b06..8c9aa5b7f511 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AccountFilters.json
@@ -546,4 +546,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json
index ed122a0cce52..6400418515d4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Accounts.json
@@ -920,4 +920,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json
index d59d4c3a1951..eb9403081237 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json
@@ -1270,4 +1270,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json
index bea6dd7c7650..8ffd3bd1f71a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Common.json
@@ -77,4 +77,4 @@
]
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json
index 07fd4ab4bdb3..2df77971fd91 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json
@@ -1165,4 +1165,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
index e2ec28beee5d..963de86b4961 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/Encoding.json
@@ -2398,4 +2398,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json
index a2dafe7e44d4..a08ee4ec0a75 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json
@@ -1286,4 +1286,4 @@
"description": "The Version of the API to be used with the client request."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json
index a89bb51d57ef..198bf61098d8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-create.json
@@ -168,4 +168,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json
index 793540fdf8ba..ad07ff6d257e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json
index 3930e4f6ce69..693f7cbc5eea 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-get-by-name.json
@@ -53,4 +53,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json
index edd40e995724..eacdfbbec53a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-list-all.json
@@ -108,4 +108,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json
index ff59b2d69427..d91cf8217184 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accountFilters-update.json
@@ -78,4 +78,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json
index 8ac886e3a539..4ef7fa721199 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-check-name-availability.json
@@ -17,4 +17,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json
index f15582ffd7a2..3451dc6b0572 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-create.json
@@ -64,4 +64,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json
index a20c9a79c353..c881a84854c0 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-delete.json
@@ -8,4 +8,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json
index b8ebb47bccd7..4ae9745f6b2a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json
index bc61d392b902..2f59e9cae5ef 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-list-all-accounts.json
@@ -50,4 +50,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json
index d4a79fb8bd03..665c0edcd6bc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-get-by-name.json
@@ -28,4 +28,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json
index 633ec2d3a5e2..07e64ecaadba 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-subscription-list-all-accounts.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json
index 14c63c725d94..ea9b54b7ffd8 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-sync-storage-keys.json
@@ -11,4 +11,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json
index 0d5093206a74..0d4396b72abe 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/accounts-update.json
@@ -32,4 +32,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json
index 84dea565f6ba..9784120409d5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-create.json
@@ -169,4 +169,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json
index e36fd253a836..3b890a6f7ccc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-delete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json
index 6e6d6696391e..8eaed610e85d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-get-by-name.json
@@ -65,4 +65,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json
index 8c2cd9a680c2..aa9981050b68 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-list-all.json
@@ -128,4 +128,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json
index 224f2cf3183a..42832ec0e80d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assetFilters-update.json
@@ -79,4 +79,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json
index 7e9b78dea5b6..431c93bdb73e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-create.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json
index 7988e4a683c1..3661cae3e441 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json
index da24748b30f5..cc427282d0fa 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-by-name.json
@@ -25,4 +25,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json
index c4a5e5a54004..c7c3f3fa0606 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-get-encryption-keys.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json
index ebb39fb6dfe1..714dd42b6137 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-all.json
@@ -98,4 +98,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json
index efb131fe71fb..a2a1cba3d82f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-by-date.json
@@ -99,4 +99,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json
index 2363fe29859c..9cc1ef62ea2a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-in-date-range.json
@@ -57,4 +57,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json
index 07f2117528d4..f861fd39b54b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-sas-urls.json
@@ -20,4 +20,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json
index 242504bc435c..3646044598cc 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-list-streaming-locators.json
@@ -30,4 +30,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json
index e55650b58f63..aa8743214b59 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/assets-update.json
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json
index 94709fc604f6..1106df0390d4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-multiple-options.json
@@ -128,7 +128,7 @@
}
]
}
- }
+ }
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json
index 2aeafe202a08..7395f4a1b42e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-nodrm-token.json
@@ -99,4 +99,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json
index 93dad936400f..da7e946e3279 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-playready-open.json
@@ -128,4 +128,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json
index b8d4a2930768..1df5682c7cef 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-create-widevine-token.json
@@ -121,4 +121,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json
index c77275731aa7..7447440dc857 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json
index ddd9eb76e54a..250a24b9d44e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-by-name.json
@@ -60,4 +60,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json
index f11e2b4b8b9a..9143019cbbd5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-get-with-secrets.json
@@ -55,4 +55,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json
index 3652532bf048..750d942f695b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-all.json
@@ -162,4 +162,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json
index 7348534d2def..3964906825e4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-by-lastModified.json
@@ -141,4 +141,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json
index 0339c941acca..00509549496e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-list-in-date-range.json
@@ -13,4 +13,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json
index 03266d7a7ba6..6ad18004d6f4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/content-key-policies-update.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json
index 9c132f7e0806..0ac966b8b75b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-cancel.json
@@ -10,4 +10,4 @@
"responses": {
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json
index b525731f8d4d..5d89c32c60fa 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-create.json
@@ -58,4 +58,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json
index 3ddeb219ab86..6294423759db 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-delete.json
@@ -11,4 +11,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json
index bfbee0d5ce1c..377c1d76d265 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-get-by-name.json
@@ -43,4 +43,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json
index 395cecb25446..5edc04a19e36 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-created.json
@@ -78,4 +78,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json
index f62722d0e0be..0e9639af32a7 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-lastmodified.json
@@ -78,4 +78,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json
index 95975da8908e..0c04098bed7c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name-and-state.json
@@ -46,4 +46,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json
index 6b082f7e48d2..a1dce95541ee 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-name.json
@@ -78,4 +78,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json
index f089816e8da7..72eabbf3f41b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-eq.json
@@ -77,4 +77,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json
index 2fef3a6c39dd..fbcaef2d9ce2 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all-filter-by-state-ne.json
@@ -77,4 +77,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json
index 41acda6e73f8..a389ddb0ee9c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-list-all.json
@@ -107,4 +107,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json
index 36135ba39660..037037159cb4 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/jobs-update.json
@@ -49,4 +49,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json
index c820ed037742..b3939b4c8121 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-create.json
@@ -18,7 +18,7 @@
"description": "test event 1",
"input": {
"streamingProtocol": "RTMP",
- "keyFrameIntervalDuration": "PT2S"
+ "keyFrameIntervalDuration": "PT6S"
},
"preview": {
"accessControl": {
@@ -26,7 +26,8 @@
"allow": [
{
"name": "AllowAll",
- "address": "0.0.0.0"
+ "address": "0.0.0.0",
+ "subnetPrefixLength": 0
}
]
}
@@ -69,7 +70,7 @@
{
"name": "AllowAll",
"address": "0.0.0.0",
- "subnetPrefixLength": null
+ "subnetPrefixLength": 0
}
]
}
@@ -120,7 +121,7 @@
{
"name": "AllowAll",
"address": "0.0.0.0",
- "subnetPrefixLength": null
+ "subnetPrefixLength": 0
}
]
}
@@ -139,4 +140,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json
index a17f0b85b17a..fde89a247eab 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-delete.json
@@ -6,7 +6,7 @@
"liveEventName": "myLiveEvent1",
"api-version": "2018-07-01",
"parameters": {
- "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
"Name": "myLiveEvent1",
"Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents",
"Location": "West US",
@@ -16,7 +16,7 @@
"tag2": "value2"
}
},
- "Properties": {
+ "properties": {
"Description": "test event updated",
"Input": {
"StreamingProtocol": "FragmentedMP4",
@@ -38,7 +38,7 @@
}
},
"PreviewLocator": null,
- "StreamingPolicyName": null
+ "streamingPolicyName": null
},
"Encoding": {
"EncodingType": "None",
@@ -59,4 +59,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json
index 3b3e8efed9de..d37e2b9ecef1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-all.json
@@ -46,7 +46,7 @@
{
"name": "AllowAll",
"address": "0.0.0.0",
- "subnetPrefixLength": null
+ "subnetPrefixLength": 0
}
]
}
@@ -72,4 +72,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json
index 5dd282da51d8..da80ef5d0805 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-list-by-name.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json
index c31b9e1a601f..d5443a60b311 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-reset.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json
index c31b9e1a601f..d5443a60b311 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json
index 97057f6a74ae..cdf6c800889b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-stop.json
@@ -13,4 +13,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json
index 39b447203ee7..29eecd3adf47 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveevent-update.json
@@ -134,4 +134,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json
index b2a5dc1bbe42..473fa7d65cd1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-create.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json
index 855a0df3eff0..7ff08e04d878 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-delete.json
@@ -12,4 +12,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json
index dbfa020e3ce3..879d657299fe 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-all.json
@@ -33,4 +33,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json
index c8db5d2b2f20..46d56644799c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/liveoutput-list-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json
index 7efcb833aba6..7426d00e6230 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/operations-list-all.json
@@ -586,4 +586,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json
index 381dffc87ad3..a5c959b6a235 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-clear.json
@@ -7,8 +7,8 @@
"api-version": "2018-07-01",
"parameters": {
"properties": {
- "StreamingPolicyName": "clearStreamingPolicy",
- "AssetName": "ClimbingMountRainier"
+ "streamingPolicyName": "clearStreamingPolicy",
+ "assetName": "ClimbingMountRainier"
}
}
},
@@ -29,4 +29,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json
index 505cd08bc772..e669d0843373 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure-userDefinedContentKeys.json
@@ -9,22 +9,22 @@
"properties": {
"assetName": "ClimbingMountRainier",
"streamingPolicyName": "secureStreamingPolicy",
- "StreamingLocatorId": "90000000-0000-0000-0000-00000000000A",
- "ContentKeys": [
+ "streamingLocatorId": "90000000-0000-0000-0000-00000000000A",
+ "contentKeys": [
{
- "LabelReferenceInStreamingPolicy": "aesDefaultKey",
- "Id": "60000000-0000-0000-0000-000000000001",
- "Value": "1UqLohAfWsEGkULYxHjYZg=="
+ "labelReferenceInStreamingPolicy": "aesDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000001",
+ "value": "1UqLohAfWsEGkULYxHjYZg=="
},
{
- "LabelReferenceInStreamingPolicy": "cencDefaultKey",
- "Id": "60000000-0000-0000-0000-000000000004",
- "Value": "4UqLohAfWsEGkULYxHjYZg=="
+ "labelReferenceInStreamingPolicy": "cencDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000004",
+ "value": "4UqLohAfWsEGkULYxHjYZg=="
},
{
- "LabelReferenceInStreamingPolicy": "cbcsDefaultKey",
- "Id": "60000000-0000-0000-0000-000000000007",
- "Value": "7UqLohAfWsEGkULYxHjYZg=="
+ "labelReferenceInStreamingPolicy": "cbcsDefaultKey",
+ "id": "60000000-0000-0000-0000-000000000007",
+ "value": "7UqLohAfWsEGkULYxHjYZg=="
}
]
}
@@ -66,4 +66,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json
index 351164c1b69a..d5fdd6b06779 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-create-secure.json
@@ -7,10 +7,10 @@
"api-version": "2018-07-01",
"parameters": {
"properties": {
- "StreamingPolicyName": "secureStreamingPolicy",
- "AssetName": "ClimbingMountRainier",
- "StartTime": "2018-03-01T00:00:00Z",
- "EndTime": "2028-12-31T23:59:59.9999999Z"
+ "streamingPolicyName": "secureStreamingPolicy",
+ "assetName": "ClimbingMountRainier",
+ "startTime": "2018-03-01T00:00:00Z",
+ "endTime": "2028-12-31T23:59:59.9999999Z"
}
}
},
@@ -51,4 +51,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json
index e0ae87e60243..140630d47647 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json
index 2d488f5e2d62..e66ccef9dc6a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-get-by-name.json
@@ -24,4 +24,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json
index 4306466b4ced..7ef154ff54fd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-content-keys.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json
index feeb42a437c1..811f52ff50a7 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-and-download.json
@@ -47,4 +47,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json
index 8dc70f7d3823..6dea46e058bd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list-paths-streaming-only.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json
index 6f91901c68c6..98c6f76ef174 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-locators-list.json
@@ -39,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json
index 5532720ca129..cb5f6ccb065c 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-clear.json
@@ -38,4 +38,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json
index 2e4ed2ced08d..52fc0ae3126e 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCbcs-only.json
@@ -64,4 +64,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json
index 5a391d0dda07..f4b39637fd31 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-commonEncryptionCenc-only.json
@@ -91,4 +91,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json
index 6215adf0f6e3..dae05f33ecc1 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-envelopeEncryption-only.json
@@ -53,4 +53,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json
index c82e0156301a..ba379b251a62 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-create-secure-streaming.json
@@ -161,4 +161,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json
index 402f133656ea..f7c557b72159 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json
index a80e669c9990..a9107e1e2bbd 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policies-list.json
@@ -208,4 +208,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json
index 525db8cc0c92..e1f4eb5d3fbb 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streaming-policy-get-by-name.json
@@ -27,4 +27,4 @@
},
"404": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json
index 7988dffd74b1..d2aa1a2e4295 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-create.json
@@ -154,4 +154,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json
index 632ca025edfd..40c287acc475 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-delete.json
@@ -6,7 +6,7 @@
"streamingEndpointName": "myStreamingEndpoint1",
"api-version": "2018-07-01",
"parameters": {
- "Id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
+ "id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1",
"Name": "myStreamingEndpoint1",
"Type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints",
"Location": "West US",
@@ -16,7 +16,7 @@
"tag2": "value2"
}
},
- "Properties": {
+ "properties": {
"Description": "test event 1",
"ScaleUnits": 1,
"AccessControl": null,
@@ -41,4 +41,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json
index db370e9e4a10..bcbc02e5185a 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-all.json
@@ -62,4 +62,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json
index f44064bf9904..d3194bf8ceca 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-list-by-name.json
@@ -37,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json
index 6d8205f8145a..6a324b3b86b5 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-scale.json
@@ -13,4 +13,4 @@
"200": {},
"202": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json
index cee5764636e4..0ace89511dc6 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-start.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json
index cee5764636e4..0ace89511dc6 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-stop.json
@@ -10,4 +10,4 @@
"202": {},
"200": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json
index f83258256808..99d1524ebd94 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/streamingendpoint-update.json
@@ -79,4 +79,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json
index 8c492eae7dd7..b8efcf50fa76 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-create.json
@@ -69,4 +69,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json
index 75397d696f65..f7377895cc28 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-delete.json
@@ -10,4 +10,4 @@
"200": {},
"204": {}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json
index 849d964221c6..aaa70d241f27 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-get-by-name.json
@@ -31,4 +31,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json
index cf729aa5a250..6e9fff4bb24f 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-created.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json
index 28153774e318..7a7c451a796b 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-lastmodified.json
@@ -35,4 +35,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json
index 84a76f252fb5..73abc35d3eff 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all-filter-by-name.json
@@ -63,4 +63,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json
index 0b53d7c2160e..577b65d56e1d 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-list-all.json
@@ -61,4 +61,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json
index f299ef02994f..8676dc1745b7 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/examples/transforms-update.json
@@ -44,4 +44,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json
index b30ff201a412..f48e5640a176 100644
--- a/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json
+++ b/specification/mediaservices/resource-manager/Microsoft.Media/stable/2018-07-01/streamingservice.json
@@ -700,7 +700,7 @@
"List all StreamingEndpoints": {
"$ref": "examples/streamingendpoint-list-all.json"
}
- }
+ }
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}": {
@@ -812,7 +812,7 @@
"Create a StreamingEndpoint": {
"$ref": "examples/streamingendpoint-create.json"
}
- }
+ }
},
"patch": {
"tags": [
@@ -1046,7 +1046,7 @@
"description": "StreamingEndpoint scale parameters",
"in": "body",
"required": true,
- "schema": {
+ "schema": {
"$ref": "#/definitions/StreamingEntityScaleUnit"
}
}
@@ -1054,7 +1054,7 @@
"responses": {
"200": {
"description": "OK. The request has succeeded."
- },
+ },
"202": {
"description": "Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."
},
@@ -1086,7 +1086,10 @@
"description": "The HLS configuration."
},
"LiveOutputProperties": {
- "required": ["assetName","archiveWindowLength"],
+ "required": [
+ "assetName",
+ "archiveWindowLength"
+ ],
"properties": {
"description": {
"type": "string",
@@ -1210,7 +1213,9 @@
"description": "The IP access control for Live Event Input."
},
"LiveEventInput": {
- "required": ["streamingProtocol"],
+ "required": [
+ "streamingProtocol"
+ ],
"properties": {
"streamingProtocol": {
"type": "string",
@@ -1362,7 +1367,9 @@
"description": "The LiveEvent action input parameter definition."
},
"LiveEventProperties": {
- "required": ["input"],
+ "required": [
+ "input"
+ ],
"properties": {
"description": {
"type": "string",
@@ -1536,7 +1543,9 @@
"description": "scale units definition"
},
"StreamingEndpointProperties": {
- "required": ["scaleUnits"],
+ "required": [
+ "scaleUnits"
+ ],
"properties": {
"description": {
"type": "string",
diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md
index 43247c9aaaaa..cacd66745375 100644
--- a/specification/mediaservices/resource-manager/readme.md
+++ b/specification/mediaservices/resource-manager/readme.md
@@ -26,7 +26,7 @@ These are the global settings for the MediaServices API.
``` yaml
openapi-type: arm
-tag: package-2019-05-preview
+tag: package-2018-07
opt-in-extensible-enums: true
```
@@ -110,6 +110,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
@@ -191,6 +192,7 @@ batch:
- tag: package-2018-03-preview
- tag: package-2018-06-preview
- tag: package-2018-07
+ - tag: package-2019-05-preview
```
### Tag: package-2015-10 and java
@@ -245,6 +247,19 @@ regenerate-manager: true
generate-interface: true
```
+### Tag: package-2019-05-preview and java
+
+These settings apply only when `--tag=package-2019-05-preview --java` is specified on the command line.
+Please also specify the `--azure-libraries-for-java-folder=`.
+
+``` yaml $(tag) == 'package-2019-05-preview' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.mediaservices.v2019_05_01_preview
+ output-folder: $(azure-libraries-for-java-folder)/mediaservices/resource-manager/v2019_05_01_preview
+regenerate-manager: true
+generate-interface: true
+```
+
## Suppression
``` yaml
@@ -258,3 +273,56 @@ directive:
where: $.definitions.JobProperties
reason: Output not required for job update
```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Media/preview/2019-05-01-preview/AccountFilters.json
+ - $(this-folder)/Microsoft.Media/preview/2019-05-01-preview/Accounts.json
+ - $(this-folder)/Microsoft.Media/preview/2019-05-01-preview/AssetsAndAssetFilters.json
+ - $(this-folder)/Microsoft.Media/preview/2019-05-01-preview/Common.json
+ - $(this-folder)/Microsoft.Media/preview/2019-05-01-preview/ContentKeyPolicies.json
+ - $(this-folder)/Microsoft.Media/preview/2019-05-01-preview/Encoding.json
+ - $(this-folder)/Microsoft.Media/preview/2019-05-01-preview/StreamingPoliciesAndStreamingLocators.json
+ - $(this-folder)/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json
+ - $(this-folder)/Microsoft.Media/stable/2018-07-01/AccountFilters.json
+ - $(this-folder)/Microsoft.Media/stable/2018-07-01/Accounts.json
+ - $(this-folder)/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json
+ - $(this-folder)/Microsoft.Media/stable/2018-07-01/Common.json
+ - $(this-folder)/Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json
+ - $(this-folder)/Microsoft.Media/stable/2018-07-01/Encoding.json
+ - $(this-folder)/Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json
+ - $(this-folder)/Microsoft.Media/stable/2018-07-01/streamingservice.json
+ - $(this-folder)/Microsoft.Media/stable/2015-10-01/media.json
+ - $(this-folder)/Microsoft.Media/preview/2018-03-30-preview/Accounts.json
+ - $(this-folder)/Microsoft.Media/preview/2018-03-30-preview/Assets.json
+ - $(this-folder)/Microsoft.Media/preview/2018-03-30-preview/ContentKeyPolicies.json
+ - $(this-folder)/Microsoft.Media/preview/2018-03-30-preview/Encoding.json
+ - $(this-folder)/Microsoft.Media/preview/2018-03-30-preview/StreamingPoliciesAndStreamingLocators.json
+ - $(this-folder)/Microsoft.Media/preview/2018-03-30-preview/streamingservice.json
+ - $(this-folder)/Microsoft.Media/preview/2018-06-01-preview/Accounts.json
+ - $(this-folder)/Microsoft.Media/preview/2018-06-01-preview/Assets.json
+ - $(this-folder)/Microsoft.Media/preview/2018-06-01-preview/ContentKeyPolicies.json
+ - $(this-folder)/Microsoft.Media/preview/2018-06-01-preview/Encoding.json
+ - $(this-folder)/Microsoft.Media/preview/2018-06-01-preview/StreamingPoliciesAndStreamingLocators.json
+ - $(this-folder)/Microsoft.Media/preview/2018-06-01-preview/streamingservice.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/migrate/resource-manager/readme.md b/specification/migrate/resource-manager/readme.md
index eccc29721b72..494f1b81e3cd 100644
--- a/specification/migrate/resource-manager/readme.md
+++ b/specification/migrate/resource-manager/readme.md
@@ -75,4 +75,28 @@ swagger-to-sdk:
## Go
-See configuration in [readme.go.md](./readme.go.md)
\ No newline at end of file
+See configuration in [readme.go.md](./readme.go.md)
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Migrate/stable/2018-02-02/migrate.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json
new file mode 100644
index 000000000000..0441039039a6
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_Get.json
@@ -0,0 +1,42 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "databaseInstanceName": "myinstance"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/DatabaseInstances/myinstance",
+ "name": "myinstance",
+ "type": "Microsoft.Migrate/MigrateProjects/DatabaseInstances",
+ "properties": {
+ "discoveryData": [
+ {
+ "lastUpdatedTime": null,
+ "instanceId": "abc",
+ "enqueueTime": "5/4/2019 6:45:51 AM",
+ "solutionName": "serversolution",
+ "instanceName": "sql2002",
+ "instanceVersion": "2.0.0.0",
+ "instanceType": "SQL",
+ "hostName": null,
+ "ipAddress": null,
+ "portNumber": 0,
+ "extendedInfo": null
+ }
+ ],
+ "summary": {
+ "dbsolution": {
+ "databasesAssessedCount": 0,
+ "migrationReadyCount": 0
+ }
+ },
+ "lastUpdatedTime": "2019-05-04T06:45:53.2530098Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json
new file mode 100644
index 000000000000..1de23e30db01
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/DatabaseInstances_List.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/DatabaseInstances/71710b61-8637-4beb-9ede-4449296eb80b",
+ "name": "71710b61-8637-4beb-9ede-4449296eb80b",
+ "type": "Microsoft.Migrate/MigrateProjects/DatabaseInstances",
+ "properties": {
+ "discoveryData": [
+ {
+ "lastUpdatedTime": null,
+ "instanceId": "abc",
+ "enqueueTime": "5/4/2019 6:45:51 AM",
+ "solutionName": "serversolution",
+ "instanceName": "sql2002",
+ "instanceVersion": "2.0.0.0",
+ "instanceType": "SQL",
+ "hostName": null,
+ "ipAddress": null,
+ "portNumber": 0,
+ "extendedInfo": null
+ }
+ ],
+ "summary": {
+ "dbsolution": {
+ "databasesAssessedCount": 0,
+ "migrationReadyCount": 0
+ }
+ },
+ "lastUpdatedTime": "2019-05-04T06:45:53.2530098Z"
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json
new file mode 100644
index 000000000000..1ef3d3b89688
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_Get.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "databaseName": "mydb"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Databases/mydb",
+ "name": "mydb",
+ "type": "Microsoft.Migrate/MigrateProjects/Databases",
+ "properties": {
+ "assessmentData": [
+ {
+ "assessmentId": "myassessment",
+ "migrationBlockersCount": 0,
+ "breakingChangesCount": 0,
+ "isReadyForMigration": true,
+ "assessmentTargetType": "SQL",
+ "lastAssessedTime": "2019-05-04T06:46:40.4340421Z",
+ "compatibilityLevel": null,
+ "databaseSizeInMB": null,
+ "lastUpdatedTime": null,
+ "enqueueTime": "5/4/2019 6:46:37 AM",
+ "solutionName": "serversolution",
+ "instanceId": "abc",
+ "databaseName": "mydb",
+ "extendedInfo": null
+ }
+ ],
+ "lastUpdatedTime": "2019-05-04T06:46:40.4340421Z"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json
new file mode 100644
index 000000000000..73e08fd6ad95
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Databases_List.json
@@ -0,0 +1,43 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Databases/8e7aae48-f7cf-4f7b-942f-243921aa20e2",
+ "name": "8e7aae48-f7cf-4f7b-942f-243921aa20e2",
+ "type": "Microsoft.Migrate/MigrateProjects/Databases",
+ "properties": {
+ "assessmentData": [
+ {
+ "assessmentId": "myassessment",
+ "migrationBlockersCount": 0,
+ "breakingChangesCount": 0,
+ "isReadyForMigration": true,
+ "assessmentTargetType": "SQL",
+ "lastAssessedTime": "2019-05-04T06:46:40.4340421Z",
+ "compatibilityLevel": null,
+ "databaseSizeInMB": null,
+ "lastUpdatedTime": null,
+ "enqueueTime": "5/4/2019 6:46:37 AM",
+ "solutionName": "serversolution",
+ "instanceId": "abc",
+ "databaseName": "mydb",
+ "extendedInfo": null
+ }
+ ],
+ "lastUpdatedTime": "2019-05-04T06:46:40.4340421Z"
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json
new file mode 100644
index 000000000000..79f56a47fd08
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_Get.json
@@ -0,0 +1,81 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "machineName": "vm1"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm1",
+ "name": "vm1",
+ "type": "Microsoft.Migrate/MigrateProjects/machines",
+ "properties": {
+ "discoveryData": [
+ {
+ "osType": "windows",
+ "osName": "windows server 2012 R2",
+ "osVersion": "10.0.01",
+ "enqueueTime": "2017-09-12T13:11:10.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom1": "mycustomvalue"
+ }
+ }
+ ],
+ "assessmentData": [
+ {
+ "assessmentId": "myid1",
+ "targetVMSize": "Standard_D4_v2",
+ "targetVMLocation": "eastus",
+ "targetStorageType": {
+ "disk1": "Standard"
+ },
+ "enqueueTime": "2017-09-12T13:11:20.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom2": "mycustomvalue"
+ }
+ }
+ ],
+ "migrationData": [
+ {
+ "migrationPhase": "Migrated",
+ "migrationTested": true,
+ "replicationProgressPercentage": 100,
+ "targetVMArmId": "/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm1",
+ "enqueueTime": "2017-09-12T13:11:30.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom3": "mycustomvalue"
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json
new file mode 100644
index 000000000000..87bc87b193a3
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Machines_List.json
@@ -0,0 +1,152 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm1",
+ "name": "vm1",
+ "type": "Microsoft.Migrate/MigrateProjects/machines",
+ "properties": {
+ "discoveryData": [
+ {
+ "osType": "windows",
+ "osName": "windows server 2012 R2",
+ "osVersion": "10.0.01",
+ "enqueueTime": "2017-09-12T13:11:10.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom1": "mycustomvalue"
+ }
+ }
+ ],
+ "assessmentData": [
+ {
+ "assessmentId": "myid1",
+ "targetVMSize": "Standard_D4_v2",
+ "targetVMLocation": "eastus",
+ "targetStorageType": {
+ "disk1": "Standard"
+ },
+ "enqueueTime": "2017-09-12T13:11:20.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom2": "mycustomvalue"
+ }
+ }
+ ],
+ "migrationData": [
+ {
+ "migrationPhase": "Migrated",
+ "migrationTested": true,
+ "replicationProgressPercentage": 100,
+ "targetVMArmId": "/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm1",
+ "enqueueTime": "2017-09-12T13:11:30.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "abcd",
+ "machineManagerId": "efgh",
+ "machineName": "vm1",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom3": "mycustomvalue"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/machines/vm2",
+ "name": "vm2",
+ "type": "Microsoft.Migrate/MigrateProjects/machines",
+ "properties": {
+ "discoveryData": [
+ {
+ "osType": "windows",
+ "osName": "windows server 2012 R2",
+ "osVersion": "10.0.01",
+ "enqueueTime": "2017-09-12T13:11:10.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "xyz",
+ "machineManagerId": "efgh",
+ "machineName": "vm2",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom1": "mycustomvalue"
+ }
+ }
+ ],
+ "assessmentData": [
+ {
+ "assessmentId": "myid1",
+ "targetVMSize": "Standard_D4_v2",
+ "targetVMLocation": "eastus",
+ "targetStorageType": {
+ "disk1": "Standard"
+ },
+ "enqueueTime": "2017-09-12T13:11:20.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "xyz",
+ "machineManagerId": "efgh",
+ "machineName": "vm2",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom2": "mycustomvalue"
+ }
+ }
+ ],
+ "migrationData": [
+ {
+ "migrationPhase": "Migrated",
+ "migrationTested": true,
+ "replicationProgressPercentage": 100,
+ "targetVMArmId": "/subscriptions/abc/resourcegroups/rg/providers/microsoft.compute/virtualmachines/vm2",
+ "enqueueTime": "2017-09-12T13:11:30.8808917Z",
+ "solutionName": "mysolution",
+ "machineId": "xyz",
+ "machineManagerId": "efgh",
+ "machineName": "vm2",
+ "ipAddresses": null,
+ "fqdn": null,
+ "biosId": null,
+ "macAddresses": null,
+ "extendedInfo": {
+ "custom3": "mycustomvalue"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json
new file mode 100644
index 000000000000..bd1f79bb1f04
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "eventName": "MigrateEvent01"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json
new file mode 100644
index 000000000000..487c50212ca9
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_Get.json
@@ -0,0 +1,28 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "eventName": "MigrateEvent01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/MigrateEvent01",
+ "name": "MigrateEvent01",
+ "type": "Microsoft.Migrate/MigrateProjects/MigrateEvents",
+ "properties": {
+ "instanceType": "Servers",
+ "machine": "myvm",
+ "errorCode": "600",
+ "errorMessage": "The message does not contain the required parameters to identify the machine.",
+ "recommendation": "Resolve the error and try again.",
+ "possibleCauses": "The mandatory fields are not provided.",
+ "solution": "serversolution",
+ "clientRequestId": "a5dd7e42-4fd1-4512-af04-83ad9864335c"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json
new file mode 100644
index 000000000000..508fb0fb6258
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateEvents_List.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/b80e3c0f-70c0-4057-81e7-14cfa9ebb205",
+ "name": "b80e3c0f-70c0-4057-81e7-14cfa9ebb205",
+ "type": "Microsoft.Migrate/MigrateProjects/MigrateEvents",
+ "properties": {
+ "instanceType": "Servers",
+ "machine": "server1",
+ "errorCode": "600",
+ "errorMessage": "The message does not contain the required parameters to identify the machine.",
+ "recommendation": "Resolve the error and try again.",
+ "possibleCauses": "The mandatory fields are not provided.",
+ "solution": "serversolution",
+ "clientRequestId": "a5dd7e42-4fd1-4512-af04-83ad9864335c"
+ }
+ },
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/MigrateEvents/041dc61e-8568-40f7-b9b3-c66233ace714",
+ "name": "041dc61e-8568-40f7-b9b3-c66233ace714",
+ "type": "Microsoft.Migrate/MigrateProjects/MigrateEvents",
+ "properties": {
+ "instanceType": "Databases",
+ "database": "db1",
+ "databaseInstanceId": "cD",
+ "errorCode": "608",
+ "errorMessage": "The message does not contain the required parameters to identify the database.",
+ "recommendation": "Resolve the error and try again.",
+ "possibleCauses": "The mandatory fields are not provided.",
+ "solution": "dbsolution",
+ "clientRequestId": "cf861fa5-9a2e-4a9f-b51c-8054efa8e75f"
+ }
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json
new file mode 100644
index 000000000000..ac53f8519247
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Delete.json
@@ -0,0 +1,11 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json
new file mode 100644
index 000000000000..9ff41fb0a372
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Get.json
@@ -0,0 +1,47 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "eTag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "location": "",
+ "properties": {
+ "registeredTools": [
+ "ServerMigration"
+ ],
+ "summary": {
+ "servers": {
+ "instanceType": "Servers",
+ "discoveredCount": 0,
+ "assessedCount": 0,
+ "replicatingCount": 0,
+ "testMigratedCount": 0,
+ "migratedCount": 0,
+ "refreshSummaryState": "Completed",
+ "lastSummaryRefreshedTime": "2019-05-27T12:01:18.6070869Z",
+ "extendedSummary": {
+ "microsoftDiscoveredCount": "0"
+ }
+ },
+ "databases": {
+ "instanceType": "Databases",
+ "refreshSummaryState": "Completed",
+ "lastSummaryRefreshedTime": "2019-05-27T12:01:18.6070869Z",
+ "extendedSummary": {}
+ }
+ },
+ "lastSummaryRefreshedTime": "2019-05-27T12:01:18.6070869Z",
+ "refreshSummaryState": "Completed"
+ },
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01",
+ "name": "project01",
+ "type": "Microsoft.Migrate/MigrateProjects"
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json
new file mode 100644
index 000000000000..80a530cd87a5
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Patch.json
@@ -0,0 +1,37 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "body": {
+ "properties": {
+ "registeredTools": [
+ "ServerMigration"
+ ]
+ },
+ "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"",
+ "location": "Southeast Asia",
+ "tags": {}
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "registeredTools": [
+ "ServerMigration"
+ ],
+ "summary": {},
+ "lastSummaryRefreshedTime": "2018-11-12T13:11:10.8808917Z"
+ },
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01",
+ "name": "project01",
+ "type": "Microsoft.Migrate/MigrateProjects",
+ "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"",
+ "location": "Southeast Asia",
+ "tags": {}
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json
new file mode 100644
index 000000000000..4894bda15c6c
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_Put.json
@@ -0,0 +1,46 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "body": {
+ "properties": {},
+ "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"",
+ "location": "Southeast Asia",
+ "tags": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "properties": {
+ "registeredTools": [],
+ "summary": {},
+ "lastSummaryRefreshedTime": "2018-11-12T13:11:10.8808917Z"
+ },
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01",
+ "name": "project01",
+ "type": "Microsoft.Migrate/MigrateProjects",
+ "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"",
+ "location": "Southeast Asia",
+ "tags": {}
+ }
+ },
+ "200": {
+ "body": {
+ "properties": {
+ "registeredTools": [],
+ "summary": {},
+ "lastSummaryRefreshedTime": "2018-11-12T13:11:10.8808917Z"
+ },
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01",
+ "name": "project01",
+ "type": "Microsoft.Migrate/MigrateProjects",
+ "eTag": "\"b701c73a-0000-0000-0000-59c12ff00000\"",
+ "location": "Southeast Asia",
+ "tags": {}
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json
new file mode 100644
index 000000000000..a0131c4c4f54
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RefreshSummary.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "input": {
+ "goal": "Servers"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isRefreshed": true
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json
new file mode 100644
index 000000000000..773f696b2ecb
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/MigrateProjects_RegisterTool.json
@@ -0,0 +1,18 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "input": {
+ "tool": "ServerMigration"
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "isRegistered": true
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json
new file mode 100644
index 000000000000..42a9dad28981
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Operations_List.json
@@ -0,0 +1,155 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects",
+ "operation": "Read",
+ "description": "Reads a migrate project"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Write",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects",
+ "operation": "Write",
+ "description": "Creates or updates a migrate project"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Delete",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects",
+ "operation": "Delete",
+ "description": "Deletes a migrate project"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/registerTool/action",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects",
+ "operation": "Register tool with migrate project",
+ "description": "Registers a tool with the migrate project"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Solutions/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "operation": "Read",
+ "description": "Reads a solution"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Solutions/write",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "operation": "Write",
+ "description": "Creates or updates a solution"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Solutions/delete",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "operation": "Delete",
+ "description": "Deletes a solution"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Solutions/cleanupData/action",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "operation": "Cleans up solution data",
+ "description": "Cleans up data for a solution"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Solutions/getConfig/action",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "operation": "Gets solution config",
+ "description": "Gets configuration of a solution"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Machines/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Machines",
+ "operation": "Read",
+ "description": "Reads a machine"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/MigrateEvents/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/MigrateEvents",
+ "operation": "Read",
+ "description": "Reads a migrate event"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/MigrateEvents/delete",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/MigrateEvents",
+ "operation": "Delete",
+ "description": "Deletes a migrate event"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/Databases/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/Databases",
+ "operation": "Read",
+ "description": "Reads a database"
+ },
+ "origin": "user,system"
+ },
+ {
+ "name": "Microsoft.Migrate/MigrateProjects/DatabaseInstances/read",
+ "display": {
+ "provider": "Microsoft.Migrate",
+ "resource": "Microsoft.Migrate/MigrateProjects/DatabaseInstances",
+ "operation": "Read",
+ "description": "Reads a database instance"
+ },
+ "origin": "user,system"
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json
new file mode 100644
index 000000000000..1347c1c3fa83
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_CleanupData.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "smssolution"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json
new file mode 100644
index 000000000000..1347c1c3fa83
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Delete.json
@@ -0,0 +1,12 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "smssolution"
+ },
+ "responses": {
+ "200": {}
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json
new file mode 100644
index 000000000000..9e9df510134c
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Get.json
@@ -0,0 +1,39 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "dbsolution"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution",
+ "name": "dbsolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases",
+ "status": "Active",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Databases",
+ "databasesAssessedCount": 0,
+ "databaseInstancesAssessedCount": 0,
+ "migrationReadyCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json
new file mode 100644
index 000000000000..e32a1e1c29c9
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_GetConfig.json
@@ -0,0 +1,16 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "smssolution"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "publisherSasUri": "Endpoint=sb://xxx.servicebus.windows.net/;SharedAccessSignature=SharedAccessSignature sr=sb%3a%2f%2fxxx.servicebus.windows.net%2fIsvMigrationPayloadEventHub%2fPublishers%2ffad35230-08cd-4d96-bb75-6e41508adb3b-pub-smssolution&sig=Wpf0ORIJI9AFESLDLlJH1ejrUj2W7hy%2fMac%2f7ewZ6j8%3d&se=1541501430&skn=SendPolicy;EntityPath=xyz;Publisher=fad35230-08cd-4d96-bb75-6e41508adb3b-pub-smssolution"
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json
new file mode 100644
index 000000000000..124ec7d1a421
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_List.json
@@ -0,0 +1,71 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution",
+ "name": "dbsolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases",
+ "status": "Inactive",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Databases",
+ "databasesAssessedCount": 0,
+ "databaseInstancesAssessedCount": 0,
+ "migrationReadyCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ },
+ {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/serversolution",
+ "name": "serversolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c001dc7-0000-0000-0000-5c936e6f0000\"",
+ "properties": {
+ "tool": "ServerDiscovery",
+ "purpose": "Discovery",
+ "goal": "Servers",
+ "status": "Inactive",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Servers",
+ "discoveredCount": 0,
+ "assessedCount": 0,
+ "replicatingCount": 0,
+ "testMigratedCount": 0,
+ "migratedCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ }
+ ],
+ "nextLink": null
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json
new file mode 100644
index 000000000000..d73eb410db7f
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Patch.json
@@ -0,0 +1,44 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "dbsolution",
+ "solutionInput": {
+ "properties": {
+ "status": "Active"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution",
+ "name": "dbsolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases",
+ "status": "Active",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Databases",
+ "databasesAssessedCount": 0,
+ "databaseInstancesAssessedCount": 0,
+ "migrationReadyCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json
new file mode 100644
index 000000000000..57de852abd7f
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/examples/Solutions_Put.json
@@ -0,0 +1,74 @@
+{
+ "parameters": {
+ "resourceGroupName": "myResourceGroup",
+ "api-version": "2018-09-01-preview",
+ "subscriptionId": "75dd7e42-4fd1-4512-af04-83ad9864335b",
+ "migrateProjectName": "project01",
+ "solutionName": "dbsolution",
+ "solutionInput": {
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution",
+ "name": "dbsolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases",
+ "status": "Active",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Databases",
+ "databasesAssessedCount": 0,
+ "databaseInstancesAssessedCount": 0,
+ "migrationReadyCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/75dd7e42-4fd1-4512-af04-83ad9864335b/resourceGroups/myResourceGroup/providers/Microsoft.Migrate/MigrateProjects/project01/Solutions/dbsolution",
+ "name": "dbsolution",
+ "type": "Microsoft.Migrate/MigrateProjects/Solutions",
+ "etag": "\"1c0018c7-0000-0000-0000-5c936e530000\"",
+ "properties": {
+ "tool": "DataMigrationAssistant",
+ "purpose": "Assessment",
+ "goal": "Databases",
+ "status": "Active",
+ "cleanupState": "None",
+ "summary": {
+ "instanceType": "Databases",
+ "databasesAssessedCount": 0,
+ "databaseInstancesAssessedCount": 0,
+ "migrationReadyCount": 0
+ },
+ "details": {
+ "groupCount": 0,
+ "assessmentCount": 0,
+ "extendedDetails": {
+ "mykey": "myvalue"
+ }
+ }
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json
new file mode 100644
index 000000000000..52c856e35be6
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json
@@ -0,0 +1,3137 @@
+{
+ "swagger": "2.0",
+ "info": {
+ "version": "2018-09-01-preview",
+ "title": "Azure Migrate Hub",
+ "description": "Migrate your workloads to Azure.",
+ "contact": {
+ "name": "Microsoft",
+ "email": "azuremigratehub@microsoft.com"
+ }
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "parameters": {
+ "subscriptionId": {
+ "name": "subscriptionId",
+ "description": "Azure Subscription Id in which migrate project was created.",
+ "type": "string",
+ "in": "path",
+ "required": true
+ },
+ "resourceGroupName": {
+ "name": "resourceGroupName",
+ "description": "Name of the Azure Resource Group that migrate project is part of.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "migrateProjectName": {
+ "name": "migrateProjectName",
+ "description": "Name of the Azure Migrate project.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "machineName": {
+ "name": "machineName",
+ "description": "Unique name of a machine in Azure migration hub.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "databaseName": {
+ "name": "databaseName",
+ "description": "Unique name of a database in Azure migration hub.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "databaseInstanceName": {
+ "name": "databaseInstanceName",
+ "description": "Unique name of a database instance in Azure migration hub.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "solutionName": {
+ "name": "solutionName",
+ "description": "Unique name of a migration solution within a migrate project.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "eventName": {
+ "name": "eventName",
+ "description": "Unique name of an event within a migrate project.",
+ "type": "string",
+ "in": "path",
+ "x-ms-parameter-location": "method",
+ "required": true
+ },
+ "continuationToken": {
+ "name": "continuationToken",
+ "description": "The continuation token.",
+ "type": "string",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "pageSize": {
+ "name": "pageSize",
+ "description": "The number of items to be returned in a single page. This value is honored only if it is less than the 100.",
+ "type": "integer",
+ "in": "query",
+ "required": false,
+ "x-ms-parameter-location": "method"
+ },
+ "api-version": {
+ "name": "api-version",
+ "description": "Standard request header. Used by service to identify API version used by client.",
+ "type": "string",
+ "in": "query",
+ "required": true,
+ "enum": [
+ "2018-09-01-preview"
+ ]
+ },
+ "acceptLanguage": {
+ "description": "Standard request header. Used by service to respond to client in appropriate language.",
+ "name": "Accept-Language",
+ "type": "string",
+ "in": "header",
+ "x-ms-parameter-location": "client"
+ }
+ },
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances": {
+ "get": {
+ "tags": [
+ "DatabaseInstances"
+ ],
+ "summary": "Gets a list of database instances in the migrate project.",
+ "operationId": "DatabaseInstances_EnumerateDatabaseInstances",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/continuationToken"
+ },
+ {
+ "$ref": "#/parameters/pageSize"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DatabaseInstanceCollection"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "DatabaseInstances_List": {
+ "$ref": "./examples/DatabaseInstances_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances/{databaseInstanceName}": {
+ "get": {
+ "tags": [
+ "DatabaseInstances"
+ ],
+ "summary": "Gets a database instance in the migrate project.",
+ "operationId": "DatabaseInstances_GetDatabaseInstance",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/databaseInstanceName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DatabaseInstance"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "DatabaseInstances_Get": {
+ "$ref": "./examples/DatabaseInstances_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "summary": "Gets a list of databases in the migrate project.",
+ "operationId": "Databases_EnumerateDatabases",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/continuationToken"
+ },
+ {
+ "$ref": "#/parameters/pageSize"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/DatabaseCollection"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Databases_List": {
+ "$ref": "./examples/Databases_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases/{databaseName}": {
+ "get": {
+ "tags": [
+ "Databases"
+ ],
+ "summary": "Gets a database in the migrate project.",
+ "operationId": "Databases_GetDatabase",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/databaseName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Database"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Databases_Get": {
+ "$ref": "./examples/Databases_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/migrateEvents": {
+ "get": {
+ "tags": [
+ "Events"
+ ],
+ "summary": "Gets a list of events in the migrate project.",
+ "operationId": "Events_EnumerateEvents",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/continuationToken"
+ },
+ {
+ "$ref": "#/parameters/pageSize"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/EventCollection"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateEvents_List": {
+ "$ref": "./examples/MigrateEvents_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/migrateEvents/{eventName}": {
+ "get": {
+ "tags": [
+ "Events"
+ ],
+ "summary": "Gets an event in the migrate project.",
+ "operationId": "Events_GetEvent",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/eventName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrateEvent"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateEvents_Get": {
+ "$ref": "./examples/MigrateEvents_Get.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Events"
+ ],
+ "summary": "Delete the migrate event",
+ "description": "Delete the migrate event. Deleting non-existent migrate event is a no-operation.",
+ "operationId": "Events_DeleteEvent",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/eventName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateEvents_Delete": {
+ "$ref": "./examples/MigrateEvents_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/machines": {
+ "get": {
+ "tags": [
+ "Machines"
+ ],
+ "summary": "Gets a list of machines in the migrate project.",
+ "operationId": "Machines_EnumerateMachines",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/continuationToken"
+ },
+ {
+ "$ref": "#/parameters/pageSize"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MachineCollection"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Machines_List": {
+ "$ref": "./examples/Machines_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/machines/{machineName}": {
+ "get": {
+ "tags": [
+ "Machines"
+ ],
+ "summary": "Gets a machine in the migrate project.",
+ "operationId": "Machines_GetMachine",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/machineName"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Machine"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Machines_Get": {
+ "$ref": "./examples/Machines_Get.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}": {
+ "get": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Method to get a migrate project.",
+ "operationId": "MigrateProjects_GetMigrateProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_Get": {
+ "$ref": "./examples/MigrateProjects_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Method to create or update a migrate project.",
+ "operationId": "MigrateProjects_PutMigrateProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Body with migrate project details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_Put": {
+ "$ref": "./examples/MigrateProjects_Put.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Update migrate project.",
+ "description": "Update a migrate project with specified name. Supports partial updates, for example only tags can be provided.",
+ "operationId": "MigrateProjects_PatchMigrateProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "body",
+ "in": "body",
+ "description": "Body with migrate project details.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/MigrateProject"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_Patch": {
+ "$ref": "./examples/MigrateProjects_Patch.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Delete the migrate project",
+ "description": "Delete the migrate project. Deleting non-existent project is a no-operation.",
+ "operationId": "MigrateProjects_DeleteMigrateProject",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_Delete": {
+ "$ref": "./examples/MigrateProjects_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/registerTool": {
+ "post": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Registers a tool with the migrate project.",
+ "operationId": "MigrateProjects_RegisterTool",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "input",
+ "in": "body",
+ "description": "Input containing the name of the tool to be registered.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RegisterToolInput"
+ }
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RegistrationResult"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_RegisterTool": {
+ "$ref": "./examples/MigrateProjects_RegisterTool.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/refreshSummary": {
+ "post": {
+ "tags": [
+ "MigrateProjects"
+ ],
+ "summary": "Refresh the summary of the migrate project.",
+ "operationId": "MigrateProjects_RefreshMigrateProjectSummary",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "name": "input",
+ "in": "body",
+ "description": "The goal input which needs to be refreshed.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/RefreshSummaryInput"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/RefreshSummaryResult"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "MigrateProjects_RefreshSummary": {
+ "$ref": "./examples/MigrateProjects_RefreshSummary.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}": {
+ "get": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Gets a solution in the migrate project.",
+ "operationId": "Solutions_GetSolution",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_Get": {
+ "$ref": "./examples/Solutions_Get.json"
+ }
+ }
+ },
+ "put": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Creates a solution in the migrate project.",
+ "operationId": "Solutions_PutSolution",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "name": "solutionInput",
+ "in": "body",
+ "description": "The input for the solution.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ },
+ "201": {
+ "description": "Created",
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_Put": {
+ "$ref": "./examples/Solutions_Put.json"
+ }
+ }
+ },
+ "patch": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Update solution.",
+ "description": "Update a solution with specified name. Supports partial updates, for example only tags can be provided.",
+ "operationId": "Solutions_PatchSolution",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "name": "solutionInput",
+ "in": "body",
+ "description": "The input for the solution.",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/Solution"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_Patch": {
+ "$ref": "./examples/Solutions_Patch.json"
+ }
+ }
+ },
+ "delete": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Delete the solution",
+ "description": "Delete the solution. Deleting non-existent project is a no-operation.",
+ "operationId": "Solutions_DeleteSolution",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ },
+ {
+ "$ref": "#/parameters/acceptLanguage"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_Delete": {
+ "$ref": "./examples/Solutions_Delete.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions": {
+ "get": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Gets the list of solutions in the migrate project.",
+ "operationId": "Solutions_EnumerateSolutions",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SolutionsCollection"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_List": {
+ "$ref": "./examples/Solutions_List.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}/getConfig": {
+ "post": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Gets the config for the solution in the migrate project.",
+ "operationId": "Solutions_GetConfig",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "$ref": "#/definitions/SolutionConfig"
+ }
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_GetConfig": {
+ "$ref": "./examples/Solutions_GetConfig.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/solutions/{solutionName}/cleanupData": {
+ "post": {
+ "tags": [
+ "Solutions"
+ ],
+ "summary": "Cleanup the solution data in the migrate project.",
+ "operationId": "Solutions_CleanupSolutionData",
+ "parameters": [
+ {
+ "$ref": "#/parameters/subscriptionId"
+ },
+ {
+ "$ref": "#/parameters/resourceGroupName"
+ },
+ {
+ "$ref": "#/parameters/migrateProjectName"
+ },
+ {
+ "$ref": "#/parameters/solutionName"
+ },
+ {
+ "$ref": "#/parameters/api-version"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "OK"
+ }
+ },
+ "deprecated": false,
+ "x-ms-examples": {
+ "Solutions_CleanupData": {
+ "$ref": "./examples/Solutions_CleanupData.json"
+ }
+ }
+ }
+ },
+ "/providers/Microsoft.Migrate/operations": {
+ "get": {
+ "summary": "Get list of operations supported in the API.",
+ "description": "Get a list of REST API supported by Microsoft.Migrate provider.",
+ "operationId": "Operations_List",
+ "responses": {
+ "200": {
+ "description": "OK. Returns list of operations.",
+ "schema": {
+ "$ref": "#/definitions/OperationResultList"
+ }
+ }
+ },
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "x-ms-examples": {
+ "Operations_List": {
+ "$ref": "./examples/Operations_List.json"
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Object": {
+ "type": "object",
+ "properties": {}
+ },
+ "DatabaseInstanceCollection": {
+ "description": "Collection of database instances.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets the database instances.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseInstance"
+ }
+ },
+ "nextLink": {
+ "description": "Gets or sets the value of nextLink.",
+ "type": "string"
+ }
+ }
+ },
+ "DatabaseInstance": {
+ "description": "DatabaseInstance REST resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets or sets the relative URL to get to this REST resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Gets or sets the name of this REST resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Gets the type of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/DatabaseInstanceProperties",
+ "description": "Gets or sets the properties of the machine."
+ }
+ }
+ },
+ "DatabaseInstanceProperties": {
+ "description": "Properties of the database instance resource.",
+ "type": "object",
+ "properties": {
+ "discoveryData": {
+ "description": "Gets or sets the assessment details of the database instance published by various sources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseInstanceDiscoveryDetails"
+ }
+ },
+ "summary": {
+ "description": "Gets or sets the database instances summary per solution. The key of dictionary is the solution name and value is the corresponding database instance summary object.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/DatabaseInstanceSummary"
+ }
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the database.",
+ "type": "string"
+ }
+ }
+ },
+ "DatabaseInstanceDiscoveryDetails": {
+ "description": "Discovery properties that can be shared by various publishers.",
+ "type": "object",
+ "properties": {
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the database instance details.",
+ "type": "string"
+ },
+ "instanceId": {
+ "description": "Gets or sets the database instance Id.",
+ "type": "string"
+ },
+ "enqueueTime": {
+ "description": "Gets or sets the time the message was enqueued.",
+ "type": "string"
+ },
+ "solutionName": {
+ "description": "Gets or sets the name of the solution that sent the data.",
+ "type": "string"
+ },
+ "instanceName": {
+ "description": "Gets or sets the database instance name.",
+ "type": "string"
+ },
+ "instanceVersion": {
+ "description": "Gets or sets the database instance version.",
+ "type": "string"
+ },
+ "instanceType": {
+ "description": "Gets or sets the database instance type.",
+ "type": "string"
+ },
+ "hostName": {
+ "description": "Gets or sets the host name of the database server.",
+ "type": "string"
+ },
+ "ipAddress": {
+ "description": "Gets or sets the IP addresses of the database server. IP addresses could be IP V4 or IP V6.",
+ "type": "string"
+ },
+ "portNumber": {
+ "format": "int32",
+ "description": "Gets or sets the port number of the database server.",
+ "type": "integer"
+ },
+ "extendedInfo": {
+ "description": "Gets or sets the extended properties of the database server.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "DatabaseInstanceSummary": {
+ "description": "Class representing the database instance summary object.",
+ "type": "object",
+ "properties": {
+ "databasesAssessedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of databases assessed.",
+ "type": "integer"
+ },
+ "migrationReadyCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of databases ready for migration.",
+ "type": "integer"
+ }
+ }
+ },
+ "DatabaseCollection": {
+ "description": "Collection of databases.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets the databases.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Database"
+ }
+ },
+ "nextLink": {
+ "description": "Gets or sets the value of nextLink.",
+ "type": "string"
+ }
+ }
+ },
+ "Database": {
+ "description": "Database REST resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets or sets the relative URL to get to this REST resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Gets or sets the name of this REST resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Gets the type of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/DatabaseProperties",
+ "description": "Gets or sets the properties of the database."
+ }
+ }
+ },
+ "DatabaseProperties": {
+ "description": "Properties of the database resource.",
+ "type": "object",
+ "properties": {
+ "assessmentData": {
+ "description": "Gets or sets the assessment details of the database published by various sources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DatabaseAssessmentDetails"
+ }
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the database.",
+ "type": "string"
+ }
+ }
+ },
+ "DatabaseAssessmentDetails": {
+ "description": "Assessment properties that can be shared by various publishers.",
+ "type": "object",
+ "properties": {
+ "assessmentId": {
+ "description": "Gets or sets the database assessment scope/Id.",
+ "type": "string"
+ },
+ "migrationBlockersCount": {
+ "format": "int32",
+ "description": "Gets or sets the number of blocking changes found.",
+ "type": "integer"
+ },
+ "breakingChangesCount": {
+ "format": "int32",
+ "description": "Gets or sets the number of breaking changes found.",
+ "type": "integer"
+ },
+ "isReadyForMigration": {
+ "description": "Gets or sets a value indicating whether the database is ready for migration.",
+ "type": "boolean"
+ },
+ "assessmentTargetType": {
+ "description": "Gets or sets the assessed target database type.",
+ "type": "string"
+ },
+ "lastAssessedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time when the database was last assessed.",
+ "type": "string"
+ },
+ "compatibilityLevel": {
+ "description": "Gets or sets the compatibility level of the database.",
+ "type": "string"
+ },
+ "databaseSizeInMB": {
+ "description": "Gets or sets the database size.",
+ "type": "string"
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the database details.",
+ "type": "string"
+ },
+ "enqueueTime": {
+ "description": "Gets or sets the time the message was enqueued.",
+ "type": "string"
+ },
+ "solutionName": {
+ "description": "Gets or sets the name of the solution that sent the data.",
+ "type": "string"
+ },
+ "instanceId": {
+ "description": "Gets or sets the database server instance Id.",
+ "type": "string"
+ },
+ "databaseName": {
+ "description": "Gets or sets the database name.",
+ "type": "string"
+ },
+ "extendedInfo": {
+ "description": "Gets or sets the extended properties of the database.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "EventCollection": {
+ "description": "Collection of events.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets the machines.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrateEvent"
+ }
+ },
+ "nextLink": {
+ "description": "Gets or sets the value of nextLink.",
+ "type": "string"
+ }
+ }
+ },
+ "MigrateEvent": {
+ "description": "MigrateEvent REST resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets or sets the relative URL to get to this REST resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Gets or sets the name of this REST resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Gets the type of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/MigrateEventProperties",
+ "description": "Gets or sets the properties of the event."
+ }
+ }
+ },
+ "MigrateEventProperties": {
+ "description": "Properties of the error resource.",
+ "type": "object",
+ "properties": {
+ "instanceType": {
+ "description": "Gets the Instance type.",
+ "type": "string",
+ "readOnly": true
+ },
+ "errorCode": {
+ "description": "Gets or sets the error code.",
+ "type": "string"
+ },
+ "errorMessage": {
+ "description": "Gets or sets the error message.",
+ "type": "string"
+ },
+ "recommendation": {
+ "description": "Gets or sets the recommendation for the error.",
+ "type": "string"
+ },
+ "possibleCauses": {
+ "description": "Gets or sets the possible causes for the error.",
+ "type": "string"
+ },
+ "solution": {
+ "description": "Gets or sets the solution for which the error is being reported.",
+ "type": "string"
+ },
+ "clientRequestId": {
+ "description": "Gets or sets the client request Id of the payload for which the event is being reported.",
+ "type": "string"
+ }
+ },
+ "discriminator": "instanceType"
+ },
+ "ODataQueryOptions`1": {
+ "type": "object",
+ "properties": {
+ "filter": {
+ "$ref": "#/definitions/FilterQueryOption",
+ "readOnly": true
+ }
+ }
+ },
+ "ODataQueryContext": {
+ "type": "object",
+ "properties": {
+ "defaultQuerySettings": {
+ "$ref": "#/definitions/DefaultQuerySettings",
+ "readOnly": true
+ },
+ "model": {
+ "$ref": "#/definitions/IEdmModel",
+ "readOnly": true
+ },
+ "elementType": {
+ "$ref": "#/definitions/IEdmType",
+ "readOnly": true
+ },
+ "navigationSource": {
+ "$ref": "#/definitions/IEdmNavigationSource",
+ "readOnly": true
+ },
+ "elementClrType": {
+ "type": "string",
+ "readOnly": true
+ },
+ "path": {
+ "$ref": "#/definitions/ODataPath",
+ "readOnly": true
+ },
+ "requestContainer": {
+ "$ref": "#/definitions/IServiceProvider",
+ "readOnly": true
+ }
+ }
+ },
+ "ODataRawQueryOptions": {
+ "type": "object",
+ "properties": {
+ "filter": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "FilterQueryOption": {
+ "type": "object",
+ "properties": {
+ "context": {
+ "$ref": "#/definitions/ODataQueryContext",
+ "readOnly": true
+ },
+ "validator": {
+ "$ref": "#/definitions/FilterQueryValidator"
+ },
+ "filterClause": {
+ "$ref": "#/definitions/FilterClause",
+ "readOnly": true
+ },
+ "rawValue": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ODataQueryValidator": {
+ "type": "object",
+ "properties": {}
+ },
+ "DefaultQuerySettings": {
+ "type": "object",
+ "properties": {
+ "enableExpand": {
+ "type": "boolean"
+ },
+ "enableSelect": {
+ "type": "boolean"
+ },
+ "enableCount": {
+ "type": "boolean"
+ },
+ "enableOrderBy": {
+ "type": "boolean"
+ },
+ "enableFilter": {
+ "type": "boolean"
+ },
+ "maxTop": {
+ "format": "int32",
+ "type": "integer"
+ }
+ }
+ },
+ "IEdmModel": {
+ "type": "object",
+ "properties": {
+ "schemaElements": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmSchemaElement"
+ },
+ "readOnly": true
+ },
+ "vocabularyAnnotations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmVocabularyAnnotation"
+ },
+ "readOnly": true
+ },
+ "referencedModels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmModel"
+ },
+ "readOnly": true
+ },
+ "declaredNamespaces": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "directValueAnnotationsManager": {
+ "$ref": "#/definitions/IEdmDirectValueAnnotationsManager",
+ "readOnly": true
+ },
+ "entityContainer": {
+ "$ref": "#/definitions/IEdmEntityContainer",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmType": {
+ "type": "object",
+ "properties": {
+ "typeKind": {
+ "enum": [
+ "None",
+ "Primitive",
+ "Entity",
+ "Complex",
+ "Collection",
+ "EntityReference",
+ "Enum",
+ "TypeDefinition",
+ "Untyped",
+ "Path"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmNavigationSource": {
+ "type": "object",
+ "properties": {
+ "navigationPropertyBindings": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmNavigationPropertyBinding"
+ },
+ "readOnly": true
+ },
+ "path": {
+ "$ref": "#/definitions/IEdmPathExpression",
+ "readOnly": true
+ },
+ "type": {
+ "$ref": "#/definitions/IEdmType",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ODataPath": {
+ "type": "object",
+ "properties": {
+ "edmType": {
+ "$ref": "#/definitions/IEdmType",
+ "readOnly": true
+ },
+ "navigationSource": {
+ "$ref": "#/definitions/IEdmNavigationSource",
+ "readOnly": true
+ },
+ "segments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ODataPathSegment"
+ },
+ "readOnly": true
+ },
+ "pathTemplate": {
+ "type": "string",
+ "readOnly": true
+ },
+ "path": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ODataPathSegment"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "IServiceProvider": {
+ "type": "object",
+ "properties": {}
+ },
+ "SelectExpandQueryValidator": {
+ "type": "object",
+ "properties": {}
+ },
+ "SelectExpandClause": {
+ "type": "object",
+ "properties": {
+ "selectedItems": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectItem"
+ },
+ "readOnly": true
+ },
+ "allSelected": {
+ "type": "boolean",
+ "readOnly": true
+ }
+ }
+ },
+ "ApplyClause": {
+ "type": "object",
+ "properties": {
+ "transformations": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TransformationNode"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "FilterQueryValidator": {
+ "type": "object",
+ "properties": {}
+ },
+ "FilterClause": {
+ "type": "object",
+ "properties": {
+ "expression": {
+ "$ref": "#/definitions/SingleValueNode",
+ "readOnly": true
+ },
+ "rangeVariable": {
+ "$ref": "#/definitions/RangeVariable",
+ "readOnly": true
+ },
+ "itemType": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmSchemaElement": {
+ "type": "object",
+ "properties": {
+ "schemaElementKind": {
+ "enum": [
+ "None",
+ "TypeDefinition",
+ "Term",
+ "Action",
+ "EntityContainer",
+ "Function"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "namespace": {
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmVocabularyAnnotation": {
+ "type": "object",
+ "properties": {
+ "qualifier": {
+ "type": "string",
+ "readOnly": true
+ },
+ "term": {
+ "$ref": "#/definitions/IEdmTerm",
+ "readOnly": true
+ },
+ "target": {
+ "$ref": "#/definitions/IEdmVocabularyAnnotatable",
+ "readOnly": true
+ },
+ "value": {
+ "$ref": "#/definitions/IEdmExpression",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmDirectValueAnnotationsManager": {
+ "type": "object",
+ "properties": {}
+ },
+ "IEdmEntityContainer": {
+ "type": "object",
+ "properties": {
+ "elements": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmEntityContainerElement"
+ },
+ "readOnly": true
+ },
+ "schemaElementKind": {
+ "enum": [
+ "None",
+ "TypeDefinition",
+ "Term",
+ "Action",
+ "EntityContainer",
+ "Function"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "namespace": {
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmNavigationPropertyBinding": {
+ "type": "object",
+ "properties": {
+ "navigationProperty": {
+ "$ref": "#/definitions/IEdmNavigationProperty",
+ "readOnly": true
+ },
+ "target": {
+ "$ref": "#/definitions/IEdmNavigationSource",
+ "readOnly": true
+ },
+ "path": {
+ "$ref": "#/definitions/IEdmPathExpression",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmPathExpression": {
+ "type": "object",
+ "properties": {
+ "pathSegments": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "readOnly": true
+ },
+ "path": {
+ "type": "string",
+ "readOnly": true
+ },
+ "expressionKind": {
+ "enum": [
+ "None",
+ "BinaryConstant",
+ "BooleanConstant",
+ "DateTimeOffsetConstant",
+ "DecimalConstant",
+ "FloatingConstant",
+ "GuidConstant",
+ "IntegerConstant",
+ "StringConstant",
+ "DurationConstant",
+ "Null",
+ "Record",
+ "Collection",
+ "Path",
+ "If",
+ "Cast",
+ "IsType",
+ "FunctionApplication",
+ "LabeledExpressionReference",
+ "Labeled",
+ "PropertyPath",
+ "NavigationPropertyPath",
+ "DateConstant",
+ "TimeOfDayConstant",
+ "EnumMember",
+ "AnnotationPath"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "ODataPathSegment": {
+ "type": "object",
+ "properties": {
+ "edmType": {
+ "$ref": "#/definitions/IEdmType",
+ "readOnly": true
+ },
+ "identifier": {
+ "type": "string"
+ }
+ }
+ },
+ "SelectItem": {
+ "type": "object",
+ "properties": {}
+ },
+ "TransformationNode": {
+ "type": "object",
+ "properties": {
+ "kind": {
+ "enum": [
+ "Aggregate",
+ "GroupBy",
+ "Filter",
+ "Compute"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "SingleValueNode": {
+ "type": "object",
+ "properties": {
+ "typeReference": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "kind": {
+ "enum": [
+ "None",
+ "Constant",
+ "Convert",
+ "NonResourceRangeVariableReference",
+ "BinaryOperator",
+ "UnaryOperator",
+ "SingleValuePropertyAccess",
+ "CollectionPropertyAccess",
+ "SingleValueFunctionCall",
+ "Any",
+ "CollectionNavigationNode",
+ "SingleNavigationNode",
+ "SingleValueOpenPropertyAccess",
+ "SingleResourceCast",
+ "All",
+ "CollectionResourceCast",
+ "ResourceRangeVariableReference",
+ "SingleResourceFunctionCall",
+ "CollectionFunctionCall",
+ "CollectionResourceFunctionCall",
+ "NamedFunctionParameter",
+ "ParameterAlias",
+ "EntitySet",
+ "KeyLookup",
+ "SearchTerm",
+ "CollectionOpenPropertyAccess",
+ "CollectionComplexNode",
+ "SingleComplexNode",
+ "Count",
+ "SingleValueCast",
+ "CollectionPropertyNode",
+ "AggregatedCollectionPropertyNode",
+ "In",
+ "CollectionConstant"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "RangeVariable": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "readOnly": true
+ },
+ "typeReference": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "kind": {
+ "format": "int32",
+ "type": "integer",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmTypeReference": {
+ "type": "object",
+ "properties": {
+ "isNullable": {
+ "type": "boolean",
+ "readOnly": true
+ },
+ "definition": {
+ "$ref": "#/definitions/IEdmType",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmTerm": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "appliesTo": {
+ "type": "string",
+ "readOnly": true
+ },
+ "defaultValue": {
+ "type": "string",
+ "readOnly": true
+ },
+ "schemaElementKind": {
+ "enum": [
+ "None",
+ "TypeDefinition",
+ "Term",
+ "Action",
+ "EntityContainer",
+ "Function"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "namespace": {
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmVocabularyAnnotatable": {
+ "type": "object",
+ "properties": {}
+ },
+ "IEdmExpression": {
+ "type": "object",
+ "properties": {
+ "expressionKind": {
+ "enum": [
+ "None",
+ "BinaryConstant",
+ "BooleanConstant",
+ "DateTimeOffsetConstant",
+ "DecimalConstant",
+ "FloatingConstant",
+ "GuidConstant",
+ "IntegerConstant",
+ "StringConstant",
+ "DurationConstant",
+ "Null",
+ "Record",
+ "Collection",
+ "Path",
+ "If",
+ "Cast",
+ "IsType",
+ "FunctionApplication",
+ "LabeledExpressionReference",
+ "Labeled",
+ "PropertyPath",
+ "NavigationPropertyPath",
+ "DateConstant",
+ "TimeOfDayConstant",
+ "EnumMember",
+ "AnnotationPath"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmEntityContainerElement": {
+ "type": "object",
+ "properties": {
+ "containerElementKind": {
+ "enum": [
+ "None",
+ "EntitySet",
+ "ActionImport",
+ "FunctionImport",
+ "Singleton"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "container": {
+ "$ref": "#/definitions/IEdmEntityContainer",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmNavigationProperty": {
+ "type": "object",
+ "properties": {
+ "partner": {
+ "$ref": "#/definitions/IEdmNavigationProperty",
+ "readOnly": true
+ },
+ "onDelete": {
+ "enum": [
+ "None",
+ "Cascade"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "containsTarget": {
+ "type": "boolean",
+ "readOnly": true
+ },
+ "referentialConstraint": {
+ "$ref": "#/definitions/IEdmReferentialConstraint",
+ "readOnly": true
+ },
+ "propertyKind": {
+ "enum": [
+ "None",
+ "Structural",
+ "Navigation"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "declaringType": {
+ "$ref": "#/definitions/IEdmStructuredType",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmReferentialConstraint": {
+ "type": "object",
+ "properties": {
+ "propertyPairs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EdmReferentialConstraintPropertyPair"
+ },
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmStructuredType": {
+ "type": "object",
+ "properties": {
+ "isAbstract": {
+ "type": "boolean",
+ "readOnly": true
+ },
+ "isOpen": {
+ "type": "boolean",
+ "readOnly": true
+ },
+ "baseType": {
+ "$ref": "#/definitions/IEdmStructuredType",
+ "readOnly": true
+ },
+ "declaredProperties": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/IEdmProperty"
+ },
+ "readOnly": true
+ },
+ "typeKind": {
+ "enum": [
+ "None",
+ "Primitive",
+ "Entity",
+ "Complex",
+ "Collection",
+ "EntityReference",
+ "Enum",
+ "TypeDefinition",
+ "Untyped",
+ "Path"
+ ],
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "EdmReferentialConstraintPropertyPair": {
+ "type": "object",
+ "properties": {
+ "dependentProperty": {
+ "$ref": "#/definitions/IEdmStructuralProperty",
+ "readOnly": true
+ },
+ "principalProperty": {
+ "$ref": "#/definitions/IEdmStructuralProperty",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmProperty": {
+ "type": "object",
+ "properties": {
+ "propertyKind": {
+ "enum": [
+ "None",
+ "Structural",
+ "Navigation"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "declaringType": {
+ "$ref": "#/definitions/IEdmStructuredType",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "IEdmStructuralProperty": {
+ "type": "object",
+ "properties": {
+ "defaultValueString": {
+ "type": "string",
+ "readOnly": true
+ },
+ "propertyKind": {
+ "enum": [
+ "None",
+ "Structural",
+ "Navigation"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "$ref": "#/definitions/IEdmTypeReference",
+ "readOnly": true
+ },
+ "declaringType": {
+ "$ref": "#/definitions/IEdmStructuredType",
+ "readOnly": true
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "MachineCollection": {
+ "description": "Collection of machines.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets the machines.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Machine"
+ }
+ },
+ "nextLink": {
+ "description": "Gets or sets the value of nextLink.",
+ "type": "string"
+ }
+ }
+ },
+ "Machine": {
+ "description": "Machine REST resource.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets or sets the relative URL to get to this REST resource.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Gets or sets the name of this REST resource.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Gets the type of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "properties": {
+ "$ref": "#/definitions/MachineProperties",
+ "description": "Gets or sets the properties of the machine."
+ }
+ }
+ },
+ "MachineProperties": {
+ "description": "Properties of the machine resource.",
+ "type": "object",
+ "properties": {
+ "discoveryData": {
+ "description": "Gets or sets the discovery details of the machine published by various sources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DiscoveryDetails"
+ }
+ },
+ "assessmentData": {
+ "description": "Gets or sets the assessment details of the machine published by various sources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/AssessmentDetails"
+ }
+ },
+ "migrationData": {
+ "description": "Gets or sets the migration details of the machine published by various sources.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MigrationDetails"
+ }
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the machine.",
+ "type": "string"
+ }
+ }
+ },
+ "DiscoveryDetails": {
+ "description": "Discovery properties that can be published by various ISVs.",
+ "type": "object",
+ "properties": {
+ "osType": {
+ "description": "Gets or sets the OS type.",
+ "type": "string"
+ },
+ "osName": {
+ "description": "Gets or sets the OS name.",
+ "type": "string"
+ },
+ "osVersion": {
+ "description": "Gets or sets the OS version.",
+ "type": "string"
+ },
+ "enqueueTime": {
+ "description": "Gets or sets the time the message was enqueued.",
+ "type": "string"
+ },
+ "solutionName": {
+ "description": "Gets or sets the name of the solution that sent the data.",
+ "type": "string"
+ },
+ "machineId": {
+ "description": "Gets or sets the unique identifier of the machine.",
+ "type": "string"
+ },
+ "machineManagerId": {
+ "description": "Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).",
+ "type": "string"
+ },
+ "fabricType": {
+ "description": "Gets or sets the fabric type.",
+ "type": "string"
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the machine details.",
+ "type": "string"
+ },
+ "machineName": {
+ "description": "Gets or sets the name of the machine.",
+ "type": "string"
+ },
+ "ipAddresses": {
+ "description": "Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "fqdn": {
+ "description": "Gets or sets the FQDN of the machine.",
+ "type": "string"
+ },
+ "biosId": {
+ "description": "Gets or sets the BIOS ID of the machine.",
+ "type": "string"
+ },
+ "macAddresses": {
+ "description": "Gets or sets the list of MAC addresses of the machine.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "extendedInfo": {
+ "description": "Gets or sets the ISV specific extended information.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "AssessmentDetails": {
+ "description": "Assessment properties that can be shared by various publishers.",
+ "type": "object",
+ "properties": {
+ "assessmentId": {
+ "description": "Gets or sets the id of the assessment done on the machine.",
+ "type": "string"
+ },
+ "targetVMSize": {
+ "description": "Gets or sets the target VM size.",
+ "type": "string"
+ },
+ "targetVMLocation": {
+ "description": "Gets or sets the target VM location.",
+ "type": "string"
+ },
+ "targetStorageType": {
+ "description": "Gets or sets the target storage type.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ },
+ "enqueueTime": {
+ "description": "Gets or sets the time the message was enqueued.",
+ "type": "string"
+ },
+ "solutionName": {
+ "description": "Gets or sets the name of the solution that sent the data.",
+ "type": "string"
+ },
+ "machineId": {
+ "description": "Gets or sets the unique identifier of the machine.",
+ "type": "string"
+ },
+ "machineManagerId": {
+ "description": "Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).",
+ "type": "string"
+ },
+ "fabricType": {
+ "description": "Gets or sets the fabric type.",
+ "type": "string"
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the machine details.",
+ "type": "string"
+ },
+ "machineName": {
+ "description": "Gets or sets the name of the machine.",
+ "type": "string"
+ },
+ "ipAddresses": {
+ "description": "Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "fqdn": {
+ "description": "Gets or sets the FQDN of the machine.",
+ "type": "string"
+ },
+ "biosId": {
+ "description": "Gets or sets the BIOS ID of the machine.",
+ "type": "string"
+ },
+ "macAddresses": {
+ "description": "Gets or sets the list of MAC addresses of the machine.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "extendedInfo": {
+ "description": "Gets or sets the ISV specific extended information.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "MigrationDetails": {
+ "description": "Migration properties that can be shared by various publishers.",
+ "type": "object",
+ "properties": {
+ "migrationPhase": {
+ "description": "Gets or sets the phase of migration of the machine.",
+ "type": "string"
+ },
+ "migrationTested": {
+ "description": "Gets or sets a value indicating whether migration was tested on the machine.",
+ "type": "boolean"
+ },
+ "replicationProgressPercentage": {
+ "format": "int32",
+ "description": "Gets or sets the progress percentage of migration on the machine.",
+ "type": "integer"
+ },
+ "targetVMArmId": {
+ "description": "Gets or sets the ARM id the migrated VM.",
+ "type": "string"
+ },
+ "enqueueTime": {
+ "description": "Gets or sets the time the message was enqueued.",
+ "type": "string"
+ },
+ "solutionName": {
+ "description": "Gets or sets the name of the solution that sent the data.",
+ "type": "string"
+ },
+ "machineId": {
+ "description": "Gets or sets the unique identifier of the machine.",
+ "type": "string"
+ },
+ "machineManagerId": {
+ "description": "Gets or sets the unique identifier of the virtual machine manager(vCenter/VMM).",
+ "type": "string"
+ },
+ "fabricType": {
+ "description": "Gets or sets the fabric type.",
+ "type": "string"
+ },
+ "lastUpdatedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time of the last modification of the machine details.",
+ "type": "string"
+ },
+ "machineName": {
+ "description": "Gets or sets the name of the machine.",
+ "type": "string"
+ },
+ "ipAddresses": {
+ "description": "Gets or sets the list of IP addresses of the machine. IP addresses could be IP V4 or IP V6.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "fqdn": {
+ "description": "Gets or sets the FQDN of the machine.",
+ "type": "string"
+ },
+ "biosId": {
+ "description": "Gets or sets the BIOS ID of the machine.",
+ "type": "string"
+ },
+ "macAddresses": {
+ "description": "Gets or sets the list of MAC addresses of the machine.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "extendedInfo": {
+ "description": "Gets or sets the ISV specific extended information.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "MigrateProject": {
+ "description": "Migrate Project REST Resource.",
+ "type": "object",
+ "x-ms-azure-resource": true,
+ "properties": {
+ "eTag": {
+ "description": "Gets or sets the eTag for concurrency control.",
+ "type": "string"
+ },
+ "location": {
+ "description": "Gets or sets the Azure location in which migrate project is created.",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "#/definitions/MigrateProjectProperties",
+ "description": "Gets or sets the nested properties."
+ },
+ "id": {
+ "description": "Gets the relative URL to get this migrate project.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Gets the name of the migrate project.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Handled by resource provider. Type = Microsoft.Migrate/MigrateProject.",
+ "type": "string",
+ "readOnly": true
+ },
+ "tags": {
+ "description": "Gets or sets the tags.",
+ "type": "object",
+ "properties": {
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "MigrateProjectProperties": {
+ "description": "Class for migrate project properties.",
+ "type": "object",
+ "properties": {
+ "registeredTools": {
+ "description": "Gets or sets the list of tools registered with the migrate project.",
+ "type": "array",
+ "items": {
+ "enum": [
+ "ServerDiscovery",
+ "ServerAssessment",
+ "ServerMigration",
+ "Cloudamize",
+ "Turbonomic",
+ "Zerto",
+ "CorentTech",
+ "ServerAssessmentV1",
+ "ServerMigration_Replication",
+ "Carbonite",
+ "DataMigrationAssistant",
+ "DatabaseMigrationService"
+ ],
+ "type": "string"
+ }
+ },
+ "summary": {
+ "description": "Gets the summary of the migrate project.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ProjectSummary"
+ },
+ "readOnly": true
+ },
+ "lastSummaryRefreshedTime": {
+ "format": "date-time",
+ "description": "Gets the last time the project summary was refreshed.",
+ "type": "string",
+ "readOnly": true
+ },
+ "refreshSummaryState": {
+ "description": "Gets the refresh summary state.",
+ "enum": [
+ "Started",
+ "InProgress",
+ "Completed",
+ "Failed"
+ ],
+ "type": "string",
+ "readOnly": true
+ },
+ "provisioningState": {
+ "type": "string",
+ "enum": [
+ "Accepted",
+ "Creating",
+ "Deleting",
+ "Failed",
+ "Moving",
+ "Succeeded"
+ ],
+ "description": "Provisioning state of the migrate project.",
+ "x-ms-enum": {
+ "name": "ProvisioningState",
+ "modelAsString": true
+ }
+ }
+ }
+ },
+ "ProjectSummary": {
+ "description": "The project summary class.",
+ "type": "object",
+ "properties": {
+ "instanceType": {
+ "description": "Gets the Instance type.",
+ "type": "string",
+ "readOnly": true
+ },
+ "refreshSummaryState": {
+ "description": "Gets or sets the state of refresh summary.",
+ "enum": [
+ "Started",
+ "InProgress",
+ "Completed",
+ "Failed"
+ ],
+ "type": "string"
+ },
+ "lastSummaryRefreshedTime": {
+ "format": "date-time",
+ "description": "Gets or sets the time when summary was last refreshed.",
+ "type": "string"
+ },
+ "extendedSummary": {
+ "description": "Gets or sets the extended summary.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ },
+ "discriminator": "instanceType"
+ },
+ "RegisterToolInput": {
+ "description": "Class representing the register tool input.",
+ "type": "object",
+ "properties": {
+ "tool": {
+ "description": "Gets or sets the tool to be registered.",
+ "enum": [
+ "ServerDiscovery",
+ "ServerAssessment",
+ "ServerMigration",
+ "Cloudamize",
+ "Turbonomic",
+ "Zerto",
+ "CorentTech",
+ "ServerAssessmentV1",
+ "ServerMigration_Replication",
+ "Carbonite",
+ "DataMigrationAssistant",
+ "DatabaseMigrationService"
+ ],
+ "type": "string"
+ }
+ }
+ },
+ "RegistrationResult": {
+ "description": "Class representing the registration status of a tool with the migrate project.",
+ "type": "object",
+ "properties": {
+ "isRegistered": {
+ "description": "Gets or sets a value indicating whether the tool is registered or not.",
+ "type": "boolean"
+ }
+ }
+ },
+ "RefreshSummaryResult": {
+ "description": "Class representing the refresh summary status of the migrate project.",
+ "type": "object",
+ "properties": {
+ "isRefreshed": {
+ "description": "Gets or sets a value indicating whether the migrate project summary is refreshed.",
+ "type": "boolean"
+ }
+ }
+ },
+ "RefreshSummaryInput": {
+ "description": "Class representing the refresh summary input.",
+ "type": "object",
+ "properties": {
+ "goal": {
+ "description": "Gets or sets the goal for which summary needs to be refreshed.",
+ "enum": [
+ "Servers",
+ "Databases"
+ ],
+ "type": "string"
+ }
+ }
+ },
+ "Solution": {
+ "description": "Solution REST Resource.",
+ "x-ms-azure-resource": true,
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "Gets the relative URL to get to this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "name": {
+ "description": "Gets the name of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "type": {
+ "description": "Gets the type of this REST resource.",
+ "type": "string",
+ "readOnly": true
+ },
+ "etag": {
+ "description": "Gets or sets the ETAG for optimistic concurrency control.",
+ "type": "string"
+ },
+ "properties": {
+ "$ref": "#/definitions/SolutionProperties",
+ "description": "Gets or sets the properties of the solution."
+ }
+ }
+ },
+ "SolutionProperties": {
+ "description": "Class for solution properties.",
+ "type": "object",
+ "properties": {
+ "tool": {
+ "description": "Gets or sets the tool being used in the solution.",
+ "enum": [
+ "ServerDiscovery",
+ "ServerAssessment",
+ "ServerMigration",
+ "Cloudamize",
+ "Turbonomic",
+ "Zerto",
+ "CorentTech",
+ "ServerAssessmentV1",
+ "ServerMigration_Replication",
+ "Carbonite",
+ "DataMigrationAssistant",
+ "DatabaseMigrationService"
+ ],
+ "type": "string"
+ },
+ "purpose": {
+ "description": "Gets or sets the purpose of the solution.",
+ "enum": [
+ "Discovery",
+ "Assessment",
+ "Migration"
+ ],
+ "type": "string"
+ },
+ "goal": {
+ "description": "Gets or sets the goal of the solution.",
+ "enum": [
+ "Servers",
+ "Databases"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "description": "Gets or sets the current status of the solution.",
+ "enum": [
+ "Inactive",
+ "Active"
+ ],
+ "type": "string"
+ },
+ "cleanupState": {
+ "description": "Gets or sets the cleanup state of the solution.",
+ "enum": [
+ "None",
+ "Started",
+ "InProgress",
+ "Completed",
+ "Failed"
+ ],
+ "type": "string"
+ },
+ "summary": {
+ "$ref": "#/definitions/SolutionSummary",
+ "description": "Gets or sets the summary of the solution."
+ },
+ "details": {
+ "$ref": "#/definitions/SolutionDetails",
+ "description": "Gets or sets the details of the solution."
+ }
+ }
+ },
+ "SolutionSummary": {
+ "description": "The solution summary class.",
+ "type": "object",
+ "properties": {
+ "instanceType": {
+ "description": "Gets the Instance type.",
+ "type": "string",
+ "readOnly": true
+ }
+ },
+ "discriminator": "instanceType"
+ },
+ "SolutionDetails": {
+ "description": "Class representing the details of the solution.",
+ "type": "object",
+ "properties": {
+ "groupCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of groups reported by the solution.",
+ "type": "integer"
+ },
+ "assessmentCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of assessments reported by the solution.",
+ "type": "integer"
+ },
+ "extendedDetails": {
+ "description": "Gets or sets the extended details reported by the solution.",
+ "type": "object",
+ "additionalProperties": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "SolutionsCollection": {
+ "description": "Collection of solutions.",
+ "type": "object",
+ "properties": {
+ "value": {
+ "description": "Gets or sets the list of solutions.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Solution"
+ }
+ },
+ "nextLink": {
+ "description": "Gets or sets the value of next link.",
+ "type": "string"
+ }
+ }
+ },
+ "SolutionConfig": {
+ "description": "Class representing the config for the solution in the migrate project.",
+ "type": "object",
+ "properties": {
+ "publisherSasUri": {
+ "description": "Gets or sets the publisher sas uri for the solution.",
+ "type": "string"
+ }
+ }
+ },
+ "ServersProjectSummary": {
+ "description": "Class representing the servers project summary.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProjectSummary"
+ }
+ ],
+ "properties": {
+ "discoveredCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of entities discovered.",
+ "type": "integer"
+ },
+ "assessedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of entities assessed.",
+ "type": "integer"
+ },
+ "replicatingCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of entities being replicated.",
+ "type": "integer"
+ },
+ "testMigratedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of entities test migrated.",
+ "type": "integer"
+ },
+ "migratedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of entities migrated.",
+ "type": "integer"
+ }
+ },
+ "x-ms-discriminator-value": "Servers"
+ },
+ "DatabaseProjectSummary": {
+ "description": "The database project summary class.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProjectSummary"
+ }
+ ],
+ "properties": {},
+ "x-ms-discriminator-value": "Databases"
+ },
+ "ServersSolutionSummary": {
+ "description": "Class representing the servers solution summary.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SolutionSummary"
+ }
+ ],
+ "properties": {
+ "discoveredCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of servers discovered.",
+ "type": "integer"
+ },
+ "assessedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of servers assessed.",
+ "type": "integer"
+ },
+ "replicatingCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of servers being replicated.",
+ "type": "integer"
+ },
+ "testMigratedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of servers test migrated.",
+ "type": "integer"
+ },
+ "migratedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of servers migrated.",
+ "type": "integer"
+ }
+ },
+ "x-ms-discriminator-value": "Servers"
+ },
+ "DatabasesSolutionSummary": {
+ "description": "Class representing the databases solution summary.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/SolutionSummary"
+ }
+ ],
+ "properties": {
+ "databasesAssessedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of databases assessed.",
+ "type": "integer"
+ },
+ "databaseInstancesAssessedCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of database instances assessed.",
+ "type": "integer"
+ },
+ "migrationReadyCount": {
+ "format": "int32",
+ "description": "Gets or sets the count of databases ready for migration.",
+ "type": "integer"
+ }
+ },
+ "x-ms-discriminator-value": "Databases"
+ },
+ "MachineMigrateEventProperties": {
+ "description": "Properties of the machine error resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/MigrateEventProperties"
+ }
+ ],
+ "properties": {
+ "machine": {
+ "description": "Gets or sets the machine for which the error is being reported.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "Servers"
+ },
+ "DatabaseMigrateEventProperties": {
+ "description": "Properties of the database error resource.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/MigrateEventProperties"
+ }
+ ],
+ "properties": {
+ "database": {
+ "description": "Gets or sets the database for which the error is being reported.",
+ "type": "string"
+ },
+ "databaseInstanceId": {
+ "description": "Gets or sets the database instance for which the error is being reported.",
+ "type": "string"
+ }
+ },
+ "x-ms-discriminator-value": "Databases"
+ },
+ "OperationResultList": {
+ "type": "object",
+ "description": "List of API operations.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "description": "List of operations.",
+ "items": {
+ "$ref": "#/definitions/Operation"
+ }
+ }
+ }
+ },
+ "Operation": {
+ "type": "object",
+ "description": "A REST API operation supported by the provider.",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Name of the operation.",
+ "readOnly": true
+ },
+ "display": {
+ "description": "Displayable properties of the operation.",
+ "$ref": "#/definitions/OperationDisplay"
+ },
+ "origin": {
+ "type": "string",
+ "description": "Origin of the operation.",
+ "readOnly": true
+ }
+ }
+ },
+ "OperationDisplay": {
+ "type": "object",
+ "description": "Displayable properties of the operation.",
+ "readOnly": true,
+ "properties": {
+ "provider": {
+ "type": "string",
+ "description": "Provider of the operation.",
+ "readOnly": true
+ },
+ "resource": {
+ "type": "string",
+ "description": "Resource operated on by the operation.",
+ "readOnly": true
+ },
+ "operation": {
+ "type": "string",
+ "description": "Operation Type.",
+ "readOnly": true
+ },
+ "description": {
+ "type": "string",
+ "description": "Description of the operation.",
+ "readOnly": true
+ }
+ }
+ }
+ }
+}
diff --git a/specification/migrateprojects/resource-manager/readme.md b/specification/migrateprojects/resource-manager/readme.md
new file mode 100644
index 000000000000..d36aa7de58ea
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/readme.md
@@ -0,0 +1,124 @@
+# Azure Migrate
+
+> see https://aka.ms/autorest
+
+This is the AutoRest configuration file for Azure Migrate.
+
+---
+
+### Java multi-api
+
+``` yaml $(java) && $(multiapi)
+batch:
+ - tag: package-2018-09
+```
+
+### Tag: package-2018-09 and java
+
+These settings apply only when `--tag=package-2018-09 --java` is specified on the command line.
+Please also specify `--azure-libraries-for-java=`.
+
+``` yaml $(tag) == 'package-2018-09' && $(java) && $(multiapi)
+java:
+ namespace: com.microsoft.azure.management.azuremigrate.v2018_09_01
+ output-folder: $(azure-libraries-for-java-folder)/azuremigrate/resource-manager/v2018_09_01
+regenerate-manager: true
+generate-interface: true
+```
+
+
+## Getting Started
+To build the SDK for Migrate, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run:
+
+> `autorest`
+
+To see additional help and options, run:
+
+> `autorest --help`
+---
+
+## Configuration
+
+
+
+### Basic Information
+These are the global settings for the API.
+
+``` yaml
+openapi-type: arm
+tag: package-2018-09
+```
+
+
+### Tag: package-2018-09
+
+These settings apply only when `--tag=package-2018-09` is specified on the command line.
+
+``` yaml $(tag) == 'package-2018-09'
+input-file:
+- Microsoft.Migrate/preview/2018-09-01-preview/migrate.json
+```
+
+# Code Generation
+
+## Swagger to SDK
+
+This section describes what SDK should be generated by the automatic system.
+This is not used by Autorest itself.
+
+``` yaml $(swagger-to-sdk)
+swagger-to-sdk:
+ - repo: azure-sdk-for-go
+```
+
+## Go
+
+These settings apply only when `--go` is specified on the command line.
+
+``` yaml $(go)
+go:
+ license-header: MICROSOFT_APACHE_NO_VERSION
+ clear-output-folder: true
+ namespace: migrate
+```
+
+### Go multi-api
+
+``` yaml $(go) && $(multiapi)
+batch:
+ - tag: package-2018-09
+```
+
+### Tag: package-2018-09 and go
+
+These settings apply only when `--tag=package-2018-09 --go` is specified on the command line.
+Please also specify `--go-sdk-folder=`.
+
+``` yaml $(tag)=='package-2018-09' && $(go)
+output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-09-01-preview/$(namespace)
+```
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.Migrate/preview/2018-09-01-preview/migrate.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/migrateprojects/resource-manager/readme.nodejs.md b/specification/migrateprojects/resource-manager/readme.nodejs.md
new file mode 100644
index 000000000000..659dab26dfe8
--- /dev/null
+++ b/specification/migrateprojects/resource-manager/readme.nodejs.md
@@ -0,0 +1,15 @@
+## Node.js
+
+These settings apply only when `--nodejs` is specified on the command line.
+Please also specify `--node-sdks-folder=`.
+
+``` yaml $(nodejs)
+nodejs:
+ azure-arm: true
+ package-name: azure-arm-migrateprojects
+ package-version: 1.0.0-preview
+ output-folder: $(node-sdks-folder)/lib/services/migrateprojectsManagement
+ generate-license-txt: true
+ generate-package-json: true
+ generate-readme-md: true
+```
diff --git a/specification/mixedreality/resource-manager/readme.md b/specification/mixedreality/resource-manager/readme.md
index a49f2e708dd3..069de3bd35ca 100644
--- a/specification/mixedreality/resource-manager/readme.md
+++ b/specification/mixedreality/resource-manager/readme.md
@@ -58,6 +58,7 @@ This is not used by Autorest itself.
``` yaml $(swagger-to-sdk)
swagger-to-sdk:
+ - repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-js
- repo: azure-sdk-for-go
@@ -109,3 +110,31 @@ python:
## Go
See configuration in [readme.go.md](./readme.go.md)
+
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/Microsoft.MixedReality/preview/2019-12-02-preview/proxy.json
+ - $(this-folder)/Microsoft.MixedReality/preview/2019-12-02-preview/remote-rendering.json
+ - $(this-folder)/Microsoft.MixedReality/preview/2019-12-02-preview/spatial-anchors.json
+ - $(this-folder)/Microsoft.MixedReality/preview/2019-02-28-preview/mixedreality.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json b/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json
index 4c8dadb212e1..0f4ffddf4c84 100644
--- a/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json
+++ b/specification/monitor/data-plane/preview/2018-09-01-preview/examples/AzureMetrics_IngestMetrics.json
@@ -1,47 +1,47 @@
{
- "parameters": {
- "api-version": "2018-09-01-preview",
- "Content-Type": "application/json",
- "Content-Length": 783,
- "Authorization": "Bearer {AAD JWT token issued for \"https:\\\\monitoring.azure.com\\}\"",
- "subscriptionId": "b7ac8a0c-fbae-4e29-a0f7-09999b8857a1",
- "resourceGroupName": "CowsSeller",
- "resourceProvider": "Microsoft.Storage",
- "resourceTypeName": "storageAccounts",
- "resourceName": "cowssellerstore",
- "body": {
- "time": "2018-08-24T 11:02:00-7:00",
- "data": {
- "baseData": {
- "metric": "CowsSold",
- "namespace": "Cows",
- "dimNames": [
- "Breed",
- "Color",
- "Age"
- ],
- "series": [
- {
- "dimValues": [
- "Angus",
- "Blue",
- "5"
- ],
- "min": 5,
- "max": 20,
- "sum": 30,
- "count": 3
- }
- ]
- }
- }
- }
- },
- "responses": {
- "200": {
- "body": {
- "statusCode": 200
+ "parameters": {
+ "api-version": "2018-09-01-preview",
+ "Content-Type": "application/json",
+ "Content-Length": 783,
+ "Authorization": "Bearer {AAD JWT token issued for \"https:\\\\monitoring.azure.com\\}\"",
+ "subscriptionId": "b7ac8a0c-fbae-4e29-a0f7-09999b8857a1",
+ "resourceGroupName": "CowsSeller",
+ "resourceProvider": "Microsoft.Storage",
+ "resourceTypeName": "storageAccounts",
+ "resourceName": "cowssellerstore",
+ "body": {
+ "time": "2018-08-24T 11:02:00-7:00",
+ "data": {
+ "baseData": {
+ "metric": "CowsSold",
+ "namespace": "Cows",
+ "dimNames": [
+ "Breed",
+ "Color",
+ "Age"
+ ],
+ "series": [
+ {
+ "dimValues": [
+ "Angus",
+ "Blue",
+ "5"
+ ],
+ "min": 5,
+ "max": 20,
+ "sum": 30,
+ "count": 3
}
+ ]
}
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "statusCode": 200
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json b/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json
index 344ed08b867a..499c2dcdbfb5 100644
--- a/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json
+++ b/specification/monitor/data-plane/preview/2018-09-01-preview/metricsCreate_API.json
@@ -176,7 +176,7 @@
}
}
},
- "required":[
+ "required": [
"metric",
"namespace",
"series"
@@ -213,7 +213,7 @@
"type": "integer"
}
},
- "required" : [
+ "required": [
"min",
"max",
"sum",
@@ -255,4 +255,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/data-plane/readme.md b/specification/monitor/data-plane/readme.md
index f7a529ace666..f3150c707a4e 100644
--- a/specification/monitor/data-plane/readme.md
+++ b/specification/monitor/data-plane/readme.md
@@ -145,4 +145,28 @@ namespace: com.microsoft.azure.monitor
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/monitor/data-plane
-```
\ No newline at end of file
+```
+## Multi-API/Profile support for AutoRest v3 generators
+
+AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
+
+This block is updated by an automatic script. Edits may be lost!
+
+``` yaml $(tag) == 'all-api-versions' /* autogenerated */
+# include the azure profile definitions from the standard location
+require: $(this-folder)/../../../profiles/readme.md
+
+# all the input files across all versions
+input-file:
+ - $(this-folder)/preview/2018-09-01-preview/metricsCreate_API.json
+
+```
+
+If there are files that should not be in the `all-api-versions` set,
+uncomment the `exclude-file` section below and add the file paths.
+
+``` yaml $(tag) == 'all-api-versions'
+#exclude-file:
+# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json
+```
+
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json
index 8dbc8df139dd..5ff0bea9c06e 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/activityLogAlerts_API.json
@@ -1,527 +1,527 @@
{
- "swagger": "2.0",
- "info": {
- "title": "Azure Activity Log Alerts API",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2017-03-01-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "Azure Activity Log Alerts API",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
+ "version": "2017-03-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
+ }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}": {
+ "put": {
+ "deprecated": true,
+ "description": "Create a new activity log alert or update an existing one.",
+ "operationId": "ActivityLogAlerts_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update an activity log alert": {
+ "$ref": "./examples/createOrUpdateActivityLogAlert.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "activityLogAlert",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ },
+ "description": "The activity log alert to create or use for the update."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing activity log alert was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ }
+ },
+ "201": {
+ "description": "A new activity log alert was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the activity log alert could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
+ },
+ "get": {
+ "deprecated": true,
+ "description": "Get an activity log alert.",
+ "operationId": "ActivityLogAlerts_Get",
+ "x-ms-examples": {
+ "Get an activity log alert": {
+ "$ref": "./examples/getActivityLogAlert.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
}
+ },
+ "default": {
+ "description": "An error occurred and the activity log alert could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
}
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts/{activityLogAlertName}": {
- "put": {
- "deprecated": true,
- "description": "Create a new activity log alert or update an existing one.",
- "operationId": "ActivityLogAlerts_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update an activity log alert": {
- "$ref": "./examples/createOrUpdateActivityLogAlert.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "activityLogAlert",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- },
- "description": "The activity log alert to create or use for the update."
- }
- ],
- "responses": {
- "200": {
- "description": "An existing activity log alert was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- },
- "201": {
- "description": "A new activity log alert was successfully created.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- },
- "default": {
- "description": "An error occurred and the activity log alert could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "deprecated": true,
- "description": "Get an activity log alert.",
- "operationId": "ActivityLogAlerts_Get",
- "x-ms-examples": {
- "Get an activity log alert": {
- "$ref": "./examples/getActivityLogAlert.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- },
- "default": {
- "description": "An error occurred and the activity log alert could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "deprecated": true,
- "description": "Delete an activity log alert.",
- "operationId": "ActivityLogAlerts_Delete",
- "x-ms-examples": {
- "Delete an activity log alert": {
- "$ref": "./examples/deleteActivityLogAlert.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The activity log alert was successfully deleted."
- },
- "204": {
- "description": "The activity log alert does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the activity log alert could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "delete": {
+ "deprecated": true,
+ "description": "Delete an activity log alert.",
+ "operationId": "ActivityLogAlerts_Delete",
+ "x-ms-examples": {
+ "Delete an activity log alert": {
+ "$ref": "./examples/deleteActivityLogAlert.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The activity log alert was successfully deleted."
+ },
+ "204": {
+ "description": "The activity log alert does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the activity log alert could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "patch": {
+ "deprecated": true,
+ "description": "Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.",
+ "operationId": "ActivityLogAlerts_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ActivityLogAlertNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "activityLogAlertPatch",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResourcePatch"
},
- "patch": {
- "deprecated": true,
- "description": "Updates an existing ActivityLogAlertResource's tags. To update other fields use the CreateOrUpdate method.",
- "operationId": "ActivityLogAlerts_Update",
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ActivityLogAlertNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "activityLogAlertPatch",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResourcePatch"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing activity log alert was successfully updated.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- }
- }
- },
- "x-ms-examples": {
- "Path an activity log alert": {
- "$ref": "./examples/patchActivityLogAlert.json"
- }
- }
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- },
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts": {
- "get": {
- "deprecated": true,
- "description": "Get a list of all activity log alerts in a subscription.",
- "operationId": "ActivityLogAlerts_ListBySubscriptionId",
- "x-ms-examples": {
- "List activity log alerts": {
- "$ref": "./examples/listActivityLogAlerts.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertList"
- }
- },
- "default": {
- "description": "An error occurred and the list of activity log alerts could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "200": {
+ "description": "An existing activity log alert was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
}
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts": {
- "get": {
- "deprecated": true,
- "description": "Get a list of all activity log alerts in a resource group.",
- "operationId": "ActivityLogAlerts_ListByResourceGroup",
- "x-ms-examples": {
- "List activity log alerts": {
- "$ref": "./examples/listActivityLogAlerts.json"
- }
- },
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/ActivityLogAlertList"
- }
- },
- "default": {
- "description": "An error occurred and the list of activity log alerts could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- }
+ "x-ms-examples": {
+ "Path an activity log alert": {
+ "$ref": "./examples/patchActivityLogAlert.json"
+ }
}
+ }
},
- "definitions": {
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/activityLogAlerts": {
+ "get": {
+ "deprecated": true,
+ "description": "Get a list of all activity log alerts in a subscription.",
+ "operationId": "ActivityLogAlerts_ListBySubscriptionId",
+ "x-ms-examples": {
+ "List activity log alerts": {
+ "$ref": "./examples/listActivityLogAlerts.json"
+ }
},
- "ActivityLogAlertResource": {
- "description": "An activity log alert resource.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActivityLogAlert"
- }
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of activity log alerts could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/activityLogAlerts": {
+ "get": {
+ "deprecated": true,
+ "description": "Get a list of all activity log alerts in a resource group.",
+ "operationId": "ActivityLogAlerts_ListByResourceGroup",
+ "x-ms-examples": {
+ "List activity log alerts": {
+ "$ref": "./examples/listActivityLogAlerts.json"
+ }
},
- "ActivityLogAlertList": {
- "description": "A list of activity log alerts.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActivityLogAlertResource"
- },
- "description": "The list of activity log alerts."
- }
+ "x-ms-pageable": {
+ "nextLinkName": null
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/ActivityLogAlertList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of activity log alerts could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
},
- "ActivityLogAlert": {
- "description": "An Azure activity log alert.",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "description": "A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item."
- },
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
- },
- "condition": {
- "$ref": "#/definitions/ActivityLogAlertAllOfCondition",
- "description": "The condition that will cause this alert to activate."
- },
- "actions": {
- "$ref": "#/definitions/ActivityLogAlertActionList",
- "description": "The actions that will activate when the condition is met."
- },
- "description": {
- "type": "string",
- "description": "A description of this activity log alert."
- }
- },
- "required": [
- "scopes",
- "condition",
- "actions"
- ]
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
},
- "ActivityLogAlertAllOfCondition": {
- "properties": {
- "allOf": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActivityLogAlertLeafCondition"
- },
- "description": "The list of activity log alert conditions."
- }
- },
- "description": "An Activity Log alert condition that is met when all its member conditions are met.",
- "required": [
- "allOf"
- ]
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
},
- "ActivityLogAlertLeafCondition": {
- "properties": {
- "field": {
- "type": "string",
- "description": "The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'."
- },
- "equals": {
- "type": "string",
- "description": "The field value will be compared to this value (case-insensitive) to determine if the condition is met."
- }
- },
- "description": "An Activity Log alert condition that is met by comparing an activity log field and value.",
- "required": [
- "field",
- "equals"
- ]
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
},
- "ActivityLogAlertActionList": {
- "description": "A list of activity log alert actions.",
- "properties": {
- "actionGroups": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActivityLogAlertActionGroup"
- },
- "description": "The list of activity log alerts."
- }
- }
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
+ },
+ "ActivityLogAlertResource": {
+ "description": "An activity log alert resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActivityLogAlert"
+ }
+ }
+ },
+ "ActivityLogAlertList": {
+ "description": "A list of activity log alerts.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActivityLogAlertResource"
+ },
+ "description": "The list of activity log alerts."
+ }
+ }
+ },
+ "ActivityLogAlert": {
+ "description": "An Azure activity log alert.",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "description": "A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item."
},
- "ActivityLogAlertActionGroup": {
- "description": "A pointer to an Azure Action Group.",
- "properties": {
- "actionGroupId": {
- "type": "string",
- "description": "The resourceId of the action group. This cannot be null or empty."
- },
- "webhookProperties": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "The dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."
- }
- },
- "required": [
- "actionGroupId"
- ]
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
},
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
- }
+ "condition": {
+ "$ref": "#/definitions/ActivityLogAlertAllOfCondition",
+ "description": "The condition that will cause this alert to activate."
},
- "ActivityLogAlertResourcePatch": {
- "description": "An activity log alert resource for patch operations.",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/ActivityLogAlertPatch"
- }
- }
+ "actions": {
+ "$ref": "#/definitions/ActivityLogAlertActionList",
+ "description": "The actions that will activate when the condition is met."
},
- "ActivityLogAlertPatch": {
- "description": "An Azure activity log alert for patch operations.",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": true,
- "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
- }
- }
+ "description": {
+ "type": "string",
+ "description": "A description of this activity log alert."
}
+ },
+ "required": [
+ "scopes",
+ "condition",
+ "actions"
+ ]
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
+ "ActivityLogAlertAllOfCondition": {
+ "properties": {
+ "allOf": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActivityLogAlertLeafCondition"
+ },
+ "description": "The list of activity log alert conditions."
+ }
+ },
+ "description": "An Activity Log alert condition that is met when all its member conditions are met.",
+ "required": [
+ "allOf"
+ ]
+ },
+ "ActivityLogAlertLeafCondition": {
+ "properties": {
+ "field": {
+ "type": "string",
+ "description": "The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'."
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
+ "equals": {
+ "type": "string",
+ "description": "The field value will be compared to this value (case-insensitive) to determine if the condition is met."
+ }
+ },
+ "description": "An Activity Log alert condition that is met by comparing an activity log field and value.",
+ "required": [
+ "field",
+ "equals"
+ ]
+ },
+ "ActivityLogAlertActionList": {
+ "description": "A list of activity log alert actions.",
+ "properties": {
+ "actionGroups": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActivityLogAlertActionGroup"
+ },
+ "description": "The list of activity log alerts."
+ }
+ }
+ },
+ "ActivityLogAlertActionGroup": {
+ "description": "A pointer to an Azure Action Group.",
+ "properties": {
+ "actionGroupId": {
+ "type": "string",
+ "description": "The resourceId of the action group. This cannot be null or empty."
},
- "ActivityLogAlertNameParameter": {
- "name": "activityLogAlertName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the activity log alert.",
- "x-ms-parameter-location": "method"
+ "webhookProperties": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The dictionary of custom properties to include with the post operation. These data are appended to the webhook payload."
+ }
+ },
+ "required": [
+ "actionGroupId"
+ ]
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
}
+ }
+ },
+ "ActivityLogAlertResourcePatch": {
+ "description": "An activity log alert resource for patch operations.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/ActivityLogAlertPatch"
+ }
+ }
+ },
+ "ActivityLogAlertPatch": {
+ "description": "An Azure activity log alert for patch operations.",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": true,
+ "description": "Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated."
+ }
+ }
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "ActivityLogAlertNameParameter": {
+ "name": "activityLogAlertName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the activity log alert.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
+ }
}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json
index 16d14631da06..713c7ca84d46 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/createOrUpdateActivityLogAlert.json
@@ -1,121 +1,121 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-03-01-preview",
- "activityLogAlert": {
- "location": "Global",
- "tags": { },
- "properties": {
- "scopes": [
- "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-03-01-preview",
+ "activityLogAlert": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
}
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": { },
- "properties": {
- "scopes": [
- "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
- }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
+ }
}
+ ]
},
- "201": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": { },
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "description": "Sample activity log alert description"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
- }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
+ }
+ }
+ },
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-NotificationRules/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
+ }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json
index 05fab8bcc4cd..30c6a9568483 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/deleteActivityLogAlert.json
@@ -1,18 +1,12 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json
index 8af0493dc28c..85bd49638845 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/getActivityLogAlert.json
@@ -1,49 +1,49 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": {},
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
- }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json
index 04507656ca2a..ad8d840dc9ad 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/listActivityLogAlerts.json
@@ -1,81 +1,81 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "api-version": "2017-03-01-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "value": [
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": {},
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
- }
- },
- {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert2",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert2",
- "location": "Global",
- "tags": {},
- "properties": {
- "scopes": [
- "subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts"
- ],
- "enabled": true,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": { }
- }
- ]
- }
- }
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "api-version": "2017-03-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
+ }
+ },
+ {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert2",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert2",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "scopes": [
+ "subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts"
+ ],
+ "enabled": true,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {}
+ }
]
+ }
}
- }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json
index 4c592bc5a958..0ac423a4ad74 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-03-01-preview/examples/patchActivityLogAlert.json
@@ -1,56 +1,62 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ActivityLogAlerts",
- "activityLogAlertName": "SampleActivityLogAlert",
- "api-version": "2017-03-01-preview",
- "activityLogAlertPatch": {
- "location": "Global",
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "enabled": false
- }
- }
- },
- "responses": {
- "200": {
- "headers": { },
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
- "type": "Microsoft.Insights/ActivityLogAlerts",
- "name": "SampleActivityLogAlert",
- "location": "Global",
- "tags": { "key1": "value1", "key2": "value2" },
- "properties": {
- "scopes": [
- "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
- ],
- "enabled": false,
- "condition": {
- "allOf": [
- {
- "field": "Category",
- "equals": "Administrative"
- },
- {
- "field": "Level",
- "equals": "Error"
- }
- ]
- },
- "actions": {
- "actionGroups": [
- {
- "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
- "webhookProperties": {
- "sampleWebhookProperty": "samplePropertyValue"
- }
- }
- ]
- },
- "description": "Sample activity log alert description"
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ActivityLogAlerts",
+ "activityLogAlertName": "SampleActivityLogAlert",
+ "api-version": "2017-03-01-preview",
+ "activityLogAlertPatch": {
+ "location": "Global",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "enabled": false
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActivityLogAlerts/providers/microsoft.insights/activityLogAlerts/SampleActivityLogAlert",
+ "type": "Microsoft.Insights/ActivityLogAlerts",
+ "name": "SampleActivityLogAlert",
+ "location": "Global",
+ "tags": {
+ "key1": "value1",
+ "key2": "value2"
+ },
+ "properties": {
+ "scopes": [
+ "/subscriptions/187f412d-1758-44d9-b052-169e2564721d"
+ ],
+ "enabled": false,
+ "condition": {
+ "allOf": [
+ {
+ "field": "Category",
+ "equals": "Administrative"
+ },
+ {
+ "field": "Level",
+ "equals": "Error"
+ }
+ ]
+ },
+ "actions": {
+ "actionGroups": [
+ {
+ "actionGroupId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ActionGroups/providers/microsoft.insights/actionGroups/SampleActionGroup",
+ "webhookProperties": {
+ "sampleWebhookProperty": "samplePropertyValue"
}
- }
+ }
+ ]
+ },
+ "description": "Sample activity log alert description"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
index 84ce43832f26..7b5e3e1334a2 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettingsCategories_API.json
@@ -72,7 +72,7 @@
"Gets the diagnostic setting": {
"$ref": "./examples/getDiagnosticSettingsCategory.json"
}
- }
+ }
}
},
"/{resourceUri}/providers/microsoft.insights/diagnosticSettingsCategories": {
@@ -108,7 +108,7 @@
"Gets the diagnostic setting": {
"$ref": "./examples/listDiagnosticSettingsCategories.json"
}
- }
+ }
}
}
},
@@ -137,10 +137,13 @@
"DiagnosticSettingsCategory": {
"properties": {
"categoryType": {
- "enum": ["Metrics", "Logs"],
+ "enum": [
+ "Metrics",
+ "Logs"
+ ],
"type": "string",
"x-ms-enum": {
- "name": "categoryType"
+ "name": "categoryType"
},
"x-nullable": false,
"description": "The type of the diagnostic settings category."
@@ -217,4 +220,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
index 2febaa3b9017..b96db55196ca 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/diagnosticsSettings_API.json
@@ -72,7 +72,7 @@
"Gets the diagnostic setting": {
"$ref": "./examples/getDiagnosticSetting.json"
}
- }
+ }
},
"put": {
"tags": [
@@ -118,7 +118,7 @@
"Creates or Updates the diagnostic setting": {
"$ref": "./examples/createOrUpdateDiagnosticSetting.json"
}
- }
+ }
},
"delete": {
"tags": [
@@ -155,7 +155,7 @@
"Deletes the diagnostic setting": {
"$ref": "./examples/deleteDiagnosticSetting.json"
}
- }
+ }
}
},
"/{resourceUri}/providers/microsoft.insights/diagnosticSettings": {
@@ -191,7 +191,7 @@
"Gets the diagnostic setting": {
"$ref": "./examples/listDiagnosticSettings.json"
}
- }
+ }
}
}
},
@@ -230,7 +230,10 @@
"description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely."
}
},
- "required": [ "enabled", "days" ],
+ "required": [
+ "enabled",
+ "days"
+ ],
"description": "Specifies the retention policy for the log."
},
"MetricSettings": {
@@ -253,7 +256,9 @@
"description": "the retention policy for this category."
}
},
- "required": [ "enabled" ],
+ "required": [
+ "enabled"
+ ],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric."
},
"LogSettings": {
@@ -271,7 +276,9 @@
"description": "the retention policy for this log."
}
},
- "required": [ "enabled" ],
+ "required": [
+ "enabled"
+ ],
"description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log."
},
"DiagnosticSettings": {
@@ -297,18 +304,22 @@
"items": {
"$ref": "#/definitions/MetricSettings"
},
- "description": "the list of metric settings."
+ "description": "The list of metric settings."
},
"logs": {
"type": "array",
"items": {
"$ref": "#/definitions/LogSettings"
},
- "description": "the list of logs settings."
+ "description": "The list of logs settings."
},
"workspaceId": {
"type": "string",
- "description": "The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2"
+ "description": "The full ARM resource ID of the Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2"
+ },
+ "logAnalyticsDestinationType": {
+ "type": "string",
+ "description": "A string indicating whether the export to Log Analytics should use the default destination type, i.e. AzureDiagnostics, or use a destination type constructed as follows: _. Possible values are: Dedicated and null (null is default.)"
}
},
"description": "The diagnostic settings."
@@ -382,4 +393,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json
index 14a12faa011b..07251092bf57 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetric.json
@@ -1,95 +1,95 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "parameters": {
+ "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metric": "BlobCapacity",
+ "$filter": "BlobType eq '*'",
+ "top": "3",
+ "orderby": "Average asc",
+ "aggregation": "Average,count",
+ "interval": "PT1M",
+ "api-version": "2017-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "cost": 0,
"timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metric": "BlobCapacity",
- "$filter": "BlobType eq '*'",
- "top": "3",
- "orderby": "Average asc",
- "aggregation": "Average,count",
"interval": "PT1M",
- "api-version": "2017-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "cost": 0,
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "interval": "PT1M",
- "value": [
- {
- "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
- "type": "Microsoft.Insights/metrics",
- "name": {
- "value": "BlobCapacity",
- "localizedValue": "Blob Capacity"
+ "value": [
+ {
+ "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "BlobCapacity",
+ "localizedValue": "Blob Capacity"
+ },
+ "unit": "Bytes",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
+ },
+ "value": "PageBlob"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2017-04-14T02:20:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:21:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:22:00Z",
+ "count": 0.0
},
- "unit": "Bytes",
- "timeseries": [
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "PageBlob"
- }
- ],
- "data": [
- {
- "timeStamp": "2017-04-14T02:20:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:21:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:22:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:23:00Z",
- "count": 1.0,
- "average": 0.0
- }
- ]
+ {
+ "timeStamp": "2017-04-14T02:23:00Z",
+ "count": 1.0,
+ "average": 0.0
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
},
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "BlockBlob"
- }
- ],
- "data": [
- {
- "timeStamp": "2017-04-14T02:20:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:21:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:22:00Z",
- "count": 0.0
- },
- {
- "timeStamp": "2017-04-14T02:23:00Z",
- "count": 1.0,
- "average": 245.0
- }
- ]
- }
- ]
- }
- ]
- }
- }
+ "value": "BlockBlob"
+ }
+ ],
+ "data": [
+ {
+ "timeStamp": "2017-04-14T02:20:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:21:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:22:00Z",
+ "count": 0.0
+ },
+ {
+ "timeStamp": "2017-04-14T02:23:00Z",
+ "count": 1.0,
+ "average": 245.0
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json
index cf6d98975ea7..c92baff7bd0d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricDefinitions.json
@@ -1,383 +1,446 @@
{
- "parameters": {
- "resourceUri": "subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions",
- "api-version": "2017-05-01-preview"
- },
- "responses": {
- "200": {
- "body":
- {
- "value": [{
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "CpuTime",
- "localizedValue": "CPU Time"
- },
- "isDimensionRequired": false,
- "unit": "Seconds",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Requests",
- "localizedValue": "Requests"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "BytesReceived",
- "localizedValue": "Data In"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "BytesSent",
- "localizedValue": "Data Out"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http101",
- "localizedValue": "Http 101"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http2xx",
- "localizedValue": "Http 2xx"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http3xx",
- "localizedValue": "Http 3xx"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http401",
- "localizedValue": "Http 401"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http403",
- "localizedValue": "Http 403"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http404",
- "localizedValue": "Http 404"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http406",
- "localizedValue": "Http 406"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http4xx",
- "localizedValue": "Http 4xx"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "Http5xx",
- "localizedValue": "Http Server Errors"
- },
- "isDimensionRequired": false,
- "unit": "Count",
- "primaryAggregationType": "Total",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "MemoryWorkingSet",
- "localizedValue": "Memory working set"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Average",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "AverageMemoryWorkingSet",
- "localizedValue": "Average memory working set"
- },
- "isDimensionRequired": false,
- "unit": "Bytes",
- "primaryAggregationType": "Average",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }, {
- "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime",
- "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
- "name": {
- "value": "AverageResponseTime",
- "localizedValue": "Average Response Time"
- },
- "isDimensionRequired": false,
- "unit": "Seconds",
- "primaryAggregationType": "Average",
- "metricAvailabilities": [{
- "timeGrain": "PT1M",
- "retention": "P30D"
- }, {
- "timeGrain": "PT1H",
- "retention": "P30D"
- }
- ],
- "dimensions": [{
- "value": "Instance",
- "localizedValue": "Instance"
- }
- ]
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricDefinitions",
+ "api-version": "2017-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "CpuTime",
+ "localizedValue": "CPU Time"
+ },
+ "isDimensionRequired": false,
+ "unit": "Seconds",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Requests",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Requests",
+ "localizedValue": "Requests"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesReceived",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "BytesReceived",
+ "localizedValue": "Data In"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/BytesSent",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "BytesSent",
+ "localizedValue": "Data Out"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http101",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http101",
+ "localizedValue": "Http 101"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http2xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http2xx",
+ "localizedValue": "Http 2xx"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http3xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http3xx",
+ "localizedValue": "Http 3xx"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http401",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http401",
+ "localizedValue": "Http 401"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http403",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http403",
+ "localizedValue": "Http 403"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http404",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http404",
+ "localizedValue": "Http 404"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http406",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http406",
+ "localizedValue": "Http 406"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http4xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http4xx",
+ "localizedValue": "Http 4xx"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/Http5xx",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "Http5xx",
+ "localizedValue": "Http Server Errors"
+ },
+ "isDimensionRequired": false,
+ "unit": "Count",
+ "primaryAggregationType": "Total",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "MemoryWorkingSet",
+ "localizedValue": "Memory working set"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Average",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "AverageMemoryWorkingSet",
+ "localizedValue": "Average memory working set"
+ },
+ "isDimensionRequired": false,
+ "unit": "Bytes",
+ "primaryAggregationType": "Average",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ },
+ {
+ "id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageResponseTime",
+ "resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
+ "name": {
+ "value": "AverageResponseTime",
+ "localizedValue": "Average Response Time"
+ },
+ "isDimensionRequired": false,
+ "unit": "Seconds",
+ "primaryAggregationType": "Average",
+ "metricAvailabilities": [
+ {
+ "timeGrain": "PT1M",
+ "retention": "P30D"
+ },
+ {
+ "timeGrain": "PT1H",
+ "retention": "P30D"
+ }
+ ],
+ "dimensions": [
+ {
+ "value": "Instance",
+ "localizedValue": "Instance"
+ }
+ ]
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json
index 105be64cb52c..23a9ca8877b0 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/GetMetricMetadata.json
@@ -1,56 +1,56 @@
{
- "parameters": {
+ "parameters": {
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metric": "BlobCapacity",
+ "$filter": "BlobType eq '*'",
+ "top": "3",
+ "orderby": "Average asc",
+ "aggregation": "Average,count",
+ "interval": "PT1M",
+ "resulttype": "metadata",
+ "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "api-version": "2017-05-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
"timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metric": "BlobCapacity",
- "$filter": "BlobType eq '*'",
- "top": "3",
- "orderby": "Average asc",
- "aggregation": "Average,count",
- "interval": "PT1M",
- "resulttype": "metadata",
- "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
- "api-version": "2017-05-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "value": [
- {
- "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
- "type": "Microsoft.Insights/metrics",
- "name": {
- "value": "BlobCapacity",
- "localizedValue": "Blob Capacity"
- },
- "unit": "Bytes",
- "timeseries": [
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "BlockBlob"
- }
- ]
- },
- {
- "metadatavalues": [
- {
- "name": {
- "value": "blobtype",
- "localizedValue": "blobtype"
- },
- "value": "PageBlob"
- }
- ]
- }
- ]
- }
- ]
- }
- }
+ "value": [
+ {
+ "id": "/subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default/providers/Microsoft.Insights/metrics/BlobCapacity",
+ "type": "Microsoft.Insights/metrics",
+ "name": {
+ "value": "BlobCapacity",
+ "localizedValue": "Blob Capacity"
+ },
+ "unit": "Bytes",
+ "timeseries": [
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
+ },
+ "value": "BlockBlob"
+ }
+ ]
+ },
+ {
+ "metadatavalues": [
+ {
+ "name": {
+ "value": "blobtype",
+ "localizedValue": "blobtype"
+ },
+ "value": "PageBlob"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json
index 8335a4ec33e1..602799e199b4 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json
@@ -5,67 +5,69 @@
"api-version": "2017-05-01-preview",
"parameters": {
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "workspaceId":"",
- "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
"eventHubName": "myeventhub",
"metrics": [
{
- "category":"WorkflowMetrics",
- "enabled":true,
+ "category": "WorkflowMetrics",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
],
"logs": [
{
- "category":"WorkflowRuntime",
- "enabled":true,
+ "category": "WorkflowRuntime",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
- ]
+ ],
+ "logAnalyticsDestinationType": "Dedicated"
}
}
},
"responses": {
"200": {
- "headers": { },
+ "headers": {},
"body": {
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting",
- "type":"",
- "name":"mysetting",
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting",
+ "type": "",
+ "name": "mysetting",
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "workspaceId":"",
- "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
"eventHubName": "myeventhub",
"metrics": [
{
- "category":"WorkflowMetrics",
- "enabled":true,
+ "category": "WorkflowMetrics",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
],
"logs": [
{
- "category":"WorkflowRuntime",
- "enabled":true,
+ "category": "WorkflowRuntime",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
- ]
+ ],
+ "logAnalyticsDestinationType": "Dedicated"
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json
index c7468e7ff795..ab80a3c2f4ae 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/deleteDiagnosticSetting.json
@@ -1,17 +1,11 @@
{
- "parameters" : {
- "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "parameters": {
+ "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
"name": "mysetting",
- "api-version" : "2017-05-01-preview"
+ "api-version": "2017-05-01-preview"
},
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
- }
-}
\ No newline at end of file
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json
index 03603e23f20d..50cf4c636646 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSetting.json
@@ -1,35 +1,37 @@
{
- "parameters" : {
- "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "parameters": {
+ "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
"name": "mysetting",
- "api-version" : "2017-05-01-preview"
+ "api-version": "2017-05-01-preview"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
- "id" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
- "type" : "",
- "name" : "mysetting",
- "properties" : {
- "storageAccountId" : "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "workspaceId" : "",
- "eventHubAuthorizationRuleId" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
- "metrics" : [{
- "category" : "WorkflowMetrics",
- "enabled" : true,
- "retentionPolicy" : {
- "enabled" : false,
- "days" : 0
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service",
+ "type": "",
+ "name": "mysetting",
+ "properties": {
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "workspaceId": "",
+ "eventHubAuthorizationRuleId": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule",
+ "metrics": [
+ {
+ "category": "WorkflowMetrics",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
}
}
],
- "logs" : [{
- "category" : "WorkflowRuntime",
- "enabled" : true,
- "retentionPolicy" : {
- "enabled" : false,
- "days" : 0
+ "logs": [
+ {
+ "category": "WorkflowRuntime",
+ "enabled": true,
+ "retentionPolicy": {
+ "enabled": false,
+ "days": 0
}
}
]
@@ -37,4 +39,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json
index c8d94c67c36f..ae766e558bdc 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json
@@ -1,20 +1,20 @@
{
- "parameters" : {
- "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "parameters": {
+ "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
"name": "WorkflowRuntime",
- "api-version" : "2017-05-01-preview"
+ "api-version": "2017-05-01-preview"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime",
- "type":"microsoft.insights/diagnosticSettingsCategories",
- "name":"WorkflowRuntime",
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime",
+ "type": "microsoft.insights/diagnosticSettingsCategories",
+ "name": "WorkflowRuntime",
"properties": {
- "categoryType":"Logs"
+ "categoryType": "Logs"
}
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json
index 3a54aca66177..50220bc82498 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettings.json
@@ -1,38 +1,38 @@
{
- "parameters" : {
- "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
- "api-version" : "2017-05-01-preview"
+ "parameters": {
+ "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "api-version": "2017-05-01-preview"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
- "value": [
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "value": [
{
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting",
- "type":"microsoft.logic/workflows",
- "name":"mysetting",
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting",
+ "type": "microsoft.logic/workflows",
+ "name": "mysetting",
"properties": {
- "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
- "eventHubAuthorizationRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
- "workspaceId":"",
+ "storageAccountId": "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1",
+ "eventHubAuthorizationRuleId": "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey",
+ "workspaceId": "",
"metrics": [
{
- "category":"WorkflowMetrics",
- "enabled":true,
+ "category": "WorkflowMetrics",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
],
"logs": [
{
- "category":"WorkflowRuntime",
- "enabled":true,
+ "category": "WorkflowRuntime",
+ "enabled": true,
"retentionPolicy": {
- "enabled":false,
- "days":0
+ "enabled": false,
+ "days": 0
}
}
]
@@ -42,4 +42,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json
index 2b915de05f31..d7ea73b6638b 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json
@@ -1,31 +1,31 @@
{
- "parameters" : {
- "resourceUri" : "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
- "api-version" : "2017-05-01-preview"
+ "parameters": {
+ "resourceUri": "subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6",
+ "api-version": "2017-05-01-preview"
},
- "responses" : {
- "200" : {
- "headers" : {},
- "body" : {
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
"value": [
{
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime",
- "type":"microsoft.insights/diagnosticSettingsCategories",
- "name":"WorkflowRuntime",
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime",
+ "type": "microsoft.insights/diagnosticSettingsCategories",
+ "name": "WorkflowRuntime",
"properties": {
- "categoryType":"Logs"
+ "categoryType": "Logs"
}
},
{
- "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowMetric",
- "type":"microsoft.insights/diagnosticSettingsCategories",
- "name":"WorkflowMetric",
+ "id": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowMetric",
+ "type": "microsoft.insights/diagnosticSettingsCategories",
+ "name": "WorkflowMetric",
"properties": {
- "categoryType":"Metrics"
+ "categoryType": "Metrics"
}
}
]
}
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json
index 6c4ab30c16cb..bf16c9cdee59 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metricDefinitions_API.json
@@ -65,7 +65,8 @@
},
"examples": {
"application/json": {
- "value": [{
+ "value": [
+ {
"id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/CpuTime",
"resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
"name": {
@@ -75,20 +76,24 @@
"isDimensionRequired": false,
"unit": "Seconds",
"primaryAggregationType": "Total",
- "metricAvailabilities": [{
+ "metricAvailabilities": [
+ {
"timeGrain": "PT1M",
"retention": "P30D"
- }, {
+ },
+ {
"timeGrain": "PT1H",
"retention": "P30D"
}
],
- "dimensions": [{
+ "dimensions": [
+ {
"value": "Instance",
"localizedValue": "Instance"
}
]
- }, {
+ },
+ {
"id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/MemoryWorkingSet",
"resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
"name": {
@@ -98,20 +103,24 @@
"isDimensionRequired": false,
"unit": "Bytes",
"primaryAggregationType": "Average",
- "metricAvailabilities": [{
+ "metricAvailabilities": [
+ {
"timeGrain": "PT1M",
"retention": "P30D"
- }, {
+ },
+ {
"timeGrain": "PT1H",
"retention": "P30D"
}
],
- "dimensions": [{
+ "dimensions": [
+ {
"value": "Instance",
"localizedValue": "Instance"
}
]
- }, {
+ },
+ {
"id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/microsoft.insights/metricdefinitions/AverageMemoryWorkingSet",
"resourceId": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest",
"name": {
@@ -121,22 +130,25 @@
"isDimensionRequired": false,
"unit": "Bytes",
"primaryAggregationType": "Average",
- "metricAvailabilities": [{
+ "metricAvailabilities": [
+ {
"timeGrain": "PT1M",
"retention": "P30D"
- }, {
+ },
+ {
"timeGrain": "PT1H",
"retention": "P30D"
}
],
- "dimensions": [{
+ "dimensions": [
+ {
"value": "Instance",
"localizedValue": "Instance"
}
]
}
]
- }
+ }
}
}
},
@@ -144,14 +156,18 @@
"nextLinkName": null
},
"x-ms-examples": {
- "Get Metric Definitions without filter": { "$ref": "./examples/GetMetricDefinitions.json" }
+ "Get Metric Definitions without filter": {
+ "$ref": "./examples/GetMetricDefinitions.json"
+ }
}
}
}
},
"definitions": {
"LocalizableString": {
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "string",
@@ -263,7 +279,9 @@
"description": "the values for the metric definitions."
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "Represents collection of metric definitions."
},
"ErrorResponse": {
@@ -299,4 +317,4 @@
"x-ms-skip-url-encoding": true
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json
index c02c2f86f83f..fbcde3c0e5ca 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-05-01-preview/metrics_API.json
@@ -96,7 +96,8 @@
"cost": 0,
"timespan": "2017-08-10T21:44:34Z/2017-08-10T22:44:34Z",
"interval": "PT1M",
- "value": [{
+ "value": [
+ {
"id": "/subscriptions/07c0b09d-9f69-4e6e-8d05-f59f67299cb2/resourceGroups/Rac46PostSwapRG/providers/Microsoft.Web/sites/alertruleTest/providers/Microsoft.Insights/metrics/CpuTime",
"type": "Microsoft.Insights/metrics",
"name": {
@@ -104,27 +105,35 @@
"localizedValue": "CPU Time"
},
"unit": "Seconds",
- "timeseries": [{
+ "timeseries": [
+ {
"metadatavalues": [],
- "data": [{
+ "data": [
+ {
"timeStamp": "2017-08-10T21:44:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:45:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:46:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:47:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:48:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:49:00Z",
"total": 0.0
- }, {
+ },
+ {
"timeStamp": "2017-08-10T21:50:00Z",
"total": 0.0
}
@@ -139,15 +148,21 @@
},
"x-ms-odata": "#/definitions/MetadataValue",
"x-ms-examples": {
- "Get Metric for data": { "$ref": "./examples/GetMetric.json" },
- "Get Metric for metadata": { "$ref": "./examples/GetMetricMetadata.json" }
+ "Get Metric for data": {
+ "$ref": "./examples/GetMetric.json"
+ },
+ "Get Metric for metadata": {
+ "$ref": "./examples/GetMetricMetadata.json"
+ }
}
}
}
},
"definitions": {
"LocalizableString": {
- "required": [ "value" ],
+ "required": [
+ "value"
+ ],
"properties": {
"value": {
"type": "string",
@@ -180,7 +195,9 @@
}
},
"MetricValue": {
- "required": [ "timeStamp" ],
+ "required": [
+ "timeStamp"
+ ],
"properties": {
"timeStamp": {
"type": "string",
@@ -268,7 +285,10 @@
"description": "the value of the collection."
}
},
- "required": [ "timespan", "value" ],
+ "required": [
+ "timespan",
+ "value"
+ ],
"description": "The response to a metrics query."
},
"Metric": {
@@ -298,7 +318,13 @@
"description": "the time series returned when a data query is performed."
}
},
- "required": [ "id", "type", "name", "unit", "timeseries" ],
+ "required": [
+ "id",
+ "type",
+ "name",
+ "unit",
+ "timeseries"
+ ],
"description": "The result data of a query."
},
"TimeSeriesElement": {
@@ -406,4 +432,4 @@
"description": "Client Api Version."
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json
index caba765e16e5..4ba3123874d4 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/baseline_API.json
@@ -1,316 +1,326 @@
{
- "swagger": "2.0",
- "info": {
- "title": "MonitorManagementClient",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2017-11-01-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "MonitorManagementClient",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2017-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/{resourceUri}/providers/microsoft.insights/baseline/{metricName}": {
- "get": {
- "tags": [
- "Baseline"
- ],
- "operationId": "MetricBaseline_Get",
- "description": "**Gets the baseline values for a specific metric**.",
- "parameters": [
- {
- "$ref": "#/parameters/ExtendedResourceUriParameter"
- },
- {
- "$ref": "#/parameters/MetricNameParameter"
- },
- {
- "$ref": "#/parameters/TimespanParameter"
- },
- {
- "$ref": "#/parameters/IntervalParameter"
- },
- {
- "$ref": "#/parameters/AggregationParameter"
- },
- {
- "$ref": "#/parameters/SensitivitiesParameter"
- },
- {
- "$ref": "#/parameters/BaselineResultTypeParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
+ }
+ },
+ "paths": {
+ "/{resourceUri}/providers/microsoft.insights/baseline/{metricName}": {
+ "get": {
+ "tags": [
+ "Baseline"
+ ],
+ "operationId": "MetricBaseline_Get",
+ "description": "**Gets the baseline values for a specific metric**.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ExtendedResourceUriParameter"
+ },
+ {
+ "$ref": "#/parameters/MetricNameParameter"
+ },
+ {
+ "$ref": "#/parameters/TimespanParameter"
+ },
+ {
+ "$ref": "#/parameters/IntervalParameter"
+ },
+ {
+ "$ref": "#/parameters/AggregationParameter"
+ },
+ {
+ "$ref": "#/parameters/SensitivitiesParameter"
+ },
+ {
+ "$ref": "#/parameters/BaselineResultTypeParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Successful request to get the list of metric values.",
- "schema": {
- "$ref": "#/definitions/BaselineResponse"
- }
+ },
+ "200": {
+ "description": "Successful request to get the list of metric values.",
+ "schema": {
+ "$ref": "#/definitions/BaselineResponse"
}
+ }
+ },
+ "x-ms-examples": {
+ "Get Metric for data": {
+ "$ref": "./examples/GetBaseline.json"
},
- "x-ms-examples": {
- "Get Metric for data": { "$ref": "./examples/GetBaseline.json" },
- "Get Metric for metadata": { "$ref": "./examples/GetBaselineMetadata.json" }
+ "Get Metric for metadata": {
+ "$ref": "./examples/GetBaselineMetadata.json"
}
}
}
- },
- "definitions": {
- "LocalizableString": {
- "required": [ "value" ],
- "properties": {
- "value": {
- "type": "string",
- "description": "the invariant value."
- },
- "localizedValue": {
- "type": "string",
- "description": "the locale specific value."
- }
+ }
+ },
+ "definitions": {
+ "LocalizableString": {
+ "required": [
+ "value"
+ ],
+ "properties": {
+ "value": {
+ "type": "string",
+ "description": "the invariant value."
},
- "description": "The localizable string class."
+ "localizedValue": {
+ "type": "string",
+ "description": "the locale specific value."
+ }
},
- "BaselineMetadataValue": {
- "properties": {
- "name": {
- "$ref": "#/definitions/LocalizableString",
- "description": "the name of the metadata."
- },
- "value": {
- "type": "string",
- "description": "the value of the metadata."
- }
+ "description": "The localizable string class."
+ },
+ "BaselineMetadataValue": {
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/LocalizableString",
+ "description": "the name of the metadata."
},
- "description": "Represents a baseline metadata value."
+ "value": {
+ "type": "string",
+ "description": "the value of the metadata."
+ }
},
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
+ "description": "Represents a baseline metadata value."
+ },
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "BaselineResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "the metric baseline Id."
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "the resource type of the baseline resource."
+ },
+ "name": {
+ "$ref": "#/definitions/LocalizableString",
+ "readOnly": true,
+ "description": "the name and the display name of the metric, i.e. it is localizable string."
+ },
"properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/BaselineProperties",
+ "description": "the properties of the baseline."
}
},
- "BaselineResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "the metric baseline Id."
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "the resource type of the baseline resource."
- },
- "name": {
- "$ref": "#/definitions/LocalizableString",
- "readOnly": true,
- "description": "the name and the display name of the metric, i.e. it is localizable string."
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/BaselineProperties",
- "description": "the properties of the baseline."
- }
+ "description": "The response to a baseline query."
+ },
+ "BaselineProperties": {
+ "properties": {
+ "timespan": {
+ "type": "string",
+ "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested."
},
- "description": "The response to a baseline query."
- },
- "BaselineProperties": {
- "properties": {
- "timespan": {
- "type": "string",
- "description": "The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested."
- },
- "interval": {
- "type": "string",
- "format": "duration",
- "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made."
- },
- "aggregation": {
+ "interval": {
+ "type": "string",
+ "format": "duration",
+ "description": "The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made."
+ },
+ "aggregation": {
+ "type": "string",
+ "description": "The aggregation type of the metric."
+ },
+ "timestamps": {
+ "type": "array",
+ "items": {
"type": "string",
- "description": "The aggregation type of the metric."
+ "format": "date-time",
+ "description": "the timestamp for the baseline value in ISO 8601 format."
},
- "timestamps": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "date-time",
- "description": "the timestamp for the baseline value in ISO 8601 format."
- },
- "description": "the array of timestamps of the baselines."
- },
- "baseline": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Baseline"
- },
- "description": "the baseline values for each sensitivity."
+ "description": "the array of timestamps of the baselines."
+ },
+ "baseline": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Baseline"
},
- "metadata": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/BaselineMetadataValue"
- },
- "description": "the baseline metadata values."
- }
+ "description": "the baseline values for each sensitivity."
},
- "description": "The baseline properties class."
+ "metadata": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/BaselineMetadataValue"
+ },
+ "description": "the baseline metadata values."
+ }
},
- "Baseline": {
- "type": "object",
- "properties": {
- "sensitivity": {
- "type": "string",
- "enum": [
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "Sensitivity",
- "modelAsString": false
- },
- "description": "the sensitivity of the baseline."
+ "description": "The baseline properties class."
+ },
+ "Baseline": {
+ "type": "object",
+ "properties": {
+ "sensitivity": {
+ "type": "string",
+ "enum": [
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "Sensitivity",
+ "modelAsString": false
},
- "lowThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single low threshold value."
- },
- "description": "The low thresholds of the baseline."
+ "description": "the sensitivity of the baseline."
+ },
+ "lowThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single low threshold value."
},
- "highThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single high threshold value."
- },
- "description": "The high thresholds of the baseline."
- }
+ "description": "The low thresholds of the baseline."
},
- "required": [ "sensitivity", "lowThresholds", "highThresholds" ],
- "description": "The baseline values for a single sensitivity value."
- }
- },
- "parameters": {
- "ExtendedResourceUriParameter": {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
- },
- "MetricNameParameter": {
- "name": "metricName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the metric to retrieve the baseline for.",
- "x-ms-parameter-location": "method"
- },
- "TimespanParameter": {
- "name": "timespan",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.",
- "x-ms-parameter-location": "method"
- },
- "IntervalParameter": {
- "name": "interval",
- "in": "query",
- "required": false,
- "type": "string",
- "format": "duration",
- "description": "The interval (i.e. timegrain) of the query.",
- "x-ms-parameter-location": "method"
- },
- "AggregationParameter": {
- "name": "aggregation",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The aggregation type of the metric to retrieve the baseline for.",
- "x-ms-parameter-location": "method"
- },
- "SensitivitiesParameter": {
- "name": "sensitivities",
- "in": "query",
- "required": false,
- "type": "string",
- "description": "The list of sensitivities (comma separated) to retrieve.",
- "x-ms-parameter-location": "method"
+ "highThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single high threshold value."
+ },
+ "description": "The high thresholds of the baseline."
+ }
},
- "BaselineResultTypeParameter": {
- "name": "resultType",
- "in": "query",
- "type": "string",
- "enum": [
- "Data",
- "Metadata"
- ],
- "x-ms-enum": {
- "name": "ResultType",
- "modelAsString": false
- },
- "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.",
- "x-ms-parameter-location": "method",
- "required": false
+ "required": [
+ "sensitivity",
+ "lowThresholds",
+ "highThresholds"
+ ],
+ "description": "The baseline values for a single sensitivity value."
+ }
+ },
+ "parameters": {
+ "ExtendedResourceUriParameter": {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "MetricNameParameter": {
+ "name": "metricName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the metric to retrieve the baseline for.",
+ "x-ms-parameter-location": "method"
+ },
+ "TimespanParameter": {
+ "name": "timespan",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The timespan of the query. It is a string with the following format 'startDateTime_ISO/endDateTime_ISO'.",
+ "x-ms-parameter-location": "method"
+ },
+ "IntervalParameter": {
+ "name": "interval",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "format": "duration",
+ "description": "The interval (i.e. timegrain) of the query.",
+ "x-ms-parameter-location": "method"
+ },
+ "AggregationParameter": {
+ "name": "aggregation",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The aggregation type of the metric to retrieve the baseline for.",
+ "x-ms-parameter-location": "method"
+ },
+ "SensitivitiesParameter": {
+ "name": "sensitivities",
+ "in": "query",
+ "required": false,
+ "type": "string",
+ "description": "The list of sensitivities (comma separated) to retrieve.",
+ "x-ms-parameter-location": "method"
+ },
+ "BaselineResultTypeParameter": {
+ "name": "resultType",
+ "in": "query",
+ "type": "string",
+ "enum": [
+ "Data",
+ "Metadata"
+ ],
+ "x-ms-enum": {
+ "name": "ResultType",
+ "modelAsString": false
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
+ "description": "Allows retrieving only metadata of the baseline. On data request all information is retrieved.",
+ "x-ms-parameter-location": "method",
+ "required": false
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json
index c2e9065d56f5..e1ce81ced40d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/calculateBaseline_API.json
@@ -1,214 +1,226 @@
{
- "swagger": "2.0",
- "info": {
- "title": "MonitorManagementClient",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2017-11-01-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "MonitorManagementClient",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2017-11-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/{resourceUri}/providers/microsoft.insights/calculatebaseline": {
- "post": {
- "tags": [
- "Baseline"
- ],
- "operationId": "MetricBaseline_CalculateBaseline",
- "description": "**Lists the baseline values for a resource**.",
- "parameters": [
- {
- "$ref": "#/parameters/ExtendedResourceUriParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "TimeSeriesInformation",
- "description": "Information that need to be specified to calculate a baseline on a time series.",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/TimeSeriesInformation"
- }
+ }
+ },
+ "paths": {
+ "/{resourceUri}/providers/microsoft.insights/calculatebaseline": {
+ "post": {
+ "tags": [
+ "Baseline"
+ ],
+ "operationId": "MetricBaseline_CalculateBaseline",
+ "description": "**Lists the baseline values for a resource**.",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ExtendedResourceUriParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "TimeSeriesInformation",
+ "description": "Information that need to be specified to calculate a baseline on a time series.",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/TimeSeriesInformation"
}
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "Successful request to get the list of metric values.",
- "schema": {
- "$ref": "#/definitions/CalculateBaselineResponse"
- }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
},
- "x-ms-examples": {
- "Calculate baseline": { "$ref": "./examples/CalculateBaseline.json" }
+ "200": {
+ "description": "Successful request to get the list of metric values.",
+ "schema": {
+ "$ref": "#/definitions/CalculateBaselineResponse"
+ }
+ }
+ },
+ "x-ms-examples": {
+ "Calculate baseline": {
+ "$ref": "./examples/CalculateBaseline.json"
}
}
}
- },
- "definitions": {
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
+ },
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
}
- },
- "TimeSeriesInformation": {
- "properties": {
- "sensitivities": {
- "type": "array",
- "items": {
- "type": "string",
- "description": "the requested sensitivity for calculating the baseline."
- },
- "description": "the list of sensitivities for calculating the baseline."
+ }
+ },
+ "TimeSeriesInformation": {
+ "properties": {
+ "sensitivities": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "description": "the requested sensitivity for calculating the baseline."
},
- "values": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single metric value."
- },
- "description": "The metric values to calculate the baseline."
+ "description": "the list of sensitivities for calculating the baseline."
+ },
+ "values": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single metric value."
},
- "timestamps": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "date-time",
- "description": "the timestamp for the baseline value in ISO 8601 format."
- },
- "description": "the array of timestamps of the baselines."
- }
+ "description": "The metric values to calculate the baseline."
},
- "required": [ "sensitivities", "values" ],
- "description": "The time series info needed for calculating the baseline."
- },
- "CalculateBaselineResponse": {
- "type": "object",
- "properties": {
- "type": {
+ "timestamps": {
+ "type": "array",
+ "items": {
"type": "string",
- "description": "the resource type of the baseline resource."
+ "format": "date-time",
+ "description": "the timestamp for the baseline value in ISO 8601 format."
},
- "timestamps": {
- "type": "array",
- "items": {
- "type": "string",
- "format": "date-time",
- "description": "the timestamp for the baseline value in ISO 8601 format."
- },
- "description": "the array of timestamps of the baselines."
+ "description": "the array of timestamps of the baselines."
+ }
+ },
+ "required": [
+ "sensitivities",
+ "values"
+ ],
+ "description": "The time series info needed for calculating the baseline."
+ },
+ "CalculateBaselineResponse": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "the resource type of the baseline resource."
+ },
+ "timestamps": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "format": "date-time",
+ "description": "the timestamp for the baseline value in ISO 8601 format."
},
- "baseline": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Baseline"
- },
- "description": "the baseline values for each sensitivity."
- }
+ "description": "the array of timestamps of the baselines."
},
- "required": [ "type", "baseline" ],
- "description": "The response to a calculate baseline call."
+ "baseline": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Baseline"
+ },
+ "description": "the baseline values for each sensitivity."
+ }
},
- "Baseline": {
- "type": "object",
- "properties": {
- "sensitivity": {
- "type": "string",
- "enum": [
- "Low",
- "Medium",
- "High"
- ],
- "x-ms-enum": {
- "name": "Sensitivity",
- "modelAsString": false
- },
- "description": "the sensitivity of the baseline."
+ "required": [
+ "type",
+ "baseline"
+ ],
+ "description": "The response to a calculate baseline call."
+ },
+ "Baseline": {
+ "type": "object",
+ "properties": {
+ "sensitivity": {
+ "type": "string",
+ "enum": [
+ "Low",
+ "Medium",
+ "High"
+ ],
+ "x-ms-enum": {
+ "name": "Sensitivity",
+ "modelAsString": false
},
- "lowThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single low threshold value."
- },
- "description": "The low thresholds of the baseline."
+ "description": "the sensitivity of the baseline."
+ },
+ "lowThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single low threshold value."
},
- "highThresholds": {
- "type": "array",
- "items": {
- "type": "number",
- "format": "double",
- "description": "A single high threshold value."
- },
- "description": "The high thresholds of the baseline."
- }
+ "description": "The low thresholds of the baseline."
},
- "required": [ "sensitivity", "lowThresholds", "highThresholds" ],
- "description": "The baseline values for a single sensitivity value."
- }
- },
- "parameters": {
- "ExtendedResourceUriParameter": {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "x-ms-parameter-location": "method",
- "x-ms-skip-url-encoding": true
+ "highThresholds": {
+ "type": "array",
+ "items": {
+ "type": "number",
+ "format": "double",
+ "description": "A single high threshold value."
+ },
+ "description": "The high thresholds of the baseline."
+ }
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
+ "required": [
+ "sensitivity",
+ "lowThresholds",
+ "highThresholds"
+ ],
+ "description": "The baseline values for a single sensitivity value."
+ }
+ },
+ "parameters": {
+ "ExtendedResourceUriParameter": {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "x-ms-parameter-location": "method",
+ "x-ms-skip-url-encoding": true
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json
index 3b1a708a6c91..706ed919758c 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/CalculateBaseline.json
@@ -1,41 +1,47 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
- "api-version": "2017-11-01-preview",
- "TimeSeriesInformation": {
- "sensitivities": ["Low", "Medium"],
- "values": [61.0, 62.0]
- }
- },
- "responses": {
- "200": {
- "body": {
- "type": "Microsoft.Insights/calculatebaseline",
- "baseline": [
- {
- "sensitivity": "Low",
- "lowThresholds": [
- 30.0,
- 31.1
- ],
- "highThresholds": [
- 90.3453,
- 91.3453
- ]
- },
- {
- "sensitivity": "Medium",
- "lowThresholds": [
- 50.0,
- 51.1
- ],
- "highThresholds": [
- 70.3453,
- 71.3453
- ]
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/b324c52b-4073-4807-93af-e07d289c093e/resourceGroups/test/providers/Microsoft.Storage/storageAccounts/larryshoebox/blobServices/default",
+ "api-version": "2017-11-01-preview",
+ "TimeSeriesInformation": {
+ "sensitivities": [
+ "Low",
+ "Medium"
+ ],
+ "values": [
+ 61.0,
+ 62.0
+ ]
}
-}
\ No newline at end of file
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "type": "Microsoft.Insights/calculatebaseline",
+ "baseline": [
+ {
+ "sensitivity": "Low",
+ "lowThresholds": [
+ 30.0,
+ 31.1
+ ],
+ "highThresholds": [
+ 90.3453,
+ 91.3453
+ ]
+ },
+ {
+ "sensitivity": "Medium",
+ "lowThresholds": [
+ 50.0,
+ 51.1
+ ],
+ "highThresholds": [
+ 70.3453,
+ 71.3453
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json
index e7b39ef4b363..2c84cad30ea4 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaseline.json
@@ -1,55 +1,55 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metricName": "PercentageCpu",
- "aggregation": "Average",
- "interval": "PT1H",
- "sensitivities": "Low,Medium",
- "api-version": "2017-11-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
- "type": "Microsoft.Insights/baseline",
- "name": {
- "value": "PercentageCpu"
- },
- "properties": {
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "aggregation": "Average",
- "interval": "PT1H",
- "timestamps": [
- "2017-04-14T02:20:00Z",
- "2017-04-14T03:20:00Z"
- ],
- "baseline": [
- {
- "sensitivity": "Low",
- "lowThresholds": [
- 30.0,
- 31.1
- ],
- "highThresholds": [
- 90.3453,
- 91.3453
- ]
- },
- {
- "sensitivity": "Medium",
- "lowThresholds": [
- 50.0,
- 51.1
- ],
- "highThresholds": [
- 70.3453,
- 71.3453
- ]
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metricName": "PercentageCpu",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "sensitivities": "Low,Medium",
+ "api-version": "2017-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
+ "type": "Microsoft.Insights/baseline",
+ "name": {
+ "value": "PercentageCpu"
+ },
+ "properties": {
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "timestamps": [
+ "2017-04-14T02:20:00Z",
+ "2017-04-14T03:20:00Z"
+ ],
+ "baseline": [
+ {
+ "sensitivity": "Low",
+ "lowThresholds": [
+ 30.0,
+ 31.1
+ ],
+ "highThresholds": [
+ 90.3453,
+ 91.3453
+ ]
+ },
+ {
+ "sensitivity": "Medium",
+ "lowThresholds": [
+ 50.0,
+ 51.1
+ ],
+ "highThresholds": [
+ 70.3453,
+ 71.3453
+ ]
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json
index e3384a56ce4a..0f6ea5ff333d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-11-01-preview/examples/GetBaselineMetadata.json
@@ -1,37 +1,37 @@
{
- "parameters": {
- "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "metricName": "PercentageCpu",
- "aggregation": "Average",
- "interval": "PT1H",
- "resulttype": "metadata",
- "api-version": "2017-11-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
- "type": "Microsoft.Insights/baseline",
- "name": {
- "value": "PercentageCpu"
- },
- "properties": {
- "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
- "aggregation": "Average",
- "interval": "PT1H",
- "metadata": [
- {
- "name": "CurrentTrainingState",
- "value": "Trained"
- },
- {
- "name": "SelectedModel",
- "value": "AdjustedBoxplot"
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1",
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "metricName": "PercentageCpu",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "resulttype": "metadata",
+ "api-version": "2017-11-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Insights/baseline/PercentageCpu",
+ "type": "Microsoft.Insights/baseline",
+ "name": {
+ "value": "PercentageCpu"
+ },
+ "properties": {
+ "timespan": "2017-04-14T02:20:00Z/2017-04-14T04:20:00Z",
+ "aggregation": "Average",
+ "interval": "PT1H",
+ "metadata": [
+ {
+ "name": "CurrentTrainingState",
+ "value": "Trained"
+ },
+ {
+ "name": "SelectedModel",
+ "value": "AdjustedBoxplot"
+ }
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json
index 46a037b1705e..1eff5dfacb69 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/examples/GetMetricNamespaces.json
@@ -1,23 +1,23 @@
{
- "parameters": {
- "resourceUri": "subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb",
- "startTime": "2018-08-31T15:53:00Z",
- "api-version": "2017-12-01-preview"
- },
- "responses": {
- "200": {
- "body": {
- "value": [
- {
- "id": "/subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb/providers/microsoft.insights/metricNamespaces/Microsoft.DocumentDB-databaseAccounts",
- "name": "Microsoft.DocumentDB-databaseAccounts",
- "type": "Microsoft.Insights/metricNamespaces",
- "properties": {
- "metricNamespaceName": "Microsoft.DocumentDB/databaseAccounts"
- }
- }
- ]
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb",
+ "startTime": "2018-08-31T15:53:00Z",
+ "api-version": "2017-12-01-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "value": [
+ {
+ "id": "/subscriptions/a252e87d-ec06-45b1-8901-57e613be91b0/resourceGroups/larrytest/providers/Microsoft.DocumentDB/databaseAccounts/larrytestdocdb/providers/microsoft.insights/metricNamespaces/Microsoft.DocumentDB-databaseAccounts",
+ "name": "Microsoft.DocumentDB-databaseAccounts",
+ "type": "Microsoft.Insights/metricNamespaces",
+ "properties": {
+ "metricNamespaceName": "Microsoft.DocumentDB/databaseAccounts"
+ }
+ }
+ ]
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
index ba9d6a3e6c2c..85e1e0f5a63f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2017-12-01-preview/metricNamespaces_API.json
@@ -72,7 +72,9 @@
"nextLinkName": null
},
"x-ms-examples": {
- "Get Metric Namespaces without filter": { "$ref": "./examples/GetMetricNamespaces.json" }
+ "Get Metric Namespaces without filter": {
+ "$ref": "./examples/GetMetricNamespaces.json"
+ }
}
}
}
@@ -102,7 +104,7 @@
"type": "string",
"description": "The name of the namespace."
},
- "properties": {
+ "properties": {
"$ref": "#/definitions/MetricNamespaceName",
"description": "Properties which include the fully qualified namespace name."
}
@@ -119,7 +121,9 @@
"description": "The values for the metric namespaces."
}
},
- "required": ["value"],
+ "required": [
+ "value"
+ ],
"description": "Represents collection of metric namespaces."
},
"ErrorResponse": {
@@ -154,7 +158,7 @@
"x-ms-parameter-location": "method",
"x-ms-skip-url-encoding": true
},
- "StartTimeParameter": {
+ "StartTimeParameter": {
"name": "startTime",
"in": "query",
"required": false,
@@ -163,4 +167,4 @@
"x-ms-parameter-location": "method"
}
}
-}
\ No newline at end of file
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json
index e57cc6ec6235..19e93cdd1e9d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettings.json
@@ -1,153 +1,150 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ResourceGroup",
- "diagnosticSettingsName": "SampleDiagSetting",
- "api-version": "2018-06-01-preview",
- "diagnosticSettings": {
- "location": "Global",
- "tags": {},
- "properties": {
- "osType": "Windows",
- "dataSources": [
- {
- "kind": "PerformanceCounter",
- "configuration": {
- "perfCounters": [
- {
- "name": "\\Process(_Total)\\%Processor Time",
- "samplingPeriod": "PT1M"
- },
- {
- "name": "\\Process(_Total)\\Working Set",
- "samplingPeriod": "PT1M"
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "ETWProviders",
- "configuration": {
- "providers": [
- {
- "name": "AuditLog",
- "id": 1,
- "filter": "filter exp"
- },
- {
- "name": "TraceLog",
- "id": 2
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "WindowsEventLogs",
- "configuration": {
- "eventLogs": [
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
-
- },
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
- }
-
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- }
-
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ResourceGroup",
+ "diagnosticSettingsName": "SampleDiagSetting",
+ "api-version": "2018-06-01-preview",
+ "diagnosticSettings": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "osType": "Windows",
+ "dataSources": [
+ {
+ "kind": "PerformanceCounter",
+ "configuration": {
+ "perfCounters": [
+ {
+ "name": "\\Process(_Total)\\%Processor Time",
+ "samplingPeriod": "PT1M"
+ },
+ {
+ "name": "\\Process(_Total)\\Working Set",
+ "samplingPeriod": "PT1M"
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ },
+ {
+ "kind": "ETWProviders",
+ "configuration": {
+ "providers": [
+ {
+ "name": "AuditLog",
+ "id": 1,
+ "filter": "filter exp"
+ },
+ {
+ "name": "TraceLog",
+ "id": 2
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ },
+ {
+ "kind": "WindowsEventLogs",
+ "configuration": {
+ "eventLogs": [
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
+ },
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting",
+ "name": "productionMachineSetting",
+ "type": "Microsoft.Insights/guestDiagnosticSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "osType": "Windows",
+ "dataSources": [
+ {
+ "kind": "PerformanceCounter",
+ "configuration": {
+ "perfCounters": [
+ {
+ "name": "\\Process(_Total)\\%Processor Time",
+ "samplingPeriod": "PT1M"
+ },
+ {
+ "name": "\\Process(_Total)\\Working Set",
+ "samplingPeriod": "PT1M"
+ }
]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
}
+ ]
}
+ }
},
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting",
- "name": "productionMachineSetting",
- "type": "Microsoft.Insights/guestDiagnosticSettings",
- "location": "West US",
- "tags": {},
- "properties": {
- "osType": "Windows",
- "dataSources": [
- {
- "kind": "PerformanceCounter",
- "configuration": {
- "perfCounters": [
- {
- "name": "\\Process(_Total)\\%Processor Time",
- "samplingPeriod": "PT1M"
- },
- {
- "name": "\\Process(_Total)\\Working Set",
- "samplingPeriod": "PT1M"
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- }
- ]
- }
- }
- },
- "201": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting",
- "name": "SampleDiagSetting",
- "type": "Microsoft.Insights/guestDiagnosticSettings",
- "location": "West US",
- "tags": {},
- "properties": {
- "osType": "Windows",
- "dataSources": [
- {
- "kind": "PerformanceCounter",
- "configuration": {
- "perfCounters": [
- {
- "name": "\\Process(_Total)\\%Processor Time",
- "samplingPeriod": "PT1M"
- },
- {
- "name": "\\Process(_Total)\\Working Set",
- "samplingPeriod": "PT1M"
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- }
- ]
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagSetting",
+ "name": "SampleDiagSetting",
+ "type": "Microsoft.Insights/guestDiagnosticSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "osType": "Windows",
+ "dataSources": [
+ {
+ "kind": "PerformanceCounter",
+ "configuration": {
+ "perfCounters": [
+ {
+ "name": "\\Process(_Total)\\%Processor Time",
+ "samplingPeriod": "PT1M"
+ },
+ {
+ "name": "\\Process(_Total)\\Working Set",
+ "samplingPeriod": "PT1M"
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
}
+ ]
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json
index c35cff6c5de2..633e67f69828 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/createOrUpdateGuestDiagnosticSettingsAssociation.json
@@ -1,42 +1,42 @@
{
- "parameters": {
- "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
- "associationName": "healthSystemMachineConfigAssociation",
- "api-version": "2018-06-01-preview",
- "diagnosticSettingsAssociation": {
- "location": "Global",
- "tags": {},
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
- }
+ "parameters": {
+ "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
+ "associationName": "healthSystemMachineConfigAssociation",
+ "api-version": "2018-06-01-preview",
+ "diagnosticSettingsAssociation": {
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
+ "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
+ "name": "healthSystemMachineConfigAssociation",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
}
+ }
},
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
- "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
- "name": "healthSystemMachineConfigAssociation",
- "location": "Global",
- "tags": {},
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
- }
- }
- },
- "201": {
- "headers": {},
- "body": {
- "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
- "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
- "name": "healthSystemMachineConfigAssociation",
- "location": "Global",
- "tags": {},
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
- }
- }
+ "201": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
+ "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
+ "name": "healthSystemMachineConfigAssociation",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json
index 2de5c4bb50ef..8070981646fc 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/deleteGuestDiagnosticSettingsAssociation.json
@@ -1,17 +1,11 @@
{
- "parameters": {
- "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
- "associationName": "healthSystemMachineConfigAssociation",
- "api-version": "2018-06-01-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": null
- },
- "204": {
- "headers": {},
- "body": null
- }
- }
-}
\ No newline at end of file
+ "parameters": {
+ "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
+ "associationName": "healthSystemMachineConfigAssociation",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {},
+ "204": {}
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json
index 09a003c11131..b9a8f6faa1dd 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettings.json
@@ -1,168 +1,162 @@
{
- "parameters": {
- "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
- "resourceGroupName": "Default-ResourceGroup",
- "diagnosticSettingsName": "productionMachineSetting",
- "api-version": "2018-06-01-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting",
- "name": "productionMachineSetting",
- "type": "Microsoft.Insights/guestDiagnosticSettings",
- "location": "West US",
- "tags": {},
- "properties": {
- "osType": "windows",
- "dataSources": [
- {
- "kind": "PerformanceCounter",
- "configuration": {
- "perfCounters": [
- {
- "name": "\\Process(_Total)\\%Processor Time",
- "samplingPeriod": "PT1M"
- },
- {
- "name": "\\Process(_Total)\\Working Set",
- "samplingPeriod": "PT1M"
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "ETWProviders",
- "configuration": {
- "providers": [
- {
- "name": "AuditLog",
- "id": 1,
- "filter": "filter exp"
- },
- {
- "name": "TraceLog",
- "id": 2
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "WindowsEventLogs",
- "configuration": {
- "eventLogs": [
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
-
- },
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
- }
-
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- }
-
- ]
+ "parameters": {
+ "subscriptionId": "187f412d-1758-44d9-b052-169e2564721d",
+ "resourceGroupName": "Default-ResourceGroup",
+ "diagnosticSettingsName": "productionMachineSetting",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting",
+ "name": "productionMachineSetting",
+ "type": "Microsoft.Insights/guestDiagnosticSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "osType": "windows",
+ "dataSources": [
+ {
+ "kind": "PerformanceCounter",
+ "configuration": {
+ "perfCounters": [
+ {
+ "name": "\\Process(_Total)\\%Processor Time",
+ "samplingPeriod": "PT1M"
+ },
+ {
+ "name": "\\Process(_Total)\\Working Set",
+ "samplingPeriod": "PT1M"
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ },
+ {
+ "kind": "ETWProviders",
+ "configuration": {
+ "providers": [
+ {
+ "name": "AuditLog",
+ "id": 1,
+ "filter": "filter exp"
+ },
+ {
+ "name": "TraceLog",
+ "id": 2
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
}
+ ]
+ },
+ {
+ "kind": "WindowsEventLogs",
+ "configuration": {
+ "eventLogs": [
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
+ },
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
}
- },
- "202": {
- "headers": {},
- "body": {
- "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting",
- "name": "productionMachineSetting",
- "type": "Microsoft.Insights/guestDiagnosticSettings",
- "location": "West US",
- "tags": {},
- "properties": {
- "osType": "windows",
- "dataSources": [
- {
- "kind": "PerformanceCounter",
- "configuration": {
- "perfCounters": [
- {
- "name": "\\Process(_Total)\\%Processor Time",
- "samplingPeriod": "PT1M"
- },
- {
- "name": "\\Process(_Total)\\Working Set",
- "samplingPeriod": "PT1M"
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "ETWProviders",
- "configuration": {
- "providers": [
- {
- "name": "AuditLog",
- "id": 1,
- "filter": "filter exp"
- },
- {
- "name": "TraceLog",
- "id": 2
- }
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- },
- {
- "kind": "WindowsEventLogs",
- "configuration": {
- "eventLogs": [
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
-
- },
- {
- "logName": "Application",
- "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
- }
-
- ]
- },
- "sinks": [
- {
- "kind": "LogAnalytics"
- }
- ]
- }
-
- ]
+ ]
+ }
+ }
+ },
+ "202": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-ResourceGroup/providers/microsoft.insights/guestDiagnosticSettings/productionMachineSetting",
+ "name": "productionMachineSetting",
+ "type": "Microsoft.Insights/guestDiagnosticSettings",
+ "location": "West US",
+ "tags": {},
+ "properties": {
+ "osType": "windows",
+ "dataSources": [
+ {
+ "kind": "PerformanceCounter",
+ "configuration": {
+ "perfCounters": [
+ {
+ "name": "\\Process(_Total)\\%Processor Time",
+ "samplingPeriod": "PT1M"
+ },
+ {
+ "name": "\\Process(_Total)\\Working Set",
+ "samplingPeriod": "PT1M"
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ },
+ {
+ "kind": "ETWProviders",
+ "configuration": {
+ "providers": [
+ {
+ "name": "AuditLog",
+ "id": 1,
+ "filter": "filter exp"
+ },
+ {
+ "name": "TraceLog",
+ "id": 2
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
+ }
+ ]
+ },
+ {
+ "kind": "WindowsEventLogs",
+ "configuration": {
+ "eventLogs": [
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"CatWoman\""
+ },
+ {
+ "logName": "Application",
+ "filter": "SourceName == Xyz AND EventId = \"100\" AND $Xpath/Column=\"DCName\" = \"BatMan\""
+ }
+ ]
+ },
+ "sinks": [
+ {
+ "kind": "LogAnalytics"
}
+ ]
}
+ ]
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json
index 5ee3afd4ef02..5cd3f4ba672c 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/getGuestDiagnosticSettingsAssociation.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
- "associationName": "healthSystemMachineConfigAssociation",
- "api-version": "2018-06-01-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
- "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
- "name": "healthSystemMachineConfigAssociation",
- "location": "Global",
- "tags": {},
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagnosticSettingsName"
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
+ "associationName": "healthSystemMachineConfigAssociation",
+ "api-version": "2018-06-01-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
+ "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
+ "name": "healthSystemMachineConfigAssociation",
+ "location": "Global",
+ "tags": {},
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/SampleDiagnosticSettingsName"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json
index e33341549273..2cfc3cf55463 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/examples/updateGuestDiagnosticSettingsAssociation.json
@@ -1,28 +1,28 @@
{
+ "parameters": {
+ "resourceUri": "subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
+ "associationName": "healthSystemMachineConfigAssociation",
+ "api-version": "2018-06-01-preview",
"parameters": {
- "resourceUri":"subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai",
- "associationName": "healthSystemMachineConfigAssociation",
- "api-version": "2018-06-01-preview",
- "parameters": {
- "tags": null,
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
- }
- }
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
- "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
- "name": "healthSystemMachineConfigAssociation",
- "location": "Global",
- "tags": null,
- "properties": {
- "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
- }
- }
+ "tags": null,
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "id": "/subscriptions/8498f01b-8064-4e37-856e-318f3c6c685f/resourceGroups/healthsystem/providers/Microsoft.Compute/virtualMachines/eastussojai/providers/microsoft.insights/guestDiagnosticSettingsAssociation/healthSystemMachineConfigAssociation",
+ "type": "Microsoft.Insights/GuestDiagnosticSettingsAssociation",
+ "name": "healthSystemMachineConfigAssociation",
+ "location": "Global",
+ "tags": null,
+ "properties": {
+ "guestDiagnosticSettingsName": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/Default-Association-ResourceGroup/providers/providers/microsoft.insights/guestDiagnosticSettings/vmSettingForSecurity"
}
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json
index 80487b3dc64d..ddcba6617e2d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettingsAssociation_API.json
@@ -1,444 +1,446 @@
{
- "swagger": "2.0",
- "info": {
- "title": "Guest Diagnostic Settings Association API",
- "description": "API to Add/Remove/List Guest Diagnostics Settings Association for Azure Resources",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2018-06-01-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "Guest Diagnostic Settings Association API",
+ "description": "API to Add/Remove/List Guest Diagnostics Settings Association for Azure Resources",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2018-06-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}": {
- "put": {
- "description": "Creates or updates guest diagnostics settings association.",
- "tags": [
- "GuestDiagnosticsSettingsAssociation"
- ],
- "operationId": "guestDiagnosticsSettingsAssociation_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update an guest diagnostic settings association": {
- "$ref": "./examples/createOrUpdateGuestDiagnosticSettingsAssociation.json"
- }
- },
- "parameters": [
- {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The fully qualified ID of the resource, including the resource name and resource type.",
- "x-ms-skip-url-encoding": true
- },
- {
- "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "diagnosticSettingsAssociation",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- },
- "description": "The diagnostic settings association to create or update."
- }
- ],
- "responses": {
- "200": {
- "description": "An existing guest diagnostic settings association was successfully updated.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- }
- },
- "201": {
- "description": "A new guest diagnostic settings association was successfully created.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- }
- },
- "default": {
- "description": "An error occurred and the guest diagnostic settings association could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "description": "Gets guest diagnostics association settings.",
- "tags": [
- "GuestDiagnosticsSettingsAssociation"
- ],
- "operationId": "guestDiagnosticsSettingsAssociation_Get",
- "x-ms-examples": {
- "Create or update an guest diagnostic settings association": {
- "$ref": "./examples/getGuestDiagnosticSettingsAssociation.json"
- }
- },
- "parameters": [
- {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The fully qualified ID of the resource, including the resource name and resource type.",
- "x-ms-skip-url-encoding": true
- },
- {
- "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- }
- },
- "default": {
- "description": "An error occurred and the diagnostic settings association could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "description": "Delete guest diagnostics association settings.",
- "tags": [
- "GuestDiagnosticsSettingsAssociation"
- ],
- "x-ms-examples": {
- "Create or update an guest diagnostic settings association": {
- "$ref": "./examples/deleteGuestDiagnosticSettingsAssociation.json"
- }
- },
- "operationId": "GuestDiagnosticsSettingsAssociation_Delete",
- "parameters": [
- {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The fully qualified ID of the resource, including the resource name and resource type.",
- "x-ms-skip-url-encoding": true
- },
- {
- "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The diagnostic settings association was successfully deleted."
- },
- "204": {
- "description": "The diagnostic settings association does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the diagnostic settings association could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ }
+ },
+ "paths": {
+ "/{resourceUri}/providers/microsoft.insights/guestDiagnosticSettingsAssociation/{associationName}": {
+ "put": {
+ "description": "Creates or updates guest diagnostics settings association.",
+ "tags": [
+ "GuestDiagnosticsSettingsAssociation"
+ ],
+ "operationId": "GuestDiagnosticsSettingsAssociation_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update an guest diagnostic settings association": {
+ "$ref": "./examples/createOrUpdateGuestDiagnosticSettingsAssociation.json"
+ }
+ },
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The fully qualified ID of the resource, including the resource name and resource type.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "name": "diagnosticSettingsAssociation",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
},
- "patch": {
- "description": "Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method",
- "operationId": "guestDiagnosticsSettingsAssociation_Update",
- "parameters": [
- {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The fully qualified ID of the resource, including the resource name and resource type.",
- "x-ms-skip-url-encoding": true
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResourcePatch"
- },
- "description": "Parameters supplied to the operation."
- }
- ],
- "responses": {
- "default": {
- "description": "Error response describing why the operation failed.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- },
- "200": {
- "description": "An existing guest diagnostics setting resource was successfully updated.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- }
- }
- },
- "x-ms-examples": {
- "Update a service diagnostic setting": { "$ref": "./examples/updateGuestDiagnosticSettingsAssociation.json" }
- }
- }
+ "description": "The diagnostic settings association to create or update."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing guest diagnostic settings association was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
+ }
+ },
+ "201": {
+ "description": "A new guest diagnostic settings association was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the guest diagnostic settings association could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "get": {
+ "description": "Gets guest diagnostics association settings.",
+ "tags": [
+ "GuestDiagnosticsSettingsAssociation"
+ ],
+ "operationId": "GuestDiagnosticsSettingsAssociation_Get",
+ "x-ms-examples": {
+ "Create or update an guest diagnostic settings association": {
+ "$ref": "./examples/getGuestDiagnosticSettingsAssociation.json"
+ }
},
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": {
- "get": {
- "description": "Get a list of all guest diagnostic settings association in a subscription.",
- "operationId": "guestDiagnosticsSettingsAssociation_List",
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList"
- }
- },
- "default": {
- "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The fully qualified ID of the resource, including the resource name and resource type.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
}
+ },
+ "default": {
+ "description": "An error occurred and the diagnostic settings association could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ }
+ }
+ },
+ "delete": {
+ "description": "Delete guest diagnostics association settings.",
+ "tags": [
+ "GuestDiagnosticsSettingsAssociation"
+ ],
+ "x-ms-examples": {
+ "Create or update an guest diagnostic settings association": {
+ "$ref": "./examples/deleteGuestDiagnosticSettingsAssociation.json"
+ }
},
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": {
- "get": {
- "description": "Get a list of all guest diagnostic settings association in a resource group.",
- "operationId": "guestDiagnosticsSettingsAssociation_ListByResourceGroup",
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList"
- }
- },
- "default": {
- "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ "operationId": "GuestDiagnosticsSettingsAssociation_Delete",
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The fully qualified ID of the resource, including the resource name and resource type.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The diagnostic settings association was successfully deleted."
+ },
+ "204": {
+ "description": "The diagnostic settings association does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the diagnostic settings association could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
}
- },
- "definitions": {
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ },
+ "patch": {
+ "description": "Updates an existing guestDiagnosticsSettingsAssociation Resource. To update other fields use the CreateOrUpdate method",
+ "operationId": "GuestDiagnosticsSettingsAssociation_Update",
+ "parameters": [
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The fully qualified ID of the resource, including the resource name and resource type.",
+ "x-ms-skip-url-encoding": true
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingsAssociationNameParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResourcePatch"
+ },
+ "description": "Parameters supplied to the operation."
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Error response describing why the operation failed.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
+ }
+ },
+ "200": {
+ "description": "An existing guest diagnostics setting resource was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
}
+ }
+ },
+ "x-ms-examples": {
+ "Update a service diagnostic setting": {
+ "$ref": "./examples/updateGuestDiagnosticSettingsAssociation.json"
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": {
+ "get": {
+ "description": "Get a list of all guest diagnostic settings association in a subscription.",
+ "operationId": "GuestDiagnosticsSettingsAssociation_List",
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "GuestDiagnosticSettingsAssociationList": {
- "description": "A list of guest diagnostic settings association.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
- },
- "description": "The list of guest diagnostic settings association."
- },
- "nextLink": {
- "type": "string",
- "description": "Provides the link to retrieve the next set of elements."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettingsAssociations": {
+ "get": {
+ "description": "Get a list of all guest diagnostic settings association in a resource group.",
+ "operationId": "GuestDiagnosticsSettingsAssociation_ListByResourceGroup",
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "GuestDiagnosticSettingsAssociationResourcePatch": {
- "description": "Guest diagnostic setting resource for patch operations",
- "properties": {
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociation",
- "description": "The service diagnostics settings for an update operation."
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationList"
+ }
+ },
+ "default": {
+ "description": "An error occurred and the list of guest diagnostic settings association could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
},
- "GuestDiagnosticSettingsAssociation": {
- "description": "A guest diagnostic settings association.",
- "properties": {
- "guestDiagnosticSettingsName": {
- "type": "string",
- "description": "The guest diagnostic settings name."
- }
- },
- "required": [
- "guestDiagnosticSettingsName"
- ]
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
+ },
+ "GuestDiagnosticSettingsAssociationList": {
+ "description": "A list of guest diagnostic settings association.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociationResource"
+ },
+ "description": "The list of guest diagnostic settings association."
},
- "GuestDiagnosticSettingsAssociationResource": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "required": [
- "properties"
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GuestDiagnosticSettingsAssociation",
- "description": "The diagnostics settings associations of the resource."
- }
- },
- "description": "Virtual machine guest diagnostic settings resource."
+ "nextLink": {
+ "type": "string",
+ "description": "Provides the link to retrieve the next set of elements."
+ }
+ }
+ },
+ "GuestDiagnosticSettingsAssociationResourcePatch": {
+ "description": "Guest diagnostic setting resource for patch operations",
+ "properties": {
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
},
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- }
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociation",
+ "description": "The service diagnostics settings for an update operation."
+ }
+ }
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
+ "GuestDiagnosticSettingsAssociation": {
+ "description": "A guest diagnostic settings association.",
+ "properties": {
+ "guestDiagnosticSettingsName": {
+ "type": "string",
+ "description": "The guest diagnostic settings name."
+ }
+ },
+ "required": [
+ "guestDiagnosticSettingsName"
+ ]
+ },
+ "GuestDiagnosticSettingsAssociationResource": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GuestDiagnosticSettingsAssociation",
+ "description": "The diagnostics settings associations of the resource."
+ }
+ },
+ "description": "Virtual machine guest diagnostic settings resource."
+ },
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
},
- "DiagnosticSettingsAssociationNameParameter": {
- "name": "associationName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the diagnostic settings association.",
- "x-ms-parameter-location": "method"
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "DiagnosticSettingsAssociationNameParameter": {
+ "name": "associationName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the diagnostic settings association.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json
index 092ba0613f6f..c82bcd2e139e 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-06-01-preview/guestDiagnosticSettings_API.json
@@ -1,580 +1,580 @@
{
- "swagger": "2.0",
- "info": {
- "title": "Guest Diagnostic Settings API",
- "description": "API to Add/Remove/List Guest Diagnostics Configuration to Azure Resources",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2018-06-01-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "Guest Diagnostic Settings API",
+ "description": "API to Add/Remove/List Guest Diagnostics Configuration to Azure Resources",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2018-06-01-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings/{diagnosticSettingsName}": {
- "put": {
- "description": "Creates or updates guest diagnostics settings.",
- "tags": [
- "GuestDiagnosticsSettings"
- ],
- "operationId": "guestDiagnosticsSettings_CreateOrUpdate",
- "x-ms-examples": {
- "Create or update a guest diagnostic settings": {
- "$ref": "./examples/createOrUpdateGuestDiagnosticSettings.json"
- }
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiagnosticSettingNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "diagnosticSettings",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- },
- "description": "The configuration to create or update."
- }
- ],
- "responses": {
- "200": {
- "description": "An existing guest diagnostic settings was successfully updated.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- }
- },
- "201": {
- "description": "A new guest diagnostic settings was successfully created.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- }
- },
- "default": {
- "description": "An error occurred and the guest diagnostic settings could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "get": {
- "description": "Gets guest diagnostics settings.",
- "tags": [
- "GuestDiagnosticsSettings"
- ],
- "operationId": "guestDiagnosticsSettings_Get",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiagnosticSettingNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- }
- },
- "default": {
- "description": "An error occurred and the diagnostic settings could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ }
+ },
+ "paths": {
+ "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings/{diagnosticSettingsName}": {
+ "put": {
+ "description": "Creates or updates guest diagnostics settings.",
+ "tags": [
+ "GuestDiagnosticsSettings"
+ ],
+ "operationId": "guestDiagnosticsSettings_CreateOrUpdate",
+ "x-ms-examples": {
+ "Create or update a guest diagnostic settings": {
+ "$ref": "./examples/createOrUpdateGuestDiagnosticSettings.json"
+ }
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "diagnosticSettings",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
},
- "patch": {
- "description": "Updates guest diagnostics settings.",
- "operationId": "guestDiagnosticsSettings_Update",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiagnosticSettingNameParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "name": "parameters",
- "in": "body",
- "required": true,
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsPatchResource"
- },
- "description": "The configuration to patch."
- }
- ],
- "responses": {
- "200": {
- "description": "An existing guest diagnostic settings was successfully updated.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- }
- },
- "201": {
- "description": "A new guest diagnostic settings was successfully created.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- }
- },
- "default": {
- "description": "An error occurred and the guest diagnostic settings could not be created or updated.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
- },
- "delete": {
- "description": "Delete guest diagnostics settings.",
- "tags": [
- "GuestDiagnosticsSettings"
- ],
- "operationId": "guestDiagnosticsSettings_Delete",
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/DiagnosticSettingNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The diagnostic settings was successfully deleted."
- },
- "204": {
- "description": "The diagnostic settings does not exist. It may have already been deleted."
- },
- "default": {
- "description": "An error occurred and the diagnostic settings could not be deleted.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ "description": "The configuration to create or update."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing guest diagnostic settings was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
}
- },
- "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettings": {
- "get": {
- "description": "Get a list of all guest diagnostic settings in a subscription.",
- "operationId": "guestDiagnosticsSettings_List",
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsList"
- }
- },
- "default": {
- "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "201": {
+ "description": "A new guest diagnostic settings was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
}
- },
- "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings": {
- "get": {
- "description": "Get a list of all guest diagnostic settings in a resource group.",
- "operationId": "guestDiagnosticsSettings_ListByResourceGroup",
- "x-ms-pageable": {
- "nextLinkName": null
- },
- "parameters": [
- {
- "$ref": "#/parameters/ResourceGroupNameParameter"
- },
- {
- "$ref": "#/parameters/SubscriptionIdParameter"
- },
- {
- "$ref": "#/parameters/ApiVersionParameter"
- }
- ],
- "responses": {
- "200": {
- "description": "The request succeeded.",
- "schema": {
- "$ref": "#/definitions/GuestDiagnosticSettingsList"
- }
- },
- "default": {
- "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.",
- "schema": {
- "$ref": "#/definitions/ErrorResponse"
- }
- }
- }
+ },
+ "default": {
+ "description": "An error occurred and the guest diagnostic settings could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
}
- },
- "definitions": {
- "ErrorResponse": {
- "description": "Describes the format of Error response.",
- "type": "object",
- "properties": {
- "code": {
- "description": "Error code",
- "type": "string"
- },
- "message": {
- "description": "Error message indicating why the operation failed.",
- "type": "string"
- }
+ },
+ "get": {
+ "description": "Gets guest diagnostics settings.",
+ "tags": [
+ "GuestDiagnosticsSettings"
+ ],
+ "operationId": "guestDiagnosticsSettings_Get",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
}
- },
- "GuestDiagnosticSettingsList": {
- "description": "A list of guest diagnostic settings.",
- "properties": {
- "value": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuestDiagnosticSettingsResource"
- },
- "description": "The list of guest diagnostic settings."
- },
- "nextLink": {
- "type": "string",
- "description": "Provides the link to retrieve the next set of elements."
- }
+ },
+ "default": {
+ "description": "An error occurred and the diagnostic settings could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- },
- "GuestDiagnosticSettingsResource": {
- "type": "object",
- "allOf": [
- {
- "$ref": "#/definitions/Resource"
- }
- ],
- "required": [
- "properties"
- ],
- "properties": {
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GuestDiagnosticSettings",
- "description": "The diagnostic settings to be applied to azure resources."
- }
+ }
+ }
+ },
+ "patch": {
+ "description": "Updates guest diagnostics settings.",
+ "operationId": "guestDiagnosticsSettings_Update",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "name": "parameters",
+ "in": "body",
+ "required": true,
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsPatchResource"
},
- "description": "Virtual machine guest diagnostics settings resource."
- },
- "GuestDiagnosticSettings": {
- "description": "Virtual machine diagnostic settings",
- "properties": {
- "osType": {
- "type": "string",
- "enum": [
- "Windows",
- "Linux"
- ],
- "description" : "Operating system type for the configuration"
- },
- "dataSources": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DataSource"
- },
- "description": "the array of data source object which are configured to collect and send data"
- },
- "proxySetting": {
- "type": "string"
- }
+ "description": "The configuration to patch."
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "An existing guest diagnostic settings was successfully updated.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
}
- },
- "GuestDiagnosticSettingsPatchResource": {
- "description": "An diagnostic settings object for the body of patch operations.",
- "properties": {
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- },
- "properties": {
- "x-ms-client-flatten": true,
- "$ref": "#/definitions/GuestDiagnosticSettings",
- "description": "The diagnostic settings for an update operation."
- }
+ },
+ "201": {
+ "description": "A new guest diagnostic settings was successfully created.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
}
- },
- "DataSource": {
- "type": "object",
- "required": [
- "kind",
- "configuration",
- "sinks"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "PerformanceCounter",
- "ETWProviders",
- "WindowsEventLogs"
- ],
- "description": "Datasource kind"
- },
- "configuration": {
- "type": "object",
- "$ref": "#/definitions/DataSourceConfiguration"
- },
- "sinks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SinkConfiguration"
- }
- }
- },
- "description": "Data source object contains configuration to collect telemetry and one or more sinks to send that telemetry data to"
- },
- "SinkConfiguration": {
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "EventHub",
- "ApplicationInsights",
- "LogAnalytics"
- ]
- }
+ },
+ "default": {
+ "description": "An error occurred and the guest diagnostic settings could not be created or updated.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
- },
- "DataSourceConfiguration": {
- "type": "object",
- "properties": {
- "providers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EtwProviderConfiguration"
- },
- "description": "ETW providers configuration"
- },
- "perfCounters": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PerformanceCounterConfiguration"
- },
- "description": "Performance counter configuration"
- },
- "eventLogs": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EventLogConfiguration"
- },
- "description": "Windows event logs configuration."
- }
+ }
+ }
+ },
+ "delete": {
+ "description": "Delete guest diagnostics settings.",
+ "tags": [
+ "GuestDiagnosticsSettings"
+ ],
+ "operationId": "guestDiagnosticsSettings_Delete",
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/DiagnosticSettingNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The diagnostic settings was successfully deleted."
+ },
+ "204": {
+ "description": "The diagnostic settings does not exist. It may have already been deleted."
+ },
+ "default": {
+ "description": "An error occurred and the diagnostic settings could not be deleted.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/providers/microsoft.insights/guestDiagnosticSettings": {
+ "get": {
+ "description": "Get a list of all guest diagnostic settings in a subscription.",
+ "operationId": "guestDiagnosticsSettings_List",
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "EtwEventConfiguration": {
- "type": "object",
- "required": [
- "name",
- "id"
- ],
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "integer"
- },
- "filter": {
- "type": "string"
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsList"
}
- },
- "EtwProviderConfiguration": {
- "type": "object",
- "required": [
- "id",
- "events"
- ],
- "properties": {
- "id": {
- "type": "string"
- },
- "events": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/EtwEventConfiguration"
- }
- }
+ },
+ "default": {
+ "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ },
+ "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/guestDiagnosticSettings": {
+ "get": {
+ "description": "Get a list of all guest diagnostic settings in a resource group.",
+ "operationId": "guestDiagnosticsSettings_ListByResourceGroup",
+ "x-ms-pageable": {
+ "nextLinkName": null
},
- "PerformanceCounterConfiguration": {
- "type": "object",
- "required": [
- "name",
- "samplingPeriod"
- ],
- "properties": {
- "name": {
- "type": "string"
- },
- "samplingPeriod": {
- "type": "string"
- },
- "instance": {
- "type": "string"
- }
+ "parameters": [
+ {
+ "$ref": "#/parameters/ResourceGroupNameParameter"
+ },
+ {
+ "$ref": "#/parameters/SubscriptionIdParameter"
+ },
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The request succeeded.",
+ "schema": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsList"
}
- },
- "EventLogConfiguration": {
- "type": "object",
- "required": [
- "logName"
- ],
- "properties": {
- "logName": {
- "type": "string"
- },
- "filter": {
- "type": "string"
- }
+ },
+ "default": {
+ "description": "An error occurred and the list of guest diagnostic settings could not be retrieved.",
+ "schema": {
+ "$ref": "#/definitions/ErrorResponse"
}
+ }
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ErrorResponse": {
+ "description": "Describes the format of Error response.",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "Error code",
+ "type": "string"
},
- "Resource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
- },
- "name": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource name"
- },
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
- },
- "location": {
- "type": "string",
- "description": "Resource location",
- "x-ms-mutability": [
- "create",
- "read"
- ]
- },
- "tags": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Resource tags"
- }
- },
- "required": [
- "location"
- ],
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- }
+ "message": {
+ "description": "Error message indicating why the operation failed.",
+ "type": "string"
+ }
+ }
},
- "parameters": {
- "SubscriptionIdParameter": {
- "name": "subscriptionId",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The Azure subscription Id."
+ "GuestDiagnosticSettingsList": {
+ "description": "A list of guest diagnostic settings.",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuestDiagnosticSettingsResource"
+ },
+ "description": "The list of guest diagnostic settings."
},
- "ResourceGroupNameParameter": {
- "name": "resourceGroupName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the resource group.",
- "x-ms-parameter-location": "method"
+ "nextLink": {
+ "type": "string",
+ "description": "Provides the link to retrieve the next set of elements."
+ }
+ }
+ },
+ "GuestDiagnosticSettingsResource": {
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Resource"
+ }
+ ],
+ "required": [
+ "properties"
+ ],
+ "properties": {
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GuestDiagnosticSettings",
+ "description": "The diagnostic settings to be applied to azure resources."
+ }
+ },
+ "description": "Virtual machine guest diagnostics settings resource."
+ },
+ "GuestDiagnosticSettings": {
+ "description": "Virtual machine diagnostic settings",
+ "properties": {
+ "osType": {
+ "type": "string",
+ "enum": [
+ "Windows",
+ "Linux"
+ ],
+ "description": "Operating system type for the configuration"
},
- "DiagnosticSettingNameParameter": {
- "name": "diagnosticSettingsName",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The name of the diagnostic setting.",
- "x-ms-parameter-location": "method"
+ "dataSources": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataSource"
+ },
+ "description": "the array of data source object which are configured to collect and send data"
},
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "Client Api Version."
- }
+ "proxySetting": {
+ "type": "string"
+ }
+ }
+ },
+ "GuestDiagnosticSettingsPatchResource": {
+ "description": "An diagnostic settings object for the body of patch operations.",
+ "properties": {
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ },
+ "properties": {
+ "x-ms-client-flatten": true,
+ "$ref": "#/definitions/GuestDiagnosticSettings",
+ "description": "The diagnostic settings for an update operation."
+ }
+ }
+ },
+ "DataSource": {
+ "type": "object",
+ "required": [
+ "kind",
+ "configuration",
+ "sinks"
+ ],
+ "properties": {
+ "kind": {
+ "type": "string",
+ "enum": [
+ "PerformanceCounter",
+ "ETWProviders",
+ "WindowsEventLogs"
+ ],
+ "description": "Datasource kind"
+ },
+ "configuration": {
+ "type": "object",
+ "$ref": "#/definitions/DataSourceConfiguration"
+ },
+ "sinks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SinkConfiguration"
+ }
+ }
+ },
+ "description": "Data source object contains configuration to collect telemetry and one or more sinks to send that telemetry data to"
+ },
+ "SinkConfiguration": {
+ "type": "object",
+ "required": [
+ "kind"
+ ],
+ "properties": {
+ "kind": {
+ "type": "string",
+ "enum": [
+ "EventHub",
+ "ApplicationInsights",
+ "LogAnalytics"
+ ]
+ }
+ }
+ },
+ "DataSourceConfiguration": {
+ "type": "object",
+ "properties": {
+ "providers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EtwProviderConfiguration"
+ },
+ "description": "ETW providers configuration"
+ },
+ "perfCounters": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PerformanceCounterConfiguration"
+ },
+ "description": "Performance counter configuration"
+ },
+ "eventLogs": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EventLogConfiguration"
+ },
+ "description": "Windows event logs configuration."
+ }
+ }
+ },
+ "EtwEventConfiguration": {
+ "type": "object",
+ "required": [
+ "name",
+ "id"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "integer"
+ },
+ "filter": {
+ "type": "string"
+ }
+ }
+ },
+ "EtwProviderConfiguration": {
+ "type": "object",
+ "required": [
+ "id",
+ "events"
+ ],
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "events": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/EtwEventConfiguration"
+ }
+ }
+ }
+ },
+ "PerformanceCounterConfiguration": {
+ "type": "object",
+ "required": [
+ "name",
+ "samplingPeriod"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "samplingPeriod": {
+ "type": "string"
+ },
+ "instance": {
+ "type": "string"
+ }
+ }
+ },
+ "EventLogConfiguration": {
+ "type": "object",
+ "required": [
+ "logName"
+ ],
+ "properties": {
+ "logName": {
+ "type": "string"
+ },
+ "filter": {
+ "type": "string"
+ }
+ }
+ },
+ "Resource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
+ },
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
+ },
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ },
+ "location": {
+ "type": "string",
+ "description": "Resource location",
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "tags": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Resource tags"
+ }
+ },
+ "required": [
+ "location"
+ ],
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
+ }
+ },
+ "parameters": {
+ "SubscriptionIdParameter": {
+ "name": "subscriptionId",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The Azure subscription Id."
+ },
+ "ResourceGroupNameParameter": {
+ "name": "resourceGroupName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the resource group.",
+ "x-ms-parameter-location": "method"
+ },
+ "DiagnosticSettingNameParameter": {
+ "name": "diagnosticSettingsName",
+ "in": "path",
+ "required": true,
+ "type": "string",
+ "description": "The name of the diagnostic setting.",
+ "x-ms-parameter-location": "method"
+ },
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "Client Api Version."
}
- }
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json
index 3500766bd62a..2e60687e3054 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusResourceGroup.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms",
- "api-version": "2018-11-27-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
+ "parameters": {
+ "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms",
+ "api-version": "2018-11-27-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms",
+ "onboardingStatus": "onboarded",
+ "dataStatus": "present",
+ "data": [
+ {
+ "workspace": {
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
+ "location": "eastus",
"properties": {
- "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms",
- "onboardingStatus": "onboarded",
- "dataStatus": "present",
- "data": [
- {
- "workspace": {
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
- "location": "eastus",
- "properties": {
- "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
- }
- }
- }
- ]
- },
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
- "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
- "name": "default"
+ "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
+ }
+ }
}
- }
+ ]
+ },
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/resource-group-with-vms/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
+ "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
+ "name": "default"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json
index 8fb2b0190191..59476d080e17 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVM.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
- "api-version": "2018-11-27-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
+ "parameters": {
+ "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
+ "api-version": "2018-11-27-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
+ "onboardingStatus": "onboarded",
+ "dataStatus": "present",
+ "data": [
+ {
+ "workspace": {
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
+ "location": "eastus",
"properties": {
- "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
- "onboardingStatus": "onboarded",
- "dataStatus": "present",
- "data": [
- {
- "workspace": {
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
- "location": "eastus",
- "properties": {
- "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
- }
- }
- }
- ]
- },
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
- "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
- "name": "default"
+ "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
+ }
+ }
}
- }
+ ]
+ },
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
+ "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
+ "name": "default"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json
index 41d1f25fdf8d..203db7a7a12f 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSingleVMUnknown.json
@@ -1,22 +1,22 @@
{
- "parameters": {
- "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
- "api-version": "2018-11-27-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
- "properties": {
- "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
- "onboardingStatus": "unknown",
- "dataStatus": "notPresent",
- "data": []
- },
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
- "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
- "name": "default"
- }
- }
+ "parameters": {
+ "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
+ "api-version": "2018-11-27-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm",
+ "onboardingStatus": "unknown",
+ "dataStatus": "notPresent",
+ "data": []
+ },
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/vm-resource-group/providers/Microsoft.Compute/virtualMachines/ubuntu-vm/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
+ "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
+ "name": "default"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json
index 57eb902d9b23..d32291ef862d 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusSubscription.json
@@ -1,38 +1,40 @@
{
- "parameters": {
- "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87",
- "api-version": "2018-11-27-preview"
- },
- "responses": {
- "200": {
- "properties": {
- "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87",
- "onboardingStatus": "onboarded",
- "dataStatus": "present",
- "data": [
- {
- "workspace": {
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring-secondary",
- "location": "eastus",
- "properties": {
- "customerId": "f096d163-206e-4abf-9db3-2c62af003d68"
- }
- }
- },
- {
- "workspace": {
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
- "location": "eastus",
- "properties": {
- "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
- }
- }
- }
- ]
+ "parameters": {
+ "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87",
+ "api-version": "2018-11-27-preview"
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "properties": {
+ "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87",
+ "onboardingStatus": "onboarded",
+ "dataStatus": "present",
+ "data": [
+ {
+ "workspace": {
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring-secondary",
+ "location": "eastus",
+ "properties": {
+ "customerId": "f096d163-206e-4abf-9db3-2c62af003d68"
+ }
+ }
},
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
- "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
- "name": "default"
- }
+ {
+ "workspace": {
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
+ "location": "eastus",
+ "properties": {
+ "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
+ }
+ }
+ }
+ ]
+ },
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
+ "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
+ "name": "default"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json
index be3a9a8d3a61..1b0a85ec5ad2 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/examples/getOnboardingStatusVMScaleSet.json
@@ -1,32 +1,32 @@
{
- "parameters": {
- "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01",
- "api-version": "2018-11-27-preview"
- },
- "responses": {
- "200": {
- "headers": {},
- "body": {
+ "parameters": {
+ "resourceUri": "subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01",
+ "api-version": "2018-11-27-preview"
+ },
+ "responses": {
+ "200": {
+ "headers": {},
+ "body": {
+ "properties": {
+ "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01",
+ "onboardingStatus": "onboarded",
+ "dataStatus": "present",
+ "data": [
+ {
+ "workspace": {
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
+ "location": "eastus",
"properties": {
- "resourceId": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01",
- "onboardingStatus": "onboarded",
- "dataStatus": "present",
- "data": [
- {
- "workspace": {
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourcegroups/monitoring/providers/microsoft.operationalinsights/workspaces/vm-monitoring",
- "location": "eastus",
- "properties": {
- "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
- }
- }
- }
- ]
- },
- "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
- "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
- "name": "default"
+ "customerId": "c7f8f44d-d8ee-4b79-9d9a-4d8a1f2a112a"
+ }
+ }
}
- }
+ ]
+ },
+ "id": "/subscriptions/3d51de47-8d1c-4d24-b42f-bcae075dfa87/resourceGroups/my-service-cluster/providers/Microsoft.Compute/virtualMachineScaleSets/scale-set-01/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default",
+ "type": "Microsoft.Insights/vmInsightsOnboardingStatuses",
+ "name": "default"
+ }
}
-}
\ No newline at end of file
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
index b6385a6437bd..a955bfa3fbdd 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/preview/2018-11-27-preview/vmInsightsOnboarding_API.json
@@ -1,260 +1,260 @@
{
- "swagger": "2.0",
- "info": {
- "title": "VM Insights Onboarding API",
- "description": "API to manage VM Insights Onboarding",
- "x-ms-code-generation-settings": {
- "name": "MonitorManagementClient"
- },
- "version": "2018-11-27-preview"
+ "swagger": "2.0",
+ "info": {
+ "title": "VM Insights Onboarding API",
+ "description": "API to manage VM Insights Onboarding",
+ "x-ms-code-generation-settings": {
+ "name": "MonitorManagementClient"
},
- "host": "management.azure.com",
- "schemes": [
- "https"
- ],
- "consumes": [
- "application/json"
- ],
- "produces": [
- "application/json"
- ],
- "security": [
- {
- "azure_auth": [
- "user_impersonation"
- ]
- }
- ],
- "securityDefinitions": {
- "azure_auth": {
- "type": "oauth2",
- "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
- "flow": "implicit",
- "description": "Azure Active Directory OAuth2 Flow",
- "scopes": {
- "user_impersonation": "impersonate your user account"
- }
+ "version": "2018-11-27-preview"
+ },
+ "host": "management.azure.com",
+ "schemes": [
+ "https"
+ ],
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "security": [
+ {
+ "azure_auth": [
+ "user_impersonation"
+ ]
+ }
+ ],
+ "securityDefinitions": {
+ "azure_auth": {
+ "type": "oauth2",
+ "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
+ "flow": "implicit",
+ "description": "Azure Active Directory OAuth2 Flow",
+ "scopes": {
+ "user_impersonation": "impersonate your user account"
}
- },
- "paths": {
- "/{resourceUri}/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default": {
- "get": {
- "tags": [
- "VM Insights Onboarding"
- ],
- "operationId": "VMInsights_GetOnboardingStatus",
- "description": "Retrieves the VM Insights onboarding status for the specified resource or resource scope.",
- "x-ms-examples": {
- "Get status for a VM that has not yet reported data": {
- "$ref": "./examples/getOnboardingStatusSingleVMUnknown.json"
- },
- "Get status for a VM that is actively reporting data": {
- "$ref": "./examples/getOnboardingStatusSingleVM.json"
- },
- "Get status for a VM scale set that is actively reporting data": {
- "$ref": "./examples/getOnboardingStatusVMScaleSet.json"
- },
- "Get status for a resource group that has at least one VM that is actively reporting data": {
- "$ref": "./examples/getOnboardingStatusResourceGroup.json"
- },
- "Get status for a subscription that has at least one VM that is actively reporting data": {
- "$ref": "./examples/getOnboardingStatusSubscription.json"
- }
+ }
+ },
+ "paths": {
+ "/{resourceUri}/providers/Microsoft.Insights/vmInsightsOnboardingStatuses/default": {
+ "get": {
+ "tags": [
+ "VM Insights Onboarding"
+ ],
+ "operationId": "VMInsights_GetOnboardingStatus",
+ "description": "Retrieves the VM Insights onboarding status for the specified resource or resource scope.",
+ "x-ms-examples": {
+ "Get status for a VM that has not yet reported data": {
+ "$ref": "./examples/getOnboardingStatusSingleVMUnknown.json"
},
- "parameters": [
- {
- "$ref": "#/parameters/ApiVersionParameter"
- },
- {
- "name": "resourceUri",
- "in": "path",
- "required": true,
- "type": "string",
- "description": "The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.",
- "x-ms-skip-url-encoding": true
- }
- ],
- "responses": {
- "200": {
- "description": "The operation completed successfully.",
- "schema": {
- "$ref": "#/definitions/VMInsightsOnboardingStatus"
- }
- },
- "default": {
- "description": "An error occurred while processing the request. See the error.code parameter to identify the specific error.",
- "schema": {
- "$ref": "#/definitions/ResponseWithError"
- }
- }
+ "Get status for a VM that is actively reporting data": {
+ "$ref": "./examples/getOnboardingStatusSingleVM.json"
+ },
+ "Get status for a VM scale set that is actively reporting data": {
+ "$ref": "./examples/getOnboardingStatusVMScaleSet.json"
+ },
+ "Get status for a resource group that has at least one VM that is actively reporting data": {
+ "$ref": "./examples/getOnboardingStatusResourceGroup.json"
+ },
+ "Get status for a subscription that has at least one VM that is actively reporting data": {
+ "$ref": "./examples/getOnboardingStatusSubscription.json"
}
- }
- }
- },
- "definitions": {
- "ProxyResource": {
- "properties": {
- "id": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource Id"
+ },
+ "parameters": [
+ {
+ "$ref": "#/parameters/ApiVersionParameter"
},
- "name": {
+ {
+ "name": "resourceUri",
+ "in": "path",
+ "required": true,
"type": "string",
- "readOnly": true,
- "description": "Azure resource name"
+ "description": "The fully qualified Azure Resource manager identifier of the resource, or scope, whose status to retrieve.",
+ "x-ms-skip-url-encoding": true
+ }
+ ],
+ "responses": {
+ "200": {
+ "description": "The operation completed successfully.",
+ "schema": {
+ "$ref": "#/definitions/VMInsightsOnboardingStatus"
+ }
},
- "type": {
- "type": "string",
- "readOnly": true,
- "description": "Azure resource type"
+ "default": {
+ "description": "An error occurred while processing the request. See the error.code parameter to identify the specific error.",
+ "schema": {
+ "$ref": "#/definitions/ResponseWithError"
+ }
}
+ }
+ }
+ }
+ },
+ "definitions": {
+ "ProxyResource": {
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource Id"
},
- "x-ms-azure-resource": true,
- "description": "An azure resource object"
- },
- "ResponseWithError": {
- "type": "object",
- "description": "An error response from the API.",
- "properties": {
- "error": {
- "$ref": "#/definitions/Error",
- "description": "Error information."
- }
+ "name": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource name"
},
- "required": [
- "error"
- ]
+ "type": {
+ "type": "string",
+ "readOnly": true,
+ "description": "Azure resource type"
+ }
},
- "Error": {
- "type": "object",
- "description": "Error details.",
- "properties": {
- "code": {
- "type": "string",
- "description": "Error code identifying the specific error."
- },
- "message": {
- "type": "string",
- "description": "Error message in the caller's locale."
- }
+ "x-ms-azure-resource": true,
+ "description": "An azure resource object"
+ },
+ "ResponseWithError": {
+ "type": "object",
+ "description": "An error response from the API.",
+ "properties": {
+ "error": {
+ "$ref": "#/definitions/Error",
+ "description": "Error information."
+ }
+ },
+ "required": [
+ "error"
+ ]
+ },
+ "Error": {
+ "type": "object",
+ "description": "Error details.",
+ "properties": {
+ "code": {
+ "type": "string",
+ "description": "Error code identifying the specific error."
},
- "required": [
- "code"
- ]
+ "message": {
+ "type": "string",
+ "description": "Error message in the caller's locale."
+ }
},
- "WorkspaceInfo": {
- "type": "object",
- "description": "Information about a Log Analytics Workspace.",
+ "required": [
+ "code"
+ ]
+ },
+ "WorkspaceInfo": {
+ "type": "object",
+ "description": "Information about a Log Analytics Workspace.",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "Azure Resource Manager identifier of the Log Analytics Workspace."
+ },
+ "location": {
+ "type": "string",
+ "description": "Location of the Log Analytics workspace."
+ },
"properties": {
- "id": {
- "type": "string",
- "description": "Azure Resource Manager identifier of the Log Analytics Workspace."
- },
- "location": {
- "type": "string",
- "description": "Location of the Log Analytics workspace."
- },
+ "x-ms-client-flatten": true,
+ "type": "object",
+ "description": "Resource properties.",
"properties": {
- "x-ms-client-flatten": true,
- "type": "object",
- "description": "Resource properties.",
- "properties": {
- "customerId": {
- "type": "string",
- "description": "Log Analytics workspace identifier."
- }
- },
- "required": [
- "customerId"
- ]
- }
- },
- "required": [
- "id",
- "location",
- "properties"
- ]
+ "customerId": {
+ "type": "string",
+ "description": "Log Analytics workspace identifier."
+ }
+ },
+ "required": [
+ "customerId"
+ ]
+ }
},
- "DataContainer": {
- "type": "object",
- "description": "Information about a container with data for a given resource.",
- "properties": {
- "workspace": {
- "$ref": "#/definitions/WorkspaceInfo",
- "description": "Log Analytics workspace information."
- }
- },
- "required": [
- "workspace"
- ]
+ "required": [
+ "id",
+ "location",
+ "properties"
+ ]
+ },
+ "DataContainer": {
+ "type": "object",
+ "description": "Information about a container with data for a given resource.",
+ "properties": {
+ "workspace": {
+ "$ref": "#/definitions/WorkspaceInfo",
+ "description": "Log Analytics workspace information."
+ }
},
- "VMInsightsOnboardingStatus": {
- "description": "VM Insights onboarding status for a resource.",
- "allOf": [
- {
- "$ref": "#/definitions/ProxyResource"
- }
- ],
+ "required": [
+ "workspace"
+ ]
+ },
+ "VMInsightsOnboardingStatus": {
+ "description": "VM Insights onboarding status for a resource.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/ProxyResource"
+ }
+ ],
+ "properties": {
"properties": {
+ "x-ms-client-flatten": true,
+ "type": "object",
+ "description": "Resource properties.",
"properties": {
- "x-ms-client-flatten": true,
- "type": "object",
- "description": "Resource properties.",
- "properties": {
- "resourceId": {
- "type": "string",
- "description": "Azure Resource Manager identifier of the resource whose onboarding status is being represented."
- },
- "onboardingStatus": {
- "type": "string",
- "enum": [
- "onboarded",
- "notOnboarded",
- "unknown"
- ],
- "x-ms-enum": {
- "name": "OnboardingStatus",
- "modelAsString": true
- },
- "description": "The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded."
+ "resourceId": {
+ "type": "string",
+ "description": "Azure Resource Manager identifier of the resource whose onboarding status is being represented."
+ },
+ "onboardingStatus": {
+ "type": "string",
+ "enum": [
+ "onboarded",
+ "notOnboarded",
+ "unknown"
+ ],
+ "x-ms-enum": {
+ "name": "OnboardingStatus",
+ "modelAsString": true
},
- "dataStatus": {
- "type": "string",
- "enum": [
- "present",
- "notPresent"
- ],
- "x-ms-enum": {
- "name": "DataStatus",
- "modelAsString": true
- },
- "description": "The status of VM Insights data from the resource. When reported as `present` the data array will contain information about the data containers to which data for the specified resource is being routed."
+ "description": "The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded."
+ },
+ "dataStatus": {
+ "type": "string",
+ "enum": [
+ "present",
+ "notPresent"
+ ],
+ "x-ms-enum": {
+ "name": "DataStatus",
+ "modelAsString": true
},
- "data": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/DataContainer"
- },
- "description": "Containers that currently store VM Insights data for the specified resource."
- }
+ "description": "The status of VM Insights data from the resource. When reported as `present` the data array will contain information about the data containers to which data for the specified resource is being routed."
},
- "required": [
- "resourceId",
- "onboardingStatus",
- "dataStatus"
- ]
- }
+ "data": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/DataContainer"
+ },
+ "description": "Containers that currently store VM Insights data for the specified resource."
+ }
+ },
+ "required": [
+ "resourceId",
+ "onboardingStatus",
+ "dataStatus"
+ ]
}
}
- },
- "parameters": {
- "ApiVersionParameter": {
- "name": "api-version",
- "in": "query",
- "required": true,
- "type": "string",
- "description": "API version."
- }
}
- }
\ No newline at end of file
+ },
+ "parameters": {
+ "ApiVersionParameter": {
+ "name": "api-version",
+ "in": "query",
+ "required": true,
+ "type": "string",
+ "description": "API version."
+ }
+ }
+}
diff --git a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
index cccfc164c41b..5bd6f75967a9 100644
--- a/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
+++ b/specification/monitor/resource-manager/Microsoft.Insights/stable/2015-04-01/activityLogs_API.json
@@ -51,8 +51,8 @@
"name": "$filter",
"in": "query",
"type": "string",
- "required": false,
- "description": "Reduces the set of data collected. The **$filter** argument is very restricted and allows only the following patterns. - *List events for a resource group*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq 'resourceGroupName'. - *List events for resource*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'. - *List events for a subscription in a time range*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'. - *List events for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'. - *List events for a correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.
**NOTE**: No other syntax is allowed."
+ "required": true,
+ "description": "Reduces the set of data collected. This argument is required and it also requires at least the start date/time. The **$filter** argument is very restricted and allows only the following patterns. - *List events for a resource group*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceGroupName eq 'resourceGroupName'. - *List events for resource*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'. - *List events for a subscription in a time range*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z'. - *List events for a resource provider*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq 'resourceProviderName'. - *List events for a correlation Id*: $filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le '2014-07-20T04:36:37.6407898Z' and correlationId eq 'correlationID'.