Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import "@azure-tools/typespec-azure-core";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "@typespec/rest";
import "@typespec/versioning";
import "./ConfigurationStore.tsp";
import "./models.tsp";

using Azure.ResourceManager;
using TypeSpec.Rest;
using TypeSpec.Versioning;

namespace Microsoft.AppConfiguration;
@parentResource(ConfigurationStore)
@added(Versions.v2025_08_01_preview)
model NetworkSecurityPerimeterConfiguration
is CommonTypes.NetworkSecurityPerimeterConfiguration {
...ResourceNameParameter<
Resource = NetworkSecurityPerimeterConfiguration,
KeyName = "networkSecurityPerimeterConfigurationName",
SegmentName = "networkSecurityPerimeterConfigurations",
NamePattern = ""
>;
}

@armResourceOperations
@added(Versions.v2025_08_01_preview)
interface NetworkSecurityPerimeterConfigurations {
/**
* Gets the specified network security perimeter configuration associated with the configuration store.
*/
get is ArmResourceRead<NetworkSecurityPerimeterConfiguration>;

/**
* Lists all network security perimeter configurations for a configuration store.
*/
listByConfigurationStore is ArmResourceListByParent<NetworkSecurityPerimeterConfiguration>;

/**
* Forces a refresh of the specified network security perimeter configuration.
*/
reconcile is ArmResourceActionAsync<
NetworkSecurityPerimeterConfiguration,
void,
NetworkSecurityPerimeterConfiguration,
LroHeaders = Azure.ResourceManager.ArmLroLocationHeader &
Azure.Core.Foundations.RetryAfterHeader &
Azure.ResourceManager.ArmAsyncOperationHeader,
Error = ErrorResponse
>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"api-version": "2025-08-01-preview",
"checkNameAvailabilityParameters": {
"name": "contoso",
"type": "Microsoft.AppConfiguration/configurationStores"
},
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882"
},
"responses": {
"200": {
"body": {
"message": "The specified name is available.",
"nameAvailable": true,
"reason": null
}
}
},
"operationId": "Operations_CheckNameAvailability",
"title": "ConfigurationStores_CheckNameAvailable"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"api-version": "2025-08-01-preview",
"checkNameAvailabilityParameters": {
"name": "contoso",
"type": "Microsoft.AppConfiguration/configurationStores"
},
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882"
},
"responses": {
"200": {
"body": {
"message": "The specified name is already in use.",
"nameAvailable": false,
"reason": "AlreadyExists"
}
}
},
"operationId": "Operations_CheckNameAvailability",
"title": "ConfigurationStores_CheckNameNotAvailable"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
{
"parameters": {
"api-version": "2025-08-01-preview",
"configStoreCreationParameters": {
"location": "westus",
"sku": {
"name": "Standard"
},
"tags": {
"myTag": "myTagValue"
}
},
"configStoreName": "contoso",
"resourceGroupName": "myResourceGroup",
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882"
},
"responses": {
"200": {
"body": {
"name": "contoso",
"type": "Microsoft.AppConfiguration/configurationStores",
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso",
"location": "westus",
"properties": {
"creationDate": "2018-04-24T16:30:55+00:00",
"dataPlaneProxy": {
"authenticationMode": "Local",
"privateLinkDelegation": "Disabled"
},
"defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000,
"disableLocalAuth": false,
"enablePurgeProtection": false,
"encryption": {
"keyVaultProperties": {
"identityClientId": null,
"keyIdentifier": null
}
},
"endpoint": "https://contoso.azconfig.io",
"privateEndpointConnections": [],
"provisioningState": "Succeeded",
"softDeleteRetentionInDays": 30
},
"sku": {
"name": "Standard"
},
"systemData": {
"createdAt": "2018-04-24T16:30:55+00:00",
"createdBy": "[email protected]",
"createdByType": "User",
"lastModifiedAt": "2018-04-24T16:30:55+00:00",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User"
},
"tags": {
"myTag": "myTagValue"
}
}
},
"201": {
"body": {
"name": "contoso",
"type": "Microsoft.AppConfiguration/configurationStores",
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso",
"location": "westus",
"properties": {
"creationDate": "2018-04-24T16:30:55+00:00",
"dataPlaneProxy": {
"authenticationMode": "Local",
"privateLinkDelegation": "Disabled"
},
"defaultKeyValueRevisionRetentionPeriodInSeconds": 2592000,
"disableLocalAuth": false,
"enablePurgeProtection": false,
"encryption": {
"keyVaultProperties": {
"identityClientId": null,
"keyIdentifier": null
}
},
"endpoint": "https://contoso.azconfig.io",
"privateEndpointConnections": [],
"provisioningState": "Creating",
"softDeleteRetentionInDays": 30
},
"sku": {
"name": "Standard"
},
"systemData": {
"createdAt": "2018-04-24T16:30:55+00:00",
"createdBy": "[email protected]",
"createdByType": "User",
"lastModifiedAt": "2018-04-24T16:30:55+00:00",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User"
},
"tags": {
"myTag": "myTagValue"
}
}
}
},
"operationId": "ConfigurationStores_Create",
"title": "ConfigurationStores_Create"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"api-version": "2025-08-01-preview",
"configStoreName": "contoso",
"keyValueName": "myKey$myLabel",
"keyValueParameters": {
"properties": {
"tags": {
"tag1": "tagValue1",
"tag2": "tagValue2"
},
"value": "myValue"
}
},
"resourceGroupName": "myResourceGroup",
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882"
},
"responses": {
"200": {
"body": {
"name": "myKey$myLabel",
"type": "Microsoft.AppConfiguration/configurationStores/keyValues",
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/keyValues/myKey$myLabel",
"properties": {
"contentType": "",
"eTag": "IhDxoa8VkXxPsYsemBlxvV0d5fp",
"key": "myKey",
"label": "myLabel",
"lastModified": "2020-06-23T06:42:24+00:00",
"locked": false,
"tags": {
"tag1": "tagValue1",
"tag2": "tagValue2"
},
"value": "myValue"
}
}
}
},
"operationId": "KeyValues_CreateOrUpdate",
"title": "KeyValues_CreateOrUpdate"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"parameters": {
"api-version": "2025-08-01-preview",
"configStoreName": "contoso",
"replicaCreationParameters": {
"location": "eastus"
},
"replicaName": "myReplicaEus",
"resourceGroupName": "myResourceGroup",
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882"
},
"responses": {
"200": {
"body": {
"name": "myReplicaEus",
"type": "Microsoft.AppConfiguration/configurationStores/replicas",
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/replicas/myReplicaEus",
"location": "eastus",
"properties": {
"endpoint": "https://contoso-myreplicaeus.azconfig.io",
"provisioningState": "Succeeded"
},
"systemData": {
"createdAt": "2018-04-24T16:30:55+00:00",
"createdBy": "[email protected]",
"createdByType": "User",
"lastModifiedAt": "2018-04-24T16:30:55+00:00",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User"
}
}
},
"201": {
"body": {
"name": "myReplicaEus",
"type": "Microsoft.AppConfiguration/configurationStores/replicas",
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/replicas/myReplicaEus",
"location": "eastus",
"properties": {
"endpoint": "https://contoso-myreplicaeus.azconfig.io",
"provisioningState": "Creating"
},
"systemData": {
"createdAt": "2018-04-24T16:30:55+00:00",
"createdBy": "[email protected]",
"createdByType": "User",
"lastModifiedAt": "2018-04-24T16:30:55+00:00",
"lastModifiedBy": "[email protected]",
"lastModifiedByType": "User"
}
}
}
},
"operationId": "Replicas_Create",
"title": "Replicas_Create"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"parameters": {
"api-version": "2025-08-01-preview",
"body": {
"properties": {
"filters": [
{
"key": "app1/*",
"label": "Production"
}
],
"retentionPeriod": 3600
}
},
"configStoreName": "contoso",
"resourceGroupName": "myResourceGroup",
"snapshotName": "mySnapshot",
"subscriptionId": "c80fb759-c965-4c6a-9110-9b2b2d038882"
},
"responses": {
"200": {
"body": {
"name": "mySnapshot",
"type": "Microsoft.AppConfiguration/configurationStores/snapshots",
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/snapshots/mySnapshot",
"properties": {
"compositionType": "All",
"created": "2022-08-01T22:19:40+00:00",
"etag": "4f6dd610dd5e4deebc7fbaef685fb903",
"filters": [
{
"key": "app1/*",
"label": "Production"
}
],
"itemsCount": 71,
"provisioningState": "Succeeded",
"retentionPeriod": 3600,
"size": 100000,
"tags": {}
}
}
},
"201": {
"body": {
"name": "mySnapshot",
"type": "Microsoft.AppConfiguration/configurationStores/snapshots",
"id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.AppConfiguration/configurationStores/contoso/snapshots/mySnapshot",
"properties": {
"compositionType": "All",
"created": "2022-08-01T22:19:40+00:00",
"etag": "4f6dd610dd5e4deebc7fbaef685fb903",
"filters": [
{
"key": "app1/*",
"label": "Production"
}
],
"itemsCount": 0,
"provisioningState": "Creating",
"retentionPeriod": 3600,
"size": 0,
"tags": {}
}
}
}
},
"operationId": "Snapshots_Create",
"title": "Snapshots_Create"
}
Loading
Loading