From 5e4101dc67b024abd9490580b16bed381d8cacaa Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 1 May 2025 17:52:08 +0000 Subject: [PATCH] CodeGen from PR 32996 in Azure/azure-rest-api-specs Merge 63715e1a584b9c06bd222d2396600c97771bb5e1 into 45cbb1a2b5a68c01b7182dbcaa57c3052f992647 --- ...ResourceManager.AppConfiguration.net8.0.cs | 8 +- ...Manager.AppConfiguration.netstandard2.0.cs | 8 +- ...mple_AppConfigurationKeyValueCollection.cs | 8 +- ...Sample_AppConfigurationKeyValueResource.cs | 6 +- ...tionPrivateEndpointConnectionCollection.cs | 10 +- ...rationPrivateEndpointConnectionResource.cs | 6 +- ...ple_AppConfigurationPrivateLinkResource.cs | 2 +- ...figurationPrivateLinkResourceCollection.cs | 8 +- ...ample_AppConfigurationReplicaCollection.cs | 10 +- .../Sample_AppConfigurationReplicaResource.cs | 6 +- ...mple_AppConfigurationSnapshotCollection.cs | 6 +- ...Sample_AppConfigurationSnapshotResource.cs | 2 +- .../Sample_AppConfigurationStoreCollection.cs | 63 ++++++- .../Sample_AppConfigurationStoreResource.cs | 14 +- ..._DeletedAppConfigurationStoreCollection.cs | 8 +- ...le_DeletedAppConfigurationStoreResource.cs | 4 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- .../AppConfigurationKeyValueCollection.cs | 16 +- .../AppConfigurationKeyValueResource.cs | 24 +-- ...tionPrivateEndpointConnectionCollection.cs | 20 +-- ...rationPrivateEndpointConnectionResource.cs | 12 +- .../AppConfigurationPrivateLinkResource.cs | 4 +- ...figurationPrivateLinkResourceCollection.cs | 16 +- .../AppConfigurationReplicaCollection.cs | 20 +-- .../AppConfigurationReplicaResource.cs | 12 +- .../AppConfigurationSnapshotCollection.cs | 16 +- .../AppConfigurationSnapshotResource.cs | 4 +- .../AppConfigurationStoreCollection.cs | 20 +-- ...AppConfigurationStoreData.Serialization.cs | 67 +++++++ .../Generated/AppConfigurationStoreData.cs | 23 ++- .../AppConfigurationStoreResource.cs | 52 +++--- .../ArmAppConfigurationModelFactory.cs | 35 +++- .../DeletedAppConfigurationStoreCollection.cs | 16 +- .../DeletedAppConfigurationStoreResource.cs | 8 +- .../Extensions/AppConfigurationExtensions.cs | 16 +- ...leAppConfigurationResourceGroupResource.cs | 4 +- ...bleAppConfigurationSubscriptionResource.cs | 12 +- ...ppConfigurationStorePatch.Serialization.cs | 32 ++++ .../Models/AppConfigurationStorePatch.cs | 25 ++- .../TelemetryProperties.Serialization.cs | 166 ++++++++++++++++++ .../Generated/Models/TelemetryProperties.cs | 67 +++++++ ...ppConfigurationManagementRestOperations.cs | 2 +- .../ConfigurationStoresRestOperations.cs | 2 +- .../RestOperations/KeyValuesRestOperations.cs | 2 +- ...rivateEndpointConnectionsRestOperations.cs | 2 +- .../PrivateLinkResourcesRestOperations.cs | 2 +- .../RestOperations/ReplicasRestOperations.cs | 2 +- .../RestOperations/SnapshotsRestOperations.cs | 2 +- .../src/autorest.md | 2 +- sdk/durabletask/ci.mgmt.yml | 1 - sdk/pineconevectordb/ci.yml | 35 ---- sdk/storage/ci.yml | 2 + 52 files changed, 674 insertions(+), 242 deletions(-) create mode 100644 sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/TelemetryProperties.Serialization.cs create mode 100644 sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/TelemetryProperties.cs delete mode 100644 sdk/pineconevectordb/ci.yml diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net8.0.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net8.0.cs index 41892ad9e4f1..4c9545a3e414 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net8.0.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net8.0.cs @@ -300,6 +300,7 @@ public AppConfigurationStoreData(Azure.Core.AzureLocation location, Azure.Resour public System.DateTimeOffset? CreatedOn { get { throw null; } } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? CreateMode { get { throw null; } set { } } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties DataPlaneProxy { get { throw null; } set { } } + public long? DefaultKeyValueRevisionRetentionPeriodInSeconds { get { throw null; } set { } } public bool? DisableLocalAuth { get { throw null; } set { } } public bool? EnablePurgeProtection { get { throw null; } set { } } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties EncryptionKeyVaultProperties { get { throw null; } set { } } @@ -310,6 +311,7 @@ public AppConfigurationStoreData(Azure.Core.AzureLocation location, Azure.Resour public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } } public string SkuName { get { throw null; } set { } } public int? SoftDeleteRetentionInDays { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier TelemetryResourceId { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -720,6 +722,7 @@ public partial class AppConfigurationStorePatch : System.ClientModel.Primitives. { public AppConfigurationStorePatch() { } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties DataPlaneProxy { get { throw null; } set { } } + public long? DefaultKeyValueRevisionRetentionPeriodInSeconds { get { throw null; } set { } } public bool? DisableLocalAuth { get { throw null; } set { } } public bool? EnablePurgeProtection { get { throw null; } set { } } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties EncryptionKeyVaultProperties { get { throw null; } set { } } @@ -727,6 +730,7 @@ public AppConfigurationStorePatch() { } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } } public string SkuName { get { throw null; } set { } } public System.Collections.Generic.IDictionary Tags { get { throw null; } } + public Azure.Core.ResourceIdentifier TelemetryResourceId { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStorePatch System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -745,9 +749,11 @@ public static partial class ArmAppConfigurationModelFactory public static Azure.ResourceManager.AppConfiguration.AppConfigurationReplicaData AppConfigurationReplicaData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?), string endpoint = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState?)) { throw null; } public static Azure.ResourceManager.AppConfiguration.AppConfigurationSnapshotData AppConfigurationSnapshotData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string snapshotType = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState?), Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus? status = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus?), System.Collections.Generic.IEnumerable filters = null, Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType? compositionType = default(Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? expireOn = default(System.DateTimeOffset?), long? retentionPeriod = default(long?), long? size = default(long?), long? itemsCount = default(long?), System.Collections.Generic.IDictionary tags = null, Azure.ETag? eTag = default(Azure.ETag?)) { throw null; } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey AppConfigurationStoreApiKey(string id = null, string name = null, string value = null, string connectionString = null, System.DateTimeOffset? lastModifiedOn = default(System.DateTimeOffset?), bool? isReadOnly = default(bool?)) { throw null; } - public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, string skuName = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), string endpoint = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess?), bool? disableLocalAuth = default(bool?), int? softDeleteRetentionInDays = default(int?), bool? enablePurgeProtection = default(bool?), Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties dataPlaneProxy = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode?)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Models.ManagedServiceIdentity identity, string skuName, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState, System.DateTimeOffset? createdOn, string endpoint, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties, System.Collections.Generic.IEnumerable privateEndpointConnections, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? disableLocalAuth, int? softDeleteRetentionInDays, bool? enablePurgeProtection, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties dataPlaneProxy, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Models.ManagedServiceIdentity identity, string skuName, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState, System.DateTimeOffset? createdOn, string endpoint, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties, System.Collections.Generic.IEnumerable privateEndpointConnections, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? disableLocalAuth, int? softDeleteRetentionInDays, bool? enablePurgeProtection, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode) { throw null; } + public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, string skuName = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), string endpoint = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess?), bool? disableLocalAuth = default(bool?), int? softDeleteRetentionInDays = default(int?), long? defaultKeyValueRevisionRetentionPeriodInSeconds = default(long?), bool? enablePurgeProtection = default(bool?), Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties dataPlaneProxy = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode?), Azure.Core.ResourceIdentifier telemetryResourceId = null) { throw null; } public static Azure.ResourceManager.AppConfiguration.DeletedAppConfigurationStoreData DeletedAppConfigurationStoreData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.Core.ResourceIdentifier configurationStoreId = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?), System.DateTimeOffset? deletedOn = default(System.DateTimeOffset?), System.DateTimeOffset? scheduledPurgeOn = default(System.DateTimeOffset?), System.Collections.Generic.IReadOnlyDictionary tags = null, bool? isPurgeProtectionEnabled = default(bool?)) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs index 41892ad9e4f1..4c9545a3e414 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs @@ -300,6 +300,7 @@ public AppConfigurationStoreData(Azure.Core.AzureLocation location, Azure.Resour public System.DateTimeOffset? CreatedOn { get { throw null; } } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? CreateMode { get { throw null; } set { } } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties DataPlaneProxy { get { throw null; } set { } } + public long? DefaultKeyValueRevisionRetentionPeriodInSeconds { get { throw null; } set { } } public bool? DisableLocalAuth { get { throw null; } set { } } public bool? EnablePurgeProtection { get { throw null; } set { } } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties EncryptionKeyVaultProperties { get { throw null; } set { } } @@ -310,6 +311,7 @@ public AppConfigurationStoreData(Azure.Core.AzureLocation location, Azure.Resour public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } } public string SkuName { get { throw null; } set { } } public int? SoftDeleteRetentionInDays { get { throw null; } set { } } + public Azure.Core.ResourceIdentifier TelemetryResourceId { get { throw null; } set { } } protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -720,6 +722,7 @@ public partial class AppConfigurationStorePatch : System.ClientModel.Primitives. { public AppConfigurationStorePatch() { } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties DataPlaneProxy { get { throw null; } set { } } + public long? DefaultKeyValueRevisionRetentionPeriodInSeconds { get { throw null; } set { } } public bool? DisableLocalAuth { get { throw null; } set { } } public bool? EnablePurgeProtection { get { throw null; } set { } } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties EncryptionKeyVaultProperties { get { throw null; } set { } } @@ -727,6 +730,7 @@ public AppConfigurationStorePatch() { } public Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } } public string SkuName { get { throw null; } set { } } public System.Collections.Generic.IDictionary Tags { get { throw null; } } + public Azure.Core.ResourceIdentifier TelemetryResourceId { get { throw null; } set { } } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStorePatch System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -745,9 +749,11 @@ public static partial class ArmAppConfigurationModelFactory public static Azure.ResourceManager.AppConfiguration.AppConfigurationReplicaData AppConfigurationReplicaData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?), string endpoint = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState?)) { throw null; } public static Azure.ResourceManager.AppConfiguration.AppConfigurationSnapshotData AppConfigurationSnapshotData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string snapshotType = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState?), Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus? status = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus?), System.Collections.Generic.IEnumerable filters = null, Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType? compositionType = default(Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? expireOn = default(System.DateTimeOffset?), long? retentionPeriod = default(long?), long? size = default(long?), long? itemsCount = default(long?), System.Collections.Generic.IDictionary tags = null, Azure.ETag? eTag = default(Azure.ETag?)) { throw null; } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey AppConfigurationStoreApiKey(string id = null, string name = null, string value = null, string connectionString = null, System.DateTimeOffset? lastModifiedOn = default(System.DateTimeOffset?), bool? isReadOnly = default(bool?)) { throw null; } - public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, string skuName = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), string endpoint = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess?), bool? disableLocalAuth = default(bool?), int? softDeleteRetentionInDays = default(int?), bool? enablePurgeProtection = default(bool?), Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties dataPlaneProxy = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode?)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Models.ManagedServiceIdentity identity, string skuName, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState, System.DateTimeOffset? createdOn, string endpoint, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties, System.Collections.Generic.IEnumerable privateEndpointConnections, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? disableLocalAuth, int? softDeleteRetentionInDays, bool? enablePurgeProtection, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties dataPlaneProxy, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Models.ManagedServiceIdentity identity, string skuName, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState, System.DateTimeOffset? createdOn, string endpoint, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties, System.Collections.Generic.IEnumerable privateEndpointConnections, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? disableLocalAuth, int? softDeleteRetentionInDays, bool? enablePurgeProtection, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode) { throw null; } + public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, string skuName = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), string endpoint = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess?), bool? disableLocalAuth = default(bool?), int? softDeleteRetentionInDays = default(int?), long? defaultKeyValueRevisionRetentionPeriodInSeconds = default(long?), bool? enablePurgeProtection = default(bool?), Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties dataPlaneProxy = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode?), Azure.Core.ResourceIdentifier telemetryResourceId = null) { throw null; } public static Azure.ResourceManager.AppConfiguration.DeletedAppConfigurationStoreData DeletedAppConfigurationStoreData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.Core.ResourceIdentifier configurationStoreId = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?), System.DateTimeOffset? deletedOn = default(System.DateTimeOffset?), System.DateTimeOffset? scheduledPurgeOn = default(System.DateTimeOffset?), System.Collections.Generic.IReadOnlyDictionary tags = null, bool? isPurgeProtectionEnabled = default(bool?)) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueCollection.cs index e5c7863e6d31..bd9150447ecf 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_AppConfigurationKeyValueCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_KeyValuesCreateOrUpdate() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresCreateKeyValue.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresCreateKeyValue.json // this example is just showing the usage of "KeyValues_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -63,7 +63,7 @@ public async Task CreateOrUpdate_KeyValuesCreateOrUpdate() [Ignore("Only validating compilation of examples")] public async Task Get_KeyValuesGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetKeyValue.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetKeyValue.json // this example is just showing the usage of "KeyValues_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -97,7 +97,7 @@ public async Task Get_KeyValuesGet() [Ignore("Only validating compilation of examples")] public async Task Exists_KeyValuesGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetKeyValue.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetKeyValue.json // this example is just showing the usage of "KeyValues_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -127,7 +127,7 @@ public async Task Exists_KeyValuesGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_KeyValuesGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetKeyValue.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetKeyValue.json // this example is just showing the usage of "KeyValues_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueResource.cs index 28077bedea1c..2041d3fcc0c7 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationKeyValueResource.cs @@ -19,7 +19,7 @@ public partial class Sample_AppConfigurationKeyValueResource [Ignore("Only validating compilation of examples")] public async Task Get_KeyValuesGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetKeyValue.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetKeyValue.json // this example is just showing the usage of "KeyValues_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -50,7 +50,7 @@ public async Task Get_KeyValuesGet() [Ignore("Only validating compilation of examples")] public async Task Delete_KeyValuesDelete() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresDeleteKeyValue.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresDeleteKeyValue.json // this example is just showing the usage of "KeyValues_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -77,7 +77,7 @@ public async Task Delete_KeyValuesDelete() [Ignore("Only validating compilation of examples")] public async Task Update_KeyValuesCreateOrUpdate() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresCreateKeyValue.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresCreateKeyValue.json // this example is just showing the usage of "KeyValues_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionCollection.cs index c25dc891ffb8..f53ce8b0609f 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_AppConfigurationPrivateEndpointConnectionCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_PrivateEndpointConnectionUpdate() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -63,7 +63,7 @@ public async Task CreateOrUpdate_PrivateEndpointConnectionUpdate() [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetPrivateEndpointConnection.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -97,7 +97,7 @@ public async Task Get_PrivateEndpointConnectionGetConnection() [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateEndpointConnectionList() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresListPrivateEndpointConnections.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresListPrivateEndpointConnections.json // this example is just showing the usage of "PrivateEndpointConnections_ListByConfigurationStore" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -133,7 +133,7 @@ public async Task GetAll_PrivateEndpointConnectionList() [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetPrivateEndpointConnection.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -163,7 +163,7 @@ public async Task Exists_PrivateEndpointConnectionGetConnection() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetPrivateEndpointConnection.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionResource.cs index 5401681d72fa..9c519d49f487 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateEndpointConnectionResource.cs @@ -20,7 +20,7 @@ public partial class Sample_AppConfigurationPrivateEndpointConnectionResource [Ignore("Only validating compilation of examples")] public async Task Get_PrivateEndpointConnectionGetConnection() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetPrivateEndpointConnection.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetPrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_PrivateEndpointConnectionGetConnection() [Ignore("Only validating compilation of examples")] public async Task Delete_PrivateEndpointConnectionsDelete() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresDeletePrivateEndpointConnection.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresDeletePrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -78,7 +78,7 @@ public async Task Delete_PrivateEndpointConnectionsDelete() [Ignore("Only validating compilation of examples")] public async Task Update_PrivateEndpointConnectionUpdate() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresUpdatePrivateEndpointConnection.json // this example is just showing the usage of "PrivateEndpointConnections_CreateOrUpdate" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResource.cs index 34bde02be050..6f52c4101464 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResource.cs @@ -19,7 +19,7 @@ public partial class Sample_AppConfigurationPrivateLinkResource [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/PrivateLinkResourceGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/PrivateLinkResourceGet.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResourceCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResourceCollection.cs index 28ce4c060b24..e36b401f2af4 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResourceCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationPrivateLinkResourceCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_AppConfigurationPrivateLinkResourceCollection [Ignore("Only validating compilation of examples")] public async Task Get_PrivateLinkResourcesGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/PrivateLinkResourceGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/PrivateLinkResourceGet.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_PrivateLinkResourcesGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_PrivateLinkResourcesListGroupIds() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/PrivateLinkResourcesListByConfigurationStore.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/PrivateLinkResourcesListByConfigurationStore.json // this example is just showing the usage of "PrivateLinkResources_ListByConfigurationStore" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -89,7 +89,7 @@ public async Task GetAll_PrivateLinkResourcesListGroupIds() [Ignore("Only validating compilation of examples")] public async Task Exists_PrivateLinkResourcesGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/PrivateLinkResourceGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/PrivateLinkResourceGet.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -119,7 +119,7 @@ public async Task Exists_PrivateLinkResourcesGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_PrivateLinkResourcesGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/PrivateLinkResourceGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/PrivateLinkResourceGet.json // this example is just showing the usage of "PrivateLinkResources_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaCollection.cs index 7a12d44360d9..3a8700a30e7a 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_AppConfigurationReplicaCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ReplicasCreate() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresCreateReplica.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresCreateReplica.json // this example is just showing the usage of "Replicas_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -58,7 +58,7 @@ public async Task CreateOrUpdate_ReplicasCreate() [Ignore("Only validating compilation of examples")] public async Task Get_ReplicasGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetReplica.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetReplica.json // this example is just showing the usage of "Replicas_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -92,7 +92,7 @@ public async Task Get_ReplicasGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_ReplicasListByConfigurationStore() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresListReplicas.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresListReplicas.json // this example is just showing the usage of "Replicas_ListByConfigurationStore" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -128,7 +128,7 @@ public async Task GetAll_ReplicasListByConfigurationStore() [Ignore("Only validating compilation of examples")] public async Task Exists_ReplicasGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetReplica.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetReplica.json // this example is just showing the usage of "Replicas_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -158,7 +158,7 @@ public async Task Exists_ReplicasGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ReplicasGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetReplica.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetReplica.json // this example is just showing the usage of "Replicas_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaResource.cs index f0c96ae4ef40..619adb744d9e 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationReplicaResource.cs @@ -19,7 +19,7 @@ public partial class Sample_AppConfigurationReplicaResource [Ignore("Only validating compilation of examples")] public async Task Get_ReplicasGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetReplica.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetReplica.json // this example is just showing the usage of "Replicas_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -50,7 +50,7 @@ public async Task Get_ReplicasGet() [Ignore("Only validating compilation of examples")] public async Task Delete_ReplicasDelete() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresDeleteReplica.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresDeleteReplica.json // this example is just showing the usage of "Replicas_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -77,7 +77,7 @@ public async Task Delete_ReplicasDelete() [Ignore("Only validating compilation of examples")] public async Task Update_ReplicasCreate() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresCreateReplica.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresCreateReplica.json // this example is just showing the usage of "Replicas_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationSnapshotCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationSnapshotCollection.cs index 6d0e0f246f99..f95a25bfa4e5 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationSnapshotCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationSnapshotCollection.cs @@ -19,7 +19,7 @@ public partial class Sample_AppConfigurationSnapshotCollection [Ignore("Only validating compilation of examples")] public async Task Get_SnapshotsGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetSnapshot.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetSnapshot.json // this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_SnapshotsGet() [Ignore("Only validating compilation of examples")] public async Task Exists_SnapshotsGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetSnapshot.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetSnapshot.json // this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -83,7 +83,7 @@ public async Task Exists_SnapshotsGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_SnapshotsGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetSnapshot.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetSnapshot.json // this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationSnapshotResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationSnapshotResource.cs index 7d4672cd98c6..f7ee024e2bbe 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationSnapshotResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationSnapshotResource.cs @@ -19,7 +19,7 @@ public partial class Sample_AppConfigurationSnapshotResource [Ignore("Only validating compilation of examples")] public async Task Get_SnapshotsGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGetSnapshot.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGetSnapshot.json // this example is just showing the usage of "Snapshots_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreCollection.cs index 62d7bdaa2454..a6618bd77a74 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreCollection.cs @@ -22,7 +22,7 @@ public partial class Sample_AppConfigurationStoreCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationStoresCreate() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresCreate.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresCreate.json // this example is just showing the usage of "ConfigurationStores_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -63,7 +63,7 @@ public async Task CreateOrUpdate_ConfigurationStoresCreate() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationStoresCreateWithDataPlaneProxy() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresCreateWithDataPlaneProxy.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresCreateWithDataPlaneProxy.json // this example is just showing the usage of "ConfigurationStores_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -105,7 +105,7 @@ public async Task CreateOrUpdate_ConfigurationStoresCreateWithDataPlaneProxy() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationStoresCreateWithIdentity() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresCreateWithIdentity.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresCreateWithIdentity.json // this example is just showing the usage of "ConfigurationStores_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -153,7 +153,7 @@ public async Task CreateOrUpdate_ConfigurationStoresCreateWithIdentity() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ConfigurationStoresCreateWithLocalAuthDisabled() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresCreateWithLocalAuthDisabled.json // this example is just showing the usage of "ConfigurationStores_Create" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -176,6 +176,53 @@ public async Task CreateOrUpdate_ConfigurationStoresCreateWithLocalAuthDisabled( AppConfigurationStoreData data = new AppConfigurationStoreData(new AzureLocation("westus"), new AppConfigurationSku("Standard")) { DisableLocalAuth = true, + DataPlaneProxy = new AppConfigurationDataPlaneProxyProperties + { + AuthenticationMode = DataPlaneProxyAuthenticationMode.PassThrough, + PrivateLinkDelegation = DataPlaneProxyPrivateLinkDelegation.Disabled, + }, + }; + ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, configStoreName, data); + AppConfigurationStoreResource result = lro.Value; + + // the variable result is a resource, you could call other operations on this instance as well + // but just for demo, we get its data from this resource instance + AppConfigurationStoreData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task CreateOrUpdate_ConfigurationStoresCreateWithTelemetry() + { + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresCreateWithTelemetry.json + // this example is just showing the usage of "ConfigurationStores_Create" operation, for the dependent resources, they will have to be created separately. + + // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line + TokenCredential cred = new DefaultAzureCredential(); + // authenticate your client + ArmClient client = new ArmClient(cred); + + // this example assumes you already have this ResourceGroupResource created on azure + // for more information of creating ResourceGroupResource, please refer to the document of ResourceGroupResource + string subscriptionId = "c80fb759-c965-4c6a-9110-9b2b2d038882"; + string resourceGroupName = "myResourceGroup"; + ResourceIdentifier resourceGroupResourceId = ResourceGroupResource.CreateResourceIdentifier(subscriptionId, resourceGroupName); + ResourceGroupResource resourceGroupResource = client.GetResourceGroupResource(resourceGroupResourceId); + + // get the collection of this AppConfigurationStoreResource + AppConfigurationStoreCollection collection = resourceGroupResource.GetAppConfigurationStores(); + + // invoke the operation + string configStoreName = "contoso"; + AppConfigurationStoreData data = new AppConfigurationStoreData(new AzureLocation("westus"), new AppConfigurationSku("Standard")) + { + TelemetryResourceId = new ResourceIdentifier("/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/microsoft.insights/components/appInsightsName"), + Tags = +{ +["myTag"] = "myTagValue" +}, }; ArmOperation lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, configStoreName, data); AppConfigurationStoreResource result = lro.Value; @@ -191,7 +238,7 @@ public async Task CreateOrUpdate_ConfigurationStoresCreateWithLocalAuthDisabled( [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationStoresGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGet.json // this example is just showing the usage of "ConfigurationStores_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -224,7 +271,7 @@ public async Task Get_ConfigurationStoresGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_ConfigurationStoresListByResourceGroup() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresListByResourceGroup.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresListByResourceGroup.json // this example is just showing the usage of "ConfigurationStores_ListByResourceGroup" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -259,7 +306,7 @@ public async Task GetAll_ConfigurationStoresListByResourceGroup() [Ignore("Only validating compilation of examples")] public async Task Exists_ConfigurationStoresGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGet.json // this example is just showing the usage of "ConfigurationStores_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -288,7 +335,7 @@ public async Task Exists_ConfigurationStoresGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_ConfigurationStoresGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGet.json // this example is just showing the usage of "ConfigurationStores_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreResource.cs index a772f2e35b7c..31c6c94d31ae 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_AppConfigurationStoreResource.cs @@ -21,7 +21,7 @@ public partial class Sample_AppConfigurationStoreResource [Ignore("Only validating compilation of examples")] public async Task Get_ConfigurationStoresGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresGet.json // this example is just showing the usage of "ConfigurationStores_Get" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -51,7 +51,7 @@ public async Task Get_ConfigurationStoresGet() [Ignore("Only validating compilation of examples")] public async Task Delete_ConfigurationStoresDelete() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresDelete.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresDelete.json // this example is just showing the usage of "ConfigurationStores_Delete" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -77,7 +77,7 @@ public async Task Delete_ConfigurationStoresDelete() [Ignore("Only validating compilation of examples")] public async Task Update_ConfigurationStoresUpdate() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresUpdate.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresUpdate.json // this example is just showing the usage of "ConfigurationStores_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -116,7 +116,7 @@ public async Task Update_ConfigurationStoresUpdate() [Ignore("Only validating compilation of examples")] public async Task Update_ConfigurationStoresUpdateDisableLocalAuth() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresUpdateDisableLocalAuth.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresUpdateDisableLocalAuth.json // this example is just showing the usage of "ConfigurationStores_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -152,7 +152,7 @@ public async Task Update_ConfigurationStoresUpdateDisableLocalAuth() [Ignore("Only validating compilation of examples")] public async Task Update_ConfigurationStoresUpdateWithIdentity() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresUpdateWithIdentity.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresUpdateWithIdentity.json // this example is just showing the usage of "ConfigurationStores_Update" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -198,7 +198,7 @@ public async Task Update_ConfigurationStoresUpdateWithIdentity() [Ignore("Only validating compilation of examples")] public async Task GetKeys_ConfigurationStoresListKeys() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresListKeys.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresListKeys.json // this example is just showing the usage of "ConfigurationStores_ListKeys" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -227,7 +227,7 @@ public async Task GetKeys_ConfigurationStoresListKeys() [Ignore("Only validating compilation of examples")] public async Task RegenerateKey_ConfigurationStoresRegenerateKey() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresRegenerateKey.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresRegenerateKey.json // this example is just showing the usage of "ConfigurationStores_RegenerateKey" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreCollection.cs index e355825718fc..9bca92165ca4 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_DeletedAppConfigurationStoreCollection [Ignore("Only validating compilation of examples")] public async Task Get_DeletedConfigurationStoresGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/DeletedConfigurationStoresGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/DeletedConfigurationStoresGet.json // this example is just showing the usage of "ConfigurationStores_GetDeleted" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -53,7 +53,7 @@ public async Task Get_DeletedConfigurationStoresGet() [Ignore("Only validating compilation of examples")] public async Task GetAll_DeletedConfigurationStoresList() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/DeletedConfigurationStoresList.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/DeletedConfigurationStoresList.json // this example is just showing the usage of "ConfigurationStores_ListDeleted" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -87,7 +87,7 @@ public async Task GetAll_DeletedConfigurationStoresList() [Ignore("Only validating compilation of examples")] public async Task Exists_DeletedConfigurationStoresGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/DeletedConfigurationStoresGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/DeletedConfigurationStoresGet.json // this example is just showing the usage of "ConfigurationStores_GetDeleted" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -116,7 +116,7 @@ public async Task Exists_DeletedConfigurationStoresGet() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_DeletedConfigurationStoresGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/DeletedConfigurationStoresGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/DeletedConfigurationStoresGet.json // this example is just showing the usage of "ConfigurationStores_GetDeleted" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreResource.cs index 0fc3bc644d8f..4a0d50876be0 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_DeletedAppConfigurationStoreResource.cs @@ -19,7 +19,7 @@ public partial class Sample_DeletedAppConfigurationStoreResource [Ignore("Only validating compilation of examples")] public async Task Get_DeletedConfigurationStoresGet() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/DeletedConfigurationStoresGet.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/DeletedConfigurationStoresGet.json // this example is just showing the usage of "ConfigurationStores_GetDeleted" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -49,7 +49,7 @@ public async Task Get_DeletedConfigurationStoresGet() [Ignore("Only validating compilation of examples")] public async Task PurgeDeleted_PurgeADeletedConfigurationStore() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/DeletedConfigurationStoresPurge.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/DeletedConfigurationStoresPurge.json // this example is just showing the usage of "ConfigurationStores_PurgeDeleted" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index a74672ae5db6..c8e658517737 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -21,7 +21,7 @@ public partial class Sample_SubscriptionResourceExtensions [Ignore("Only validating compilation of examples")] public async Task GetAppConfigurationStores_ConfigurationStoresList() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/ConfigurationStoresList.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/ConfigurationStoresList.json // this example is just showing the usage of "ConfigurationStores_List" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -52,7 +52,7 @@ public async Task GetAppConfigurationStores_ConfigurationStoresList() [Ignore("Only validating compilation of examples")] public async Task CheckAppConfigurationNameAvailability_ConfigurationStoresCheckNameAvailable() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/CheckNameAvailable.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/CheckNameAvailable.json // this example is just showing the usage of "CheckAppConfigurationNameAvailability" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line @@ -77,7 +77,7 @@ public async Task CheckAppConfigurationNameAvailability_ConfigurationStoresCheck [Ignore("Only validating compilation of examples")] public async Task CheckAppConfigurationNameAvailability_ConfigurationStoresCheckNameNotAvailable() { - // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/stable/2024-05-01/examples/CheckNameNotAvailable.json + // Generated from example definition: specification/appconfiguration/resource-manager/Microsoft.AppConfiguration/preview/2024-06-15-preview/examples/CheckNameNotAvailable.json // this example is just showing the usage of "CheckAppConfigurationNameAvailability" operation, for the dependent resources, they will have to be created separately. // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationKeyValueCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationKeyValueCollection.cs index 4efccd19443b..085c8795f900 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationKeyValueCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationKeyValueCollection.cs @@ -61,7 +61,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -112,7 +112,7 @@ public virtual async Task> Create /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(Wai /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -208,7 +208,7 @@ public virtual async Task> GetAsync(s /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -253,7 +253,7 @@ public virtual Response Get(string keyValueNam /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -296,7 +296,7 @@ public virtual async Task> ExistsAsync(string keyValueName, Cance /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -339,7 +339,7 @@ public virtual Response Exists(string keyValueName, CancellationToken canc /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -384,7 +384,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationKeyValueResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationKeyValueResource.cs index 8c0a0d917d0e..3c65b7e8b964 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationKeyValueResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationKeyValueResource.cs @@ -102,7 +102,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -142,7 +142,7 @@ public virtual async Task> GetAsync(C /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -182,7 +182,7 @@ public virtual Response Get(CancellationToken /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -224,7 +224,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -266,7 +266,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -314,7 +314,7 @@ public virtual async Task> Update /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -362,7 +362,7 @@ public virtual ArmOperation Update(WaitUntil w /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -419,7 +419,7 @@ public virtual async Task> AddTagAsyn /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -476,7 +476,7 @@ public virtual Response AddTag(string key, str /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -532,7 +532,7 @@ public virtual async Task> SetTagsAsy /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -588,7 +588,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -643,7 +643,7 @@ public virtual async Task> RemoveTagA /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateEndpointConnectionCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateEndpointConnectionCollection.cs index 345d2ce27bd3..3d326eeee6b9 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateEndpointConnectionCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateEndpointConnectionCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation C /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(s /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAl /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string privateEndpointConn /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string privateEndpointConnectionName, Cance /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateEndpointConnectionResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateEndpointConnectionResource.cs index 258928161377..f0b363718c2d 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateEndpointConnectionResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateEndpointConnectionResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -181,7 +181,7 @@ public virtual Response Get(C /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -311,7 +311,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateLinkResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateLinkResource.cs index 484b24ca5005..cd994c9d000f 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateLinkResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateLinkResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsyn /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateLinkResourceCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateLinkResourceCollection.cs index a30459b868d6..01d2ee8a9259 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateLinkResourceCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationPrivateLinkResourceCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -109,7 +109,7 @@ public virtual async Task> GetAsyn /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -154,7 +154,7 @@ public virtual Response Get(string groupNam /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -184,7 +184,7 @@ public virtual AsyncPageable GetAllAsync(Ca /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -214,7 +214,7 @@ public virtual Pageable GetAll(Cancellation /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -257,7 +257,7 @@ public virtual async Task> ExistsAsync(string groupName, Cancella /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -300,7 +300,7 @@ public virtual Response Exists(string groupName, CancellationToken cancell /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -345,7 +345,7 @@ public virtual async Task> /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationReplicaCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationReplicaCollection.cs index f700ba77dcc7..c5c8d7d82fc3 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationReplicaCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationReplicaCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> CreateO /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(Wait /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(st /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string replicaName, /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(string /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -314,7 +314,7 @@ public virtual Pageable GetAll(string skipToken /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -357,7 +357,7 @@ public virtual async Task> ExistsAsync(string replicaName, Cancel /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -400,7 +400,7 @@ public virtual Response Exists(string replicaName, CancellationToken cance /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -445,7 +445,7 @@ public virtual async Task> Get /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationReplicaResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationReplicaResource.cs index 35ab069a30df..adbb996a6c8c 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationReplicaResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationReplicaResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(Ca /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -181,7 +181,7 @@ public virtual Response Get(CancellationToken c /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -311,7 +311,7 @@ public virtual async Task> UpdateA /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationSnapshotCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationSnapshotCollection.cs index b9271e809488..529a710a8daf 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationSnapshotCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationSnapshotCollection.cs @@ -61,7 +61,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -110,7 +110,7 @@ public virtual async Task> Create /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -159,7 +159,7 @@ public virtual ArmOperation CreateOrUpdate(Wai /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -204,7 +204,7 @@ public virtual async Task> GetAsync(s /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -249,7 +249,7 @@ public virtual Response Get(string snapshotNam /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -292,7 +292,7 @@ public virtual async Task> ExistsAsync(string snapshotName, Cance /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -335,7 +335,7 @@ public virtual Response Exists(string snapshotName, CancellationToken canc /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -380,7 +380,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationSnapshotResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationSnapshotResource.cs index 6f8fee1684a0..9e1cde21e83f 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationSnapshotResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationSnapshotResource.cs @@ -102,7 +102,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -142,7 +142,7 @@ public virtual async Task> GetAsync(C /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreCollection.cs index 130609d16c6a..d6fc52e0e884 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreCollection.cs @@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -114,7 +114,7 @@ public virtual async Task> CreateOrU /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUn /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -208,7 +208,7 @@ public virtual async Task> GetAsync(stri /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -253,7 +253,7 @@ public virtual Response Get(string configStoreNam /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -284,7 +284,7 @@ public virtual AsyncPageable GetAllAsync(string s /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -315,7 +315,7 @@ public virtual Pageable GetAll(string skipToken = /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -358,7 +358,7 @@ public virtual async Task> ExistsAsync(string configStoreName, Ca /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -401,7 +401,7 @@ public virtual Response Exists(string configStoreName, CancellationToken c /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -446,7 +446,7 @@ public virtual async Task> GetIf /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreData.Serialization.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreData.Serialization.cs index 64a22ae322ea..f4ca8c7a2e9d 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreData.Serialization.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreData.Serialization.cs @@ -100,6 +100,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("softDeleteRetentionInDays"u8); writer.WriteNumberValue(SoftDeleteRetentionInDays.Value); } + if (Optional.IsDefined(DefaultKeyValueRevisionRetentionPeriodInSeconds)) + { + writer.WritePropertyName("defaultKeyValueRevisionRetentionPeriodInSeconds"u8); + writer.WriteNumberValue(DefaultKeyValueRevisionRetentionPeriodInSeconds.Value); + } if (Optional.IsDefined(EnablePurgeProtection)) { writer.WritePropertyName("enablePurgeProtection"u8); @@ -115,6 +120,11 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri writer.WritePropertyName("createMode"u8); writer.WriteStringValue(CreateMode.Value.ToSerialString()); } + if (Optional.IsDefined(Telemetry)) + { + writer.WritePropertyName("telemetry"u8); + writer.WriteObjectValue(Telemetry, options); + } writer.WriteEndObject(); } @@ -154,9 +164,11 @@ internal static AppConfigurationStoreData DeserializeAppConfigurationStoreData(J AppConfigurationPublicNetworkAccess? publicNetworkAccess = default; bool? disableLocalAuth = default; int? softDeleteRetentionInDays = default; + long? defaultKeyValueRevisionRetentionPeriodInSeconds = default; bool? enablePurgeProtection = default; AppConfigurationDataPlaneProxyProperties dataPlaneProxy = default; AppConfigurationCreateMode? createMode = default; + TelemetryProperties telemetry = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -301,6 +313,15 @@ internal static AppConfigurationStoreData DeserializeAppConfigurationStoreData(J softDeleteRetentionInDays = property0.Value.GetInt32(); continue; } + if (property0.NameEquals("defaultKeyValueRevisionRetentionPeriodInSeconds"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + defaultKeyValueRevisionRetentionPeriodInSeconds = property0.Value.GetInt64(); + continue; + } if (property0.NameEquals("enablePurgeProtection"u8)) { if (property0.Value.ValueKind == JsonValueKind.Null) @@ -328,6 +349,15 @@ internal static AppConfigurationStoreData DeserializeAppConfigurationStoreData(J createMode = property0.Value.GetString().ToAppConfigurationCreateMode(); continue; } + if (property0.NameEquals("telemetry"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + telemetry = TelemetryProperties.DeserializeTelemetryProperties(property0.Value, options); + continue; + } } continue; } @@ -354,9 +384,11 @@ internal static AppConfigurationStoreData DeserializeAppConfigurationStoreData(J publicNetworkAccess, disableLocalAuth, softDeleteRetentionInDays, + defaultKeyValueRevisionRetentionPeriodInSeconds, enablePurgeProtection, dataPlaneProxy, createMode, + telemetry, serializedAdditionalRawData); } @@ -651,6 +683,21 @@ private BinaryData SerializeBicep(ModelReaderWriterOptions options) } } + hasPropertyOverride = hasObjectOverride && propertyOverrides.TryGetValue(nameof(DefaultKeyValueRevisionRetentionPeriodInSeconds), out propertyOverride); + if (hasPropertyOverride) + { + builder.Append(" defaultKeyValueRevisionRetentionPeriodInSeconds: "); + builder.AppendLine(propertyOverride); + } + else + { + if (Optional.IsDefined(DefaultKeyValueRevisionRetentionPeriodInSeconds)) + { + builder.Append(" defaultKeyValueRevisionRetentionPeriodInSeconds: "); + builder.AppendLine($"'{DefaultKeyValueRevisionRetentionPeriodInSeconds.Value.ToString()}'"); + } + } + hasPropertyOverride = hasObjectOverride && propertyOverrides.TryGetValue(nameof(EnablePurgeProtection), out propertyOverride); if (hasPropertyOverride) { @@ -697,6 +744,26 @@ private BinaryData SerializeBicep(ModelReaderWriterOptions options) } } + hasPropertyOverride = hasObjectOverride && propertyOverrides.TryGetValue("TelemetryResourceId", out propertyOverride); + if (hasPropertyOverride) + { + builder.Append(" telemetry: "); + builder.AppendLine("{"); + builder.AppendLine(" telemetry: {"); + builder.Append(" resourceId: "); + builder.AppendLine(propertyOverride); + builder.AppendLine(" }"); + builder.AppendLine(" }"); + } + else + { + if (Optional.IsDefined(Telemetry)) + { + builder.Append(" telemetry: "); + BicepSerializationHelpers.AppendChildObject(builder, Telemetry, options, 4, false, " telemetry: "); + } + } + builder.AppendLine(" }"); builder.AppendLine("}"); return BinaryData.FromString(builder.ToString()); diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreData.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreData.cs index de233b789454..0e1efd12ec82 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreData.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreData.cs @@ -80,11 +80,13 @@ public AppConfigurationStoreData(AzureLocation location, AppConfigurationSku sku /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. /// Disables all authentication methods other than AAD authentication. /// The amount of time in days that the configuration store will be retained when it is soft deleted. + /// The duration in seconds to retain new key value revisions. Defaults to 604800 (7 days) for Free SKU stores and 2592000 (30 days) for Standard SKU stores and Premium SKU stores. /// Property specifying whether protection against purge is enabled for this configuration store. /// Property specifying the configuration of data plane proxy for Azure Resource Manager (ARM). /// Indicates whether the configuration store need to be recovered. + /// Property specifying the configuration of telemetry for this configuration store. /// Keeps track of any properties unknown to the library. - internal AppConfigurationStoreData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, AppConfigurationSku sku, AppConfigurationProvisioningState? provisioningState, DateTimeOffset? createdOn, string endpoint, AppConfigurationStoreEncryptionProperties encryption, IReadOnlyList privateEndpointConnections, AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? disableLocalAuth, int? softDeleteRetentionInDays, bool? enablePurgeProtection, AppConfigurationDataPlaneProxyProperties dataPlaneProxy, AppConfigurationCreateMode? createMode, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) + internal AppConfigurationStoreData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, AppConfigurationSku sku, AppConfigurationProvisioningState? provisioningState, DateTimeOffset? createdOn, string endpoint, AppConfigurationStoreEncryptionProperties encryption, IReadOnlyList privateEndpointConnections, AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? disableLocalAuth, int? softDeleteRetentionInDays, long? defaultKeyValueRevisionRetentionPeriodInSeconds, bool? enablePurgeProtection, AppConfigurationDataPlaneProxyProperties dataPlaneProxy, AppConfigurationCreateMode? createMode, TelemetryProperties telemetry, IDictionary serializedAdditionalRawData) : base(id, name, resourceType, systemData, tags, location) { Identity = identity; Sku = sku; @@ -96,9 +98,11 @@ internal AppConfigurationStoreData(ResourceIdentifier id, string name, ResourceT PublicNetworkAccess = publicNetworkAccess; DisableLocalAuth = disableLocalAuth; SoftDeleteRetentionInDays = softDeleteRetentionInDays; + DefaultKeyValueRevisionRetentionPeriodInSeconds = defaultKeyValueRevisionRetentionPeriodInSeconds; EnablePurgeProtection = enablePurgeProtection; DataPlaneProxy = dataPlaneProxy; CreateMode = createMode; + Telemetry = telemetry; _serializedAdditionalRawData = serializedAdditionalRawData; } @@ -156,6 +160,9 @@ public AppConfigurationKeyVaultProperties EncryptionKeyVaultProperties /// The amount of time in days that the configuration store will be retained when it is soft deleted. [WirePath("properties.softDeleteRetentionInDays")] public int? SoftDeleteRetentionInDays { get; set; } + /// The duration in seconds to retain new key value revisions. Defaults to 604800 (7 days) for Free SKU stores and 2592000 (30 days) for Standard SKU stores and Premium SKU stores. + [WirePath("properties.defaultKeyValueRevisionRetentionPeriodInSeconds")] + public long? DefaultKeyValueRevisionRetentionPeriodInSeconds { get; set; } /// Property specifying whether protection against purge is enabled for this configuration store. [WirePath("properties.enablePurgeProtection")] public bool? EnablePurgeProtection { get; set; } @@ -165,5 +172,19 @@ public AppConfigurationKeyVaultProperties EncryptionKeyVaultProperties /// Indicates whether the configuration store need to be recovered. [WirePath("properties.createMode")] public AppConfigurationCreateMode? CreateMode { get; set; } + /// Property specifying the configuration of telemetry for this configuration store. + internal TelemetryProperties Telemetry { get; set; } + /// Resource ID of a resource enabling telemetry collection. + [WirePath("properties.telemetry.resourceId")] + public ResourceIdentifier TelemetryResourceId + { + get => Telemetry is null ? default : Telemetry.ResourceId; + set + { + if (Telemetry is null) + Telemetry = new TelemetryProperties(); + Telemetry.ResourceId = value; + } + } } } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreResource.cs index 1e52313b05cf..1f0b7b581bd5 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/AppConfigurationStoreResource.cs @@ -111,7 +111,7 @@ public virtual AppConfigurationPrivateEndpointConnectionCollection GetAppConfigu /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -142,7 +142,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -180,7 +180,7 @@ public virtual AppConfigurationPrivateLinkResourceCollection GetAppConfiguration /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -211,7 +211,7 @@ public virtual async Task> GetAppC /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -249,7 +249,7 @@ public virtual AppConfigurationKeyValueCollection GetAppConfigurationKeyValues() /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -280,7 +280,7 @@ public virtual async Task> GetAppConf /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -318,7 +318,7 @@ public virtual AppConfigurationReplicaCollection GetAppConfigurationReplicas() /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -349,7 +349,7 @@ public virtual async Task> GetAppConfi /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -387,7 +387,7 @@ public virtual AppConfigurationSnapshotCollection GetAppConfigurationSnapshots() /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -418,7 +418,7 @@ public virtual async Task> GetAppConf /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -449,7 +449,7 @@ public virtual Response GetAppConfigurationSna /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -489,7 +489,7 @@ public virtual async Task> GetAsync(Canc /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -529,7 +529,7 @@ public virtual Response Get(CancellationToken can /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -571,7 +571,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -613,7 +613,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -659,7 +659,7 @@ public virtual async Task> UpdateAsy /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -705,7 +705,7 @@ public virtual ArmOperation Update(WaitUntil wait /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -736,7 +736,7 @@ public virtual AsyncPageable GetKeysAsync(string sk /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -767,7 +767,7 @@ public virtual Pageable GetKeys(string skipToken = /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -809,7 +809,7 @@ public virtual async Task> RegenerateKeyAs /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -851,7 +851,7 @@ public virtual Response RegenerateKey(AppConfigurat /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -913,7 +913,7 @@ public virtual async Task> AddTagAsync(s /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -975,7 +975,7 @@ public virtual Response AddTag(string key, string /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -1032,7 +1032,7 @@ public virtual async Task> SetTagsAsync( /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -1089,7 +1089,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -1149,7 +1149,7 @@ public virtual async Task> RemoveTagAsyn /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ArmAppConfigurationModelFactory.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ArmAppConfigurationModelFactory.cs index 5945ca01b1d5..d558ea58fd4e 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ArmAppConfigurationModelFactory.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ArmAppConfigurationModelFactory.cs @@ -34,11 +34,13 @@ public static partial class ArmAppConfigurationModelFactory /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. /// Disables all authentication methods other than AAD authentication. /// The amount of time in days that the configuration store will be retained when it is soft deleted. + /// The duration in seconds to retain new key value revisions. Defaults to 604800 (7 days) for Free SKU stores and 2592000 (30 days) for Standard SKU stores and Premium SKU stores. /// Property specifying whether protection against purge is enabled for this configuration store. /// Property specifying the configuration of data plane proxy for Azure Resource Manager (ARM). /// Indicates whether the configuration store need to be recovered. + /// Property specifying the configuration of telemetry for this configuration store. /// A new instance for mocking. - public static AppConfigurationStoreData AppConfigurationStoreData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, string skuName = null, AppConfigurationProvisioningState? provisioningState = null, DateTimeOffset? createdOn = null, string endpoint = null, AppConfigurationKeyVaultProperties encryptionKeyVaultProperties = null, IEnumerable privateEndpointConnections = null, AppConfigurationPublicNetworkAccess? publicNetworkAccess = null, bool? disableLocalAuth = null, int? softDeleteRetentionInDays = null, bool? enablePurgeProtection = null, AppConfigurationDataPlaneProxyProperties dataPlaneProxy = null, AppConfigurationCreateMode? createMode = null) + public static AppConfigurationStoreData AppConfigurationStoreData(ResourceIdentifier id = null, string name = null, ResourceType resourceType = default, SystemData systemData = null, IDictionary tags = null, AzureLocation location = default, ManagedServiceIdentity identity = null, string skuName = null, AppConfigurationProvisioningState? provisioningState = null, DateTimeOffset? createdOn = null, string endpoint = null, AppConfigurationKeyVaultProperties encryptionKeyVaultProperties = null, IEnumerable privateEndpointConnections = null, AppConfigurationPublicNetworkAccess? publicNetworkAccess = null, bool? disableLocalAuth = null, int? softDeleteRetentionInDays = null, long? defaultKeyValueRevisionRetentionPeriodInSeconds = null, bool? enablePurgeProtection = null, AppConfigurationDataPlaneProxyProperties dataPlaneProxy = null, AppConfigurationCreateMode? createMode = null, ResourceIdentifier telemetryResourceId = null) { tags ??= new Dictionary(); privateEndpointConnections ??= new List(); @@ -60,9 +62,11 @@ public static AppConfigurationStoreData AppConfigurationStoreData(ResourceIdenti publicNetworkAccess, disableLocalAuth, softDeleteRetentionInDays, + defaultKeyValueRevisionRetentionPeriodInSeconds, enablePurgeProtection, dataPlaneProxy, createMode, + telemetryResourceId != null ? new TelemetryProperties(telemetryResourceId, serializedAdditionalRawData: null) : null, serializedAdditionalRawData: null); } @@ -316,6 +320,33 @@ public static AppConfigurationSnapshotData AppConfigurationSnapshotData(Resource serializedAdditionalRawData: null); } + /// Initializes a new instance of . + /// The id. + /// The name. + /// The resourceType. + /// The systemData. + /// The tags. + /// The location. + /// The managed identity information, if configured. + /// The sku of the configuration store. + /// The provisioning state of the configuration store. + /// The creation date of configuration store. + /// The DNS endpoint where the configuration store API will be available. + /// The encryption settings of the configuration store. + /// The list of private endpoint connections that are set up for this resource. + /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. + /// Disables all authentication methods other than AAD authentication. + /// The amount of time in days that the configuration store will be retained when it is soft deleted. + /// Property specifying whether protection against purge is enabled for this configuration store. + /// Property specifying the configuration of data plane proxy for Azure Resource Manager (ARM). + /// Indicates whether the configuration store need to be recovered. + /// A new instance for mocking. + [EditorBrowsable(EditorBrowsableState.Never)] + public static AppConfigurationStoreData AppConfigurationStoreData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, string skuName, AppConfigurationProvisioningState? provisioningState, DateTimeOffset? createdOn, string endpoint, AppConfigurationKeyVaultProperties encryptionKeyVaultProperties, IEnumerable privateEndpointConnections, AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? disableLocalAuth, int? softDeleteRetentionInDays, bool? enablePurgeProtection, AppConfigurationDataPlaneProxyProperties dataPlaneProxy, AppConfigurationCreateMode? createMode) + { + return AppConfigurationStoreData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, identity: identity, skuName: skuName, provisioningState: provisioningState, createdOn: createdOn, endpoint: endpoint, encryptionKeyVaultProperties: encryptionKeyVaultProperties, privateEndpointConnections: privateEndpointConnections, publicNetworkAccess: publicNetworkAccess, disableLocalAuth: disableLocalAuth, softDeleteRetentionInDays: softDeleteRetentionInDays, defaultKeyValueRevisionRetentionPeriodInSeconds: default, enablePurgeProtection: enablePurgeProtection, dataPlaneProxy: dataPlaneProxy, createMode: createMode, telemetryResourceId: default); + } + /// Initializes a new instance of . /// The id. /// The name. @@ -339,7 +370,7 @@ public static AppConfigurationSnapshotData AppConfigurationSnapshotData(Resource [EditorBrowsable(EditorBrowsableState.Never)] public static AppConfigurationStoreData AppConfigurationStoreData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, string skuName, AppConfigurationProvisioningState? provisioningState, DateTimeOffset? createdOn, string endpoint, AppConfigurationKeyVaultProperties encryptionKeyVaultProperties, IEnumerable privateEndpointConnections, AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? disableLocalAuth, int? softDeleteRetentionInDays, bool? enablePurgeProtection, AppConfigurationCreateMode? createMode) { - return AppConfigurationStoreData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, identity: identity, skuName: skuName, provisioningState: provisioningState, createdOn: createdOn, endpoint: endpoint, encryptionKeyVaultProperties: encryptionKeyVaultProperties, privateEndpointConnections: privateEndpointConnections, publicNetworkAccess: publicNetworkAccess, disableLocalAuth: disableLocalAuth, softDeleteRetentionInDays: softDeleteRetentionInDays, enablePurgeProtection: enablePurgeProtection, dataPlaneProxy: default, createMode: createMode); + return AppConfigurationStoreData(id: id, name: name, resourceType: resourceType, systemData: systemData, tags: tags, location: location, identity: identity, skuName: skuName, provisioningState: provisioningState, createdOn: createdOn, endpoint: endpoint, encryptionKeyVaultProperties: encryptionKeyVaultProperties, privateEndpointConnections: privateEndpointConnections, publicNetworkAccess: publicNetworkAccess, disableLocalAuth: disableLocalAuth, softDeleteRetentionInDays: softDeleteRetentionInDays, defaultKeyValueRevisionRetentionPeriodInSeconds: default, enablePurgeProtection: enablePurgeProtection, dataPlaneProxy: default, createMode: createMode, telemetryResourceId: default); } } } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/DeletedAppConfigurationStoreCollection.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/DeletedAppConfigurationStoreCollection.cs index 68453bce9c3e..4ddbeabee4e5 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/DeletedAppConfigurationStoreCollection.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/DeletedAppConfigurationStoreCollection.cs @@ -69,7 +69,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -115,7 +115,7 @@ public virtual async Task> GetAsy /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -161,7 +161,7 @@ public virtual Response Get(AzureLocation /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// @@ -187,7 +187,7 @@ public virtual AsyncPageable GetAllAsync(C /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// @@ -213,7 +213,7 @@ public virtual Pageable GetAll(Cancellatio /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -257,7 +257,7 @@ public virtual async Task> ExistsAsync(AzureLocation location, st /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -301,7 +301,7 @@ public virtual Response Exists(AzureLocation location, string configStoreN /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -347,7 +347,7 @@ public virtual async Task /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/DeletedAppConfigurationStoreResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/DeletedAppConfigurationStoreResource.cs index a0679363b69f..1ed5feb4e10f 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/DeletedAppConfigurationStoreResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/DeletedAppConfigurationStoreResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsy /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -181,7 +181,7 @@ public virtual Response Get(CancellationTo /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -223,7 +223,7 @@ public virtual async Task PurgeDeletedAsync(WaitUntil waitUntil, C /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/AppConfigurationExtensions.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/AppConfigurationExtensions.cs index a6e8ce22c56f..8e721851ee1d 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/AppConfigurationExtensions.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/AppConfigurationExtensions.cs @@ -196,7 +196,7 @@ public static AppConfigurationStoreCollection GetAppConfigurationStores(this Res /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -234,7 +234,7 @@ public static async Task> GetAppConfigur /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -289,7 +289,7 @@ public static DeletedAppConfigurationStoreCollection GetDeletedAppConfigurationS /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -328,7 +328,7 @@ public static async Task> GetDele /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -367,7 +367,7 @@ public static Response GetDeletedAppConfig /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -404,7 +404,7 @@ public static AsyncPageable GetAppConfigurationSt /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -441,7 +441,7 @@ public static Pageable GetAppConfigurationStores( /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// @@ -473,7 +473,7 @@ public static async Task> Check /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/MockableAppConfigurationResourceGroupResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/MockableAppConfigurationResourceGroupResource.cs index 461319c3cdde..ca535733298a 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/MockableAppConfigurationResourceGroupResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/MockableAppConfigurationResourceGroupResource.cs @@ -53,7 +53,7 @@ public virtual AppConfigurationStoreCollection GetAppConfigurationStores() /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -84,7 +84,7 @@ public virtual async Task> GetAppConfigu /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/MockableAppConfigurationSubscriptionResource.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/MockableAppConfigurationSubscriptionResource.cs index 5eacc545bc3b..1a975416de06 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/MockableAppConfigurationSubscriptionResource.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Extensions/MockableAppConfigurationSubscriptionResource.cs @@ -66,7 +66,7 @@ public virtual DeletedAppConfigurationStoreCollection GetDeletedAppConfiguration /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -98,7 +98,7 @@ public virtual async Task> GetDel /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -130,7 +130,7 @@ public virtual Response GetDeletedAppConfi /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -161,7 +161,7 @@ public virtual AsyncPageable GetAppConfigurationS /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// Resource @@ -192,7 +192,7 @@ public virtual Pageable GetAppConfigurationStores /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// @@ -230,7 +230,7 @@ public virtual async Task> Chec /// /// /// Default Api Version - /// 2024-05-01 + /// 2024-06-15-preview /// /// /// diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStorePatch.Serialization.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStorePatch.Serialization.cs index c562728de175..51488372e2c7 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStorePatch.Serialization.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStorePatch.Serialization.cs @@ -83,6 +83,16 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("dataPlaneProxy"u8); writer.WriteObjectValue(DataPlaneProxy, options); } + if (Optional.IsDefined(Telemetry)) + { + writer.WritePropertyName("telemetry"u8); + writer.WriteObjectValue(Telemetry, options); + } + if (Optional.IsDefined(DefaultKeyValueRevisionRetentionPeriodInSeconds)) + { + writer.WritePropertyName("defaultKeyValueRevisionRetentionPeriodInSeconds"u8); + writer.WriteNumberValue(DefaultKeyValueRevisionRetentionPeriodInSeconds.Value); + } writer.WriteEndObject(); if (options.Format != "W" && _serializedAdditionalRawData != null) { @@ -129,6 +139,8 @@ internal static AppConfigurationStorePatch DeserializeAppConfigurationStorePatch AppConfigurationPublicNetworkAccess? publicNetworkAccess = default; bool? enablePurgeProtection = default; AppConfigurationDataPlaneProxyProperties dataPlaneProxy = default; + TelemetryProperties telemetry = default; + long? defaultKeyValueRevisionRetentionPeriodInSeconds = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) @@ -219,6 +231,24 @@ internal static AppConfigurationStorePatch DeserializeAppConfigurationStorePatch dataPlaneProxy = AppConfigurationDataPlaneProxyProperties.DeserializeAppConfigurationDataPlaneProxyProperties(property0.Value, options); continue; } + if (property0.NameEquals("telemetry"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + telemetry = TelemetryProperties.DeserializeTelemetryProperties(property0.Value, options); + continue; + } + if (property0.NameEquals("defaultKeyValueRevisionRetentionPeriodInSeconds"u8)) + { + if (property0.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + defaultKeyValueRevisionRetentionPeriodInSeconds = property0.Value.GetInt64(); + continue; + } } continue; } @@ -237,6 +267,8 @@ internal static AppConfigurationStorePatch DeserializeAppConfigurationStorePatch publicNetworkAccess, enablePurgeProtection, dataPlaneProxy, + telemetry, + defaultKeyValueRevisionRetentionPeriodInSeconds, serializedAdditionalRawData); } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStorePatch.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStorePatch.cs index 570fc9b3e893..80cff8a7c032 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStorePatch.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/AppConfigurationStorePatch.cs @@ -7,6 +7,7 @@ using System; using System.Collections.Generic; +using Azure.Core; using Azure.ResourceManager.Models; namespace Azure.ResourceManager.AppConfiguration.Models @@ -61,8 +62,10 @@ public AppConfigurationStorePatch() /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. /// Property specifying whether protection against purge is enabled for this configuration store. /// Property specifying the configuration of data plane proxy for Azure Resource Manager (ARM). + /// Property specifying the configuration of telemetry to update for this configuration store. + /// The duration in seconds to retain new key value revisions. Defaults to 604800 (7 days) for Free SKU stores and 2592000 (30 days) for Standard SKU stores and Premium SKU stores. /// Keeps track of any properties unknown to the library. - internal AppConfigurationStorePatch(ManagedServiceIdentity identity, AppConfigurationSku sku, IDictionary tags, AppConfigurationStoreEncryptionProperties encryption, bool? disableLocalAuth, AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? enablePurgeProtection, AppConfigurationDataPlaneProxyProperties dataPlaneProxy, IDictionary serializedAdditionalRawData) + internal AppConfigurationStorePatch(ManagedServiceIdentity identity, AppConfigurationSku sku, IDictionary tags, AppConfigurationStoreEncryptionProperties encryption, bool? disableLocalAuth, AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? enablePurgeProtection, AppConfigurationDataPlaneProxyProperties dataPlaneProxy, TelemetryProperties telemetry, long? defaultKeyValueRevisionRetentionPeriodInSeconds, IDictionary serializedAdditionalRawData) { Identity = identity; Sku = sku; @@ -72,6 +75,8 @@ internal AppConfigurationStorePatch(ManagedServiceIdentity identity, AppConfigur PublicNetworkAccess = publicNetworkAccess; EnablePurgeProtection = enablePurgeProtection; DataPlaneProxy = dataPlaneProxy; + Telemetry = telemetry; + DefaultKeyValueRevisionRetentionPeriodInSeconds = defaultKeyValueRevisionRetentionPeriodInSeconds; _serializedAdditionalRawData = serializedAdditionalRawData; } @@ -118,5 +123,23 @@ public AppConfigurationKeyVaultProperties EncryptionKeyVaultProperties /// Property specifying the configuration of data plane proxy for Azure Resource Manager (ARM). [WirePath("properties.dataPlaneProxy")] public AppConfigurationDataPlaneProxyProperties DataPlaneProxy { get; set; } + /// Property specifying the configuration of telemetry to update for this configuration store. + internal TelemetryProperties Telemetry { get; set; } + /// Resource ID of a resource enabling telemetry collection. + [WirePath("properties.telemetry.resourceId")] + public ResourceIdentifier TelemetryResourceId + { + get => Telemetry is null ? default : Telemetry.ResourceId; + set + { + if (Telemetry is null) + Telemetry = new TelemetryProperties(); + Telemetry.ResourceId = value; + } + } + + /// The duration in seconds to retain new key value revisions. Defaults to 604800 (7 days) for Free SKU stores and 2592000 (30 days) for Standard SKU stores and Premium SKU stores. + [WirePath("properties.defaultKeyValueRevisionRetentionPeriodInSeconds")] + public long? DefaultKeyValueRevisionRetentionPeriodInSeconds { get; set; } } } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/TelemetryProperties.Serialization.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/TelemetryProperties.Serialization.cs new file mode 100644 index 000000000000..702d8cb70ba6 --- /dev/null +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/TelemetryProperties.Serialization.cs @@ -0,0 +1,166 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text; +using System.Text.Json; +using Azure.Core; + +namespace Azure.ResourceManager.AppConfiguration.Models +{ + internal partial class TelemetryProperties : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(TelemetryProperties)} does not support writing '{format}' format."); + } + + if (Optional.IsDefined(ResourceId)) + { + writer.WritePropertyName("resourceId"u8); + writer.WriteStringValue(ResourceId); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + TelemetryProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(TelemetryProperties)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeTelemetryProperties(document.RootElement, options); + } + + internal static TelemetryProperties DeserializeTelemetryProperties(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + ResourceIdentifier resourceId = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("resourceId"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resourceId = new ResourceIdentifier(property.Value.GetString()); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new TelemetryProperties(resourceId, serializedAdditionalRawData); + } + + private BinaryData SerializeBicep(ModelReaderWriterOptions options) + { + StringBuilder builder = new StringBuilder(); + BicepModelReaderWriterOptions bicepOptions = options as BicepModelReaderWriterOptions; + IDictionary propertyOverrides = null; + bool hasObjectOverride = bicepOptions != null && bicepOptions.PropertyOverrides.TryGetValue(this, out propertyOverrides); + bool hasPropertyOverride = false; + string propertyOverride = null; + + builder.AppendLine("{"); + + hasPropertyOverride = hasObjectOverride && propertyOverrides.TryGetValue(nameof(ResourceId), out propertyOverride); + if (hasPropertyOverride) + { + builder.Append(" resourceId: "); + builder.AppendLine(propertyOverride); + } + else + { + if (Optional.IsDefined(ResourceId)) + { + builder.Append(" resourceId: "); + builder.AppendLine($"'{ResourceId.ToString()}'"); + } + } + + builder.AppendLine("}"); + return BinaryData.FromString(builder.ToString()); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + case "bicep": + return SerializeBicep(options); + default: + throw new FormatException($"The model {nameof(TelemetryProperties)} does not support writing '{options.Format}' format."); + } + } + + TelemetryProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeTelemetryProperties(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(TelemetryProperties)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/TelemetryProperties.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/TelemetryProperties.cs new file mode 100644 index 000000000000..6b0497f97b02 --- /dev/null +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/TelemetryProperties.cs @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using Azure.Core; + +namespace Azure.ResourceManager.AppConfiguration.Models +{ + /// Telemetry settings. + internal partial class TelemetryProperties + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + public TelemetryProperties() + { + } + + /// Initializes a new instance of . + /// Resource ID of a resource enabling telemetry collection. + /// Keeps track of any properties unknown to the library. + internal TelemetryProperties(ResourceIdentifier resourceId, IDictionary serializedAdditionalRawData) + { + ResourceId = resourceId; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// Resource ID of a resource enabling telemetry collection. + [WirePath("resourceId")] + public ResourceIdentifier ResourceId { get; set; } + } +} diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/AppConfigurationManagementRestOperations.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/AppConfigurationManagementRestOperations.cs index 19fe56953e4e..971a0c69b8c3 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/AppConfigurationManagementRestOperations.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/AppConfigurationManagementRestOperations.cs @@ -32,7 +32,7 @@ public AppConfigurationManagementRestOperations(HttpPipeline pipeline, string ap { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-05-01"; + _apiVersion = apiVersion ?? "2024-06-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/ConfigurationStoresRestOperations.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/ConfigurationStoresRestOperations.cs index c0c3cfe6263c..df44439f8742 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/ConfigurationStoresRestOperations.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/ConfigurationStoresRestOperations.cs @@ -32,7 +32,7 @@ public ConfigurationStoresRestOperations(HttpPipeline pipeline, string applicati { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-05-01"; + _apiVersion = apiVersion ?? "2024-06-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/KeyValuesRestOperations.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/KeyValuesRestOperations.cs index b0fb88f15bdc..a3dd07e4a9a4 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/KeyValuesRestOperations.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/KeyValuesRestOperations.cs @@ -31,7 +31,7 @@ public KeyValuesRestOperations(HttpPipeline pipeline, string applicationId, Uri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-05-01"; + _apiVersion = apiVersion ?? "2024-06-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs index 52263d7d3087..b9f7175ee39e 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs @@ -32,7 +32,7 @@ public PrivateEndpointConnectionsRestOperations(HttpPipeline pipeline, string ap { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-05-01"; + _apiVersion = apiVersion ?? "2024-06-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs index 3f5c7c2aea1b..4ef2618c6539 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/PrivateLinkResourcesRestOperations.cs @@ -32,7 +32,7 @@ public PrivateLinkResourcesRestOperations(HttpPipeline pipeline, string applicat { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-05-01"; + _apiVersion = apiVersion ?? "2024-06-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/ReplicasRestOperations.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/ReplicasRestOperations.cs index 8defe13b1cd2..b94ae2424337 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/ReplicasRestOperations.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/ReplicasRestOperations.cs @@ -32,7 +32,7 @@ public ReplicasRestOperations(HttpPipeline pipeline, string applicationId, Uri e { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-05-01"; + _apiVersion = apiVersion ?? "2024-06-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/SnapshotsRestOperations.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/SnapshotsRestOperations.cs index 47600ecaf868..1a89eed87bd0 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/SnapshotsRestOperations.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/RestOperations/SnapshotsRestOperations.cs @@ -31,7 +31,7 @@ public SnapshotsRestOperations(HttpPipeline pipeline, string applicationId, Uri { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-05-01"; + _apiVersion = apiVersion ?? "2024-06-15-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/autorest.md b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/autorest.md index 934e5376a8ec..0c683f4a6489 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/autorest.md +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/autorest.md @@ -7,7 +7,7 @@ azure-arm: true csharp: true library-name: AppConfiguration namespace: Azure.ResourceManager.AppConfiguration -require: https://github.com/Azure/azure-rest-api-specs/blob/b72e0199fa3242d64b0b49f38e71586066a8c048/specification/appconfiguration/resource-manager/readme.md +require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/appconfiguration/resource-manager/readme.md # tag: package-2024-05-01 output-folder: $(this-folder)/Generated clear-output-folder: true diff --git a/sdk/durabletask/ci.mgmt.yml b/sdk/durabletask/ci.mgmt.yml index 5f63204cd804..32b11e75b082 100644 --- a/sdk/durabletask/ci.mgmt.yml +++ b/sdk/durabletask/ci.mgmt.yml @@ -1,7 +1,6 @@ # NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. trigger: none - pr: branches: include: diff --git a/sdk/pineconevectordb/ci.yml b/sdk/pineconevectordb/ci.yml deleted file mode 100644 index 0b8325c8c903..000000000000 --- a/sdk/pineconevectordb/ci.yml +++ /dev/null @@ -1,35 +0,0 @@ -# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. - -trigger: - branches: - include: - - main - - hotfix/* - - release/* - paths: - include: - - sdk/pineconevectordb - - sdk/pineconevectordb/ci.yml - - sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDb - -pr: - branches: - include: - - main - - feature/* - - hotfix/* - - release/* - paths: - include: - - sdk/pineconevectordb - - sdk/pineconevectordb/ci.yml - - sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDb - -extends: - template: /eng/pipelines/templates/stages/archetype-sdk-client.yml - parameters: - ServiceDirectory: pineconevectordb - ArtifactName: packages - Artifacts: - - name: Azure.ResourceManager.PineconeVectorDb - safeName: AzureResourceManagerPineconeVectorDb diff --git a/sdk/storage/ci.yml b/sdk/storage/ci.yml index 2ca0501b60bd..4e749e6b85b1 100644 --- a/sdk/storage/ci.yml +++ b/sdk/storage/ci.yml @@ -12,6 +12,8 @@ trigger: - sdk/storage/Azure.Storage.DataMovement/ - sdk/storage/Azure.Storage.DataMovement.Blobs/ - sdk/storage/Azure.Storage.DataMovement.Files/ + exclude: + - sdk/storage/Azure.ResourceManager.Storage/ - sdk/storage/Azure.Storage.DataMovement.Blobs.Files.Shares/ exclude: - sdk/storage/Azure.ResourceManager.Storage/