-
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 'jiyu/appconfig_1101' (#19732)
* Add 2022-03-01-preview version * update version number * add new APIs * Remove new ReplicaLocation List and Get APIs * Add GroupIds property in Get/List PrivateEndpointConnection response * Fix LintDiff error * Revert added GroupIds property
- Loading branch information
Showing
35 changed files
with
4,105 additions
and
0 deletions.
There are no files selected for viewing
2,587 changes: 2,587 additions & 0 deletions
2,587
...ource-manager/Microsoft.AppConfiguration/preview/2022-03-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/2022-03-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": "2022-03-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/2022-03-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": "2022-03-01-preview", | ||
"checkNameAvailabilityParameters": { | ||
"name": "contoso", | ||
"type": "Microsoft.AppConfiguration/configurationStores" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "AlreadyExists", | ||
"message": "The specified name is already in use." | ||
} | ||
} | ||
} | ||
} |
93 changes: 93 additions & 0 deletions
93
...osoft.AppConfiguration/preview/2022-03-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,93 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882", | ||
"resourceGroupName": "myResourceGroup", | ||
"configStoreName": "contoso", | ||
"api-version": "2022-03-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 | ||
}, | ||
"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", | ||
"endpoint": "https://contoso.azconfig.io", | ||
"encryption": { | ||
"keyVaultProperties": { | ||
"keyIdentifier": null, | ||
"identityClientId": null | ||
} | ||
}, | ||
"disableLocalAuth": false, | ||
"privateEndpointConnections": [], | ||
"softDeleteRetentionInDays": 30, | ||
"enablePurgeProtection": false | ||
}, | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...pConfiguration/preview/2022-03-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": "2022-03-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/2022-03-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": "2022-03-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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...ppConfiguration/preview/2022-03-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": "2022-03-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.