Skip to content

Commit

Permalink
AppConfiguration 2024-05-01 (#29825)
Browse files Browse the repository at this point in the history
* Copy 2023-03-01

* Update 2024-05-01

* Address comments
  • Loading branch information
hahahahahaiyiwen authored Sep 9, 2024
1 parent 4d06586 commit 2b700e5
Show file tree
Hide file tree
Showing 39 changed files with 5,143 additions and 1 deletion.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882",
"api-version": "2024-05-01",
"checkNameAvailabilityParameters": {
"name": "contoso",
"type": "Microsoft.AppConfiguration/configurationStores"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": true,
"message": "The specified name is available.",
"reason": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882",
"api-version": "2024-05-01",
"checkNameAvailabilityParameters": {
"name": "contoso",
"type": "Microsoft.AppConfiguration/configurationStores"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": false,
"reason": "AlreadyExists",
"message": "The specified name is already in use."
}
}
}
}
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": "2024-05-01",
"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": "[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",
"endpoint": "https://contoso.azconfig.io",
"encryption": {
"keyVaultProperties": {
"keyIdentifier": null,
"identityClientId": null
}
},
"disableLocalAuth": false,
"privateEndpointConnections": [],
"softDeleteRetentionInDays": 30,
"enablePurgeProtection": false
},
"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"
}
}
}
}
}
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": "2024-05-01",
"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"
}
}
}
}
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": "2024-05-01"
},
"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"
}
}
}
}
}
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": "2024-05-01",
"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"
}
}
}
}
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": "2024-05-01",
"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": {}
}
}
}
}
Loading

0 comments on commit 2b700e5

Please sign in to comment.