Skip to content

Commit

Permalink
[Hub Generated] Publish private branch 'jiyu/appconfig_1101' (#19732)
Browse files Browse the repository at this point in the history
* 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
jiayi11 authored Jul 20, 2022
1 parent 9b33d81 commit 0e1a982
Show file tree
Hide file tree
Showing 35 changed files with 4,105 additions and 0 deletions.

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": "2022-03-01-preview",
"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": "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."
}
}
}
}
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"
}
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
}
}
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"
}
}
}
}
}
Loading

0 comments on commit 0e1a982

Please sign in to comment.