From eed6fd21c65d7efd0fe70f3cd91080796c4f4c19 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Mon, 15 Jul 2024 11:16:32 -0400 Subject: [PATCH 01/32] Copy 2023-09-01-preview as the base api version for 2024-09-01-preview --- .../2024-09-01-preview/appconfiguration.json | 2936 +++++++++++++++++ .../examples/CheckNameAvailable.json | 19 + .../examples/CheckNameNotAvailable.json | 19 + .../examples/ConfigurationStoresCreate.json | 86 + .../ConfigurationStoresCreateKeyValue.json | 40 + .../ConfigurationStoresCreateReplica.json | 54 + .../ConfigurationStoresCreateSnapshot.json | 68 + ...urationStoresCreateWithDataPlaneProxy.json | 96 + ...ConfigurationStoresCreateWithIdentity.json | 112 + ...tionStoresCreateWithLocalAuthDisabled.json | 80 + ...CreateWithTelemetryAndExperimentation.json | 102 + .../examples/ConfigurationStoresDelete.json | 17 + .../ConfigurationStoresDeleteKeyValue.json | 18 + ...StoresDeletePrivateEndpointConnection.json | 18 + .../ConfigurationStoresDeleteReplica.json | 18 + .../examples/ConfigurationStoresGet.json | 53 + .../ConfigurationStoresGetKeyValue.json | 31 + ...ionStoresGetPrivateEndpointConnection.json | 29 + .../ConfigurationStoresGetReplica.json | 31 + .../ConfigurationStoresGetSnapshot.json | 34 + .../examples/ConfigurationStoresList.json | 96 + ...onfigurationStoresListByResourceGroup.json | 87 + .../examples/ConfigurationStoresListKeys.json | 48 + ...nStoresListPrivateEndpointConnections.json | 32 + .../ConfigurationStoresListReplicas.json | 52 + .../ConfigurationStoresRegenerateKey.json | 23 + .../examples/ConfigurationStoresUpdate.json | 98 + ...igurationStoresUpdateDisableLocalAuth.json | 94 + ...StoresUpdatePrivateEndpointConnection.json | 55 + ...ConfigurationStoresUpdateWithIdentity.json | 126 + .../DeletedConfigurationStoresGet.json | 25 + .../DeletedConfigurationStoresList.json | 28 + .../DeletedConfigurationStoresPurge.json | 17 + .../examples/OperationsList.json | 451 +++ .../examples/PrivateLinkResourceGet.json | 27 + ...LinkResourcesListByConfigurationStore.json | 30 + .../examples/RegionalCheckNameAvailable.json | 20 + .../RegionalCheckNameNotAvailable.json | 20 + 38 files changed, 5190 insertions(+) create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameAvailable.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameNotAvailable.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateKeyValue.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateReplica.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateSnapshot.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDelete.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteKeyValue.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteReplica.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetKeyValue.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetReplica.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetSnapshot.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListKeys.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListReplicas.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresRegenerateKey.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresGet.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresList.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresPurge.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/OperationsList.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourceGet.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameAvailable.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameNotAvailable.json diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json new file mode 100644 index 000000000000..c9c3c38591de --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -0,0 +1,2936 @@ +{ + "swagger": "2.0", + "info": { + "version": "2023-09-01-preview", + "title": "AppConfigurationManagementClient" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/configurationStores": { + "get": { + "tags": [ + "ConfigurationStores" + ], + "description": "Lists the configuration stores for a given subscription.", + "operationId": "ConfigurationStores_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "$skipToken", + "in": "query", + "description": "A skip token is used to continue retrieving items after an operation returns 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.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ConfigurationStoreListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_List": { + "$ref": "./examples/ConfigurationStoresList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores": { + "get": { + "tags": [ + "ConfigurationStores" + ], + "description": "Lists the configuration stores for a given resource group.", + "operationId": "ConfigurationStores_ListByResourceGroup", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "$skipToken", + "in": "query", + "description": "A skip token is used to continue retrieving items after an operation returns 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.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ConfigurationStoreListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_ListByResourceGroup": { + "$ref": "./examples/ConfigurationStoresListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}": { + "get": { + "tags": [ + "ConfigurationStores" + ], + "description": "Gets the properties of the specified configuration store.", + "operationId": "ConfigurationStores_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ConfigurationStore" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_Get": { + "$ref": "./examples/ConfigurationStoresGet.json" + } + } + }, + "put": { + "tags": [ + "ConfigurationStores" + ], + "description": "Creates a configuration store with the specified parameters.", + "operationId": "ConfigurationStores_Create", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "configStoreCreationParameters", + "in": "body", + "description": "The parameters for creating a configuration store.", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationStore" + } + } + ], + "responses": { + "200": { + "description": "The update request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ConfigurationStore" + } + }, + "201": { + "description": "The create 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/ConfigurationStore" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_Create": { + "$ref": "./examples/ConfigurationStoresCreate.json" + }, + "ConfigurationStores_Create_With_Identity": { + "$ref": "./examples/ConfigurationStoresCreateWithIdentity.json" + }, + "ConfigurationStores_Create_With_Local_Auth_Disabled": { + "$ref": "./examples/ConfigurationStoresCreateWithLocalAuthDisabled.json" + }, + "ConfigurationStores_Create_With_Data_Plane_Proxy": { + "$ref": "./examples/ConfigurationStoresCreateWithDataPlaneProxy.json" + }, + "ConfigurationStores_Create_With_Telemetry_And_Experimentation": { + "$ref": "./examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "ConfigurationStores" + ], + "description": "Deletes a configuration store.", + "operationId": "ConfigurationStores_Delete", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously." + }, + "204": { + "description": "No Content - the specified resource was not found." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_Delete": { + "$ref": "./examples/ConfigurationStoresDelete.json" + } + }, + "x-ms-long-running-operation": true + }, + "patch": { + "tags": [ + "ConfigurationStores" + ], + "description": "Updates a configuration store with the specified parameters.", + "operationId": "ConfigurationStores_Update", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "configStoreUpdateParameters", + "in": "body", + "description": "The parameters for updating a configuration store.", + "required": true, + "schema": { + "$ref": "#/definitions/ConfigurationStoreUpdateParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ConfigurationStore" + } + }, + "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/ConfigurationStore" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_Update": { + "$ref": "./examples/ConfigurationStoresUpdate.json" + }, + "ConfigurationStores_Update_With_Identity": { + "$ref": "./examples/ConfigurationStoresUpdateWithIdentity.json" + }, + "ConfigurationStores_Update_Disable_Local_Auth": { + "$ref": "./examples/ConfigurationStoresUpdateDisableLocalAuth.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/checkNameAvailability": { + "post": { + "tags": [ + "Operations" + ], + "description": "Checks whether the configuration store name is available for use.", + "operationId": "Operations_CheckNameAvailability", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "checkNameAvailabilityParameters", + "in": "body", + "description": "The object containing information for the availability request.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/NameAvailabilityStatus" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_CheckNameAvailable": { + "$ref": "./examples/CheckNameAvailable.json" + }, + "ConfigurationStores_CheckNameNotAvailable": { + "$ref": "./examples/CheckNameNotAvailable.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/listKeys": { + "post": { + "tags": [ + "ConfigurationStores" + ], + "description": "Lists the access key for the specified configuration store.", + "operationId": "ConfigurationStores_ListKeys", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "$skipToken", + "in": "query", + "description": "A skip token is used to continue retrieving items after an operation returns 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.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ApiKeyListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_ListKeys": { + "$ref": "./examples/ConfigurationStoresListKeys.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/regenerateKey": { + "post": { + "tags": [ + "ConfigurationStores" + ], + "description": "Regenerates an access key for the specified configuration store.", + "operationId": "ConfigurationStores_RegenerateKey", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "regenerateKeyParameters", + "in": "body", + "description": "The parameters for regenerating an access key.", + "required": true, + "schema": { + "$ref": "#/definitions/RegenerateKeyParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ApiKey" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_RegenerateKey": { + "$ref": "./examples/ConfigurationStoresRegenerateKey.json" + } + } + } + }, + "/providers/Microsoft.AppConfiguration/operations": { + "get": { + "tags": [ + "Operations" + ], + "description": "Lists the operations available from this provider.", + "operationId": "Operations_List", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "$skipToken", + "in": "query", + "description": "A skip token is used to continue retrieving items after an operation returns 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.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/OperationDefinitionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_ListByConfigurationStore", + "description": "Lists all private endpoint connections for a configuration store.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_List": { + "$ref": "./examples/ConfigurationStoresListPrivateEndpointConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the configuration store.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Private endpoint connection name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_GetConnection": { + "$ref": "./examples/ConfigurationStoresGetPrivateEndpointConnection.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Update the state of the specified private endpoint connection associated with the configuration store. This operation cannot be used to create a private endpoint connection. Private endpoint connections must be created with the Network resource provider.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Private endpoint connection name", + "required": true, + "type": "string" + }, + { + "name": "privateEndpointConnection", + "in": "body", + "description": "The private endpoint connection properties.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "The update request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "The create 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/PrivateEndpointConnection" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_Update": { + "$ref": "./examples/ConfigurationStoresUpdatePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "privateEndpointConnectionName", + "in": "path", + "description": "Private endpoint connection name", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously." + }, + "204": { + "description": "No Content - the specified resource was not found." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnections_Delete": { + "$ref": "./examples/ConfigurationStoresDeletePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByConfigurationStore", + "description": "Gets the private link resources that need to be created for a configuration store.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_ListGroupIds": { + "$ref": "./examples/PrivateLinkResourcesListByConfigurationStore.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_Get", + "description": "Gets a private link resource that need to be created for a configuration store.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "groupName", + "in": "path", + "description": "The name of the private link resource group.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_Get": { + "$ref": "./examples/PrivateLinkResourceGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/keyValues/{keyValueName}": { + "get": { + "tags": [ + "KeyValues" + ], + "description": "Gets the properties of the specified key-value. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration key-values the data plane API should be used instead.", + "operationId": "KeyValues_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "keyValueName", + "in": "path", + "description": "Identifier of key and label combination. Key and label are joined by $ character. Label is optional.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/KeyValue" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "KeyValues_Get": { + "$ref": "./examples/ConfigurationStoresGetKeyValue.json" + } + } + }, + "put": { + "tags": [ + "KeyValues" + ], + "description": "Creates a key-value. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration key-values the data plane API should be used instead.", + "operationId": "KeyValues_CreateOrUpdate", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "keyValueName", + "in": "path", + "description": "Identifier of key and label combination. Key and label are joined by $ character. Label is optional.", + "required": true, + "type": "string" + }, + { + "name": "keyValueParameters", + "in": "body", + "description": "The parameters for creating a key-value.", + "required": false, + "schema": { + "$ref": "#/definitions/KeyValue" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/KeyValue" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "KeyValues_CreateOrUpdate": { + "$ref": "./examples/ConfigurationStoresCreateKeyValue.json" + } + } + }, + "delete": { + "tags": [ + "KeyValues" + ], + "description": "Deletes a key-value. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration key-values the data plane API should be used instead.", + "operationId": "KeyValues_Delete", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "keyValueName", + "in": "path", + "description": "Identifier of key and label combination. Key and label are joined by $ character. Label is optional.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously." + }, + "204": { + "description": "No Content - the specified resource was not found." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "KeyValues_Delete": { + "$ref": "./examples/ConfigurationStoresDeleteKeyValue.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/deletedConfigurationStores": { + "get": { + "tags": [ + "DeletedConfigurationStores" + ], + "operationId": "ConfigurationStores_ListDeleted", + "description": "Gets information about the deleted configuration stores in a subscription.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Retrieved information about all deleted configuration stores in a subscription.", + "schema": { + "$ref": "#/definitions/DeletedConfigurationStoreListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeletedConfigurationStores_List": { + "$ref": "./examples/DeletedConfigurationStoresList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/locations/{location}/deletedConfigurationStores/{configStoreName}": { + "get": { + "tags": [ + "DeletedConfigurationStores" + ], + "operationId": "ConfigurationStores_GetDeleted", + "description": "Gets a deleted Azure app configuration store.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + } + ], + "responses": { + "200": { + "description": "Retrieved information about the deleted configuration store.", + "schema": { + "$ref": "#/definitions/DeletedConfigurationStore" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "DeletedConfigurationStores_Get": { + "$ref": "./examples/DeletedConfigurationStoresGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/locations/{location}/deletedConfigurationStores/{configStoreName}/purge": { + "post": { + "tags": [ + "DeletedConfigurationStores" + ], + "operationId": "ConfigurationStores_PurgeDeleted", + "x-ms-long-running-operation": true, + "description": "Permanently deletes the specified configuration store.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously." + }, + "204": { + "description": "No Content - the specified resource was not found." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Purge a deleted configuration store": { + "$ref": "./examples/DeletedConfigurationStoresPurge.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.AppConfiguration/locations/{location}/checkNameAvailability": { + "post": { + "tags": [ + "Operations" + ], + "description": "Checks whether the configuration store name is available for use.", + "operationId": "Operations_RegionalCheckNameAvailability", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "checkNameAvailabilityParameters", + "in": "body", + "description": "The object containing information for the availability request.", + "required": true, + "schema": { + "$ref": "#/definitions/CheckNameAvailabilityParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/NameAvailabilityStatus" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_CheckNameAvailable": { + "$ref": "./examples/RegionalCheckNameAvailable.json" + }, + "ConfigurationStores_CheckNameNotAvailable": { + "$ref": "./examples/RegionalCheckNameNotAvailable.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas": { + "get": { + "tags": [ + "Replicas" + ], + "description": "Lists the replicas for a given configuration store.", + "operationId": "Replicas_ListByConfigurationStore", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "$skipToken", + "in": "query", + "description": "A skip token is used to continue retrieving items after an operation returns 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.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/ReplicaListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Replicas_ListByConfigurationStore": { + "$ref": "./examples/ConfigurationStoresListReplicas.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/replicas/{replicaName}": { + "get": { + "tags": [ + "Replicas" + ], + "description": "Gets the properties of the specified replica.", + "operationId": "Replicas_Get", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "replicaName", + "in": "path", + "description": "The name of the replica.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9]*$" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Replica" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Replicas_Get": { + "$ref": "./examples/ConfigurationStoresGetReplica.json" + } + } + }, + "put": { + "tags": [ + "Replicas" + ], + "description": "Creates a replica with the specified parameters.", + "operationId": "Replicas_Create", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "replicaName", + "in": "path", + "description": "The name of the replica.", + "required": true, + "type": "string" + }, + { + "name": "replicaCreationParameters", + "in": "body", + "description": "The parameters for creating a replica.", + "required": true, + "schema": { + "$ref": "#/definitions/Replica" + } + } + ], + "responses": { + "200": { + "description": "The update request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Replica" + } + }, + "201": { + "description": "The create 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/Replica" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Replicas_Create": { + "$ref": "./examples/ConfigurationStoresCreateReplica.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + }, + "delete": { + "tags": [ + "Replicas" + ], + "description": "Deletes a replica.", + "operationId": "Replicas_Delete", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "replicaName", + "in": "path", + "description": "The name of the replica.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "URL to query for status of the operation.", + "type": "string" + } + } + }, + "204": { + "description": "No Content - the specified resource was not found." + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Replicas_Delete": { + "$ref": "./examples/ConfigurationStoresDeleteReplica.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.AppConfiguration/configurationStores/{configStoreName}/snapshots/{snapshotName}": { + "get": { + "tags": [ + "Snapshots" + ], + "description": "Gets the properties of the specified snapshot. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead.", + "operationId": "Snapshots_Get", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/SnapshotNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Snapshot" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_Get": { + "$ref": "./examples/ConfigurationStoresGetSnapshot.json" + } + } + }, + "put": { + "tags": [ + "Snapshots" + ], + "description": "Creates a snapshot. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead.", + "operationId": "Snapshots_Create", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/SnapshotNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "body", + "in": "body", + "description": "The parameters for creating a snapshot.", + "required": true, + "schema": { + "$ref": "#/definitions/Snapshot" + } + } + ], + "responses": { + "200": { + "description": "The update request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Snapshot" + } + }, + "201": { + "description": "The create 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/Snapshot" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Snapshots_Create": { + "$ref": "./examples/ConfigurationStoresCreateSnapshot.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + } + } + } + }, + "definitions": { + "ConfigurationStoreListResult": { + "description": "The result of a request to list configuration stores.", + "type": "object", + "properties": { + "value": { + "description": "The collection value.", + "type": "array", + "items": { + "$ref": "#/definitions/ConfigurationStore" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next set of paged results.", + "type": "string" + } + } + }, + "ConfigurationStore": { + "description": "The configuration store along with all resource properties. The Configuration Store will have all information to begin utilizing it.", + "required": [ + "location", + "sku" + ], + "type": "object", + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" + } + ], + "properties": { + "identity": { + "$ref": "#/definitions/ResourceIdentity", + "description": "The managed identity information, if configured." + }, + "properties": { + "$ref": "#/definitions/ConfigurationStoreProperties", + "description": "The properties of a configuration store.", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of the configuration store." + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Resource system metadata." + } + } + }, + "ConfigurationStoreProperties": { + "description": "The properties of a configuration store.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state of the configuration store.", + "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 configuration store.", + "type": "string", + "readOnly": true + }, + "endpoint": { + "description": "The DNS endpoint where the configuration store API will be available.", + "type": "string", + "readOnly": true + }, + "encryption": { + "$ref": "#/definitions/EncryptionProperties", + "description": "The encryption settings of the configuration store." + }, + "privateEndpointConnections": { + "description": "The list of private endpoint connections that are set up for this resource.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/PrivateEndpointConnectionReference" + } + }, + "publicNetworkAccess": { + "description": "Control permission for data plane traffic coming from public networks while private endpoint is enabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "disableLocalAuth": { + "type": "boolean", + "default": false, + "description": "Disables all authentication methods other than AAD authentication." + }, + "softDeleteRetentionInDays": { + "type": "integer", + "format": "int32", + "default": 7, + "description": "The amount of time in days that the configuration store will be retained when it is soft deleted." + }, + "enablePurgeProtection": { + "type": "boolean", + "default": false, + "description": "Property specifying whether protection against purge is enabled for this configuration store." + }, + "dataPlaneProxy": { + "$ref": "#/definitions/DataPlaneProxyProperties", + "description": "Property specifying the configuration of data plane proxy for Azure Resource Manager (ARM)." + }, + "createMode": { + "type": "string", + "description": "Indicates whether the configuration store need to be recovered.", + "enum": [ + "Recover", + "Default" + ], + "x-ms-enum": { + "name": "CreateMode", + "modelAsString": false + }, + "x-ms-mutability": [ + "create" + ] + }, + "telemetry": { + "$ref": "#/definitions/TelemetryProperties", + "description": "Property specifying the configuration of telemetry for this configuration store" + }, + "experimentation": { + "$ref": "#/definitions/ExperimentationProperties", + "description": "Property specifying the configuration of experimentation for this configuration store" + } + } + }, + "EncryptionProperties": { + "type": "object", + "description": "The encryption settings for a configuration store.", + "properties": { + "keyVaultProperties": { + "$ref": "#/definitions/KeyVaultProperties", + "description": "Key vault properties." + } + } + }, + "PrivateEndpointConnectionReference": { + "type": "object", + "description": "A reference to a related private endpoint connection.", + "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 + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "The properties of a private endpoint connection.", + "x-ms-client-flatten": true + } + } + }, + "DataPlaneProxyProperties": { + "type": "object", + "description": "The data plane proxy settings for a configuration store.", + "properties": { + "authenticationMode": { + "description": "The data plane proxy authentication mode. This property manages the authentication mode of request to the data plane resources.", + "enum": [ + "Local", + "Pass-through" + ], + "type": "string", + "x-ms-enum": { + "name": "AuthenticationMode", + "modelAsString": true, + "values": [ + { + "value": "Local", + "description": "The local authentication mode. Users are not required to have data plane permissions if local authentication is not disabled." + }, + { + "value": "Pass-through", + "description": "The pass-through authentication mode. User identity will be passed through from ARM, requiring user to have data plane action permissions (Available via App Configuration Data Owner/ App Configuration Data Reader)." + } + ] + } + }, + "privateLinkDelegation": { + "description": "The data plane proxy private link delegation. This property manages if a request from delegated ARM private link is allowed when the data plane resource requires private link.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PrivateLinkDelegation", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "ARM private endpoint is required if the resource requires private link." + }, + { + "value": "Disabled", + "description": "Request is denied if the resource requires private link." + } + ] + } + } + } + }, + "KeyVaultProperties": { + "type": "object", + "description": "Settings concerning key vault encryption for a configuration store.", + "properties": { + "keyIdentifier": { + "description": "The URI of the key vault key used to encrypt data.", + "type": "string" + }, + "identityClientId": { + "description": "The client id of the identity which will be used to access key vault.", + "type": "string" + } + } + }, + "ConfigurationStoreUpdateParameters": { + "description": "The parameters for updating a configuration store.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/ConfigurationStorePropertiesUpdateParameters", + "description": "The properties for updating a configuration store.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "#/definitions/ResourceIdentity", + "description": "The managed identity information for the configuration store." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The SKU of the configuration store." + }, + "tags": { + "description": "The ARM resource tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "ConfigurationStorePropertiesUpdateParameters": { + "description": "The properties for updating a configuration store.", + "type": "object", + "properties": { + "encryption": { + "$ref": "#/definitions/EncryptionProperties", + "description": "The encryption settings of the configuration store." + }, + "disableLocalAuth": { + "type": "boolean", + "description": "Disables all authentication methods other than AAD authentication." + }, + "publicNetworkAccess": { + "description": "Control permission for data plane traffic coming from public networks while private endpoint is enabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "enablePurgeProtection": { + "type": "boolean", + "description": "Property specifying whether protection against purge is enabled for this configuration store." + }, + "dataPlaneProxy": { + "$ref": "#/definitions/DataPlaneProxyProperties", + "description": "Property specifying the configuration of data plane proxy for Azure Resource Manager (ARM)." + }, + "telemetry": { + "$ref": "#/definitions/TelemetryProperties", + "description": "Property specifying the configuration of telemetry to update for this configuration store" + }, + "experimentation": { + "$ref": "#/definitions/ExperimentationProperties", + "description": "Property specifying the configuration of experimentation to update for this configuration store" + } + } + }, + "CheckNameAvailabilityParameters": { + "description": "Parameters used for checking whether a resource name is available.", + "required": [ + "name", + "type" + ], + "type": "object", + "properties": { + "name": { + "description": "The name to check for availability.", + "type": "string" + }, + "type": { + "description": "The resource type to check for name availability.", + "enum": [ + "Microsoft.AppConfiguration/configurationStores" + ], + "type": "string", + "x-ms-enum": { + "name": "ConfigurationResourceType", + "modelAsString": true + } + } + } + }, + "NameAvailabilityStatus": { + "description": "The result of a request to check the availability of a resource name.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "The value indicating whether the resource name is available.", + "type": "boolean", + "readOnly": true + }, + "message": { + "description": "If any, the error message that provides more detail for the reason that the name is not available.", + "type": "string", + "readOnly": true + }, + "reason": { + "description": "If any, the reason that the name is not available.", + "type": "string", + "readOnly": true + } + } + }, + "ApiKeyListResult": { + "description": "The result of a request to list API keys.", + "type": "object", + "properties": { + "value": { + "description": "The collection value.", + "type": "array", + "items": { + "$ref": "#/definitions/ApiKey" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next set of paged results.", + "type": "string" + } + } + }, + "ApiKey": { + "description": "An API key used for authenticating with a configuration store endpoint.", + "type": "object", + "properties": { + "id": { + "description": "The key ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "A name for the key describing its usage.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "The value of the key that is used for authentication purposes.", + "type": "string", + "readOnly": true + }, + "connectionString": { + "description": "A connection string that can be used by supporting clients for authentication.", + "type": "string", + "readOnly": true + }, + "lastModified": { + "format": "date-time", + "description": "The last time any of the key's properties were modified.", + "type": "string", + "readOnly": true + }, + "readOnly": { + "description": "Whether this key can only be used for read operations.", + "type": "boolean", + "readOnly": true + } + } + }, + "RegenerateKeyParameters": { + "description": "The parameters used to regenerate an API key.", + "type": "object", + "properties": { + "id": { + "description": "The id of the key to regenerate.", + "type": "string" + } + } + }, + "KeyValueListResult": { + "description": "The result of a request to list key-values.", + "type": "object", + "properties": { + "value": { + "description": "The collection value.", + "type": "array", + "items": { + "$ref": "#/definitions/KeyValue" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next set of paged results.", + "type": "string" + } + } + }, + "KeyValue": { + "description": "The key-value resource along with all resource properties.", + "type": "object", + "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 + }, + "properties": { + "$ref": "#/definitions/KeyValueProperties", + "description": "All key-value properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-azure-resource": true + }, + "KeyValueProperties": { + "description": "All key-value properties.", + "type": "object", + "properties": { + "key": { + "description": "The primary identifier of a key-value.\r\nThe key is used in unison with the label to uniquely identify a key-value.", + "type": "string", + "readOnly": true + }, + "label": { + "description": "A value used to group key-values.\r\nThe label is used in unison with the key to uniquely identify a key-value.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "The value of the key-value.", + "type": "string" + }, + "contentType": { + "description": "The content type of the key-value's value.\r\nProviding a proper content-type can enable transformations of values when they are retrieved by applications.", + "type": "string" + }, + "eTag": { + "description": "An ETag indicating the state of a key-value within a configuration store.", + "type": "string", + "readOnly": true + }, + "lastModified": { + "format": "date-time", + "description": "The last time a modifying operation was performed on the given key-value.", + "type": "string", + "readOnly": true + }, + "locked": { + "description": "A value indicating whether the key-value is locked.\r\nA locked key-value may not be modified until it is unlocked.", + "type": "boolean", + "readOnly": true + }, + "tags": { + "description": "A dictionary of tags that can help identify what a key-value may be applicable for.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "OperationDefinitionListResult": { + "description": "The result of a request to list configuration store operations.", + "type": "object", + "properties": { + "value": { + "description": "The collection value.", + "type": "array", + "items": { + "$ref": "#/definitions/OperationDefinition" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "description": "The URI that can be used to request the next set of paged results.", + "type": "string" + } + } + }, + "OperationDefinition": { + "description": "The definition of a configuration store operation.", + "type": "object", + "properties": { + "name": { + "description": "Operation name: {provider}/{resource}/{operation}.", + "type": "string" + }, + "isDataAction": { + "description": "Indicates whether the operation is a data action", + "type": "boolean" + }, + "display": { + "$ref": "#/definitions/OperationDefinitionDisplay", + "description": "The display information for the configuration store operation." + }, + "origin": { + "description": "Origin of the operation", + "type": "string" + }, + "properties": { + "$ref": "#/definitions/OperationProperties", + "description": "Properties of the operation" + } + } + }, + "OperationDefinitionDisplay": { + "description": "The display information for a configuration store operation.", + "type": "object", + "properties": { + "provider": { + "description": "The resource provider name: Microsoft App Configuration.\"", + "type": "string", + "readOnly": true + }, + "resource": { + "description": "The resource on which the operation is performed.", + "type": "string" + }, + "operation": { + "description": "The operation that users can perform.", + "type": "string" + }, + "description": { + "description": "The description for the operation.", + "type": "string" + } + } + }, + "OperationProperties": { + "description": "Extra Operation properties", + "type": "object", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/ServiceSpecification", + "description": "Service specifications of the operation" + } + } + }, + "ServiceSpecification": { + "description": "Service specification payload", + "type": "object", + "properties": { + "logSpecifications": { + "description": "Specifications of the Log for Azure Monitoring", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/LogSpecification" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "metricSpecifications": { + "description": "Specifications of the Metrics for Azure Monitoring", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/MetricSpecification" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "LogSpecification": { + "description": "Specifications of the Log for Azure Monitoring", + "type": "object", + "properties": { + "name": { + "description": "Name of the log", + "type": "string" + }, + "displayName": { + "description": "Localized friendly display name of the log", + "type": "string" + }, + "blobDuration": { + "description": "Blob duration of the log", + "type": "string" + } + } + }, + "MetricSpecification": { + "description": "Specifications of the Metrics for Azure Monitoring", + "type": "object", + "properties": { + "name": { + "description": "Name of the metric", + "type": "string" + }, + "displayName": { + "description": "Localized friendly display name of the metric", + "type": "string" + }, + "displayDescription": { + "description": "Localized friendly description of the metric", + "type": "string" + }, + "unit": { + "description": "Unit that makes sense for the metric", + "type": "string" + }, + "aggregationType": { + "description": "Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count.", + "type": "string" + }, + "internalMetricName": { + "description": "Internal metric name.", + "type": "string" + }, + "dimensions": { + "description": "Dimensions of the metric", + "uniqueItems": false, + "type": "array", + "items": { + "$ref": "#/definitions/MetricDimension" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "fillGapWithZero": { + "description": "Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published.", + "type": "boolean" + } + } + }, + "MetricDimension": { + "description": "Specifications of the Dimension of metrics", + "type": "object", + "properties": { + "name": { + "description": "Name of the dimension", + "type": "string" + }, + "displayName": { + "description": "Localized friendly display name of the dimension", + "type": "string" + }, + "internalName": { + "description": "Internal name of the dimension.", + "type": "string" + } + } + }, + "ResourceIdentity": { + "type": "object", + "description": "An identity that can be associated with a resource.", + "properties": { + "type": { + "description": "The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities.", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned" + ], + "type": "string", + "x-ms-enum": { + "name": "IdentityType", + "modelAsString": true + } + }, + "userAssignedIdentities": { + "description": "The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserIdentity" + } + }, + "principalId": { + "description": "The principal id of the identity. This property will only be provided for a system-assigned identity.", + "type": "string", + "readOnly": true + }, + "tenantId": { + "description": "The tenant id associated with the resource's identity. This property will only be provided for a system-assigned identity.", + "type": "string", + "readOnly": true + } + } + }, + "UserIdentity": { + "type": "object", + "description": "A resource identity that is managed by the user of the service.", + "properties": { + "principalId": { + "description": "The principal ID of the user-assigned identity.", + "type": "string", + "readOnly": true + }, + "clientId": { + "description": "The client ID of the user-assigned identity.", + "type": "string", + "readOnly": true + } + } + }, + "Sku": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "The SKU name of the configuration store.", + "type": "string" + } + }, + "description": "Describes a configuration store SKU." + }, + "ErrorDetails": { + "type": "object", + "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 + }, + "additionalInfo": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/ErrorAdditionalInfo" + }, + "x-ms-identifiers": [], + "description": "The error additional info." + } + } + }, + "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" + } + } + }, + "ErrorAdditionalInfo": { + "type": "object", + "properties": { + "type": { + "readOnly": true, + "type": "string", + "description": "The additional info type." + }, + "info": { + "readOnly": true, + "type": "object", + "description": "The additional info." + } + }, + "description": "The resource management error additional info." + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "A list of private endpoint connections", + "properties": { + "value": { + "description": "The collection value.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next set of paged results.", + "type": "string" + } + } + }, + "PrivateEndpointConnection": { + "description": "A private endpoint connection", + "type": "object", + "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 + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "description": "The properties of a private endpoint.", + "x-ms-client-flatten": true + } + }, + "x-ms-azure-resource": true + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "description": "Properties of a private endpoint connection.", + "properties": { + "provisioningState": { + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "description": "The provisioning status of the private endpoint connection.", + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private endpoint." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ] + }, + "PrivateEndpoint": { + "type": "object", + "description": "Private endpoint which a connection belongs to.", + "properties": { + "id": { + "description": "The resource Id for private endpoint", + "type": "string" + } + } + }, + "PrivateLinkServiceConnectionState": { + "description": "The state of a private link service connection.", + "type": "object", + "properties": { + "status": { + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected" + ], + "type": "string", + "description": "The private link service connection status.", + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true + } + }, + "description": { + "type": "string", + "description": "The private link service connection description." + }, + "actionsRequired": { + "enum": [ + "None", + "Recreate" + ], + "type": "string", + "readOnly": true, + "description": "Any action that is required beyond basic workflow (approve/ reject/ disconnect)", + "x-ms-enum": { + "name": "ActionsRequired", + "modelAsString": true + } + } + } + }, + "PrivateLinkResourceListResult": { + "type": "object", + "description": "A list of private link resources.", + "properties": { + "value": { + "description": "The collection value.", + "type": "array", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next set of paged results.", + "type": "string" + } + } + }, + "PrivateLinkResource": { + "type": "object", + "description": "A resource that supports private link capabilities.", + "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 + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Private link resource properties.", + "x-ms-client-flatten": true + } + } + }, + "PrivateLinkResourceProperties": { + "type": "object", + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true, + "description": "The list of required DNS zone names of the private link resource." + } + }, + "description": "Properties of a private link resource." + }, + "DeletedConfigurationStore": { + "type": "object", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The resource ID for the deleted configuration store." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the configuration store." + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The resource type of the configuration store." + }, + "properties": { + "$ref": "#/definitions/DeletedConfigurationStoreProperties", + "description": "Properties of the deleted configuration store", + "x-ms-client-flatten": true + } + }, + "description": "Deleted configuration store information with extended details." + }, + "DeletedConfigurationStoreProperties": { + "type": "object", + "properties": { + "configurationStoreId": { + "readOnly": true, + "type": "string", + "description": "The resource id of the original configuration store." + }, + "location": { + "readOnly": true, + "type": "string", + "description": "The location of the original configuration store." + }, + "deletionDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The deleted date." + }, + "scheduledPurgeDate": { + "readOnly": true, + "type": "string", + "format": "date-time", + "description": "The scheduled purged date." + }, + "tags": { + "readOnly": true, + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Tags of the original configuration store." + }, + "purgeProtectionEnabled": { + "readOnly": true, + "type": "boolean", + "description": "Purge protection status of the original configuration store." + } + }, + "description": "Properties of the deleted configuration store." + }, + "DeletedConfigurationStoreListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DeletedConfigurationStore" + }, + "description": "The list of deleted configuration store." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of deleted configuration stores." + } + }, + "description": "List of deleted configuration stores" + }, + "ReplicaListResult": { + "description": "The result of a request to list replicas.", + "type": "object", + "properties": { + "value": { + "description": "The collection value.", + "type": "array", + "items": { + "$ref": "#/definitions/Replica" + } + }, + "nextLink": { + "description": "The URI that can be used to request the next set of paged results.", + "type": "string" + } + } + }, + "Replica": { + "description": "The replica resource.", + "type": "object", + "properties": { + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the replica.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + }, + "location": { + "description": "The location of the replica.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "systemData": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", + "description": "Resource system metadata.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/ReplicaProperties", + "description": "All replica properties.", + "x-ms-client-flatten": true, + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "ReplicaProperties": { + "description": "All replica properties.", + "type": "object", + "properties": { + "endpoint": { + "description": "The URI of the replica where the replica API will be available.", + "type": "string", + "readOnly": true + }, + "provisioningState": { + "description": "The provisioning state of the replica.", + "enum": [ + "Creating", + "Succeeded", + "Deleting", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ReplicaProvisioningState", + "modelAsString": true + } + } + } + }, + "Snapshot": { + "description": "The snapshot resource.", + "type": "object", + "properties": { + "id": { + "description": "The resource ID.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "The name of the snapshot.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "The type of the resource.", + "type": "string", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/SnapshotProperties", + "description": "All snapshot properties.", + "x-ms-client-flatten": true + } + }, + "x-ms-azure-resource": true + }, + "SnapshotProperties": { + "description": "All snapshot properties.", + "type": "object", + "required": [ + "filters" + ], + "properties": { + "provisioningState": { + "description": "The provisioning state of the snapshot.", + "enum": [ + "Creating", + "Updating", + "Deleting", + "Succeeded", + "Failed", + "Canceled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true + } + }, + "status": { + "description": "The current status of the snapshot.", + "enum": [ + "Provisioning", + "Ready", + "Archived", + "Failed" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "SnapshotStatus", + "modelAsString": true + } + }, + "filters": { + "description": "A list of filters used to filter the key-values included in the snapshot.", + "type": "array", + "minItems": 1, + "maxItems": 3, + "items": { + "$ref": "#/definitions/KeyValueFilter" + }, + "x-ms-identifiers": [] + }, + "compositionType": { + "description": "The composition type describes how the key-values within the snapshot are composed. The 'key' composition type ensures there are no two key-values containing the same key. The 'key_label' composition type ensures there are no two key-values containing the same key and label.", + "type": "string", + "enum": [ + "Key", + "Key_Label" + ], + "x-ms-enum": { + "name": "CompositionType", + "modelAsString": true + } + }, + "created": { + "description": "The time that the snapshot was created.", + "format": "date-time", + "type": "string", + "readOnly": true + }, + "expires": { + "description": "The time that the snapshot will expire.", + "format": "date-time", + "type": "string", + "readOnly": true + }, + "retentionPeriod": { + "description": "The amount of time, in seconds, that a snapshot will remain in the archived state before expiring. This property is only writable during the creation of a snapshot. If not specified, the default lifetime of key-value revisions will be used.", + "type": "integer", + "minimum": 3600, + "maximum": 7776000, + "format": "int64", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "size": { + "description": "The size in bytes of the snapshot.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "itemsCount": { + "description": "The amount of key-values in the snapshot.", + "type": "integer", + "format": "int64", + "readOnly": true + }, + "tags": { + "description": "The tags of the snapshot. NOTE: These are data plane tags, not ARM tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "etag": { + "description": "A value representing the current state of the snapshot.", + "type": "string", + "readOnly": true + } + } + }, + "KeyValueFilter": { + "description": "Enables filtering of key-values.", + "type": "object", + "required": [ + "key" + ], + "properties": { + "key": { + "description": "Filters key-values by their key field.", + "type": "string" + }, + "label": { + "description": "Filters key-values by their label field.", + "type": "string" + } + } + }, + "TelemetryProperties": { + "description": "Telemetry settings", + "type": "object", + "properties": { + "resourceId": { + "description": "Resource ID of a resource enabling telemetry collection", + "type": "string", + "format": "arm-id" + } + } + }, + "ExperimentationProperties": { + "description": "Experimentation settings", + "type": "object", + "properties": { + "resourceId": { + "description": "Resource ID of a resource enabling experimentation", + "type": "string", + "format": "arm-id" + }, + "dataPlaneEndpoint": { + "description": "The data plane endpoint of the Split experimentation workspace resource where experimentation data can be retrieved", + "type": "string", + "format": "uri" + } + } + } + }, + "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", + "x-ms-parameter-location": "method" + }, + "ConfigStoreNameParameter": { + "name": "configStoreName", + "in": "path", + "description": "The name of the configuration store.", + "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" + }, + "LocationParameter": { + "name": "location", + "in": "path", + "description": "The location in which uniqueness will be verified.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "SnapshotNameParameter": { + "name": "snapshotName", + "in": "path", + "description": "The name of the snapshot.", + "required": true, + "type": "string", + "pattern": "^[^\\x00-\\x1F\\x7F]+$", + "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/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameAvailable.json new file mode 100644 index 000000000000..5964589ee31d --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameAvailable.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "api-version": "2023-09-01-preview", + "checkNameAvailabilityParameters": { + "name": "contoso", + "type": "Microsoft.AppConfiguration/configurationStores" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "message": "The specified name is available.", + "reason": null + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameNotAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameNotAvailable.json new file mode 100644 index 000000000000..a8a718f99fad --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameNotAvailable.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "api-version": "2023-09-01-preview", + "checkNameAvailabilityParameters": { + "name": "contoso", + "type": "Microsoft.AppConfiguration/configurationStores" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "The specified name is already in use." + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json new file mode 100644 index 000000000000..2b5dc5eaf999 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "configStoreCreationParameters": { + "location": "westus", + "sku": { + "name": "Standard" + }, + "tags": { + "myTag": "myTagValue" + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "softDeleteRetentionInDays": 30, + "enablePurgeProtection": false, + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": { + "myTag": "myTagValue" + } + } + }, + "201": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Creating", + "creationDate": "2018-04-24T16:30:55+00:00" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": { + "myTag": "myTagValue" + } + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateKeyValue.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateKeyValue.json new file mode 100644 index 000000000000..f9edb9bd0b0b --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateKeyValue.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "keyValueName": "myKey$myLabel", + "keyValueParameters": { + "properties": { + "value": "myValue", + "tags": { + "tag1": "tagValue1", + "tag2": "tagValue2" + } + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores/keyValues", + "properties": { + "key": "myKey", + "label": "myLabel", + "value": "myValue", + "contentType": "", + "eTag": "IhDxoa8VkXxPsYsemBlxvV0d5fp", + "lastModified": "2020-06-23T06:42:24+00:00", + "locked": false, + "tags": { + "tag1": "tagValue1", + "tag2": "tagValue2" + } + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/keyValues/myKey$myLabel", + "name": "myKey$myLabel" + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateReplica.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateReplica.json new file mode 100644 index 000000000000..876ceed5b79e --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateReplica.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "replicaName": "myReplicaEus", + "replicaCreationParameters": { + "location": "eastus" + }, + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/replicas/myReplicaEus", + "name": "myReplicaEus", + "type": "Microsoft.AppConfiguration/configurationStores/replicas", + "location": "eastus", + "properties": { + "endpoint": "https://contoso-myreplicaeus.azconfig.io", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/replicas/myReplicaEus", + "name": "myReplicaEus", + "type": "Microsoft.AppConfiguration/configurationStores/replicas", + "location": "eastus", + "properties": { + "endpoint": "https://contoso-myreplicaeus.azconfig.io", + "provisioningState": "Creating" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateSnapshot.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateSnapshot.json new file mode 100644 index 000000000000..8f008cab16b2 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateSnapshot.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "snapshotName": "mySnapshot", + "body": { + "properties": { + "filters": [ + { + "key": "app1/*", + "label": "Production" + } + ], + "retentionPeriod": 3600 + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores/snapshots", + "properties": { + "etag": "4f6dd610dd5e4deebc7fbaef685fb903", + "provisioningState": "Succeeded", + "filters": [ + { + "key": "app1/*", + "label": "Production" + } + ], + "compositionType": "All", + "created": "2022-08-01T22:19:40+00:00", + "size": 100000, + "itemsCount": 71, + "retentionPeriod": 3600, + "tags": {} + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/snapshots/mySnapshot", + "name": "mySnapshot" + } + }, + "201": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores/snapshots", + "properties": { + "etag": "4f6dd610dd5e4deebc7fbaef685fb903", + "provisioningState": "Creating", + "filters": [ + { + "key": "app1/*", + "label": "Production" + } + ], + "compositionType": "All", + "created": "2022-08-01T22:19:40+00:00", + "size": 0, + "itemsCount": 0, + "retentionPeriod": 3600, + "tags": {} + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/snapshots/mySnapshot", + "name": "mySnapshot" + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json new file mode 100644 index 000000000000..23669956286b --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "configStoreCreationParameters": { + "location": "westus", + "sku": { + "name": "Standard" + }, + "properties": { + "dataPlaneProxy": { + "authenticationMode": "Pass-through", + "privateLinkDelegation": "Enabled" + } + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "dataPlaneProxy": { + "authenticationMode": "Pass-through", + "privateLinkDelegation": "Enabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + } + }, + "201": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Creating", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "dataPlaneProxy": { + "authenticationMode": "Pass-through", + "privateLinkDelegation": "Enabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json new file mode 100644 index 000000000000..0073a0e624f7 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "configStoreCreationParameters": { + "location": "westus", + "sku": { + "name": "Standard" + }, + "tags": { + "myTag": "myTagValue" + }, + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "identity": { + "principalId": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA", + "tenantId": "BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC", + "principalId": "DDDDDDDD-DDDD-DDDD-DDDD-DDDDDDDDDDDD" + } + } + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": { + "myTag": "myTagValue" + } + } + }, + "201": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Creating", + "creationDate": "2018-04-24T16:30:55+00:00" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "identity": { + "principalId": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA", + "tenantId": "BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC", + "principalId": "DDDDDDDD-DDDD-DDDD-DDDD-DDDDDDDDDDDD" + } + } + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": { + "myTag": "myTagValue" + } + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json new file mode 100644 index 000000000000..db13ac7b5942 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "configStoreCreationParameters": { + "location": "westus", + "sku": { + "name": "Standard" + }, + "properties": { + "disableLocalAuth": true + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": true, + "privateEndpointConnections": [], + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + } + }, + "201": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Creating", + "creationDate": "2018-04-24T16:30:55+00:00" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json new file mode 100644 index 000000000000..0b8fa937f67d --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "configStoreCreationParameters": { + "location": "westus", + "sku": { + "name": "Standard" + }, + "tags": { + "myTag": "myTagValue" + }, + "properties": { + "telemetry": { + "resourceId": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/microsoft.insights/components/appInsightsName" + }, + "experimentation": { + "resourceId": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/SplitIO.Experimentation/experimentationWorkspaces/myWorkspaceName", + "dataPlaneEndpoint": "https://asi.eu.az.split.io" + } + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "softDeleteRetentionInDays": 30, + "enablePurgeProtection": false, + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + }, + "telemetry": { + "resourceId": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/microsoft.insights/components/appInsightsName" + }, + "experimentation": { + "resourceId": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/SplitIO.Experimentation/experimentationWorkspaces/myWorkspaceName", + "dataPlaneEndpoint": "https://asi.eu.az.split.io" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": { + "myTag": "myTagValue" + } + } + }, + "201": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Creating", + "creationDate": "2018-04-24T16:30:55+00:00" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": { + "myTag": "myTagValue" + } + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDelete.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDelete.json new file mode 100644 index 000000000000..c0a7a39a2207 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDelete.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteKeyValue.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteKeyValue.json new file mode 100644 index 000000000000..4fd06a580656 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteKeyValue.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "keyValueName": "myKey$myLabel" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..ea2e5b08ea32 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "privateEndpointConnectionName": "myConnection", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteReplica.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteReplica.json new file mode 100644 index 000000000000..37bb2406a712 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteReplica.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "replicaName": "myReplicaEus" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json new file mode 100644 index 000000000000..023ab1fc16f0 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "identity": { + "principalId": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA", + "tenantId": "BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB", + "type": "SystemAssigned" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetKeyValue.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetKeyValue.json new file mode 100644 index 000000000000..306e023366a4 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetKeyValue.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "keyValueName": "myKey$myLabel" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores/keyValues", + "properties": { + "key": "myKey", + "label": "myLabel", + "value": "myValue", + "contentType": "", + "eTag": "IhDxoa8VkXxPsYsemBlxvV0d5fp", + "lastModified": "2020-06-23T06:42:24+00:00", + "locked": false, + "tags": { + "tag1": "tagValue1", + "tag2": "tagValue2" + } + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/keyValues/myKey$myLabel", + "name": "myKey$myLabel" + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..ec39e2e2c5aa --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "privateEndpointConnectionName": "myConnection", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetReplica.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetReplica.json new file mode 100644 index 000000000000..74aed09fc01e --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetReplica.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "replicaName": "myReplicaEus" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/replicas/myReplicaEus", + "name": "myReplicaEus", + "type": "Microsoft.AppConfiguration/configurationStores/replicas", + "location": "eastus", + "properties": { + "endpoint": "https://contoso-myreplicaeus.azconfig.io", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetSnapshot.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetSnapshot.json new file mode 100644 index 000000000000..1d4b7be23569 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetSnapshot.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "snapshotName": "mySnapshot" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores/snapshots", + "properties": { + "etag": "4f6dd610dd5e4deebc7fbaef685fb903", + "provisioningState": "Succeeded", + "filters": [ + { + "key": "app1/*", + "label": "Production" + } + ], + "compositionType": "All", + "created": "2022-08-01T22:19:40+00:00", + "size": 100000, + "itemsCount": 71, + "retentionPeriod": 3600, + "tags": {} + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/snapshots/mySnapshot", + "name": "mySnapshot" + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json new file mode 100644 index 000000000000..24e66f60728f --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "identity": { + "principalId": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA", + "tenantId": "BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB", + "type": "SystemAssigned" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + }, + { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T23:06:59+00:00", + "endpoint": "https://contoso2.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "identity": { + "principalId": "CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC", + "tenantId": "BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB", + "type": "SystemAssigned" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso2", + "name": "contoso2", + "location": "westus", + "tags": {} + } + ] + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json new file mode 100644 index 000000000000..e168652b24cb --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + }, + { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T23:06:59+00:00", + "endpoint": "https://contoso2.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso2", + "name": "contoso2", + "location": "westus", + "tags": {} + } + ] + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListKeys.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListKeys.json new file mode 100644 index 000000000000..a5b47222be8e --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListKeys.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "439AD01B4BE67DB1", + "name": "Primary", + "value": "000000000000000000000000000000000000000000000000000000", + "connectionString": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "lastModified": "2018-04-24T16:30:54+00:00", + "readOnly": false + }, + { + "id": "CB45E100456857B9", + "name": "Secondary", + "value": "000000000000000000000000000000000000000000000000000000", + "connectionString": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "lastModified": "2018-04-24T16:30:54+00:00", + "readOnly": false + }, + { + "id": "B3AC55B7E71431A9", + "name": "Primary Read Only", + "value": "000000000000000000000000000000000000000000000000000000", + "connectionString": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "lastModified": "2018-04-24T16:30:54+00:00", + "readOnly": true + }, + { + "id": "E2AF6A9A89DCC177", + "name": "Secondary Read Only", + "value": "000000000000000000000000000000000000000000000000000000", + "connectionString": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "lastModified": "2018-04-24T16:30:54+00:00", + "readOnly": true + } + ] + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json new file mode 100644 index 000000000000..8da2dbb3c925 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListReplicas.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListReplicas.json new file mode 100644 index 000000000000..d7735ed19299 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListReplicas.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/replicas/myReplicaEus", + "name": "myReplicaEus", + "type": "Microsoft.AppConfiguration/configurationStores/replicas", + "location": "eastus", + "properties": { + "endpoint": "https://contoso-myreplicaeus.azconfig.io", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + }, + { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/replicas/myReplicaWestEurope", + "name": "myReplicaWestEurope", + "type": "Microsoft.AppConfiguration/configurationStores/replicas", + "location": "westeurope", + "properties": { + "endpoint": "https://contoso-myreplicawesteurope.azconfig.io", + "provisioningState": "Creating" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + } + ] + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresRegenerateKey.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresRegenerateKey.json new file mode 100644 index 000000000000..0f1eace5d16b --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresRegenerateKey.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "regenerateKeyParameters": { + "id": "439AD01B4BE67DB1" + } + }, + "responses": { + "200": { + "body": { + "id": "439AD01B4BE67DB1", + "name": "Primary", + "value": "000000000000000000000000000000000000000000000000000000", + "connectionString": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "lastModified": "2018-04-26T22:59:24.2370906+00:00", + "readOnly": false + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json new file mode 100644 index 000000000000..756387fea86b --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json @@ -0,0 +1,98 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "configStoreUpdateParameters": { + "tags": { + "Category": "Marketing" + }, + "sku": { + "name": "Standard" + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": { + "Category": "Marketing" + } + } + }, + "201": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Updating", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": { + "Category": "Marketing" + } + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json new file mode 100644 index 000000000000..924d3c853f9e --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "configStoreUpdateParameters": { + "sku": { + "name": "Standard" + }, + "properties": { + "disableLocalAuth": true + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": true, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + } + }, + "201": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Updating", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": true, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json new file mode 100644 index 000000000000..7ef70447a2b9 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "privateEndpointConnectionName": "myConnection", + "api-version": "2023-09-01-preview", + "privateEndpointConnection": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + }, + "201": { + "body": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json new file mode 100644 index 000000000000..1eb614a2445e --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "configStoreUpdateParameters": { + "tags": { + "Category": "Marketing" + }, + "sku": { + "name": "Standard" + }, + "identity": { + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": {} + } + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "identity": { + "principalId": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA", + "tenantId": "BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC", + "principalId": "DDDDDDDD-DDDD-DDDD-DDDD-DDDDDDDDDDDD" + } + } + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": { + "Category": "Marketing" + } + } + }, + "201": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Updating", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "identity": { + "principalId": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA", + "tenantId": "BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB", + "type": "SystemAssigned, UserAssigned", + "userAssignedIdentities": { + "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourcegroups/myResourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity2": { + "clientId": "CCCCCCCC-CCCC-CCCC-CCCC-CCCCCCCCCCCC", + "principalId": "DDDDDDDD-DDDD-DDDD-DDDD-DDDDDDDDDDDD" + } + } + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": { + "Category": "Marketing" + } + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresGet.json new file mode 100644 index 000000000000..bf5ff0616238 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "configStoreName": "contoso", + "location": "westus", + "api-version": "2023-09-01-preview", + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/providers/Microsoft.AppConfiguration/locations/westus/deletedConfigurationStores/contoso", + "name": "contoso", + "type": "Microsoft.AppConfiguration/deletedConfigurationStores", + "properties": { + "configurationStoreId": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "location": "westus", + "tags": {}, + "deletionDate": "2017-01-01T00:00:59Z", + "scheduledPurgeDate": "2017-04-01T00:00:59Z", + "purgeProtectionEnabled": true + } + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresList.json new file mode 100644 index 000000000000..dedc7f2fa122 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresList.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/providers/Microsoft.AppConfiguration/locations/westus/deletedConfigurationStores/contoso", + "name": "contoso", + "type": "Microsoft.AppConfiguration/deletedConfigurationStores", + "properties": { + "configurationStoreId": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "location": "westus", + "tags": {}, + "deletionDate": "2017-01-01T00:00:59Z", + "scheduledPurgeDate": "2017-04-01T00:00:59Z", + "purgeProtectionEnabled": true + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/providers/Microsoft.AppConfiguration/deletedConfigurationStores?api-version=2021-10-01-preview&%24skiptoken=HY3RaoMwAEX%2fRcbeYhJrnRXKYNWOuqpME0sfNcYui0Yxade19N8ne7hcDlzOvVuKX81eKKmt4G4dooLQwgqsL2NGHUDYV6o68Z4rY1e388RtNvRQn2vNJjEaMSgNvcbneMUcsKg8BFwft8DndQ0w9hu2QOiFLRs4TsNFNHzSMBFsGvTQGvuD%2f5bVuTOw4R03vPkH%2fVqNAlzm5SxfOwh7ACOA8POTlvPjILlaU1ke8jImOc23JCppQVfZnna0DXc4ISc3vSVuRo5zJE6%2bj25C3vwk2v2kEV2mMn7PyOc1DbtNGkonnzuLym1G400uI5QRZj0efw%3d%3d" + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresPurge.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresPurge.json new file mode 100644 index 000000000000..5786dd21e0c3 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresPurge.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "configStoreName": "contoso", + "location": "westus", + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + } + }, + "204": {} + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/OperationsList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/OperationsList.json new file mode 100644 index 000000000000..b86aa8cb6572 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/OperationsList.json @@ -0,0 +1,451 @@ +{ + "parameters": { + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.AppConfiguration/operations/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Operation", + "operation": "List Operations", + "description": "Lists all of the operations supported by Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/register/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration", + "operation": "Register for Microsoft App Configuration", + "description": "Registers a subscription to use Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/unregister/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration", + "operation": "Unregister for Microsoft App Configuration", + "description": "Unregisters a subscription from using Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/operationsStatus/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": null, + "operation": "Get Operation Status", + "description": "Get the status of an operation." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/checkNameAvailability/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": null, + "operation": "Check Name Availability", + "description": "Check whether the resource name is available for use." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/checkNameAvailability/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": null, + "operation": "Check Name Availability", + "description": "Check whether the resource name is available for use." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Get Configuration Store or List Configuration Stores", + "description": "Gets the properties of the specified configuration store or lists all the configuration stores under the specified resource group or subscription." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Create or Update Configuration Store", + "description": "Create or update a configuration store with the specified parameters." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Delete Configuration Store", + "description": "Deletes a configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/ListKeys/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "List Configuration Store API Keys", + "description": "Lists the API keys for the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/RegenerateKey/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Regenerate Configuration Store API Key", + "description": "Regenerates of the API key's for the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/ListKeyValue/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "List Configuration Store Key-Value", + "description": "Lists a key-value for the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store Event Grid Filter", + "operation": "Get Configuration Store Event Grid Filter or List Configuration Store Event Grid Filters", + "description": "Gets the properties of the specified configuration store event grid filter or lists all the configuration store event grid filters under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store Event Grid Filter", + "operation": "Create or Update Configuration Store Event Grid Filter", + "description": "Create or update a configuration store event grid filter with the specified parameters." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/eventGridFilters/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store Event Grid Filter", + "operation": "Delete Configuration Store Event Grid Filter", + "description": "Deletes a configuration store event grid filter." + }, + "properties": null + }, + { + "origin": "System", + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/metricDefinitions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration Metric Definition.", + "operation": "Read Configuration Store Metric Definitions", + "description": "Retrieve all metric definitions for Microsoft App Configuration." + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "HttpIncomingRequestCount", + "displayName": "HttpIncomingRequestCount", + "displayDescription": "Total number of incoming http requests.", + "unit": "Count", + "aggregationType": "Count", + "internalMetricName": "HttpIncomingRequestCount", + "fillGapWithZero": true, + "dimensions": [ + { + "name": "StatusCode", + "internalName": "StatusCode", + "displayName": "HttpStatusCode" + }, + { + "name": "Authentication", + "internalName": "Authentication", + "displayName": "AuthenticationScheme" + } + ] + }, + { + "name": "HttpIncomingRequestDuration", + "displayName": "HttpIncomingRequestDuration", + "displayDescription": "Latency on an http request.", + "unit": "Count", + "aggregationType": "Average", + "internalMetricName": "HttpIncomingRequestDuration", + "fillGapWithZero": true, + "dimensions": [ + { + "name": "StatusCode", + "internalName": "StatusCode", + "displayName": "HttpStatusCode" + }, + { + "name": "Authentication", + "internalName": "Authentication", + "displayName": "AuthenticationScheme" + } + ] + }, + { + "name": "ThrottledHttpRequestCount", + "displayName": "ThrottledHttpRequestCount", + "displayDescription": "Throttled http requests.", + "unit": "Count", + "aggregationType": "Count", + "internalMetricName": "ThrottledHttpRequestCount", + "fillGapWithZero": true + } + ], + "logSpecifications": null + } + } + }, + { + "origin": "System", + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/diagnosticSettings/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Read Configuration Store Diagnostic Settings", + "description": "Read all Diagnostic Settings values for a Configuration Store." + }, + "properties": null + }, + { + "origin": "System", + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/diagnosticSettings/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Configuration Store", + "operation": "Write Configuration Store Diagnostic Settings", + "description": "Write/Overwrite Diagnostic Settings for Microsoft App Configuration." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/providers/Microsoft.Insights/logDefinitions/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Microsoft App Configuration Log Definition.", + "operation": "Read Configuration Store Log Definitions", + "description": "Retrieve all log definitions for Microsoft App Configuration." + }, + "properties": { + "serviceSpecification": { + "metricSpecifications": null, + "logSpecifications": [ + { + "name": "HttpRequest", + "displayName": "HTTP Requests" + }, + { + "name": "Audit", + "displayName": "Audit" + } + ] + } + } + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/validate/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Validate Private Endpoint Connection Proxy", + "description": "Validate a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Get Private Endpoint Connection Proxy", + "description": "Get a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Create or Update Private Endpoint Connection Proxy", + "description": "Create or update a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnectionProxies/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection Proxy", + "operation": "Delete Private Endpoint Connection Proxy", + "description": "Delete a private endpoint connection proxy under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Get Private Endpoint Connection or List Private Endpoint Connections", + "description": "Get a private endpoint connection or list private endpoint connections under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/write", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Approve or Reject Private Endpoint Connection", + "description": "Approve or reject a private endpoint connection under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections/delete", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Delete Private Endpoint Connection", + "description": "Delete a private endpoint connection under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/PrivateEndpointConnectionsApproval/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Endpoint Connection", + "operation": "Auto-Approve Private Endpoint Connection", + "description": "Auto-Approve a private endpoint connection under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/privateLinkResources/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Private Link", + "operation": "List Private Link", + "description": "Lists all the private link resources under the specified configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/keyValues/read", + "isDataAction": true, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Key-Value", + "operation": "Read Key-Value", + "description": "Reads a key-value from the configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/keyValues/write", + "isDataAction": true, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Key-Value", + "operation": "Write Key-Value", + "description": "Creates or updates a key-value in the configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/configurationStores/keyValues/delete", + "isDataAction": true, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Key-Value", + "operation": "Delete Key-Value", + "description": "Deletes an existing key-value from the configuration store." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/deletedConfigurationStores/read", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Deleted Configuration Store", + "operation": "Get Deleted Configuration Store or List Deleted Configuration Stores", + "description": "Gets the properties of the specified deleted configuration store or lists all the deleted configuration stores under the specified subscription." + }, + "properties": null + }, + { + "name": "Microsoft.AppConfiguration/locations/deletedConfigurationStores/purge/action", + "isDataAction": false, + "display": { + "provider": "Microsoft App Configuration", + "resource": "Deleted Configuration Store", + "operation": "Purge Deleted Configuration Store", + "description": "Purge the specified deleted configuration store." + }, + "properties": null + } + ], + "nextLink": null + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourceGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourceGet.json new file mode 100644 index 000000000000..5910bbb85422 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourceGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview", + "groupName": "configurationStores" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/privateLinkResources/configurationStores", + "name": "configurationStores", + "type": "Microsoft.AppConfiguraiton/configurationStores/privateLinkResources", + "properties": { + "groupId": "configurationStores", + "requiredMembers": [ + "configurationStores" + ], + "requiredZoneNames": [ + "privatelink.azconfig.io" + ] + } + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json new file mode 100644 index 000000000000..4fe60ed9dd40 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2023-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/privateLinkResources/configurationStores", + "name": "configurationStores", + "type": "Microsoft.AppConfiguraiton/configurationStores/privateLinkResources", + "properties": { + "groupId": "configurationStores", + "requiredMembers": [ + "configurationStores" + ], + "requiredZoneNames": [ + "privatelink.azconfig.io" + ] + } + } + ] + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameAvailable.json new file mode 100644 index 000000000000..393e311294bd --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameAvailable.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "location": "westus", + "api-version": "2023-09-01-preview", + "checkNameAvailabilityParameters": { + "name": "contoso", + "type": "Microsoft.AppConfiguration/configurationStores" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": true, + "message": "The specified name is available.", + "reason": null + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameNotAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameNotAvailable.json new file mode 100644 index 000000000000..5daf07d79423 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameNotAvailable.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "location": "westus", + "api-version": "2023-09-01-preview", + "checkNameAvailabilityParameters": { + "name": "contoso", + "type": "Microsoft.AppConfiguration/configurationStores" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "The specified name is already in use." + } + } + } +} From 16f84c8bb33026ce7d7f3c7f84f99a7f043f6eb0 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Mon, 15 Jul 2024 11:17:33 -0400 Subject: [PATCH 02/32] Update 2024-09-01-preview --- .../2024-09-01-preview/appconfiguration.json | 234 +++++++++++++++++- .../examples/CheckNameAvailable.json | 2 +- .../examples/CheckNameNotAvailable.json | 2 +- .../examples/ConfigurationStoresCreate.json | 2 +- .../ConfigurationStoresCreateKeyValue.json | 2 +- .../ConfigurationStoresCreateReplica.json | 2 +- .../ConfigurationStoresCreateSnapshot.json | 2 +- ...urationStoresCreateWithDataPlaneProxy.json | 2 +- ...ConfigurationStoresCreateWithIdentity.json | 2 +- ...tionStoresCreateWithLocalAuthDisabled.json | 2 +- ...CreateWithTelemetryAndExperimentation.json | 2 +- .../examples/ConfigurationStoresDelete.json | 4 +- .../ConfigurationStoresDeleteKeyValue.json | 4 +- ...StoresDeletePrivateEndpointConnection.json | 4 +- .../ConfigurationStoresDeleteReplica.json | 4 +- .../examples/ConfigurationStoresGet.json | 2 +- .../ConfigurationStoresGetKeyValue.json | 2 +- ...ionStoresGetPrivateEndpointConnection.json | 2 +- .../ConfigurationStoresGetReplica.json | 2 +- .../ConfigurationStoresGetSnapshot.json | 2 +- .../examples/ConfigurationStoresList.json | 2 +- ...onfigurationStoresListByResourceGroup.json | 2 +- .../examples/ConfigurationStoresListKeys.json | 2 +- ...nStoresListPrivateEndpointConnections.json | 2 +- .../ConfigurationStoresListReplicas.json | 2 +- .../ConfigurationStoresRegenerateKey.json | 2 +- .../ConfigurationStoresResetSasTokens.json | 14 ++ ...ConfigurationStoresSasTokenGeneration.json | 41 +++ .../examples/ConfigurationStoresUpdate.json | 2 +- ...igurationStoresUpdateDisableLocalAuth.json | 2 +- ...StoresUpdatePrivateEndpointConnection.json | 2 +- ...ConfigurationStoresUpdateWithIdentity.json | 2 +- .../DeletedConfigurationStoresGet.json | 2 +- .../DeletedConfigurationStoresList.json | 2 +- .../DeletedConfigurationStoresPurge.json | 4 +- .../examples/OperationsList.json | 2 +- .../examples/PrivateLinkResourceGet.json | 2 +- ...LinkResourcesListByConfigurationStore.json | 2 +- .../examples/RegionalCheckNameAvailable.json | 2 +- .../RegionalCheckNameNotAvailable.json | 2 +- 40 files changed, 330 insertions(+), 43 deletions(-) create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasTokens.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index c9c3c38591de..56182e0e81f7 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2023-09-01-preview", + "version": "2024-09-01-preview", "title": "AppConfigurationManagementClient" }, "host": "management.azure.com", @@ -477,6 +477,105 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/generateSasToken": { + "post": { + "tags": [ + "ConfigurationStores" + ], + "description": "Generates a SAS token for scoped, read-only access of the specified configuration store.", + "operationId": "ConfigurationStores_GenerateSasToken", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "sasTokenGenerationParameters", + "in": "body", + "description": "The object containing information for the SAS token generation request.", + "required": true, + "schema": { + "$ref": "#/definitions/SasTokenGenerationParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/SasTokenGenerationResult" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_ListKeys": { + "$ref": "./examples/ConfigurationStoresSasTokenGeneration.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/resetSasTokens": { + "post": { + "tags": [ + "ConfigurationStores" + ], + "description": "Reset all SAS tokens of a given kind (primary/secondary).", + "operationId": "ConfigurationStores_ResetSasTokens", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/ConfigStoreNameParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "resetSasTokensParameters", + "in": "body", + "description": "The object containing information for the SAS token reset request.", + "required": true, + "schema": { + "$ref": "#/definitions/ResetSasTokensParameters" + } + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ConfigurationStores_ListKeys": { + "$ref": "./examples/ConfigurationStoresResetSasTokens.json" + } + } + } + }, "/providers/Microsoft.AppConfiguration/operations": { "get": { "tags": [ @@ -1921,6 +2020,139 @@ } } }, + "SasTokenGenerationParameters": { + "description": "Parameters used for generating SAS token.", + "required": [ + "resourceType", + "expires", + "kind" + ], + "type": "object", + "properties": { + "resourceType": { + "description": "The data plane resource type that the SAS token is authorized to access.", + "type": "string", + "enum": [ + "Kv", + "Snapshot" + ], + "x-ms-enum": { + "name": "resourceType", + "modelAsString": true + } + }, + "signedParameters": { + "description": "The parameters to define the data plane resource scope.", + "$ref": "#/definitions/SignedParameters" + }, + "expires":{ + "description": "The time that the SAS token expires in the Universal ISO 8601 DateTime format. Max allowed expiration is 1 year from the time of token creation.", + "type": "string", + "format": "date-time" + }, + "cacheControlMaxAge":{ + "description": "Time (in seconds) for which the data plane response may be cached by clients. App Configuration sets the Cache-Control response header `max-age` to the value that's specified on the SAS token. See [rfc9111](https://www.rfc-editor.org/rfc/rfc9111#name-max-age-2) for more details.", + "type": "number" + }, + "kind":{ + "description": "The kind of the SAS token.", + "type": "string", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "kind", + "modelAsString": true + } + } + } + }, + "SignedParameters": { + "description": "The parameters to define the data plane resource scope that the SAS token is authorized to access.", + "type": "object", + "properties": { + "key": { + "description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering. This is only applicable when the resourceType is Kv.", + "type": "string" + }, + "label": { + "description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering. This is only applicable when the resourceType is Kv.", + "type": "string" + }, + "tags":{ + "description": "Am array of tag filters used to match tags.", + "type": "array", + "items": { + "description": "A filter used to match key-values by their tags, specified in `tagName=tagValue` format. This is only applicable when the resourceType is Kv.", + "type": "string" + } + }, + "name":{ + "description": "The name of the snapshot. This is only applicable when the resourceType is Snapshot.", + "type": "string" + } + } + }, + "SasTokenGenerationResult": { + "description": "The result of a request to generate a SAS token.", + "type": "object", + "properties": { + "resourceType": { + "description": "The data plane resource type that the SAS token is authorized to access.", + "type": "string", + "readOnly": true + }, + "signedParameters": { + "description": "The parameters to define the data plane resource scope.", + "$ref": "#/definitions/SignedParameters", + "readOnly": true + }, + "expires":{ + "description": "The time that the SAS token expires in the Universal ISO 8601 DateTime format. Max allowed expiration is 1 year from the time of token creation.", + "type": "string", + "format": "date-time", + "readOnly": true + }, + "cacheControlMaxAge":{ + "description": "Time (in seconds) for which the data plane response may be cached by clients. App Configuration sets the Cache-Control response header `max-age` to the value that's specified on the SAS token. See [rfc9111](https://www.rfc-editor.org/rfc/rfc9111#name-max-age-2) for more details.", + "type": "number" + }, + "kind":{ + "description": "The kind of the SAS token.", + "type": "string", + "readOnly": true + }, + "value":{ + "description": "The value of the SAS token.", + "type": "string", + "format": "password", + "x-ms-secret": true, + "readOnly": true + } + } + }, + "ResetSasTokensParameters": { + "description": "Parameters used for resetting SAS token.", + "required": [ + "kind" + ], + "type": "object", + "properties": { + "kind":{ + "description": "The kind of the SAS token.", + "type": "string", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "kind", + "modelAsString": true + } + } + } + }, "KeyValueListResult": { "description": "The result of a request to list key-values.", "type": "object", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameAvailable.json index 5964589ee31d..31f58ba82905 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameAvailable.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameAvailable.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "checkNameAvailabilityParameters": { "name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameNotAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameNotAvailable.json index a8a718f99fad..ba7d7c17bae5 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameNotAvailable.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameNotAvailable.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "checkNameAvailabilityParameters": { "name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json index 2b5dc5eaf999..11d965efb33e 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "configStoreCreationParameters": { "location": "westus", "sku": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateKeyValue.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateKeyValue.json index f9edb9bd0b0b..601bf4a44371 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateKeyValue.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateKeyValue.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "keyValueName": "myKey$myLabel", "keyValueParameters": { "properties": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateReplica.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateReplica.json index 876ceed5b79e..e4ee528ad5db 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateReplica.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateReplica.json @@ -7,7 +7,7 @@ "replicaCreationParameters": { "location": "eastus" }, - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateSnapshot.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateSnapshot.json index 8f008cab16b2..1b52514521ca 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateSnapshot.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateSnapshot.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "snapshotName": "mySnapshot", "body": { "properties": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json index 23669956286b..5c3f23e1d3f3 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "configStoreCreationParameters": { "location": "westus", "sku": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json index 0073a0e624f7..0bb75a0c1cfb 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "configStoreCreationParameters": { "location": "westus", "sku": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json index db13ac7b5942..6fa3f130ee0b 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "configStoreCreationParameters": { "location": "westus", "sku": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json index 0b8fa937f67d..04dc12273ed4 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "configStoreCreationParameters": { "location": "westus", "sku": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDelete.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDelete.json index c0a7a39a2207..267b3ff68c27 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDelete.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDelete.json @@ -3,13 +3,13 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-09-01-preview" } }, "204": {} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteKeyValue.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteKeyValue.json index 4fd06a580656..2acff90e31a0 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteKeyValue.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteKeyValue.json @@ -3,14 +3,14 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "keyValueName": "myKey$myLabel" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-09-01-preview" } }, "204": {} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json index ea2e5b08ea32..3418c308ab2f 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json @@ -4,13 +4,13 @@ "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", "privateEndpointConnectionName": "myConnection", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-09-01-preview" } }, "204": {} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteReplica.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteReplica.json index 37bb2406a712..bec046f5cc1e 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteReplica.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteReplica.json @@ -3,14 +3,14 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "replicaName": "myReplicaEus" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-09-01-preview" } }, "204": {} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json index 023ab1fc16f0..54816378a446 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetKeyValue.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetKeyValue.json index 306e023366a4..08ba34826c1a 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetKeyValue.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetKeyValue.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "keyValueName": "myKey$myLabel" }, "responses": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json index ec39e2e2c5aa..44fe9ba124b6 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", "privateEndpointConnectionName": "myConnection", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetReplica.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetReplica.json index 74aed09fc01e..387edc78e26c 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetReplica.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetReplica.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "replicaName": "myReplicaEus" }, "responses": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetSnapshot.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetSnapshot.json index 1d4b7be23569..b4e093c5bbc5 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetSnapshot.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetSnapshot.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "snapshotName": "mySnapshot" }, "responses": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json index 24e66f60728f..9abc1a602aec 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json index e168652b24cb..30508b5bbd3e 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListKeys.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListKeys.json index a5b47222be8e..7e899a0cf782 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListKeys.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json index 8da2dbb3c925..360a3378e59d 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListReplicas.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListReplicas.json index d7735ed19299..18cb4e4a0538 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListReplicas.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListReplicas.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresRegenerateKey.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresRegenerateKey.json index 0f1eace5d16b..c1d414ed67cb 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresRegenerateKey.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresRegenerateKey.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "regenerateKeyParameters": { "id": "439AD01B4BE67DB1" } diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasTokens.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasTokens.json new file mode 100644 index 000000000000..850825be9323 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasTokens.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2024-09-01-preview", + "resetSasTokensParameters": { + "kind": "Primary" + } + }, + "responses": { + "200": {} + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json new file mode 100644 index 000000000000..33019f6817ca --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2024-09-01-preview", + "sasTokenGenerationParameters": { + "resourceType": "Kv", + "signedParameters": { + "key": "test*", + "label": "prod", + "tags": [ + "group=test-group", + "region=eastus" + ] + }, + "expires": "2024-09-01T00:00:00", + "cacheControlMaxAge": 3600, + "kind": "Primary" + } + }, + "responses": { + "200": { + "body": { + "resourceType": "Kv", + "signedParameters": { + "key": "test*", + "label": "prod", + "tags": [ + "group=test-group", + "region=eastus" + ] + }, + "expires": "2024-09-01T00:00:00", + "cacheControlMaxAge": 3600, + "kind": "Primary", + "value": "sas=res=kv;sp=key,label,tags;exp=2024-09-01T00:00:00Z;ccma=3600;kind=primary;oid=;tid=;p=read;sig=" + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json index 756387fea86b..3eb09fdb060d 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "configStoreUpdateParameters": { "tags": { "Category": "Marketing" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json index 924d3c853f9e..e735cb0898d4 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "configStoreUpdateParameters": { "sku": { "name": "Standard" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json index 7ef70447a2b9..b7b0cf8c6aa6 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", "privateEndpointConnectionName": "myConnection", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "privateEndpointConnection": { "properties": { "privateLinkServiceConnectionState": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json index 1eb614a2445e..fc97978dd0bd 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "configStoreUpdateParameters": { "tags": { "Category": "Marketing" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresGet.json index bf5ff0616238..5a756f49e132 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresGet.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresGet.json @@ -2,7 +2,7 @@ "parameters": { "configStoreName": "contoso", "location": "westus", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882" }, "responses": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresList.json index dedc7f2fa122..0af2ecf613a4 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresList.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresPurge.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresPurge.json index 5786dd21e0c3..e8606a0982da 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresPurge.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresPurge.json @@ -3,13 +3,13 @@ "configStoreName": "contoso", "location": "westus", "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-09-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-09-01-preview" } }, "204": {} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/OperationsList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/OperationsList.json index b86aa8cb6572..af476e220b20 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/OperationsList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/OperationsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourceGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourceGet.json index 5910bbb85422..467a95b07931 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourceGet.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourceGet.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "groupName": "configurationStores" }, "responses": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json index 4fe60ed9dd40..8816230a29d2 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2023-09-01-preview" + "api-version": "2024-09-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameAvailable.json index 393e311294bd..64dd0c4877a2 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameAvailable.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameAvailable.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "location": "westus", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "checkNameAvailabilityParameters": { "name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameNotAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameNotAvailable.json index 5daf07d79423..e4856ec6d243 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameNotAvailable.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameNotAvailable.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "location": "westus", - "api-version": "2023-09-01-preview", + "api-version": "2024-09-01-preview", "checkNameAvailabilityParameters": { "name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores" From 0f51b29c79751bf1a49b511147a8883fe8854418 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Mon, 15 Jul 2024 11:36:26 -0400 Subject: [PATCH 03/32] Prettier --- .../2024-09-01-preview/appconfiguration.json | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 56182e0e81f7..8961fb6339c0 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -2045,16 +2045,16 @@ "description": "The parameters to define the data plane resource scope.", "$ref": "#/definitions/SignedParameters" }, - "expires":{ + "expires": { "description": "The time that the SAS token expires in the Universal ISO 8601 DateTime format. Max allowed expiration is 1 year from the time of token creation.", "type": "string", "format": "date-time" }, - "cacheControlMaxAge":{ + "cacheControlMaxAge": { "description": "Time (in seconds) for which the data plane response may be cached by clients. App Configuration sets the Cache-Control response header `max-age` to the value that's specified on the SAS token. See [rfc9111](https://www.rfc-editor.org/rfc/rfc9111#name-max-age-2) for more details.", "type": "number" }, - "kind":{ + "kind": { "description": "The kind of the SAS token.", "type": "string", "enum": [ @@ -2080,7 +2080,7 @@ "description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering. This is only applicable when the resourceType is Kv.", "type": "string" }, - "tags":{ + "tags": { "description": "Am array of tag filters used to match tags.", "type": "array", "items": { @@ -2088,7 +2088,7 @@ "type": "string" } }, - "name":{ + "name": { "description": "The name of the snapshot. This is only applicable when the resourceType is Snapshot.", "type": "string" } @@ -2108,22 +2108,22 @@ "$ref": "#/definitions/SignedParameters", "readOnly": true }, - "expires":{ + "expires": { "description": "The time that the SAS token expires in the Universal ISO 8601 DateTime format. Max allowed expiration is 1 year from the time of token creation.", "type": "string", "format": "date-time", "readOnly": true }, - "cacheControlMaxAge":{ + "cacheControlMaxAge": { "description": "Time (in seconds) for which the data plane response may be cached by clients. App Configuration sets the Cache-Control response header `max-age` to the value that's specified on the SAS token. See [rfc9111](https://www.rfc-editor.org/rfc/rfc9111#name-max-age-2) for more details.", "type": "number" }, - "kind":{ + "kind": { "description": "The kind of the SAS token.", "type": "string", "readOnly": true }, - "value":{ + "value": { "description": "The value of the SAS token.", "type": "string", "format": "password", @@ -2139,7 +2139,7 @@ ], "type": "object", "properties": { - "kind":{ + "kind": { "description": "The kind of the SAS token.", "type": "string", "enum": [ From 52db19ae66ed6461c06cabb1d6e070eff30d7b1d Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Mon, 15 Jul 2024 11:51:29 -0400 Subject: [PATCH 04/32] Update readme --- .../appconfiguration/resource-manager/readme.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/specification/appconfiguration/resource-manager/readme.md b/specification/appconfiguration/resource-manager/readme.md index 8f3398c04bd3..09d0a2b6dd72 100644 --- a/specification/appconfiguration/resource-manager/readme.md +++ b/specification/appconfiguration/resource-manager/readme.md @@ -26,9 +26,17 @@ These are the global settings for the AppConfiguration API. ``` yaml openapi-type: arm -tag: package-preview-2023-09 +tag: package-preview-2024-09 ``` +### Tag: package-preview-2024-09 + +These settings apply only when `--tag=package-preview-2024-09` is specified on the command line. + +``` yaml $(tag) == 'package-preview-2024-09' +input-file: + - Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +``` ### Tag: package-preview-2023-09 @@ -38,6 +46,7 @@ These settings apply only when `--tag=package-preview-2023-09` is specified on t input-file: - Microsoft.AppConfiguration/preview/2023-09-01-preview/appconfiguration.json ``` + ### Tag: package-preview-2023-08 These settings apply only when `--tag=package-preview-2023-08` is specified on the command line. From 9564a3184480af985b79967ee75f6a8723d1083b Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Tue, 16 Jul 2024 16:18:52 -0400 Subject: [PATCH 05/32] Address comments --- .../preview/2024-09-01-preview/appconfiguration.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 8961fb6339c0..150854e02650 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -522,7 +522,7 @@ } }, "x-ms-examples": { - "ConfigurationStores_ListKeys": { + "ConfigurationStores_SasTokenGeneration": { "$ref": "./examples/ConfigurationStoresSasTokenGeneration.json" } } @@ -570,7 +570,7 @@ } }, "x-ms-examples": { - "ConfigurationStores_ListKeys": { + "ConfigurationStores_ResetSasTokens": { "$ref": "./examples/ConfigurationStoresResetSasTokens.json" } } @@ -2116,7 +2116,8 @@ }, "cacheControlMaxAge": { "description": "Time (in seconds) for which the data plane response may be cached by clients. App Configuration sets the Cache-Control response header `max-age` to the value that's specified on the SAS token. See [rfc9111](https://www.rfc-editor.org/rfc/rfc9111#name-max-age-2) for more details.", - "type": "number" + "type": "number", + "readOnly": true }, "kind": { "description": "The kind of the SAS token.", From 05953f6646b59b682f0954c165ab69e09ae655f7 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Thu, 18 Jul 2024 17:07:39 -0400 Subject: [PATCH 06/32] Add saskind enum --- .../2024-09-01-preview/appconfiguration.json | 34 ++++++++----------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 150854e02650..1145db8b12f9 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -2056,15 +2056,7 @@ }, "kind": { "description": "The kind of the SAS token.", - "type": "string", - "enum": [ - "Primary", - "Secondary" - ], - "x-ms-enum": { - "name": "kind", - "modelAsString": true - } + "$ref": "#/definitions/SasTokenKind" } } }, @@ -2121,7 +2113,7 @@ }, "kind": { "description": "The kind of the SAS token.", - "type": "string", + "$ref": "#/definitions/SasTokenKind", "readOnly": true }, "value": { @@ -2142,18 +2134,22 @@ "properties": { "kind": { "description": "The kind of the SAS token.", - "type": "string", - "enum": [ - "Primary", - "Secondary" - ], - "x-ms-enum": { - "name": "kind", - "modelAsString": true - } + "$ref": "#/definitions/SasTokenKind" } } }, + "SasTokenKind": { + "description": "The kind of the SAS token.", + "enum": [ + "Primary", + "Secondary" + ], + "type": "string", + "x-ms-enum": { + "name": "SasTokenKind", + "modelAsString": true + } + }, "KeyValueListResult": { "description": "The result of a request to list key-values.", "type": "object", From d8d16d64f4cb56132c09a34ca55b6ab0e943df30 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Fri, 19 Jul 2024 13:36:32 -0400 Subject: [PATCH 07/32] add discriminator for signed parameters --- .../2024-09-01-preview/appconfiguration.json | 58 +++++++++++++------ 1 file changed, 39 insertions(+), 19 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 1145db8b12f9..0e9a0040a276 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -2028,6 +2028,7 @@ "kind" ], "type": "object", + "discriminator": "kind", "properties": { "resourceType": { "description": "The data plane resource type that the SAS token is authorized to access.", @@ -2062,30 +2063,49 @@ }, "SignedParameters": { "description": "The parameters to define the data plane resource scope that the SAS token is authorized to access.", - "type": "object", - "properties": { - "key": { - "description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering. This is only applicable when the resourceType is Kv.", - "type": "string" - }, - "label": { - "description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering. This is only applicable when the resourceType is Kv.", - "type": "string" - }, - "tags": { - "description": "Am array of tag filters used to match tags.", - "type": "array", - "items": { - "description": "A filter used to match key-values by their tags, specified in `tagName=tagValue` format. This is only applicable when the resourceType is Kv.", + "type": "object" + }, + "KvSignedParameters": { + "description": "The parameters to define the key value resource scope that the SAS token is authorized to access.", + "x-ms-discriminator-value": "Kv", + "allOf":{ + "$ref": "#/definitions/SignedParameters", + "properties": { + "key": { + "description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", "type": "string" + }, + "label": { + "description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", + "type": "string" + }, + "tags": { + "description": "Am array of tag filters used to match tags.", + "type": "array", + "items": { + "description": "A filter used to match key-values by their tags, specified in `tagName=tagValue` format.", + "type": "string" + } } - }, - "name": { - "description": "The name of the snapshot. This is only applicable when the resourceType is Snapshot.", - "type": "string" } } }, + "SnapshotSignedParameters": { + "description": "The parameters to define the snapshot resource scope that the SAS token is authorized to access.", + "x-ms-discriminator-value": "Snapshot", + "allOf":{ + "$ref": "#/definitions/SignedParameters", + "properties": { + "name": { + "description": "The name of the snapshot.", + "type": "string" + } + }, + "required":[ + "name" + ] + } + }, "SasTokenGenerationResult": { "description": "The result of a request to generate a SAS token.", "type": "object", From a9977397665153849061bef2e9a576535f04d2d8 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Fri, 19 Jul 2024 13:38:31 -0400 Subject: [PATCH 08/32] add discriminator for signed parameters --- .../preview/2024-09-01-preview/appconfiguration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 0e9a0040a276..0e97c29bb658 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -2028,7 +2028,7 @@ "kind" ], "type": "object", - "discriminator": "kind", + "discriminator": "resourceType", "properties": { "resourceType": { "description": "The data plane resource type that the SAS token is authorized to access.", From 319fee70b880c4ebf726fe0bfd0987f4853d63b2 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Fri, 19 Jul 2024 14:10:01 -0400 Subject: [PATCH 09/32] add discriminator for signed parameters --- .../2024-09-01-preview/appconfiguration.json | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 0e97c29bb658..d516d3205a05 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -2043,7 +2043,6 @@ } }, "signedParameters": { - "description": "The parameters to define the data plane resource scope.", "$ref": "#/definitions/SignedParameters" }, "expires": { @@ -2063,29 +2062,35 @@ }, "SignedParameters": { "description": "The parameters to define the data plane resource scope that the SAS token is authorized to access.", - "type": "object" + "type": "object", + "oneOf":[ + { + "$ref": "#/definitions/KvSignedParameters" + }, + { + "$ref": "#/definitions/SnapshotSignedParameters" + } + ] }, "KvSignedParameters": { "description": "The parameters to define the key value resource scope that the SAS token is authorized to access.", "x-ms-discriminator-value": "Kv", - "allOf":{ - "$ref": "#/definitions/SignedParameters", - "properties": { - "key": { - "description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", - "type": "string" - }, - "label": { - "description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", + "type": "object", + "properties": { + "key": { + "description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", + "type": "string" + }, + "label": { + "description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", + "type": "string" + }, + "tags": { + "description": "Am array of tag filters used to match tags.", + "type": "array", + "items": { + "description": "A filter used to match key-values by their tags, specified in `tagName=tagValue` format.", "type": "string" - }, - "tags": { - "description": "Am array of tag filters used to match tags.", - "type": "array", - "items": { - "description": "A filter used to match key-values by their tags, specified in `tagName=tagValue` format.", - "type": "string" - } } } } @@ -2093,17 +2098,12 @@ "SnapshotSignedParameters": { "description": "The parameters to define the snapshot resource scope that the SAS token is authorized to access.", "x-ms-discriminator-value": "Snapshot", - "allOf":{ - "$ref": "#/definitions/SignedParameters", - "properties": { - "name": { - "description": "The name of the snapshot.", - "type": "string" - } - }, - "required":[ - "name" - ] + "type": "object", + "properties": { + "name": { + "description": "The name of the snapshot.", + "type": "string" + } } }, "SasTokenGenerationResult": { From 0028cda318738566d9a838c754d256f204fd08c8 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Fri, 19 Jul 2024 14:19:36 -0400 Subject: [PATCH 10/32] add discriminator for signed parameters --- .../2024-09-01-preview/appconfiguration.json | 68 ++++++++++--------- 1 file changed, 37 insertions(+), 31 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index d516d3205a05..021d37acfcbe 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -2062,49 +2062,55 @@ }, "SignedParameters": { "description": "The parameters to define the data plane resource scope that the SAS token is authorized to access.", - "type": "object", - "oneOf":[ - { - "$ref": "#/definitions/KvSignedParameters" - }, - { - "$ref": "#/definitions/SnapshotSignedParameters" - } - ] + "type": "object" }, "KvSignedParameters": { "description": "The parameters to define the key value resource scope that the SAS token is authorized to access.", "x-ms-discriminator-value": "Kv", - "type": "object", - "properties": { - "key": { - "description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", - "type": "string" - }, - "label": { - "description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", - "type": "string" + "allOf":[ + { + "$ref": "#/definitions/SignedParameters" }, - "tags": { - "description": "Am array of tag filters used to match tags.", - "type": "array", - "items": { - "description": "A filter used to match key-values by their tags, specified in `tagName=tagValue` format.", - "type": "string" + { + "type": "object", + "properties": { + "key": { + "description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", + "type": "string" + }, + "label": { + "description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", + "type": "string" + }, + "tags": { + "description": "Am array of tag filters used to match tags.", + "type": "array", + "items": { + "description": "A filter used to match key-values by their tags, specified in `tagName=tagValue` format.", + "type": "string" + } + } } } - } + ] }, "SnapshotSignedParameters": { "description": "The parameters to define the snapshot resource scope that the SAS token is authorized to access.", "x-ms-discriminator-value": "Snapshot", - "type": "object", - "properties": { - "name": { - "description": "The name of the snapshot.", - "type": "string" + "allOf":[ + { + "$ref": "#/definitions/SignedParameters" + }, + { + "type": "object", + "properties": { + "name": { + "description": "The name of the snapshot.", + "type": "string" + } + } } - } + ] }, "SasTokenGenerationResult": { "description": "The result of a request to generate a SAS token.", From 75ee12660a221cadb6c212e6870d73f6d04fad72 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Mon, 22 Jul 2024 16:15:11 -0400 Subject: [PATCH 11/32] Update signedParameters --- .../2024-09-01-preview/appconfiguration.json | 87 ++++++++----------- ...ConfigurationStoresSasTokenGeneration.json | 4 +- 2 files changed, 39 insertions(+), 52 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 021d37acfcbe..5635581b4f72 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -2023,25 +2023,11 @@ "SasTokenGenerationParameters": { "description": "Parameters used for generating SAS token.", "required": [ - "resourceType", "expires", "kind" ], "type": "object", - "discriminator": "resourceType", "properties": { - "resourceType": { - "description": "The data plane resource type that the SAS token is authorized to access.", - "type": "string", - "enum": [ - "Kv", - "Snapshot" - ], - "x-ms-enum": { - "name": "resourceType", - "modelAsString": true - } - }, "signedParameters": { "$ref": "#/definitions/SignedParameters" }, @@ -2062,7 +2048,16 @@ }, "SignedParameters": { "description": "The parameters to define the data plane resource scope that the SAS token is authorized to access.", - "type": "object" + "type": "object", + "discriminator": "resourceType", + "required": [ + "resourceType" + ], + "properties": { + "resourceType": { + "type": "string" + } + } }, "KvSignedParameters": { "description": "The parameters to define the key value resource scope that the SAS token is authorized to access.", @@ -2070,57 +2065,49 @@ "allOf":[ { "$ref": "#/definitions/SignedParameters" + } + ], + "properties": { + "key": { + "description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", + "type": "string" }, - { - "type": "object", - "properties": { - "key": { - "description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", - "type": "string" - }, - "label": { - "description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", - "type": "string" - }, - "tags": { - "description": "Am array of tag filters used to match tags.", - "type": "array", - "items": { - "description": "A filter used to match key-values by their tags, specified in `tagName=tagValue` format.", - "type": "string" - } - } + "label": { + "description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering.", + "type": "string" + }, + "tags": { + "description": "An array of tag filters used to match tags.", + "type": "array", + "items": { + "description": "A filter used to match key-values by their tags, specified in `tagName=tagValue` format.", + "type": "string" } } - ] + } }, "SnapshotSignedParameters": { "description": "The parameters to define the snapshot resource scope that the SAS token is authorized to access.", "x-ms-discriminator-value": "Snapshot", + "required": [ + "name" + ], "allOf":[ { "$ref": "#/definitions/SignedParameters" - }, - { - "type": "object", - "properties": { - "name": { - "description": "The name of the snapshot.", - "type": "string" - } - } } - ] + ], + "properties": { + "name": { + "description": "The name of the snapshot.", + "type": "string" + } + } }, "SasTokenGenerationResult": { "description": "The result of a request to generate a SAS token.", "type": "object", "properties": { - "resourceType": { - "description": "The data plane resource type that the SAS token is authorized to access.", - "type": "string", - "readOnly": true - }, "signedParameters": { "description": "The parameters to define the data plane resource scope.", "$ref": "#/definitions/SignedParameters", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json index 33019f6817ca..e977bef37042 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json @@ -5,8 +5,8 @@ "configStoreName": "contoso", "api-version": "2024-09-01-preview", "sasTokenGenerationParameters": { - "resourceType": "Kv", "signedParameters": { + "resourceType": "Kv", "key": "test*", "label": "prod", "tags": [ @@ -22,8 +22,8 @@ "responses": { "200": { "body": { - "resourceType": "Kv", "signedParameters": { + "resourceType": "Kv", "key": "test*", "label": "prod", "tags": [ From 3f94832a01a040f7560a4b49afc2f0f715c30abb Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Mon, 22 Jul 2024 16:22:11 -0400 Subject: [PATCH 12/32] Update signedParameters --- .../preview/2024-09-01-preview/appconfiguration.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 5635581b4f72..a77563b7e86c 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -2061,6 +2061,7 @@ }, "KvSignedParameters": { "description": "The parameters to define the key value resource scope that the SAS token is authorized to access.", + "type": "object", "x-ms-discriminator-value": "Kv", "allOf":[ { @@ -2088,6 +2089,7 @@ }, "SnapshotSignedParameters": { "description": "The parameters to define the snapshot resource scope that the SAS token is authorized to access.", + "type": "object", "x-ms-discriminator-value": "Snapshot", "required": [ "name" From 48d738047473e50fd954151df2723669ba0d8d73 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Tue, 23 Jul 2024 15:29:25 -0400 Subject: [PATCH 13/32] Rename SignedParameters --- .../2024-09-01-preview/appconfiguration.json | 28 ++++++++++++------- ...ConfigurationStoresSasTokenGeneration.json | 4 +-- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index a77563b7e86c..aeffd74adf6d 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -2028,8 +2028,8 @@ ], "type": "object", "properties": { - "signedParameters": { - "$ref": "#/definitions/SignedParameters" + "resourceParameters": { + "$ref": "#/definitions/ResourceParameters" }, "expires": { "description": "The time that the SAS token expires in the Universal ISO 8601 DateTime format. Max allowed expiration is 1 year from the time of token creation.", @@ -2046,7 +2046,7 @@ } } }, - "SignedParameters": { + "ResourceParameters": { "description": "The parameters to define the data plane resource scope that the SAS token is authorized to access.", "type": "object", "discriminator": "resourceType", @@ -2055,17 +2055,25 @@ ], "properties": { "resourceType": { - "type": "string" + "enum": [ + "Kv", + "Snapshot" + ], + "type": "string", + "x-ms-enum": { + "name": "ResourceType", + "modelAsString": true + } } } }, - "KvSignedParameters": { + "KvResourceParameters": { "description": "The parameters to define the key value resource scope that the SAS token is authorized to access.", "type": "object", "x-ms-discriminator-value": "Kv", "allOf":[ { - "$ref": "#/definitions/SignedParameters" + "$ref": "#/definitions/ResourceParameters" } ], "properties": { @@ -2087,7 +2095,7 @@ } } }, - "SnapshotSignedParameters": { + "SnapshotResourceParameters": { "description": "The parameters to define the snapshot resource scope that the SAS token is authorized to access.", "type": "object", "x-ms-discriminator-value": "Snapshot", @@ -2096,7 +2104,7 @@ ], "allOf":[ { - "$ref": "#/definitions/SignedParameters" + "$ref": "#/definitions/ResourceParameters" } ], "properties": { @@ -2110,9 +2118,9 @@ "description": "The result of a request to generate a SAS token.", "type": "object", "properties": { - "signedParameters": { + "resourceParameters": { "description": "The parameters to define the data plane resource scope.", - "$ref": "#/definitions/SignedParameters", + "$ref": "#/definitions/ResourceParameters", "readOnly": true }, "expires": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json index e977bef37042..35c1274d43f6 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json @@ -5,7 +5,7 @@ "configStoreName": "contoso", "api-version": "2024-09-01-preview", "sasTokenGenerationParameters": { - "signedParameters": { + "resourceParameters": { "resourceType": "Kv", "key": "test*", "label": "prod", @@ -22,7 +22,7 @@ "responses": { "200": { "body": { - "signedParameters": { + "resourceParameters": { "resourceType": "Kv", "key": "test*", "label": "prod", From 04726472cc9cb65df286e9a7fc300447ce95f568 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Tue, 23 Jul 2024 16:04:38 -0400 Subject: [PATCH 14/32] Prettier --- .../preview/2024-09-01-preview/appconfiguration.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index aeffd74adf6d..38625dca3d52 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -2071,7 +2071,7 @@ "description": "The parameters to define the key value resource scope that the SAS token is authorized to access.", "type": "object", "x-ms-discriminator-value": "Kv", - "allOf":[ + "allOf": [ { "$ref": "#/definitions/ResourceParameters" } @@ -2102,7 +2102,7 @@ "required": [ "name" ], - "allOf":[ + "allOf": [ { "$ref": "#/definitions/ResourceParameters" } From aedd92d623a3b9b9e5885e7134ab8cb0869e2d93 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Thu, 8 Aug 2024 15:59:34 -0400 Subject: [PATCH 15/32] Add EnableSasAuth --- .../2024-09-01-preview/appconfiguration.json | 19 +++- .../examples/ConfigurationStoresCreate.json | 1 + ...urationStoresCreateWithDataPlaneProxy.json | 16 +--- ...ConfigurationStoresCreateWithIdentity.json | 1 + ...tionStoresCreateWithLocalAuthDisabled.json | 1 + ...urationStoresCreateWithSasAuthEnabled.json | 81 ++++++++++++++++ ...CreateWithTelemetryAndExperimentation.json | 1 + .../examples/ConfigurationStoresGet.json | 1 + .../examples/ConfigurationStoresList.json | 2 + ...onfigurationStoresListByResourceGroup.json | 2 + .../examples/ConfigurationStoresUpdate.json | 2 + ...igurationStoresUpdateDisableLocalAuth.json | 2 + ...onfigurationStoresUpdateEnableSasAuth.json | 96 +++++++++++++++++++ ...ConfigurationStoresUpdateWithIdentity.json | 2 + 14 files changed, 211 insertions(+), 16 deletions(-) create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json create mode 100644 specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 38625dca3d52..71915a7dc087 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -215,6 +215,9 @@ }, "ConfigurationStores_Create_With_Telemetry_And_Experimentation": { "$ref": "./examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json" + }, + "ConfigurationStores_Create_With_Sas_Auth_Enabled": { + "$ref": "./examples/ConfigurationStoresCreateWithSasAuthEnabled.json" } }, "x-ms-long-running-operation": true @@ -321,6 +324,9 @@ }, "ConfigurationStores_Update_Disable_Local_Auth": { "$ref": "./examples/ConfigurationStoresUpdateDisableLocalAuth.json" + }, + "ConfigurationStores_Update_Enable_Sas_Auth": { + "$ref": "./examples/ConfigurationStoresUpdateEnableSasAuth.json" } }, "x-ms-long-running-operation": true @@ -1700,7 +1706,12 @@ "disableLocalAuth": { "type": "boolean", "default": false, - "description": "Disables all authentication methods other than AAD authentication." + "description": "Disables access key authentication." + }, + "enableSasAuth": { + "type": "boolean", + "default": false, + "description": "Enables SAS token authentication." }, "softDeleteRetentionInDays": { "type": "integer", @@ -1878,7 +1889,11 @@ }, "disableLocalAuth": { "type": "boolean", - "description": "Disables all authentication methods other than AAD authentication." + "description": "Disables access key authentication." + }, + "enableSasAuth": { + "type": "boolean", + "description": "Enables SAS token authentication." }, "publicNetworkAccess": { "description": "Control permission for data plane traffic coming from public networks while private endpoint is enabled.", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json index 11d965efb33e..da56b6b9ee7c 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json @@ -29,6 +29,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "softDeleteRetentionInDays": 30, "enablePurgeProtection": false, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json index 5c3f23e1d3f3..5543d268839d 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json @@ -32,6 +32,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "dataPlaneProxy": { "authenticationMode": "Pass-through", @@ -60,20 +61,7 @@ "type": "Microsoft.AppConfiguration/configurationStores", "properties": { "provisioningState": "Creating", - "creationDate": "2018-04-24T16:30:55+00:00", - "endpoint": "https://contoso.azconfig.io", - "encryption": { - "keyVaultProperties": { - "keyIdentifier": null, - "identityClientId": null - } - }, - "disableLocalAuth": false, - "privateEndpointConnections": [], - "dataPlaneProxy": { - "authenticationMode": "Pass-through", - "privateLinkDelegation": "Enabled" - } + "creationDate": "2018-04-24T16:30:55+00:00" }, "systemData": { "createdBy": "foo@contoso.com", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json index 0bb75a0c1cfb..152b5f132252 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json @@ -35,6 +35,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "dataPlaneProxy": { "authenticationMode": "Local", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json index 6fa3f130ee0b..0c593d4d0d87 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json @@ -29,6 +29,7 @@ } }, "disableLocalAuth": true, + "enableSasAuth": false, "privateEndpointConnections": [], "dataPlaneProxy": { "authenticationMode": "Local", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json new file mode 100644 index 000000000000..1265ff155e3f --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2024-09-01-preview", + "configStoreCreationParameters": { + "location": "westus", + "sku": { + "name": "Standard" + }, + "properties": { + "enableSasAuth": true + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "enableSasAuth": true, + "privateEndpointConnections": [], + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + } + }, + "201": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Creating", + "creationDate": "2018-04-24T16:30:55+00:00" + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json index 04dc12273ed4..4e7a341012ae 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json @@ -38,6 +38,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "softDeleteRetentionInDays": 30, "enablePurgeProtection": false, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json index 54816378a446..81d92fcbf2d4 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json @@ -20,6 +20,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json index 9abc1a602aec..e941cd3dce06 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json @@ -20,6 +20,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -61,6 +62,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json index 30508b5bbd3e..e7343e4cbeb7 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json @@ -21,6 +21,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -57,6 +58,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json index 3eb09fdb060d..30aa553f5a56 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json @@ -28,6 +28,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -68,6 +69,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json index e735cb0898d4..6ce2ddda2538 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json @@ -28,6 +28,7 @@ } }, "disableLocalAuth": true, + "enableSasAuth": false, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -66,6 +67,7 @@ } }, "disableLocalAuth": true, + "enableSasAuth": false, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json new file mode 100644 index 000000000000..2e9864f69921 --- /dev/null +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", + "resourceGroupName": "myResourceGroup", + "configStoreName": "contoso", + "api-version": "2024-09-01-preview", + "configStoreUpdateParameters": { + "sku": { + "name": "Standard" + }, + "properties": { + "enableSasAuth": true + } + } + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "enableSasAuth": true, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + } + }, + "201": { + "body": { + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Updating", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "enableSasAuth": true, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} + } + } + } +} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json index fc97978dd0bd..c9fe33f63e1c 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json @@ -34,6 +34,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -85,6 +86,7 @@ } }, "disableLocalAuth": false, + "enableSasAuth": false, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { From 191c170894f4ba83391b4ba489d0b9336ff27a9b Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Thu, 8 Aug 2024 17:48:05 -0400 Subject: [PATCH 16/32] Update sasAuth --- .../2024-09-01-preview/appconfiguration.json | 49 ++++++++++++++++--- .../examples/ConfigurationStoresCreate.json | 2 +- ...urationStoresCreateWithDataPlaneProxy.json | 2 +- ...ConfigurationStoresCreateWithIdentity.json | 2 +- ...tionStoresCreateWithLocalAuthDisabled.json | 2 +- ...urationStoresCreateWithSasAuthEnabled.json | 4 +- ...CreateWithTelemetryAndExperimentation.json | 2 +- .../examples/ConfigurationStoresGet.json | 2 +- .../examples/ConfigurationStoresList.json | 4 +- ...onfigurationStoresListByResourceGroup.json | 4 +- .../examples/ConfigurationStoresUpdate.json | 4 +- ...igurationStoresUpdateDisableLocalAuth.json | 4 +- ...onfigurationStoresUpdateEnableSasAuth.json | 6 +-- ...ConfigurationStoresUpdateWithIdentity.json | 4 +- 14 files changed, 63 insertions(+), 28 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 71915a7dc087..fec76fb8ca6a 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -1708,10 +1708,27 @@ "default": false, "description": "Disables access key authentication." }, - "enableSasAuth": { - "type": "boolean", - "default": false, - "description": "Enables SAS token authentication." + "sasAuth": { + "description": "This property manages if SAS token authentication is enabled or disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SasAuth", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "SAS token authentication is enabled." + }, + { + "value": "Disabled", + "description": "SAS token authentication is disabled." + } + ] + } }, "softDeleteRetentionInDays": { "type": "integer", @@ -1891,9 +1908,27 @@ "type": "boolean", "description": "Disables access key authentication." }, - "enableSasAuth": { - "type": "boolean", - "description": "Enables SAS token authentication." + "sasAuth": { + "description": "This property manages if SAS token authentication is enabled or disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SasAuth", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "SAS token authentication is enabled." + }, + { + "value": "Disabled", + "description": "SAS token authentication is disabled." + } + ] + } }, "publicNetworkAccess": { "description": "Control permission for data plane traffic coming from public networks while private endpoint is enabled.", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json index da56b6b9ee7c..8fb0cf7153da 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json @@ -29,7 +29,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "softDeleteRetentionInDays": 30, "enablePurgeProtection": false, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json index 5543d268839d..bf97e08d29f8 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json @@ -32,7 +32,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "dataPlaneProxy": { "authenticationMode": "Pass-through", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json index 152b5f132252..6366d3b45bdd 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json @@ -35,7 +35,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "dataPlaneProxy": { "authenticationMode": "Local", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json index 0c593d4d0d87..2a5384dcffd2 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json @@ -29,7 +29,7 @@ } }, "disableLocalAuth": true, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "dataPlaneProxy": { "authenticationMode": "Local", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json index 1265ff155e3f..291c1d36f3e2 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json @@ -10,7 +10,7 @@ "name": "Standard" }, "properties": { - "enableSasAuth": true + "sasAuth": "Enabled" } } }, @@ -29,7 +29,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": true, + "sasAuth": "Enabled", "privateEndpointConnections": [], "dataPlaneProxy": { "authenticationMode": "Local", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json index 4e7a341012ae..05006b285974 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json @@ -38,7 +38,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "softDeleteRetentionInDays": 30, "enablePurgeProtection": false, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json index 81d92fcbf2d4..49f733a5d6ac 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json @@ -20,7 +20,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json index e941cd3dce06..e94b1bd9f062 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json @@ -20,7 +20,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -62,7 +62,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json index e7343e4cbeb7..d3a796b7fe4c 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json @@ -21,7 +21,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -58,7 +58,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json index 30aa553f5a56..baaf70987fd3 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json @@ -28,7 +28,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -69,7 +69,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json index 6ce2ddda2538..a42ae6b7ba01 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json @@ -28,7 +28,7 @@ } }, "disableLocalAuth": true, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -67,7 +67,7 @@ } }, "disableLocalAuth": true, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json index 2e9864f69921..616b5302d5b8 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json @@ -9,7 +9,7 @@ "name": "Standard" }, "properties": { - "enableSasAuth": true + "sasAuth": "Enabled" } } }, @@ -28,7 +28,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": true, + "sasAuth": "Enabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -67,7 +67,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": true, + "sasAuth": "Enabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json index c9fe33f63e1c..e8706dfe4fe7 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json @@ -34,7 +34,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -86,7 +86,7 @@ } }, "disableLocalAuth": false, - "enableSasAuth": false, + "sasAuth": "Disabled", "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { From 1f5ea7d9616e54994916d7cac96c0d0a2f3e6723 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Tue, 20 Aug 2024 15:11:20 -0400 Subject: [PATCH 17/32] Update sasAuth --- .../2024-09-01-preview/appconfiguration.json | 96 +++++++++++-------- .../examples/ConfigurationStoresCreate.json | 5 +- ...urationStoresCreateWithDataPlaneProxy.json | 5 +- ...ConfigurationStoresCreateWithIdentity.json | 5 +- ...tionStoresCreateWithLocalAuthDisabled.json | 5 +- ...urationStoresCreateWithSasAuthEnabled.json | 18 +++- ...CreateWithTelemetryAndExperimentation.json | 5 +- .../examples/ConfigurationStoresGet.json | 5 +- .../examples/ConfigurationStoresList.json | 10 +- ...onfigurationStoresListByResourceGroup.json | 10 +- .../examples/ConfigurationStoresUpdate.json | 10 +- ...igurationStoresUpdateDisableLocalAuth.json | 10 +- ...onfigurationStoresUpdateEnableSasAuth.json | 32 ++++++- ...ConfigurationStoresUpdateWithIdentity.json | 10 +- 14 files changed, 165 insertions(+), 61 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index fec76fb8ca6a..d7af5cdad140 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -1709,26 +1709,8 @@ "description": "Disables access key authentication." }, "sasAuth": { - "description": "This property manages if SAS token authentication is enabled or disabled.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SasAuth", - "modelAsString": true, - "values": [ - { - "value": "Enabled", - "description": "SAS token authentication is enabled." - }, - { - "value": "Disabled", - "description": "SAS token authentication is disabled." - } - ] - } + "$ref": "#/definitions/SasAuthProperties", + "description": "The SAS authentication settings of the configuration store." }, "softDeleteRetentionInDays": { "type": "integer", @@ -1870,6 +1852,58 @@ } } }, + "SasAuthProperties": { + "type": "object", + "description": "The SAS authentication settings of the configuration store.", + "properties": { + "status": { + "description": "The status of the SAS token authentication. This property manages if SAS token authentication is enabled or disabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "SasAuth", + "modelAsString": true, + "values": [ + { + "value": "Enabled", + "description": "SAS token authentication is enabled." + }, + { + "value": "Disabled", + "description": "SAS token authentication is disabled." + } + ] + } + }, + "info": { + "description": "The information of SAS token authentication.", + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SasTokenInfo" + } + } + } + }, + "SasTokenInfo":{ + "type": "object", + "description": "The information of specific SAS token kind.", + "properties":{ + "kind": { + "description": "The kind of the SAS token.", + "$ref": "#/definitions/SasTokenKind" + }, + "lastResetTime":{ + "format": "date-time", + "description": "The last reset datetime of SAS token.", + "type": "string", + "readOnly": true + } + } + }, "ConfigurationStoreUpdateParameters": { "description": "The parameters for updating a configuration store.", "type": "object", @@ -1909,26 +1943,8 @@ "description": "Disables access key authentication." }, "sasAuth": { - "description": "This property manages if SAS token authentication is enabled or disabled.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SasAuth", - "modelAsString": true, - "values": [ - { - "value": "Enabled", - "description": "SAS token authentication is enabled." - }, - { - "value": "Disabled", - "description": "SAS token authentication is disabled." - } - ] - } + "$ref": "#/definitions/SasAuthProperties", + "description": "The SAS authentication settings of the configuration store." }, "publicNetworkAccess": { "description": "Control permission for data plane traffic coming from public networks while private endpoint is enabled.", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json index 8fb0cf7153da..cd4a65e5d91e 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json @@ -29,7 +29,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "softDeleteRetentionInDays": 30, "enablePurgeProtection": false, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json index bf97e08d29f8..f4b08098e68d 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json @@ -32,7 +32,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "dataPlaneProxy": { "authenticationMode": "Pass-through", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json index 6366d3b45bdd..0ace7a6b8acd 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json @@ -35,7 +35,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "dataPlaneProxy": { "authenticationMode": "Local", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json index 2a5384dcffd2..5d911cae0178 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json @@ -29,7 +29,10 @@ } }, "disableLocalAuth": true, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "dataPlaneProxy": { "authenticationMode": "Local", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json index 291c1d36f3e2..871ca58b9186 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json @@ -10,7 +10,9 @@ "name": "Standard" }, "properties": { - "sasAuth": "Enabled" + "sasAuth": { + "status": "Enabled" + } } } }, @@ -29,7 +31,19 @@ } }, "disableLocalAuth": false, - "sasAuth": "Enabled", + "sasAuth": { + "status": "Enabled", + "info": [ + { + "kind": "Primary", + "lastResetTime": "2018-04-24T16:30:55+00:00" + }, + { + "kind": "Secondary", + "lastResetTime": "2018-04-24T16:30:55+00:00" + } + ] + }, "privateEndpointConnections": [], "dataPlaneProxy": { "authenticationMode": "Local", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json index 05006b285974..db2c5e9ddb22 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json @@ -38,7 +38,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "softDeleteRetentionInDays": 30, "enablePurgeProtection": false, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json index 49f733a5d6ac..4a0ceeb824fd 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json @@ -20,7 +20,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json index e94b1bd9f062..4825e1d63fcb 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json @@ -20,7 +20,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -62,7 +65,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json index d3a796b7fe4c..5b779f3dd730 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json @@ -21,7 +21,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -58,7 +61,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json index baaf70987fd3..6ccd403ba313 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json @@ -28,7 +28,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -69,7 +72,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json index a42ae6b7ba01..9e12c8a5c9b0 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json @@ -28,7 +28,10 @@ } }, "disableLocalAuth": true, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -67,7 +70,10 @@ } }, "disableLocalAuth": true, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json index 616b5302d5b8..2f41c641ebb2 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json @@ -9,7 +9,9 @@ "name": "Standard" }, "properties": { - "sasAuth": "Enabled" + "sasAuth": { + "status": "Enabled" + } } } }, @@ -28,7 +30,19 @@ } }, "disableLocalAuth": false, - "sasAuth": "Enabled", + "sasAuth": { + "status": "Enabled", + "info": [ + { + "kind": "Primary", + "lastResetTime": "2018-04-24T16:30:55+00:00" + }, + { + "kind": "Secondary", + "lastResetTime": "2018-04-24T16:30:55+00:00" + } + ] + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -67,7 +81,19 @@ } }, "disableLocalAuth": false, - "sasAuth": "Enabled", + "sasAuth": { + "status": "Enabled", + "info": [ + { + "kind": "Primary", + "lastResetTime": "2018-04-24T16:30:55+00:00" + }, + { + "kind": "Secondary", + "lastResetTime": "2018-04-24T16:30:55+00:00" + } + ] + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json index e8706dfe4fe7..90886839b717 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json @@ -34,7 +34,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { @@ -86,7 +89,10 @@ } }, "disableLocalAuth": false, - "sasAuth": "Disabled", + "sasAuth": { + "status": "Dsiabled", + "info": null + }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", "dataPlaneProxy": { From b79e29ff39512c575957760adcaf44975f39e917 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Tue, 20 Aug 2024 16:37:14 -0400 Subject: [PATCH 18/32] Address comments --- .../preview/2024-09-01-preview/appconfiguration.json | 11 ++++++----- .../examples/ConfigurationStoresCreate.json | 2 +- .../ConfigurationStoresCreateWithDataPlaneProxy.json | 2 +- .../ConfigurationStoresCreateWithIdentity.json | 2 +- ...onfigurationStoresCreateWithLocalAuthDisabled.json | 2 +- ...onStoresCreateWithTelemetryAndExperimentation.json | 2 +- .../examples/ConfigurationStoresGet.json | 2 +- .../examples/ConfigurationStoresList.json | 4 ++-- .../ConfigurationStoresListByResourceGroup.json | 4 ++-- .../examples/ConfigurationStoresUpdate.json | 4 ++-- .../ConfigurationStoresUpdateDisableLocalAuth.json | 4 ++-- .../ConfigurationStoresUpdateWithIdentity.json | 4 ++-- 12 files changed, 22 insertions(+), 21 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index d7af5cdad140..2697c30f71c4 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -1864,7 +1864,7 @@ ], "type": "string", "x-ms-enum": { - "name": "SasAuth", + "name": "SasAuthStatus", "modelAsString": true, "values": [ { @@ -1879,7 +1879,7 @@ } }, "info": { - "description": "The information of SAS token authentication.", + "description": "Information about SAS tokens of each kind.", "readOnly": true, "type": "array", "items": { @@ -1890,13 +1890,14 @@ }, "SasTokenInfo":{ "type": "object", - "description": "The information of specific SAS token kind.", + "description": "Information about SAS tokens of a specific kind.", "properties":{ "kind": { "description": "The kind of the SAS token.", - "$ref": "#/definitions/SasTokenKind" + "$ref": "#/definitions/SasTokenKind", + "readOnly": true }, - "lastResetTime":{ + "lastModifiedTime":{ "format": "date-time", "description": "The last reset datetime of SAS token.", "type": "string", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json index cd4a65e5d91e..e0298f787e9f 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json @@ -30,7 +30,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json index f4b08098e68d..3e23a7ec8abd 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json @@ -33,7 +33,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json index 0ace7a6b8acd..bb2cb1d82293 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json @@ -36,7 +36,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json index 5d911cae0178..c0f352270088 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json @@ -30,7 +30,7 @@ }, "disableLocalAuth": true, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json index db2c5e9ddb22..f8d541ca3e47 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json @@ -39,7 +39,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json index 4a0ceeb824fd..5bc24664e85a 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json @@ -21,7 +21,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json index 4825e1d63fcb..34a5e577b6ec 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json @@ -21,7 +21,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], @@ -66,7 +66,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json index 5b779f3dd730..cb0e98448a67 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json @@ -22,7 +22,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], @@ -62,7 +62,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json index 6ccd403ba313..4322c8e7e2eb 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json @@ -29,7 +29,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], @@ -73,7 +73,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json index 9e12c8a5c9b0..625a74fcde81 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json @@ -29,7 +29,7 @@ }, "disableLocalAuth": true, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], @@ -71,7 +71,7 @@ }, "disableLocalAuth": true, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json index 90886839b717..e8b3b8dc756c 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json @@ -35,7 +35,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], @@ -90,7 +90,7 @@ }, "disableLocalAuth": false, "sasAuth": { - "status": "Dsiabled", + "status": "Disabled", "info": null }, "privateEndpointConnections": [], From ff29cbc4d7f5ace9e39eecb5173230f6d18f8d81 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Tue, 20 Aug 2024 16:42:34 -0400 Subject: [PATCH 19/32] Address comments --- .../preview/2024-09-01-preview/appconfiguration.json | 2 +- .../ConfigurationStoresCreateWithSasAuthEnabled.json | 4 ++-- .../examples/ConfigurationStoresUpdateEnableSasAuth.json | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 2697c30f71c4..f15f67d01327 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -1899,7 +1899,7 @@ }, "lastModifiedTime":{ "format": "date-time", - "description": "The last reset datetime of SAS token.", + "description": "The last modified datetime of SAS token.", "type": "string", "readOnly": true } diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json index 871ca58b9186..29a29ea41add 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json @@ -36,11 +36,11 @@ "info": [ { "kind": "Primary", - "lastResetTime": "2018-04-24T16:30:55+00:00" + "lastModifiedTime": "2018-04-24T16:30:55+00:00" }, { "kind": "Secondary", - "lastResetTime": "2018-04-24T16:30:55+00:00" + "lastModifiedTime": "2018-04-24T16:30:55+00:00" } ] }, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json index 2f41c641ebb2..7fa85c754cf8 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json @@ -35,11 +35,11 @@ "info": [ { "kind": "Primary", - "lastResetTime": "2018-04-24T16:30:55+00:00" + "lastModifiedTime": "2018-04-24T16:30:55+00:00" }, { "kind": "Secondary", - "lastResetTime": "2018-04-24T16:30:55+00:00" + "lastModifiedTime": "2018-04-24T16:30:55+00:00" } ] }, @@ -86,11 +86,11 @@ "info": [ { "kind": "Primary", - "lastResetTime": "2018-04-24T16:30:55+00:00" + "lastModifiedTime": "2018-04-24T16:30:55+00:00" }, { "kind": "Secondary", - "lastResetTime": "2018-04-24T16:30:55+00:00" + "lastModifiedTime": "2018-04-24T16:30:55+00:00" } ] }, From 696d45c0afb86ed5bc7cb8b562b0f2a2512a9942 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Tue, 20 Aug 2024 16:52:52 -0400 Subject: [PATCH 20/32] Prettier --- .../preview/2024-09-01-preview/appconfiguration.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index f15f67d01327..461656ec221d 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -1888,16 +1888,16 @@ } } }, - "SasTokenInfo":{ + "SasTokenInfo": { "type": "object", "description": "Information about SAS tokens of a specific kind.", - "properties":{ + "properties": { "kind": { "description": "The kind of the SAS token.", "$ref": "#/definitions/SasTokenKind", "readOnly": true }, - "lastModifiedTime":{ + "lastModifiedTime": { "format": "date-time", "description": "The last modified datetime of SAS token.", "type": "string", From 153ecd933f7b727cc8916bdb5c981efe65ed38cc Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Tue, 20 Aug 2024 20:48:31 -0400 Subject: [PATCH 21/32] Update based on discussion --- .../2024-09-01-preview/appconfiguration.json | 73 ++++++++++--------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 461656ec221d..64435ac6fcf7 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -534,7 +534,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/resetSasTokens": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppConfiguration/configurationStores/{configStoreName}/resetSasKind": { "post": { "tags": [ "ConfigurationStores" @@ -555,12 +555,12 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "name": "resetSasTokensParameters", + "name": "resetSasKindParameters", "in": "body", - "description": "The object containing information for the SAS token reset request.", + "description": "The object containing information for the SAS kind reset request.", "required": true, "schema": { - "$ref": "#/definitions/ResetSasTokensParameters" + "$ref": "#/definitions/ResetSasKindParameters" } } ], @@ -1878,26 +1878,26 @@ ] } }, - "info": { - "description": "Information about SAS tokens of each kind.", + "kinds": { + "description": "Information about different kinds of SAS token.", "readOnly": true, "type": "array", "items": { - "$ref": "#/definitions/SasTokenInfo" + "$ref": "#/definitions/SasTokenKindInfo" } } } }, - "SasTokenInfo": { + "SasTokenKindInfo": { "type": "object", - "description": "Information about SAS tokens of a specific kind.", + "description": "Information about a specific kind of SAS token.", "properties": { - "kind": { + "name": { "description": "The kind of the SAS token.", - "$ref": "#/definitions/SasTokenKind", + "$ref": "#/definitions/SasKind", "readOnly": true }, - "lastModifiedTime": { + "lastModifiedAt": { "format": "date-time", "description": "The last modified datetime of SAS token.", "type": "string", @@ -2091,12 +2091,13 @@ "description": "Parameters used for generating SAS token.", "required": [ "expires", - "kind" + "kind", + "sasTokenScope" ], "type": "object", "properties": { - "resourceParameters": { - "$ref": "#/definitions/ResourceParameters" + "sasTokenScope": { + "$ref": "#/definitions/SasTokenScope" }, "expires": { "description": "The time that the SAS token expires in the Universal ISO 8601 DateTime format. Max allowed expiration is 1 year from the time of token creation.", @@ -2109,12 +2110,12 @@ }, "kind": { "description": "The kind of the SAS token.", - "$ref": "#/definitions/SasTokenKind" + "$ref": "#/definitions/SasKind" } } }, - "ResourceParameters": { - "description": "The parameters to define the data plane resource scope that the SAS token is authorized to access.", + "SasTokenScope": { + "description": "The data plane resource scope that the SAS token is authorized to access.", "type": "object", "discriminator": "resourceType", "required": [ @@ -2134,13 +2135,13 @@ } } }, - "KvResourceParameters": { - "description": "The parameters to define the key value resource scope that the SAS token is authorized to access.", + "KvSasTokenScope": { + "description": "The key value resource scope that the SAS token is authorized to access.", "type": "object", "x-ms-discriminator-value": "Kv", "allOf": [ { - "$ref": "#/definitions/ResourceParameters" + "$ref": "#/definitions/SasTokenScope" } ], "properties": { @@ -2162,8 +2163,8 @@ } } }, - "SnapshotResourceParameters": { - "description": "The parameters to define the snapshot resource scope that the SAS token is authorized to access.", + "SnapshotSasTokenScope": { + "description": "The snapshot resource scope that the SAS token is authorized to access.", "type": "object", "x-ms-discriminator-value": "Snapshot", "required": [ @@ -2171,7 +2172,7 @@ ], "allOf": [ { - "$ref": "#/definitions/ResourceParameters" + "$ref": "#/definitions/SasTokenScope" } ], "properties": { @@ -2185,9 +2186,9 @@ "description": "The result of a request to generate a SAS token.", "type": "object", "properties": { - "resourceParameters": { - "description": "The parameters to define the data plane resource scope.", - "$ref": "#/definitions/ResourceParameters", + "sasTokenScope": { + "description": "The data plane resource scope that the SAS token is authorized to access.", + "$ref": "#/definitions/SasTokenScope", "readOnly": true }, "expires": { @@ -2203,7 +2204,7 @@ }, "kind": { "description": "The kind of the SAS token.", - "$ref": "#/definitions/SasTokenKind", + "$ref": "#/definitions/SasKind", "readOnly": true }, "value": { @@ -2215,20 +2216,20 @@ } } }, - "ResetSasTokensParameters": { - "description": "Parameters used for resetting SAS token.", + "ResetSasKindParameters": { + "description": "Parameters used for resetting SAS kind.", "required": [ - "kind" + "name" ], "type": "object", "properties": { - "kind": { - "description": "The kind of the SAS token.", - "$ref": "#/definitions/SasTokenKind" + "name": { + "description": "The name of the SAS kind.", + "$ref": "#/definitions/SasKind" } } }, - "SasTokenKind": { + "SasKind": { "description": "The kind of the SAS token.", "enum": [ "Primary", @@ -2236,7 +2237,7 @@ ], "type": "string", "x-ms-enum": { - "name": "SasTokenKind", + "name": "SasKind", "modelAsString": true } }, From c75885dd2874caf75d944ccf6c5554e9bc13e1fc Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Wed, 21 Aug 2024 17:37:04 -0400 Subject: [PATCH 22/32] Update based on feedback --- .../2024-09-01-preview/appconfiguration.json | 32 +++++++++---------- .../examples/ConfigurationStoresCreate.json | 4 +-- ...urationStoresCreateWithDataPlaneProxy.json | 4 +-- ...ConfigurationStoresCreateWithIdentity.json | 4 +-- ...tionStoresCreateWithLocalAuthDisabled.json | 4 +-- ...figurationStoresCreateWithSasEnabled.json} | 14 ++++---- ...CreateWithTelemetryAndExperimentation.json | 4 +-- .../examples/ConfigurationStoresGet.json | 4 +-- .../examples/ConfigurationStoresList.json | 8 ++--- ...onfigurationStoresListByResourceGroup.json | 8 ++--- ...n => ConfigurationStoresResetSasKind.json} | 4 +-- ...ConfigurationStoresSasTokenGeneration.json | 4 +-- .../examples/ConfigurationStoresUpdate.json | 8 ++--- ...igurationStoresUpdateDisableLocalAuth.json | 8 ++--- ...> ConfigurationStoresUpdateEnableSas.json} | 26 +++++++-------- ...ConfigurationStoresUpdateWithIdentity.json | 8 ++--- 16 files changed, 72 insertions(+), 72 deletions(-) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/{ConfigurationStoresCreateWithSasAuthEnabled.json => ConfigurationStoresCreateWithSasEnabled.json} (90%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/{ConfigurationStoresResetSasTokens.json => ConfigurationStoresResetSasKind.json} (81%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/{ConfigurationStoresUpdateEnableSasAuth.json => ConfigurationStoresUpdateEnableSas.json} (86%) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 64435ac6fcf7..480fe3f1048e 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -217,7 +217,7 @@ "$ref": "./examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json" }, "ConfigurationStores_Create_With_Sas_Auth_Enabled": { - "$ref": "./examples/ConfigurationStoresCreateWithSasAuthEnabled.json" + "$ref": "./examples/ConfigurationStoresCreateWithSasEnabled.json" } }, "x-ms-long-running-operation": true @@ -326,7 +326,7 @@ "$ref": "./examples/ConfigurationStoresUpdateDisableLocalAuth.json" }, "ConfigurationStores_Update_Enable_Sas_Auth": { - "$ref": "./examples/ConfigurationStoresUpdateEnableSasAuth.json" + "$ref": "./examples/ConfigurationStoresUpdateEnableSas.json" } }, "x-ms-long-running-operation": true @@ -540,7 +540,7 @@ "ConfigurationStores" ], "description": "Reset all SAS tokens of a given kind (primary/secondary).", - "operationId": "ConfigurationStores_ResetSasTokens", + "operationId": "ConfigurationStores_ResetSasKind", "parameters": [ { "$ref": "#/parameters/SubscriptionIdParameter" @@ -576,8 +576,8 @@ } }, "x-ms-examples": { - "ConfigurationStores_ResetSasTokens": { - "$ref": "./examples/ConfigurationStoresResetSasTokens.json" + "ConfigurationStores_ResetSasKind": { + "$ref": "./examples/ConfigurationStoresResetSasKind.json" } } } @@ -1708,8 +1708,8 @@ "default": false, "description": "Disables access key authentication." }, - "sasAuth": { - "$ref": "#/definitions/SasAuthProperties", + "sas": { + "$ref": "#/definitions/SasProperties", "description": "The SAS authentication settings of the configuration store." }, "softDeleteRetentionInDays": { @@ -1852,7 +1852,7 @@ } } }, - "SasAuthProperties": { + "SasProperties": { "type": "object", "description": "The SAS authentication settings of the configuration store.", "properties": { @@ -1864,7 +1864,7 @@ ], "type": "string", "x-ms-enum": { - "name": "SasAuthStatus", + "name": "SasStatus", "modelAsString": true, "values": [ { @@ -1883,12 +1883,12 @@ "readOnly": true, "type": "array", "items": { - "$ref": "#/definitions/SasTokenKindInfo" + "$ref": "#/definitions/SasKindInfo" } } } }, - "SasTokenKindInfo": { + "SasKindInfo": { "type": "object", "description": "Information about a specific kind of SAS token.", "properties": { @@ -1943,8 +1943,8 @@ "type": "boolean", "description": "Disables access key authentication." }, - "sasAuth": { - "$ref": "#/definitions/SasAuthProperties", + "sas": { + "$ref": "#/definitions/SasProperties", "description": "The SAS authentication settings of the configuration store." }, "publicNetworkAccess": { @@ -2219,12 +2219,12 @@ "ResetSasKindParameters": { "description": "Parameters used for resetting SAS kind.", "required": [ - "name" + "kind" ], "type": "object", "properties": { - "name": { - "description": "The name of the SAS kind.", + "kind": { + "description": "The kind of the SAS token.", "$ref": "#/definitions/SasKind" } } diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json index e0298f787e9f..30352a36192d 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json @@ -29,9 +29,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "softDeleteRetentionInDays": 30, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json index 3e23a7ec8abd..217c332be468 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json @@ -32,9 +32,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json index bb2cb1d82293..b7db577f2b63 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json @@ -35,9 +35,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json index c0f352270088..34ad83c4fd05 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json @@ -29,9 +29,9 @@ } }, "disableLocalAuth": true, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "dataPlaneProxy": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasEnabled.json similarity index 90% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasEnabled.json index 29a29ea41add..8f13faab6d13 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasAuthEnabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasEnabled.json @@ -10,7 +10,7 @@ "name": "Standard" }, "properties": { - "sasAuth": { + "sas": { "status": "Enabled" } } @@ -31,16 +31,16 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Enabled", - "info": [ + "kinds": [ { - "kind": "Primary", - "lastModifiedTime": "2018-04-24T16:30:55+00:00" + "name": "Primary", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" }, { - "kind": "Secondary", - "lastModifiedTime": "2018-04-24T16:30:55+00:00" + "name": "Secondary", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" } ] }, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json index f8d541ca3e47..e21e621fdb4a 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json @@ -38,9 +38,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "softDeleteRetentionInDays": 30, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json index 5bc24664e85a..eddc400fa6f5 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json @@ -20,9 +20,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json index 34a5e577b6ec..de7d99e949b3 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json @@ -20,9 +20,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", @@ -65,9 +65,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json index cb0e98448a67..a8484d0facb8 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json @@ -21,9 +21,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", @@ -61,9 +61,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasTokens.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasKind.json similarity index 81% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasTokens.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasKind.json index 850825be9323..bd7180200744 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasTokens.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasKind.json @@ -4,8 +4,8 @@ "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", "api-version": "2024-09-01-preview", - "resetSasTokensParameters": { - "kind": "Primary" + "resetSasKindParameters": { + "name": "Primary" } }, "responses": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json index 35c1274d43f6..f4010b7d85b1 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json @@ -5,7 +5,7 @@ "configStoreName": "contoso", "api-version": "2024-09-01-preview", "sasTokenGenerationParameters": { - "resourceParameters": { + "sasTokenScope": { "resourceType": "Kv", "key": "test*", "label": "prod", @@ -22,7 +22,7 @@ "responses": { "200": { "body": { - "resourceParameters": { + "sasTokenScope": { "resourceType": "Kv", "key": "test*", "label": "prod", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json index 4322c8e7e2eb..0db103fe74b5 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json @@ -28,9 +28,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", @@ -72,9 +72,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json index 625a74fcde81..641c81c89f19 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json @@ -28,9 +28,9 @@ } }, "disableLocalAuth": true, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", @@ -70,9 +70,9 @@ } }, "disableLocalAuth": true, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSas.json similarity index 86% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSas.json index 7fa85c754cf8..4cfdd64e8b12 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSasAuth.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSas.json @@ -9,7 +9,7 @@ "name": "Standard" }, "properties": { - "sasAuth": { + "sas": { "status": "Enabled" } } @@ -30,16 +30,16 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Enabled", - "info": [ + "kinds": [ { - "kind": "Primary", - "lastModifiedTime": "2018-04-24T16:30:55+00:00" + "name": "Primary", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" }, { - "kind": "Secondary", - "lastModifiedTime": "2018-04-24T16:30:55+00:00" + "name": "Secondary", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" } ] }, @@ -81,16 +81,16 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Enabled", - "info": [ + "kinds": [ { - "kind": "Primary", - "lastModifiedTime": "2018-04-24T16:30:55+00:00" + "name": "Primary", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" }, { - "kind": "Secondary", - "lastModifiedTime": "2018-04-24T16:30:55+00:00" + "name": "Secondary", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" } ] }, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json index e8b3b8dc756c..8932f9941a7c 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json @@ -34,9 +34,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", @@ -89,9 +89,9 @@ } }, "disableLocalAuth": false, - "sasAuth": { + "sas": { "status": "Disabled", - "info": null + "kinds": [] }, "privateEndpointConnections": [], "publicNetworkAccess": "Disabled", From cb1e93f7be5c61924ad0e225c53eb2613b22de16 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Wed, 21 Aug 2024 20:12:05 -0400 Subject: [PATCH 23/32] Update based on feedback --- .../preview/2024-09-01-preview/appconfiguration.json | 4 ++-- ...neration.json => ConfigurationStoresGenerateSasToken.json} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/{ConfigurationStoresSasTokenGeneration.json => ConfigurationStoresGenerateSasToken.json} (100%) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 480fe3f1048e..d7725f5b3f99 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -528,8 +528,8 @@ } }, "x-ms-examples": { - "ConfigurationStores_SasTokenGeneration": { - "$ref": "./examples/ConfigurationStoresSasTokenGeneration.json" + "ConfigurationStores_GenerateSasToken": { + "$ref": "./examples/ConfigurationStoresGenerateSasToken.json" } } } diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGenerateSasToken.json similarity index 100% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresSasTokenGeneration.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGenerateSasToken.json From a63ade4552509ba47ba6fa70d985d592fb2461ae Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Thu, 22 Aug 2024 13:22:39 -0400 Subject: [PATCH 24/32] Update based on feedback --- .../preview/2024-09-01-preview/appconfiguration.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index d7725f5b3f99..64c7a10c1833 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -2219,11 +2219,11 @@ "ResetSasKindParameters": { "description": "Parameters used for resetting SAS kind.", "required": [ - "kind" + "name" ], "type": "object", "properties": { - "kind": { + "name": { "description": "The kind of the SAS token.", "$ref": "#/definitions/SasKind" } From bc7c607d8a54a2a89ec162310f0bb83756b8290e Mon Sep 17 00:00:00 2001 From: HaiyiWen Date: Mon, 9 Sep 2024 14:20:59 -0400 Subject: [PATCH 25/32] Update specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json Co-authored-by: Avani Gupta --- .../preview/2024-09-01-preview/appconfiguration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 64c7a10c1833..b0dcd86aa193 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -1899,7 +1899,7 @@ }, "lastModifiedAt": { "format": "date-time", - "description": "The last modified datetime of SAS token.", + "description": "The last reset time of all tokens of the specified SAS kind.", "type": "string", "readOnly": true } From b629e41fe903085d2b0dde522ac2936df6f71a73 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Fri, 20 Sep 2024 17:34:41 -0400 Subject: [PATCH 26/32] Update reset sas key response body --- .../2024-09-01-preview/appconfiguration.json | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 36612059057b..162f76eab2fd 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -568,7 +568,7 @@ "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/ResetSasKindResult" + "$ref": "#/definitions/SasKindInfo" } }, "default": { @@ -2244,23 +2244,6 @@ "modelAsString": true } }, - "ResetSasKindResult": { - "description": "The result of a request to reset SAS kind.", - "type": "object", - "properties": { - "name": { - "description": "The kind of the SAS token.", - "$ref": "#/definitions/SasKind", - "readOnly": true - }, - "lastModifiedAt":{ - "format": "date-time", - "description": "The last time a reset operation was performed on the given SAS kind.", - "type": "string", - "readOnly": true - } - } - }, "KeyValueListResult": { "description": "The result of a request to list key-values.", "type": "object", From 17c7e05ff467f9adac742dbd831f080d1d20868a Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Fri, 20 Sep 2024 17:53:17 -0400 Subject: [PATCH 27/32] Fix cross version change --- .../preview/2024-09-01-preview/appconfiguration.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 162f76eab2fd..b3eabb63c5ac 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -3011,6 +3011,7 @@ "id": { "description": "The resource ID.", "type": "string", + "format": "arm-id", "readOnly": true }, "name": { From ff6c6cc8b69e934b7ea7e1bd5779a8d400df1188 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Thu, 26 Sep 2024 16:46:16 -0400 Subject: [PATCH 28/32] Update reset sas kind response --- .../2024-09-01-preview/appconfiguration.json | 2 +- .../ConfigurationStoresResetSasKind.json | 54 ++++++++++++++++++- 2 files changed, 53 insertions(+), 3 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index b3eabb63c5ac..30a652e53ad1 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -568,7 +568,7 @@ "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/SasKindInfo" + "$ref": "#/definitions/ConfigurationStore" } }, "default": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasKind.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasKind.json index 41cb681bd403..5f9ac67fa65c 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasKind.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasKind.json @@ -11,8 +11,58 @@ "responses": { "200": { "body": { - "name": "Primary", - "lastModifiedAt": "2024-09-01T00:00:00" + "type": "Microsoft.AppConfiguration/configurationStores", + "properties": { + "provisioningState": "Succeeded", + "creationDate": "2018-04-24T16:30:55+00:00", + "endpoint": "https://contoso.azconfig.io", + "encryption": { + "keyVaultProperties": { + "keyIdentifier": null, + "identityClientId": null + } + }, + "disableLocalAuth": false, + "sas": { + "status": "Enabled", + "kinds": [ + { + "name": "Primary", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + { + "name": "Secondary", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + } + ] + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled", + "dataPlaneProxy": { + "authenticationMode": "Local", + "privateLinkDelegation": "Disabled" + } + }, + "systemData": { + "createdBy": "foo@contoso.com", + "createdByType": "User", + "createdAt": "2018-04-24T16:30:55+00:00", + "lastModifiedBy": "foo@contoso.com", + "lastModifiedByType": "User", + "lastModifiedAt": "2018-04-24T16:30:55+00:00" + }, + "sku": { + "name": "Standard" + }, + "identity": { + "principalId": "AAAAAAAA-AAAA-AAAA-AAAA-AAAAAAAAAAAA", + "tenantId": "BBBBBBBB-BBBB-BBBB-BBBB-BBBBBBBBBBBB", + "type": "SystemAssigned" + }, + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", + "name": "contoso", + "location": "westus", + "tags": {} } } } From 4bfcc438d46847c7a44ac4c9823728802afad608 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Mon, 30 Sep 2024 15:21:20 -0400 Subject: [PATCH 29/32] Address comments --- .../2024-09-01-preview/appconfiguration.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json index 30a652e53ad1..909baf6f72cb 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json @@ -539,7 +539,7 @@ "tags": [ "ConfigurationStores" ], - "description": "Reset all SAS tokens of a given kind (primary/secondary).", + "description": "Reset SAS kind to invalidate all previously generated SAS tokens of the specified kind.", "operationId": "ConfigurationStores_ResetSasKind", "parameters": [ { @@ -1497,7 +1497,7 @@ "tags": [ "Snapshots" ], - "description": "Gets the properties of the specified snapshot. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead.", + "description": "Gets the properties of the specified snapshot. NOTE: This operation is intended for use in Azure Resource Manager (ARM) Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead.", "operationId": "Snapshots_Get", "parameters": [ { @@ -1540,7 +1540,7 @@ "tags": [ "Snapshots" ], - "description": "Creates a snapshot. NOTE: This operation is intended for use in ARM Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead.", + "description": "Creates a snapshot. NOTE: This operation is intended for use in Azure Resource Manager (ARM) Template deployments. For all other scenarios involving App Configuration snapshots the data plane API should be used instead.", "operationId": "Snapshots_Create", "parameters": [ { @@ -1812,13 +1812,13 @@ }, { "value": "Pass-through", - "description": "The pass-through authentication mode. User identity will be passed through from ARM, requiring user to have data plane action permissions (Available via App Configuration Data Owner/ App Configuration Data Reader)." + "description": "The pass-through authentication mode. User identity will be passed through from Azure Resource Manager (ARM), requiring user to have data plane action permissions (Available via App Configuration Data Owner/ App Configuration Data Reader)." } ] } }, "privateLinkDelegation": { - "description": "The data plane proxy private link delegation. This property manages if a request from delegated ARM private link is allowed when the data plane resource requires private link.", + "description": "The data plane proxy private link delegation. This property manages if a request from delegated Azure Resource Manager (ARM) private link is allowed when the data plane resource requires private link.", "enum": [ "Enabled", "Disabled" @@ -1830,7 +1830,7 @@ "values": [ { "value": "Enabled", - "description": "ARM private endpoint is required if the resource requires private link." + "description": "Azure Resource Manager (ARM) private endpoint is required if the resource requires private link." }, { "value": "Disabled", @@ -3129,7 +3129,7 @@ "readOnly": true }, "tags": { - "description": "The tags of the snapshot. NOTE: These are data plane tags, not ARM tags.", + "description": "The tags of the snapshot. NOTE: These are data plane tags, not Azure Resource Manager (ARM) tags.", "type": "object", "additionalProperties": { "type": "string" From ca6f035b749619500ae543a7c17dbf09be04e641 Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Wed, 16 Oct 2024 12:53:33 -0400 Subject: [PATCH 30/32] Rename 2024-09-01-preview to 2024-06-01-preivew, add location header to delete 202 response --- .../appconfiguration.json | 79 +++++++++++++++++-- .../examples/CheckNameAvailable.json | 2 +- .../examples/CheckNameNotAvailable.json | 2 +- .../examples/ConfigurationStoresCreate.json | 2 +- .../ConfigurationStoresCreateKeyValue.json | 2 +- .../ConfigurationStoresCreateReplica.json | 2 +- .../ConfigurationStoresCreateSnapshot.json | 2 +- ...urationStoresCreateWithDataPlaneProxy.json | 2 +- ...ConfigurationStoresCreateWithIdentity.json | 2 +- ...tionStoresCreateWithLocalAuthDisabled.json | 2 +- ...nfigurationStoresCreateWithSasEnabled.json | 2 +- ...CreateWithTelemetryAndExperimentation.json | 2 +- .../examples/ConfigurationStoresDelete.json | 5 +- .../ConfigurationStoresDeleteKeyValue.json | 5 +- ...StoresDeletePrivateEndpointConnection.json | 5 +- .../ConfigurationStoresDeleteReplica.json | 5 +- .../ConfigurationStoresGenerateSasToken.json | 2 +- .../examples/ConfigurationStoresGet.json | 2 +- .../ConfigurationStoresGetKeyValue.json | 2 +- ...ionStoresGetPrivateEndpointConnection.json | 2 +- .../ConfigurationStoresGetReplica.json | 2 +- .../ConfigurationStoresGetSnapshot.json | 2 +- .../examples/ConfigurationStoresList.json | 2 +- ...onfigurationStoresListByResourceGroup.json | 2 +- .../examples/ConfigurationStoresListKeys.json | 2 +- ...nStoresListPrivateEndpointConnections.json | 2 +- .../ConfigurationStoresListReplicas.json | 2 +- .../ConfigurationStoresRegenerateKey.json | 2 +- .../ConfigurationStoresResetSasKind.json | 2 +- .../examples/ConfigurationStoresUpdate.json | 2 +- ...igurationStoresUpdateDisableLocalAuth.json | 2 +- .../ConfigurationStoresUpdateEnableSas.json | 2 +- ...StoresUpdatePrivateEndpointConnection.json | 2 +- ...ConfigurationStoresUpdateWithIdentity.json | 2 +- .../DeletedConfigurationStoresGet.json | 2 +- .../DeletedConfigurationStoresList.json | 2 +- .../DeletedConfigurationStoresPurge.json | 5 +- .../examples/OperationsList.json | 2 +- .../examples/PrivateLinkResourceGet.json | 2 +- ...LinkResourcesListByConfigurationStore.json | 2 +- .../examples/RegionalCheckNameAvailable.json | 2 +- .../RegionalCheckNameNotAvailable.json | 2 +- .../resource-manager/readme.md | 10 +-- 43 files changed, 130 insertions(+), 56 deletions(-) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/appconfiguration.json (97%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/CheckNameAvailable.json (90%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/CheckNameNotAvailable.json (90%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresCreate.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresCreateKeyValue.json (96%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresCreateReplica.json (97%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresCreateSnapshot.json (97%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresCreateWithDataPlaneProxy.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresCreateWithIdentity.json (99%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresCreateWithSasEnabled.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresDelete.json (53%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresDeleteKeyValue.json (54%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresDeletePrivateEndpointConnection.json (55%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresDeleteReplica.json (54%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresGenerateSasToken.json (96%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresGet.json (97%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresGetKeyValue.json (95%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresGetPrivateEndpointConnection.json (96%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresGetReplica.json (96%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresGetSnapshot.json (96%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresList.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresListByResourceGroup.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresListKeys.json (97%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresListPrivateEndpointConnections.json (96%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresListReplicas.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresRegenerateKey.json (93%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresResetSasKind.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresUpdate.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresUpdateDisableLocalAuth.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresUpdateEnableSas.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json (98%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/ConfigurationStoresUpdateWithIdentity.json (99%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/DeletedConfigurationStoresGet.json (95%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/DeletedConfigurationStoresList.json (97%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/DeletedConfigurationStoresPurge.json (52%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/OperationsList.json (99%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/PrivateLinkResourceGet.json (95%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/PrivateLinkResourcesListByConfigurationStore.json (95%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/RegionalCheckNameAvailable.json (91%) rename specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/{2024-09-01-preview => 2024-06-01-preview}/examples/RegionalCheckNameNotAvailable.json (91%) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/appconfiguration.json similarity index 97% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/appconfiguration.json index 909baf6f72cb..f4ae63b0d7af 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/appconfiguration.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2024-09-01-preview", + "version": "2024-06-01-preview", "title": "AppConfigurationManagementClient" }, "host": "management.azure.com", @@ -247,7 +247,22 @@ "description": "The request was successful; the request was well-formed and received properly." }, "202": { - "description": "The request was successful; the operation will complete asynchronously." + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "URL to query for status of the operation.", + "type": "string" + }, + "Location": { + "description": "URL to query for the operation result", + "type": "string" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "Indicates how long the client should wait before polling the URL in the Location or Azure-AsyncOperation header." + } + } }, "204": { "description": "No Content - the specified resource was not found." @@ -816,7 +831,22 @@ "description": "The request was successful; the request was well-formed and received properly." }, "202": { - "description": "The request was successful; the operation will complete asynchronously." + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "URL to query for status of the operation.", + "type": "string" + }, + "Location": { + "description": "URL to query for the operation result", + "type": "string" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "Indicates how long the client should wait before polling the URL in the Location or Azure-AsyncOperation header." + } + } }, "204": { "description": "No Content - the specified resource was not found." @@ -1066,7 +1096,22 @@ "description": "The request was successful; the request was well-formed and received properly." }, "202": { - "description": "The request was successful; the operation will complete asynchronously." + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "URL to query for status of the operation.", + "type": "string" + }, + "Location": { + "description": "URL to query for the operation result", + "type": "string" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "Indicates how long the client should wait before polling the URL in the Location or Azure-AsyncOperation header." + } + } }, "204": { "description": "No Content - the specified resource was not found." @@ -1194,7 +1239,22 @@ "description": "The request was successful; the request was well-formed and received properly." }, "202": { - "description": "The request was successful; the operation will complete asynchronously." + "description": "The request was successful; the operation will complete asynchronously.", + "headers": { + "Azure-AsyncOperation": { + "description": "URL to query for status of the operation.", + "type": "string" + }, + "Location": { + "description": "URL to query for the operation result", + "type": "string" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "Indicates how long the client should wait before polling the URL in the Location or Azure-AsyncOperation header." + } + } }, "204": { "description": "No Content - the specified resource was not found." @@ -1468,6 +1528,15 @@ "Azure-AsyncOperation": { "description": "URL to query for status of the operation.", "type": "string" + }, + "Location": { + "description": "URL to query for the operation result", + "type": "string" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "Indicates how long the client should wait before polling the URL in the Location or Azure-AsyncOperation header." } } }, diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/CheckNameAvailable.json similarity index 90% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameAvailable.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/CheckNameAvailable.json index 31f58ba82905..01a9909ccb84 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameAvailable.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/CheckNameAvailable.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "checkNameAvailabilityParameters": { "name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameNotAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/CheckNameNotAvailable.json similarity index 90% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameNotAvailable.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/CheckNameNotAvailable.json index ba7d7c17bae5..a2696aa09437 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/CheckNameNotAvailable.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/CheckNameNotAvailable.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "checkNameAvailabilityParameters": { "name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreate.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreate.json index 30352a36192d..3abccafe4209 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreate.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "configStoreCreationParameters": { "location": "westus", "sku": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateKeyValue.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateKeyValue.json similarity index 96% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateKeyValue.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateKeyValue.json index 601bf4a44371..a0a506eaa089 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateKeyValue.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateKeyValue.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "keyValueName": "myKey$myLabel", "keyValueParameters": { "properties": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateReplica.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateReplica.json similarity index 97% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateReplica.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateReplica.json index e4ee528ad5db..d75646111c5f 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateReplica.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateReplica.json @@ -7,7 +7,7 @@ "replicaCreationParameters": { "location": "eastus" }, - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateSnapshot.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateSnapshot.json similarity index 97% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateSnapshot.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateSnapshot.json index 1b52514521ca..463c305f4f2e 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateSnapshot.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateSnapshot.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "snapshotName": "mySnapshot", "body": { "properties": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json index 217c332be468..9c0d63148e68 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "configStoreCreationParameters": { "location": "westus", "sku": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithIdentity.json similarity index 99% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithIdentity.json index b7db577f2b63..2938d2d8ff72 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithIdentity.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "configStoreCreationParameters": { "location": "westus", "sku": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json index 34ad83c4fd05..43e4e158dfb3 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "configStoreCreationParameters": { "location": "westus", "sku": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasEnabled.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithSasEnabled.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasEnabled.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithSasEnabled.json index 8f13faab6d13..7b34b3aba112 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithSasEnabled.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithSasEnabled.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "configStoreCreationParameters": { "location": "westus", "sku": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json index e21e621fdb4a..ace5a8ee18bc 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresCreateWithTelemetryAndExperimentation.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "configStoreCreationParameters": { "location": "westus", "sku": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDelete.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDelete.json similarity index 53% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDelete.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDelete.json index 267b3ff68c27..7dc12fa9fd35 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDelete.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDelete.json @@ -3,13 +3,14 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-09-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2024-06-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-06-01-preview" } }, "204": {} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteKeyValue.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDeleteKeyValue.json similarity index 54% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteKeyValue.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDeleteKeyValue.json index 2acff90e31a0..4f51446fd0c1 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteKeyValue.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDeleteKeyValue.json @@ -3,14 +3,15 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "keyValueName": "myKey$myLabel" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-09-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2024-06-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-06-01-preview" } }, "204": {} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json similarity index 55% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json index 3418c308ab2f..a88dd1a01e12 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json @@ -4,13 +4,14 @@ "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", "privateEndpointConnectionName": "myConnection", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-09-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2024-06-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-06-01-preview" } }, "204": {} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteReplica.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDeleteReplica.json similarity index 54% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteReplica.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDeleteReplica.json index bec046f5cc1e..4b93bd16c319 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresDeleteReplica.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresDeleteReplica.json @@ -3,14 +3,15 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "replicaName": "myReplicaEus" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-09-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2024-06-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-06-01-preview" } }, "204": {} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGenerateSasToken.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGenerateSasToken.json similarity index 96% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGenerateSasToken.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGenerateSasToken.json index f4010b7d85b1..0dba9ac2bd38 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGenerateSasToken.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGenerateSasToken.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "sasTokenGenerationParameters": { "sasTokenScope": { "resourceType": "Kv", diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGet.json similarity index 97% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGet.json index eddc400fa6f5..6f541a26422b 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGet.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGet.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetKeyValue.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetKeyValue.json similarity index 95% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetKeyValue.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetKeyValue.json index 08ba34826c1a..9c2b7a2b1b27 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetKeyValue.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetKeyValue.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "keyValueName": "myKey$myLabel" }, "responses": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json similarity index 96% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json index 44fe9ba124b6..05bce87848ab 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", "privateEndpointConnectionName": "myConnection", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetReplica.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetReplica.json similarity index 96% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetReplica.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetReplica.json index 387edc78e26c..738b10d5d978 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetReplica.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetReplica.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "replicaName": "myReplicaEus" }, "responses": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetSnapshot.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetSnapshot.json similarity index 96% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetSnapshot.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetSnapshot.json index b4e093c5bbc5..761d8bfc0274 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresGetSnapshot.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGetSnapshot.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "snapshotName": "mySnapshot" }, "responses": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresList.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresList.json index de7d99e949b3..70c28790c6ef 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresList.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListByResourceGroup.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListByResourceGroup.json index a8484d0facb8..a7877274a3c6 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListByResourceGroup.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListByResourceGroup.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListKeys.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListKeys.json similarity index 97% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListKeys.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListKeys.json index 7e899a0cf782..61cadea93892 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListKeys.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListKeys.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json similarity index 96% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json index 360a3378e59d..3e38c54cfd0d 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListReplicas.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListReplicas.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListReplicas.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListReplicas.json index 18cb4e4a0538..57d9799db7b1 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresListReplicas.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresListReplicas.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresRegenerateKey.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresRegenerateKey.json similarity index 93% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresRegenerateKey.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresRegenerateKey.json index c1d414ed67cb..9e8c1046b432 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresRegenerateKey.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresRegenerateKey.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "regenerateKeyParameters": { "id": "439AD01B4BE67DB1" } diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasKind.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresResetSasKind.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasKind.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresResetSasKind.json index 5f9ac67fa65c..9cfdf75d01b7 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresResetSasKind.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresResetSasKind.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "resetSasKindParameters": { "name": "Primary" } diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdate.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdate.json index 0db103fe74b5..71557b9d4e3e 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdate.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdate.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "configStoreUpdateParameters": { "tags": { "Category": "Marketing" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json index 641c81c89f19..ceefc1f53697 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "configStoreUpdateParameters": { "sku": { "name": "Standard" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSas.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdateEnableSas.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSas.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdateEnableSas.json index 4cfdd64e8b12..f91ada315ae0 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateEnableSas.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdateEnableSas.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "configStoreUpdateParameters": { "sku": { "name": "Standard" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json similarity index 98% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json index b7b0cf8c6aa6..ec4b706c0e88 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json @@ -4,7 +4,7 @@ "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", "privateEndpointConnectionName": "myConnection", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "privateEndpointConnection": { "properties": { "privateLinkServiceConnectionState": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json similarity index 99% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json index 8932f9941a7c..9c980a03f1d6 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresUpdateWithIdentity.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "configStoreUpdateParameters": { "tags": { "Category": "Marketing" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/DeletedConfigurationStoresGet.json similarity index 95% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresGet.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/DeletedConfigurationStoresGet.json index 5a756f49e132..321322c12732 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresGet.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/DeletedConfigurationStoresGet.json @@ -2,7 +2,7 @@ "parameters": { "configStoreName": "contoso", "location": "westus", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882" }, "responses": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/DeletedConfigurationStoresList.json similarity index 97% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresList.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/DeletedConfigurationStoresList.json index 0af2ecf613a4..2a5c32cdf1ab 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/DeletedConfigurationStoresList.json @@ -1,7 +1,7 @@ { "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresPurge.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/DeletedConfigurationStoresPurge.json similarity index 52% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresPurge.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/DeletedConfigurationStoresPurge.json index e8606a0982da..7e5aa8ccd1e6 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/DeletedConfigurationStoresPurge.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/DeletedConfigurationStoresPurge.json @@ -3,13 +3,14 @@ "configStoreName": "contoso", "location": "westus", "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": {}, "202": { "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-09-01-preview" + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2024-06-01-preview", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-06-01-preview" } }, "204": {} diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/OperationsList.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/OperationsList.json similarity index 99% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/OperationsList.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/OperationsList.json index af476e220b20..8c27a1d530b5 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/OperationsList.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/OperationsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourceGet.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/PrivateLinkResourceGet.json similarity index 95% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourceGet.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/PrivateLinkResourceGet.json index 467a95b07931..4c4859ea4dc4 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourceGet.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/PrivateLinkResourceGet.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "groupName": "configurationStores" }, "responses": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json similarity index 95% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json index 8816230a29d2..037f6cbd43e2 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/PrivateLinkResourcesListByConfigurationStore.json @@ -3,7 +3,7 @@ "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "resourceGroupName": "myResourceGroup", "configStoreName": "contoso", - "api-version": "2024-09-01-preview" + "api-version": "2024-06-01-preview" }, "responses": { "200": { diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/RegionalCheckNameAvailable.json similarity index 91% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameAvailable.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/RegionalCheckNameAvailable.json index 64dd0c4877a2..10181054ceed 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameAvailable.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/RegionalCheckNameAvailable.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "location": "westus", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "checkNameAvailabilityParameters": { "name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores" diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameNotAvailable.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/RegionalCheckNameNotAvailable.json similarity index 91% rename from specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameNotAvailable.json rename to specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/RegionalCheckNameNotAvailable.json index e4856ec6d243..9c05c051c097 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-09-01-preview/examples/RegionalCheckNameNotAvailable.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/RegionalCheckNameNotAvailable.json @@ -2,7 +2,7 @@ "parameters": { "subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", "location": "westus", - "api-version": "2024-09-01-preview", + "api-version": "2024-06-01-preview", "checkNameAvailabilityParameters": { "name": "contoso", "type": "Microsoft.AppConfiguration/configurationStores" diff --git a/specification/appconfiguration/resource-manager/readme.md b/specification/appconfiguration/resource-manager/readme.md index 8787fc5c40c2..bac4e4a6de9c 100644 --- a/specification/appconfiguration/resource-manager/readme.md +++ b/specification/appconfiguration/resource-manager/readme.md @@ -26,16 +26,16 @@ These are the global settings for the AppConfiguration API. ``` yaml openapi-type: arm -tag: package-preview-2024-09 +tag: package-preview-2024-06 ``` -### Tag: package-preview-2024-09 +### Tag: package-preview-2024-06 -These settings apply only when `--tag=package-preview-2024-09` is specified on the command line. +These settings apply only when `--tag=package-preview-2024-06` is specified on the command line. -``` yaml $(tag) == 'package-preview-2024-09' +``` yaml $(tag) == 'package-preview-2024-06' input-file: - - Microsoft.AppConfiguration/preview/2024-09-01-preview/appconfiguration.json + - Microsoft.AppConfiguration/preview/2024-06-01-preview/appconfiguration.json ``` ### Tag: package-2024-05-01 From fc5ade0a28836feb608eb53d278a0c57ad30816c Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Thu, 17 Oct 2024 15:13:33 -0400 Subject: [PATCH 31/32] Update Retry-After description --- .../preview/2024-06-01-preview/appconfiguration.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/appconfiguration.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/appconfiguration.json index f4ae63b0d7af..b81bce13e30c 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/appconfiguration.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/appconfiguration.json @@ -260,7 +260,7 @@ "Retry-After": { "type": "integer", "format": "int32", - "description": "Indicates how long the client should wait before polling the URL in the Location or Azure-AsyncOperation header." + "description": "Indicates the time (in seconds) the client should wait before polling the URL in the Location or Azure-AsyncOperation header." } } }, @@ -844,7 +844,7 @@ "Retry-After": { "type": "integer", "format": "int32", - "description": "Indicates how long the client should wait before polling the URL in the Location or Azure-AsyncOperation header." + "description": "Indicates the time (in seconds) the client should wait before polling the URL in the Location or Azure-AsyncOperation header." } } }, @@ -1109,7 +1109,7 @@ "Retry-After": { "type": "integer", "format": "int32", - "description": "Indicates how long the client should wait before polling the URL in the Location or Azure-AsyncOperation header." + "description": "Indicates the time (in seconds) the client should wait before polling the URL in the Location or Azure-AsyncOperation header." } } }, @@ -1252,7 +1252,7 @@ "Retry-After": { "type": "integer", "format": "int32", - "description": "Indicates how long the client should wait before polling the URL in the Location or Azure-AsyncOperation header." + "description": "Indicates the time (in seconds) the client should wait before polling the URL in the Location or Azure-AsyncOperation header." } } }, @@ -1536,7 +1536,7 @@ "Retry-After": { "type": "integer", "format": "int32", - "description": "Indicates how long the client should wait before polling the URL in the Location or Azure-AsyncOperation header." + "description": "Indicates the time (in seconds) the client should wait before polling the URL in the Location or Azure-AsyncOperation header." } } }, From f50397232f4f6a149d6501387b2a91ed4af0e3ae Mon Sep 17 00:00:00 2001 From: Haiyi Wen Date: Fri, 18 Oct 2024 13:26:39 -0400 Subject: [PATCH 32/32] Update sas token sample --- .../examples/ConfigurationStoresGenerateSasToken.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGenerateSasToken.json b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGenerateSasToken.json index 0dba9ac2bd38..abb75d50024b 100644 --- a/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGenerateSasToken.json +++ b/specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-01-preview/examples/ConfigurationStoresGenerateSasToken.json @@ -14,7 +14,7 @@ "region=eastus" ] }, - "expires": "2024-09-01T00:00:00", + "expires": "2024-09-01T00:00:00.0000000Z", "cacheControlMaxAge": 3600, "kind": "Primary" } @@ -31,10 +31,10 @@ "region=eastus" ] }, - "expires": "2024-09-01T00:00:00", + "expires": "2024-09-01T00:00:00.0000000Z", "cacheControlMaxAge": 3600, "kind": "Primary", - "value": "sas=res=kv;sp=key,label,tags;exp=2024-09-01T00:00:00Z;ccma=3600;kind=primary;oid=;tid=;p=read;sig=" + "value": "sas=res=kv;rp=key;rp=label;rp=tags;exp=2024-09-01T00:00:00.0000000Z;ccma=3600;kind=primary;oid=;tid=;p=read;sig=" } } }