diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/CommonDefinitions.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/CommonDefinitions.json index 9ef60521cbcf..53698122ac7a 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/CommonDefinitions.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/CommonDefinitions.json @@ -834,6 +834,70 @@ } } }, + "DaprComponentProperties": { + "description": "Dapr Component resource specific properties", + "type": "object", + "properties": { + "componentType": { + "description": "Component type", + "type": "string" + }, + "version": { + "description": "Component version", + "type": "string" + }, + "ignoreErrors": { + "description": "Boolean describing if the component errors are ignores", + "type": "boolean", + "default": false + }, + "initTimeout": { + "description": "Initialization timeout", + "type": "string" + }, + "secrets": { + "description": "Collection of secrets used by a Dapr component", + "type": "array", + "items": { + "$ref": "./CommonDefinitions.json#/definitions/Secret" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "secretStoreComponent": { + "description": "Name of a Dapr component to retrieve component secrets from", + "type": "string" + }, + "metadata": { + "description": "Component metadata", + "type": "array", + "items": { + "$ref": "#/definitions/DaprMetadata" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "scopes": { + "description": "Names of container apps that can use this Dapr component", + "type": "array", + "items": { + "type": "string" + } + }, + "serviceComponentBind": { + "description": "List of container app services that are bound to the Dapr component", + "type": "array", + "items": { + "$ref": "#/definitions/DaprComponentServiceBinding" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, "DaprComponent": { "description": "Dapr Component.", "type": "object", @@ -844,68 +908,7 @@ ], "properties": { "properties": { - "description": "Dapr Component resource specific properties", - "type": "object", - "properties": { - "componentType": { - "description": "Component type", - "type": "string" - }, - "version": { - "description": "Component version", - "type": "string" - }, - "ignoreErrors": { - "description": "Boolean describing if the component errors are ignores", - "type": "boolean", - "default": false - }, - "initTimeout": { - "description": "Initialization timeout", - "type": "string" - }, - "secrets": { - "description": "Collection of secrets used by a Dapr component", - "type": "array", - "items": { - "$ref": "./CommonDefinitions.json#/definitions/Secret" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "secretStoreComponent": { - "description": "Name of a Dapr component to retrieve component secrets from", - "type": "string" - }, - "metadata": { - "description": "Component metadata", - "type": "array", - "items": { - "$ref": "#/definitions/DaprMetadata" - }, - "x-ms-identifiers": [ - "name" - ] - }, - "scopes": { - "description": "Names of container apps that can use this Dapr component", - "type": "array", - "items": { - "type": "string" - } - }, - "serviceComponentBind": { - "description": "List of container app services that are bound to the Dapr component", - "type": "array", - "items": { - "$ref": "#/definitions/DaprComponentServiceBinding" - }, - "x-ms-identifiers": [ - "name" - ] - } - }, + "$ref": "#/definitions/DaprComponent", "x-ms-client-flatten": true } } @@ -1421,6 +1424,11 @@ "modelAsString": true } }, + "deploymentErrors": { + "description": "Any errors that occurred during deployment or deployment validation", + "type": "string", + "readOnly": true + }, "certificateKeyVaultProperties": { "description": "Properties for a certificate stored in a Key Vault.", "$ref": "#/definitions/CertificateKeyVaultProperties" @@ -2181,4 +2189,3 @@ } ] } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironments.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironments.json index 77d4c3e0aa72..8ff636b7f8ce 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironments.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironments.json @@ -467,4 +467,3 @@ } ] } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsCertificates.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsCertificates.json index d299cbc2bd1b..85fb7e298026 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsCertificates.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsCertificates.json @@ -125,6 +125,10 @@ ], "summary": "Create or Update a Certificate.", "operationId": "ConnectedEnvironmentsCertificates_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -165,10 +169,16 @@ "$ref": "./CommonDefinitions.json#/definitions/Certificate" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "./CommonDefinitions.json#/definitions/Certificate" + } + }, "default": { "description": "Error response.", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -185,6 +195,10 @@ ], "summary": "Deletes the specified Certificate.", "operationId": "ConnectedEnvironmentsCertificates_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -211,16 +225,21 @@ } ], "responses": { - "200": { - "description": "Delete operation completed" - }, "204": { "description": "Certificate does not exist" }, + "202": { + "description": "Delete operation is accepted", + "headers": { + "Location": { + "type": "string" + } + } + }, "default": { "description": "Error response.", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -238,6 +257,10 @@ "summary": "Update properties of a certificate", "description": "Patches a certificate. Currently only patching of tags is supported", "operationId": "ConnectedEnvironmentsCertificates_Update", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -279,10 +302,18 @@ "$ref": "./CommonDefinitions.json#/definitions/Certificate" } }, + "202": { + "description": "Patch operation is in progress.", + "headers": { + "Location": { + "type": "string" + } + } + }, "default": { "description": "Common error response.", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -313,4 +344,3 @@ } ] } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsDaprComponents.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsDaprComponents.json index 102f3680729b..41b4b6b4c4d7 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsDaprComponents.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsDaprComponents.json @@ -44,7 +44,7 @@ "200": { "description": "OK", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DaprComponentsCollection" + "$ref": "#/definitions/ConnectedEnvironmentDaprComponentsCollection" } }, "default": { @@ -100,7 +100,7 @@ "200": { "description": "OK", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DaprComponent" + "$ref": "#/definitions/ConnectedEnvironmentDaprComponent" } }, "default": { @@ -123,6 +123,10 @@ "summary": "Creates or updates a Dapr Component.", "description": "Creates or updates a Dapr Component in a connected environment.", "operationId": "ConnectedEnvironmentsDaprComponents_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -150,7 +154,7 @@ "description": "Configuration details of the Dapr Component.", "required": true, "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DaprComponent" + "$ref": "#/definitions/ConnectedEnvironmentDaprComponent" } }, { @@ -161,17 +165,22 @@ "200": { "description": "OK", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DaprComponent" + "$ref": "#/definitions/ConnectedEnvironmentDaprComponent" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ConnectedEnvironmentDaprComponent" } }, "default": { "description": "Common error response.", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, - "x-ms-long-running-operation": false, "x-ms-examples": { "Create or update dapr component": { "$ref": "./examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json" @@ -185,6 +194,10 @@ "summary": "Delete a Dapr Component.", "description": "Delete a Dapr Component from a connected environment.", "operationId": "ConnectedEnvironmentsDaprComponents_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -211,8 +224,13 @@ } ], "responses": { - "200": { - "description": "Delete operation completed" + "202": { + "description": "Delete operation is accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "204": { "description": "Environment does not exist" @@ -220,7 +238,7 @@ "default": { "description": "Common error response.", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -228,8 +246,7 @@ "Delete dapr component": { "$ref": "./examples/ConnectedEnvironmentsDaprComponents_Delete.json" } - }, - "x-ms-long-running-operation": false + } } }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}/listSecrets": { @@ -286,6 +303,71 @@ } } }, + "definitions": { + "ConnectedEnvironmentDaprComponentsCollection": { + "description": "Collection of Dapr Components for Environments", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of Dapr component resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ConnectedEnvironmentDaprComponent" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string", + "readOnly": true + } + } + }, + "ConnectedEnvironmentDaprComponent": { + "description": "Dapr Component.", + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource" + } + ], + "properties": { + "properties": { + "description": "Dapr component properties", + "type": "object", + "allOf": [ + { + "$ref": "./CommonDefinitions.json#/definitions/DaprComponentProperties" + } + ], + "properties": { + "provisioningState": { + "description": "Provisioning state of the Connected Environment Dapr Component.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ConnectedEnvironmentDaprComponentProvisioningState", + "modelAsString": true + } + }, + "deploymentErrors": { + "description": "Any errors that occurred during deployment or deployment validation", + "type": "string", + "readOnly": true + } + } + } + } + } + }, "securityDefinitions": { "azure_auth": { "type": "oauth2", @@ -305,4 +387,3 @@ } ] } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsStorages.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsStorages.json index 23406e1addcd..d79579416f7c 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsStorages.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/ConnectedEnvironmentsStorages.json @@ -122,6 +122,10 @@ "summary": "Create or update storage for a connectedEnvironment.", "description": "Create or update storage for a connectedEnvironment.", "operationId": "ConnectedEnvironmentsStorages_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -163,10 +167,16 @@ "$ref": "#/definitions/ConnectedEnvironmentStorage" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/ConnectedEnvironmentStorage" + } + }, "default": { "description": "Common error response.", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -183,6 +193,10 @@ "summary": "Delete storage for a connectedEnvironment.", "description": "Delete storage for a connectedEnvironment.", "operationId": "ConnectedEnvironmentsStorages_Delete", + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" @@ -209,8 +223,13 @@ } ], "responses": { - "200": { - "description": "OK" + "202": { + "description": "Delete operation is accepted", + "headers": { + "Location": { + "type": "string" + } + } }, "204": { "description": "Storage does not exist" @@ -218,7 +237,7 @@ "default": { "description": "Common error response.", "schema": { - "$ref": "./CommonDefinitions.json#/definitions/DefaultErrorResponse" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" } } }, @@ -260,6 +279,26 @@ "description": "Storage properties", "type": "object", "properties": { + "provisioningState": { + "description": "Provisioning state of the storage.", + "enum": [ + "Succeeded", + "Failed", + "Canceled", + "InProgress" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ConnectedEnvironmentStorageProvisioningState", + "modelAsString": true + } + }, + "deploymentErrors": { + "description": "Any errors that occurred during deployment or deployment validation", + "type": "string", + "readOnly": true + }, "azureFile": { "$ref": "./CommonDefinitions.json#/definitions/AzureFileProperties", "description": "Azure file properties" @@ -292,4 +331,3 @@ } ] } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_CreateOrUpdate.json index ac3c50b1c47e..dfca51972c46 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_CreateOrUpdate.json @@ -22,6 +22,27 @@ "location": "East US", "properties": { "provisioningState": "Succeeded", + "deploymentErrors": null, + "subjectName": "my-subject-name.company.country.net", + "subjectAlternativeNames": [ + "CN=my-subject-name.com" + ], + "issuer": "Issuer Name", + "issueDate": "2021-11-06T04:00:00Z", + "expirationDate": "2022-11-06T04:00:00Z", + "thumbprint": "CERTIFICATE_THUMBPRINT", + "valid": true + } + } + }, + "201": { + "body": { + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/examplerg/providers/Microsoft.App/connectedEnvironments/testcontainerenv/certififcates/certificate-firendly-name", + "name": "testenv", + "type": "Microsoft.App/ConnectedEnvironments/Certificates", + "location": "East US", + "properties": { + "provisioningState": "InProgress", "subjectName": "my-subject-name.company.country.net", "subjectAlternativeNames": [ "CN=my-subject-name.com" @@ -36,4 +57,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_Delete.json index b953f0037dd7..990cdf719e57 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_Delete.json @@ -7,8 +7,11 @@ "api-version": "2024-10-02-preview" }, "responses": { - "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.App/localtions/eastus/connectedOperationResults/00000" + } + }, "204": {} } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_Get.json index a6e7a4e17f26..b9e6b2e6cfbf 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificate_Get.json @@ -30,4 +30,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_CheckNameAvailability.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_CheckNameAvailability.json index 2b93a492e4a6..af543488c1f2 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_CheckNameAvailability.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_CheckNameAvailability.json @@ -19,4 +19,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json index b8e5caa63d58..42bec2dc9d35 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_ListByConnectedEnvironment.json @@ -51,4 +51,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_Patch.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_Patch.json index ec7971f0f3aa..ae3f13e4327a 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsCertificates_Patch.json @@ -36,7 +36,11 @@ "valid": true } } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.App/localtions/eastus/connectedOperationResults/00000" + } } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json index b51017f201c9..fef43f57625a 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_CreateOrUpdate.json @@ -59,6 +59,59 @@ "name": "reddog", "type": "Microsoft.App/connectedEnvironments/daprcomponents", "properties": { + "provisioningState": "Succeeded", + "deploymentErrors": null, + "componentType": "state.azure.cosmosdb", + "version": "v1", + "ignoreErrors": false, + "initTimeout": "50s", + "secrets": [ + { + "name": "masterkey" + } + ], + "metadata": [ + { + "name": "url", + "value": "" + }, + { + "name": "database", + "value": "itemsDB" + }, + { + "name": "collection", + "value": "items" + }, + { + "name": "masterkey", + "secretRef": "masterkey" + } + ], + "scopes": [ + "container-app-1", + "container-app-2" + ], + "serviceComponentBind": [ + { + "name": "statestore", + "serviceId": "/subscriptions/9f7371f1-b593-4c3c-84e2-9167806ad358/resourceGroups/ca-syn2-group/providers/Microsoft.App/containerapps/cappredis", + "metadata": { + "name": "daprcomponentBind", + "value": "redis-bind" + } + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/connectedEnvironments/jlaw-demo1/daprcomponents/reddog", + "name": "reddog", + "type": "Microsoft.App/connectedEnvironments/daprcomponents", + "properties": { + "provisioningState": "InProgress", "componentType": "state.azure.cosmosdb", "version": "v1", "ignoreErrors": false, @@ -105,4 +158,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_Delete.json index 8b9fc223b8ae..a6e665cb0f54 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_Delete.json @@ -7,8 +7,11 @@ "api-version": "2024-10-02-preview" }, "responses": { - "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.App/localtions/eastus/connectedOperationResults/00000" + } + }, "204": {} } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_Get.json index 804fc3dea3c0..5ef19849113d 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_Get.json @@ -13,6 +13,8 @@ "name": "reddog", "type": "Microsoft.App/connectedEnvironments/daprcomponents", "properties": { + "provisioningState": "Succeeded", + "deploymentErrors": null, "componentType": "state.azure.cosmosdb", "version": "v1", "ignoreErrors": false, @@ -59,4 +61,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_List.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_List.json index daf6fdbf343f..6293166487be 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_List.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_List.json @@ -14,6 +14,8 @@ "name": "reddog", "type": "Microsoft.App/connectedEnvironments/daprcomponents", "properties": { + "provisioningState": "Succeeded", + "deploymentErrors": null, "componentType": "state.azure.cosmosdb", "version": "v1", "ignoreErrors": false, @@ -62,4 +64,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_ListSecrets.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_ListSecrets.json index 7893000a9f2b..0b36875a6b0c 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_ListSecrets.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsDaprComponents_ListSecrets.json @@ -24,4 +24,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_CreateOrUpdate.json index 286362ebe332..2ee5a4a7249a 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_CreateOrUpdate.json @@ -23,6 +23,23 @@ "name": "jlaw-demo1", "type": "Microsoft.App/connectedEnvironments/storages", "properties": { + "provisioningState": "Succeeded", + "deploymentErrors": null, + "azureFile": { + "accountName": "account1", + "shareName": "share1", + "accessMode": "ReadOnly" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/8efdecc5-919e-44eb-b179-915dca89ebf9/resourceGroups/examplerg/providers/Microsoft.App/connectedEnvironments/env/storages/jlaw-demo1", + "name": "jlaw-demo1", + "type": "Microsoft.App/connectedEnvironments/storages", + "properties": { + "provisioningState": "InProgress", "azureFile": { "accountName": "account1", "shareName": "share1", @@ -33,4 +50,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_Delete.json index 5862b828b1ed..32b7061903b5 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_Delete.json @@ -7,8 +7,11 @@ "api-version": "2024-10-02-preview" }, "responses": { - "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.App/localtions/eastus/connectedOperationResults/00000" + } + }, "204": {} } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_Get.json index 3b592dcbf1b5..f4936925157e 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_Get.json @@ -13,6 +13,8 @@ "name": "jlaw-demo1", "type": "Microsoft.App/connectedEnvironments/storages", "properties": { + "provisioningState": "Succeeded", + "deploymentErrors": null, "azureFile": { "accountName": "account1", "shareName": "share1", @@ -23,4 +25,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_List.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_List.json index 391022a1939b..f1fd2b8a30c9 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_List.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironmentsStorages_List.json @@ -14,6 +14,8 @@ "name": "jlaw-demo1", "type": "Microsoft.App/connectedEnvironments/storages", "properties": { + "provisioningState": "Succeeded", + "deploymentErrors": null, "azureFile": { "accountName": "account1", "shareName": "share1", @@ -26,4 +28,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_CreateOrUpdate.json index b519d65f0400..ff1683cd751c 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_CreateOrUpdate.json @@ -71,4 +71,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Delete.json index 75665960d144..9001842a813c 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Delete.json @@ -21,4 +21,3 @@ "204": {} } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Get.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Get.json index bc9ed0d6651f..663d444fdf56 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Get.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Get.json @@ -40,4 +40,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_ListByResourceGroup.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_ListByResourceGroup.json index 59b6e898c1da..28a6a382f7bc 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_ListByResourceGroup.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_ListByResourceGroup.json @@ -61,4 +61,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_ListBySubscription.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_ListBySubscription.json index d2229db85054..253d1a73bc2c 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_ListBySubscription.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_ListBySubscription.json @@ -52,4 +52,3 @@ } } } - diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Patch.json b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Patch.json index 5e977bbd21a0..3e6ad7fb5240 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Patch.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-10-02-preview/examples/ConnectedEnvironments_Patch.json @@ -40,4 +40,3 @@ } } } -