forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Microsoft.AppConfiguration: Add 2020-07-01-preview API version (Azure…
…#10224) * Microsoft.AppConfiguration: Add 2020-07-01-preview API version * Prettier fix * Fix readme * Fix lint errors * revert * Fix error response * Fix syntax error * * Added required key-value list & delete operations. * Updated key-value operation ids to be consistent with other child resources * key value -> key-value for consistency * Prettier Co-authored-by: Jimmy Campbell <jimmyca@microsoft.com>
- Loading branch information
1 parent
82ead91
commit 6b07587
Showing
26 changed files
with
2,840 additions
and
2 deletions.
There are no files selected for viewing
1,842 changes: 1,842 additions & 0 deletions
1,842
...ource-manager/Microsoft.AppConfiguration/preview/2020-07-01-preview/appconfiguration.json
Large diffs are not rendered by default.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
...er/Microsoft.AppConfiguration/preview/2020-07-01-preview/examples/CheckNameAvailable.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"api-version": "2020-07-01-preview", | ||
"checkNameAvailabilityParameters": { | ||
"name": "contoso", | ||
"type": "Microsoft.AppConfiguration/configurationStores" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true, | ||
"message": "The specified name is available.", | ||
"reason": null | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...Microsoft.AppConfiguration/preview/2020-07-01-preview/examples/CheckNameNotAvailable.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"api-version": "2020-07-01-preview", | ||
"checkNameAvailabilityParameters": { | ||
"name": "contoso", | ||
"type": "Microsoft.AppConfiguration/configurationStores" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "AlreadyExists", | ||
"message": "The specified name is already in use." | ||
} | ||
} | ||
} | ||
} |
73 changes: 73 additions & 0 deletions
73
...osoft.AppConfiguration/preview/2020-07-01-preview/examples/ConfigurationStoresCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"api-version": "2020-07-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 | ||
} | ||
}, | ||
"privateEndpointConnections": [], | ||
"publicNetworkAccess": "Disabled" | ||
}, | ||
"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", | ||
"endpoint": "https://contoso.azconfig.io", | ||
"encryption": { | ||
"keyVaultProperties": { | ||
"keyIdentifier": null, | ||
"identityClientId": null | ||
} | ||
}, | ||
"privateEndpointConnections": [], | ||
"publicNetworkAccess": "Disabled" | ||
}, | ||
"sku": { | ||
"name": "Standard" | ||
}, | ||
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso", | ||
"name": "contoso", | ||
"location": "westus", | ||
"tags": { | ||
"myTag": "myTagValue" | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...pConfiguration/preview/2020-07-01-preview/examples/ConfigurationStoresCreateKeyValue.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"api-version": "2020-07-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" | ||
} | ||
} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...eview/2020-07-01-preview/examples/ConfigurationStoresCreatePrivateEndpointConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"privateEndpointConnectionName": "myConnection", | ||
"api-version": "2020-07-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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
101 changes: 101 additions & 0 deletions
101
...figuration/preview/2020-07-01-preview/examples/ConfigurationStoresCreateWithIdentity.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"api-version": "2020-07-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 | ||
} | ||
}, | ||
"privateEndpointConnections": [], | ||
"publicNetworkAccess": "Disabled" | ||
}, | ||
"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", | ||
"endpoint": "https://contoso.azconfig.io", | ||
"encryption": { | ||
"keyVaultProperties": { | ||
"keyIdentifier": null, | ||
"identityClientId": null | ||
} | ||
}, | ||
"privateEndpointConnections": [], | ||
"publicNetworkAccess": "Disabled" | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...osoft.AppConfiguration/preview/2020-07-01-preview/examples/ConfigurationStoresDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"api-version": "2020-07-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...pConfiguration/preview/2020-07-01-preview/examples/ConfigurationStoresDeleteKeyValue.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"api-version": "2020-07-01-preview", | ||
"keyValueName": "myKey$myLabel" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...eview/2020-07-01-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"privateEndpointConnectionName": "myConnection", | ||
"api-version": "2020-07-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...icrosoft.AppConfiguration/preview/2020-07-01-preview/examples/ConfigurationStoresGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"api-version": "2020-07-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 | ||
} | ||
}, | ||
"privateEndpointConnections": [], | ||
"publicNetworkAccess": "Disabled" | ||
}, | ||
"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": {} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.