-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Publish private branch 'et13-appconfiguration-Microso…
…ft.AppConfiguration-2023-08-01-preview' (#25499) * Adds base for updating Microsoft.AppConfiguration from version stable/2023-03-01 to version 2023-08-01-preview * Updates readme * Updates API version in new specs and examples * Snapshot and data plane proxy support * Address snapshot feedback * Address data plane proxy feedback * Address feedback * Revert change to use common types in pre-existing places Changes are being flagged as breaking changes * Address PR feedback * Address errors reported against prior API versions for required check * Revert "Address errors reported against prior API versions for required check" This reverts commit e3c8f7f. Reverting for now since different errors show up with the change * Address feedback * Fix path * Update examples * Update path * Revert changes due to validation errors * Try newer version of types.json * Update types version * Update types version * Update types version * Revert changes * Update comment * Fix spacing * Update readme * Update casing of enum value * Fix new lintdiff error * Try fix for azure-sdk-for-go check * Try fix for remaining azure-sdk-for-go error
- Loading branch information
Showing
39 changed files
with
5,072 additions
and
3 deletions.
There are no files selected for viewing
2,890 changes: 2,890 additions & 0 deletions
2,890
...ource-manager/Microsoft.AppConfiguration/preview/2023-08-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/2023-08-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": "2023-08-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/2023-08-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": "2023-08-01-preview", | ||
"checkNameAvailabilityParameters": { | ||
"name": "contoso", | ||
"type": "Microsoft.AppConfiguration/configurationStores" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "AlreadyExists", | ||
"message": "The specified name is already in use." | ||
} | ||
} | ||
} | ||
} |
86 changes: 86 additions & 0 deletions
86
...osoft.AppConfiguration/preview/2023-08-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,86 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"api-version": "2023-08-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": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2018-04-24T16:30:55+00:00", | ||
"lastModifiedBy": "[email protected]", | ||
"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": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2018-04-24T16:30:55+00:00", | ||
"lastModifiedBy": "[email protected]", | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...pConfiguration/preview/2023-08-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": "2023-08-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" | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...ppConfiguration/preview/2023-08-01-preview/examples/ConfigurationStoresCreateReplica.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,54 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"replicaName": "myReplicaEus", | ||
"replicaCreationParameters": { | ||
"location": "eastus" | ||
}, | ||
"api-version": "2023-08-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": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2018-04-24T16:30:55+00:00", | ||
"lastModifiedBy": "[email protected]", | ||
"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": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2018-04-24T16:30:55+00:00", | ||
"lastModifiedBy": "[email protected]", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2018-04-24T16:30:55+00:00" | ||
} | ||
} | ||
} | ||
} | ||
} |
68 changes: 68 additions & 0 deletions
68
...pConfiguration/preview/2023-08-01-preview/examples/ConfigurationStoresCreateSnapshot.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,68 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"api-version": "2023-08-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" | ||
} | ||
} | ||
} | ||
} |
96 changes: 96 additions & 0 deletions
96
...tion/preview/2023-08-01-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.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,96 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"api-version": "2023-08-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": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2018-04-24T16:30:55+00:00", | ||
"lastModifiedBy": "[email protected]", | ||
"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": "[email protected]", | ||
"createdByType": "User", | ||
"createdAt": "2018-04-24T16:30:55+00:00", | ||
"lastModifiedBy": "[email protected]", | ||
"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": {} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.