diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/api/Azure.Provisioning.AppContainers.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/api/Azure.Provisioning.AppContainers.netstandard2.0.cs
index fd172dc21a605..856fdacbaea15 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/api/Azure.Provisioning.AppContainers.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/api/Azure.Provisioning.AppContainers.netstandard2.0.cs
@@ -60,7 +60,6 @@ public static partial class ResourceVersions
public static readonly string V2022_10_01;
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public enum ContainerAppAccessMode
@@ -112,7 +111,6 @@ public static partial class ResourceVersions
public static readonly string V2022_10_01;
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public partial class ContainerAppAuthPlatform : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -228,7 +226,6 @@ public static partial class ResourceVersions
public static readonly string V2022_10_01;
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public partial class ContainerAppConnectedEnvironmentCertificate : Azure.Provisioning.Primitives.ProvisionableResource
@@ -247,7 +244,6 @@ public static partial class ResourceVersions
public static readonly string V2022_10_01;
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public partial class ContainerAppConnectedEnvironmentDaprComponent : Azure.Provisioning.Primitives.ProvisionableResource
@@ -271,7 +267,6 @@ public static partial class ResourceVersions
public static readonly string V2022_10_01;
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public enum ContainerAppConnectedEnvironmentProvisioningState
@@ -299,7 +294,6 @@ public static partial class ResourceVersions
public static readonly string V2022_10_01;
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public partial class ContainerAppContainer : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -632,7 +626,6 @@ public static partial class ResourceVersions
{
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public partial class ContainerAppJobConfiguration : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -733,7 +726,6 @@ public static partial class ResourceVersions
{
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public partial class ContainerAppManagedEnvironment : Azure.Provisioning.Primitives.ProvisionableResource
@@ -771,7 +763,6 @@ public static partial class ResourceVersions
public static readonly string V2022_10_01;
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public partial class ContainerAppManagedEnvironmentCertificate : Azure.Provisioning.Primitives.ProvisionableResource
@@ -791,7 +782,6 @@ public static partial class ResourceVersions
public static readonly string V2022_10_01;
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public partial class ContainerAppManagedEnvironmentDaprComponent : Azure.Provisioning.Primitives.ProvisionableResource
@@ -816,7 +806,6 @@ public static partial class ResourceVersions
public static readonly string V2022_10_01;
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public enum ContainerAppManagedEnvironmentOutBoundType
@@ -839,7 +828,6 @@ public static partial class ResourceVersions
public static readonly string V2022_10_01;
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public partial class ContainerAppOpenIdConnectClientCredential : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -990,7 +978,6 @@ public static partial class ResourceVersions
public static readonly string V2022_10_01;
public static readonly string V2023_05_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_08_02_preview;
}
}
public enum ContainerAppSourceControlOperationState
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerApp.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerApp.cs
index 8337c3aa69fc7..6eced79ab94fd 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerApp.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerApp.cs
@@ -185,11 +185,6 @@ public ContainerApp(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppAuthConfig.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppAuthConfig.cs
index de9eff7cf2658..9e49893f22782 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppAuthConfig.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppAuthConfig.cs
@@ -115,11 +115,6 @@ public ContainerAppAuthConfig(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironment.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironment.cs
index 50f855d5a8df2..70590b98950d4 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironment.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironment.cs
@@ -124,11 +124,6 @@ public ContainerAppConnectedEnvironment(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentCertificate.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentCertificate.cs
index cfbd214e9398f..75d80c4c70e77 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentCertificate.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentCertificate.cs
@@ -88,11 +88,6 @@ public ContainerAppConnectedEnvironmentCertificate(string bicepIdentifier, strin
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentDaprComponent.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentDaprComponent.cs
index 74f4d7d0be702..c632f1f10c6c6 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentDaprComponent.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentDaprComponent.cs
@@ -124,11 +124,6 @@ public ContainerAppConnectedEnvironmentDaprComponent(string bicepIdentifier, str
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentStorage.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentStorage.cs
index 424dd947af5c9..b80fe062f8e17 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentStorage.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppConnectedEnvironmentStorage.cs
@@ -72,11 +72,6 @@ public ContainerAppConnectedEnvironmentStorage(string bicepIdentifier, string? r
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppJob.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppJob.cs
index 32389eebd481c..cfa89067b4c35 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppJob.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppJob.cs
@@ -130,11 +130,6 @@ public ContainerAppJob(string bicepIdentifier, string? resourceVersion = default
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedCertificate.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedCertificate.cs
index dea169344aa2e..b4da04bc07dd3 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedCertificate.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedCertificate.cs
@@ -87,11 +87,6 @@ public ContainerAppManagedCertificate(string bicepIdentifier, string? resourceVe
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironment.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironment.cs
index 9d41e6cb9b2bb..627143efcf0ae 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironment.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironment.cs
@@ -210,11 +210,6 @@ public ContainerAppManagedEnvironment(string bicepIdentifier, string? resourceVe
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentCertificate.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentCertificate.cs
index ca659b9707b2f..9ca2fe792d0b2 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentCertificate.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentCertificate.cs
@@ -88,11 +88,6 @@ public ContainerAppManagedEnvironmentCertificate(string bicepIdentifier, string?
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentDaprComponent.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentDaprComponent.cs
index 2b2fd3b6f8205..36b200419a506 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentDaprComponent.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentDaprComponent.cs
@@ -123,11 +123,6 @@ public ContainerAppManagedEnvironmentDaprComponent(string bicepIdentifier, strin
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentStorage.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentStorage.cs
index fda62bfaf28e4..4dd3a6dc43025 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentStorage.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironmentStorage.cs
@@ -72,11 +72,6 @@ public ContainerAppManagedEnvironmentStorage(string bicepIdentifier, string? res
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppSourceControl.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppSourceControl.cs
index db5a8960361a7..cd3c8e630b7c1 100644
--- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppSourceControl.cs
+++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppSourceControl.cs
@@ -95,11 +95,6 @@ public ContainerAppSourceControl(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ApplicationInsights/api/Azure.Provisioning.ApplicationInsights.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.ApplicationInsights/api/Azure.Provisioning.ApplicationInsights.netstandard2.0.cs
index c4507d99494d1..6fa77126b5400 100644
--- a/sdk/provisioning/Azure.Provisioning.ApplicationInsights/api/Azure.Provisioning.ApplicationInsights.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.ApplicationInsights/api/Azure.Provisioning.ApplicationInsights.netstandard2.0.cs
@@ -78,7 +78,6 @@ public static partial class ResourceVersions
public static readonly string V2014_08_01;
public static readonly string V2015_05_01;
public static readonly string V2020_02_02;
- public static readonly string V2020_02_02_preview;
}
}
public enum ApplicationInsightsPublicNetworkAccessType
diff --git a/sdk/provisioning/Azure.Provisioning.ApplicationInsights/src/Generated/ApplicationInsightsComponent.cs b/sdk/provisioning/Azure.Provisioning.ApplicationInsights/src/Generated/ApplicationInsightsComponent.cs
index f867c2736ed93..2d649e8457c1b 100644
--- a/sdk/provisioning/Azure.Provisioning.ApplicationInsights/src/Generated/ApplicationInsightsComponent.cs
+++ b/sdk/provisioning/Azure.Provisioning.ApplicationInsights/src/Generated/ApplicationInsightsComponent.cs
@@ -289,11 +289,6 @@ public ApplicationInsightsComponent(string bicepIdentifier, string? resourceVers
///
public static class ResourceVersions
{
- ///
- /// 2020-02-02-preview.
- ///
- public static readonly string V2020_02_02_preview = "2020-02-02-preview";
-
///
/// 2020-02-02.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CloudMachine/src/CDKLevel3/Azd.cs b/sdk/provisioning/Azure.Provisioning.CloudMachine/src/CDKLevel3/Azd.cs
index 0c1cdc7b9d537..0e910d262d9f9 100644
--- a/sdk/provisioning/Azure.Provisioning.CloudMachine/src/CDKLevel3/Azd.cs
+++ b/sdk/provisioning/Azure.Provisioning.CloudMachine/src/CDKLevel3/Azd.cs
@@ -37,7 +37,7 @@ internal static void Init(string infraDirectory, CloudMachineInfrastructure cmi)
Infrastructure mainBicep = new("main")
{
- TargetScope = "subscription"
+ TargetScope = DeploymentScope.Subscription
};
ModuleImport import = new("cm", $"cm.bicep")
{
diff --git a/sdk/provisioning/Azure.Provisioning.CloudMachine/src/CDKLevel3/CloudMachineInfrastructure.cs b/sdk/provisioning/Azure.Provisioning.CloudMachine/src/CDKLevel3/CloudMachineInfrastructure.cs
index 1e42ce36a06b9..ae88d693a55ec 100644
--- a/sdk/provisioning/Azure.Provisioning.CloudMachine/src/CDKLevel3/CloudMachineInfrastructure.cs
+++ b/sdk/provisioning/Azure.Provisioning.CloudMachine/src/CDKLevel3/CloudMachineInfrastructure.cs
@@ -77,7 +77,14 @@ public CloudMachineInfrastructure(string cmId)
UserAssignedIdentities = { { BicepFunction.Interpolate($"{Identity.Id}").Compile().ToString(), new UserAssignedIdentityDetails() } }
};
- _storage = StorageResources.CreateAccount("cm_storage");
+ _storage =
+ new StorageAccount("cm_storage", StorageAccount.ResourceVersions.V2023_01_01)
+ {
+ Kind = StorageKind.StorageV2,
+ Sku = new StorageSku { Name = StorageSkuName.StandardLrs },
+ IsHnsEnabled = true,
+ AllowBlobPublicAccess = false
+ };
_storage.Identity = managedServiceIdentity;
_storage.Name = _cmid;
@@ -110,7 +117,7 @@ public CloudMachineInfrastructure(string cmId)
Name = "cm_servicebus_topic_private",
Parent = _serviceBusNamespace,
MaxMessageSizeInKilobytes = 256,
- DefaultMessageTimeToLive = new StringLiteralExpression("P14D"),
+ DefaultMessageTimeToLive = TimeSpan.FromDays(14),
RequiresDuplicateDetection = false,
EnableBatchedOperations = true,
SupportOrdering = true,
@@ -121,9 +128,9 @@ public CloudMachineInfrastructure(string cmId)
Name = SB_PRIVATE_SUB,
Parent = _serviceBusTopic_private,
IsClientAffine = false,
- LockDuration = new StringLiteralExpression("PT30S"),
+ LockDuration = TimeSpan.FromSeconds(30),
RequiresSession = false,
- DefaultMessageTimeToLive = new StringLiteralExpression("P14D"),
+ DefaultMessageTimeToLive = TimeSpan.FromDays(14),
DeadLetteringOnFilterEvaluationExceptions = true,
DeadLetteringOnMessageExpiration = true,
MaxDeliveryCount = 10,
@@ -135,7 +142,7 @@ public CloudMachineInfrastructure(string cmId)
Name = "cm_servicebus_default_topic",
Parent = _serviceBusNamespace,
MaxMessageSizeInKilobytes = 256,
- DefaultMessageTimeToLive = new StringLiteralExpression("P14D"),
+ DefaultMessageTimeToLive = TimeSpan.FromDays(14),
RequiresDuplicateDetection = false,
EnableBatchedOperations = true,
SupportOrdering = true,
@@ -146,9 +153,9 @@ public CloudMachineInfrastructure(string cmId)
Name = "cm_servicebus_subscription_default",
Parent = _serviceBusTopic_default,
IsClientAffine = false,
- LockDuration = new StringLiteralExpression("PT30S"),
+ LockDuration = TimeSpan.FromSeconds(30),
RequiresSession = false,
- DefaultMessageTimeToLive = new StringLiteralExpression("P14D"),
+ DefaultMessageTimeToLive = TimeSpan.FromDays(14),
DeadLetteringOnFilterEvaluationExceptions = true,
DeadLetteringOnMessageExpiration = true,
MaxDeliveryCount = 10,
diff --git a/sdk/provisioning/Azure.Provisioning.Communication/api/Azure.Provisioning.Communication.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.Communication/api/Azure.Provisioning.Communication.netstandard2.0.cs
index 8c51b30486b82..a5a418b792ffd 100644
--- a/sdk/provisioning/Azure.Provisioning.Communication/api/Azure.Provisioning.Communication.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.Communication/api/Azure.Provisioning.Communication.netstandard2.0.cs
@@ -22,7 +22,6 @@ public static partial class ResourceVersions
{
public static readonly string V2023_03_31;
public static readonly string V2023_04_01;
- public static readonly string V2023_06_01_preview;
}
}
public partial class CommunicationService : Azure.Provisioning.Primitives.ProvisionableResource
@@ -50,7 +49,6 @@ public static partial class ResourceVersions
public static readonly string V2020_08_20;
public static readonly string V2023_03_31;
public static readonly string V2023_04_01;
- public static readonly string V2023_06_01_preview;
}
}
public partial class CommunicationServiceKeys : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -153,7 +151,6 @@ public static partial class ResourceVersions
{
public static readonly string V2023_03_31;
public static readonly string V2023_04_01;
- public static readonly string V2023_06_01_preview;
}
}
public enum EmailServicesProvisioningState
@@ -184,7 +181,6 @@ public static partial class ResourceVersions
{
public static readonly string V2023_03_31;
public static readonly string V2023_04_01;
- public static readonly string V2023_06_01_preview;
}
}
public enum UserEngagementTracking
diff --git a/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/CommunicationDomain.cs b/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/CommunicationDomain.cs
index f97dca82f41cc..5f612df4e7633 100644
--- a/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/CommunicationDomain.cs
+++ b/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/CommunicationDomain.cs
@@ -136,11 +136,6 @@ public CommunicationDomain(string bicepIdentifier, string? resourceVersion = def
///
public static class ResourceVersions
{
- ///
- /// 2023-06-01-preview.
- ///
- public static readonly string V2023_06_01_preview = "2023-06-01-preview";
-
///
/// 2023-04-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/CommunicationService.cs b/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/CommunicationService.cs
index 641e55cbc9a06..8535a954201a2 100644
--- a/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/CommunicationService.cs
+++ b/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/CommunicationService.cs
@@ -133,11 +133,6 @@ public CommunicationService(string bicepIdentifier, string? resourceVersion = de
///
public static class ResourceVersions
{
- ///
- /// 2023-06-01-preview.
- ///
- public static readonly string V2023_06_01_preview = "2023-06-01-preview";
-
///
/// 2023-04-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/EmailService.cs b/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/EmailService.cs
index 81100110d9588..73c4a4615f4db 100644
--- a/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/EmailService.cs
+++ b/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/EmailService.cs
@@ -87,11 +87,6 @@ public EmailService(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2023-06-01-preview.
- ///
- public static readonly string V2023_06_01_preview = "2023-06-01-preview";
-
///
/// 2023-04-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/SenderUsername.cs b/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/SenderUsername.cs
index b9d36f96b5088..e9329b3b64494 100644
--- a/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/SenderUsername.cs
+++ b/sdk/provisioning/Azure.Provisioning.Communication/src/Generated/SenderUsername.cs
@@ -94,11 +94,6 @@ public SenderUsername(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2023-06-01-preview.
- ///
- public static readonly string V2023_06_01_preview = "2023-06-01-preview";
-
///
/// 2023-04-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/api/Azure.Provisioning.ContainerRegistry.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/api/Azure.Provisioning.ContainerRegistry.netstandard2.0.cs
index 8bc820c89b8e8..08674ed5354ff 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/api/Azure.Provisioning.ContainerRegistry.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/api/Azure.Provisioning.ContainerRegistry.netstandard2.0.cs
@@ -22,7 +22,12 @@ public partial class ContainerRegistryAgentPool : Azure.Provisioning.Primitives.
public static Azure.Provisioning.ContainerRegistry.ContainerRegistryAgentPool FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2019_06_01_preview;
+ public static readonly string V2017_03_01;
+ public static readonly string V2017_10_01;
+ public static readonly string V2019_05_01;
+ public static readonly string V2021_09_01;
+ public static readonly string V2022_12_01;
+ public static readonly string V2023_07_01;
}
}
public partial class ContainerRegistryBaseImageDependency : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -291,7 +296,6 @@ public static partial class ResourceVersions
public static readonly string V2021_09_01;
public static readonly string V2022_12_01;
public static readonly string V2023_07_01;
- public static readonly string V2023_11_01_preview;
}
}
public partial class ContainerRegistryPrivateEndpointConnectionData : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -355,7 +359,6 @@ public static partial class ResourceVersions
public static readonly string V2021_09_01;
public static readonly string V2022_12_01;
public static readonly string V2023_07_01;
- public static readonly string V2023_11_01_preview;
}
}
public partial class ContainerRegistryResourceStatus : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -482,7 +485,6 @@ public static partial class ResourceVersions
public static readonly string V2021_09_01;
public static readonly string V2022_12_01;
public static readonly string V2023_07_01;
- public static readonly string V2023_11_01_preview;
}
}
public partial class ContainerRegistrySku : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -560,7 +562,6 @@ public static partial class ResourceVersions
{
public static readonly string V2018_09_01;
public static readonly string V2019_04_01;
- public static readonly string V2019_06_01_preview;
}
}
public partial class ContainerRegistryTaskOverridableValue : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -586,7 +587,12 @@ public partial class ContainerRegistryTaskRun : Azure.Provisioning.Primitives.Pr
public static Azure.Provisioning.ContainerRegistry.ContainerRegistryTaskRun FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2019_06_01_preview;
+ public static readonly string V2017_03_01;
+ public static readonly string V2017_10_01;
+ public static readonly string V2019_05_01;
+ public static readonly string V2021_09_01;
+ public static readonly string V2022_12_01;
+ public static readonly string V2023_07_01;
}
}
public partial class ContainerRegistryTaskRunContent : Azure.Provisioning.ContainerRegistry.ContainerRegistryRunContent
@@ -639,7 +645,6 @@ public static partial class ResourceVersions
{
public static readonly string V2022_12_01;
public static readonly string V2023_07_01;
- public static readonly string V2023_11_01_preview;
}
}
public partial class ContainerRegistryTokenCertificate : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -737,7 +742,6 @@ public static partial class ResourceVersions
public static readonly string V2021_09_01;
public static readonly string V2022_12_01;
public static readonly string V2023_07_01;
- public static readonly string V2023_11_01_preview;
}
}
public enum ContainerRegistryWebhookAction
@@ -791,7 +795,6 @@ public static partial class ResourceVersions
{
public static readonly string V2022_12_01;
public static readonly string V2023_07_01;
- public static readonly string V2023_11_01_preview;
}
}
public partial class SourceCodeRepoAuthInfo : Azure.Provisioning.Primitives.ProvisionableConstruct
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryAgentPool.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryAgentPool.cs
index 5f8c0ca2034d0..5a48df65b9615 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryAgentPool.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryAgentPool.cs
@@ -95,7 +95,7 @@ public partial class ContainerRegistryAgentPool : ProvisionableResource
///
/// Version of the ContainerRegistryAgentPool.
public ContainerRegistryAgentPool(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/agentPools", resourceVersion ?? "2019-06-01-preview")
+ : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/agentPools", resourceVersion ?? "2023-07-01")
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_location = BicepValue.DefineProperty(this, "Location", ["location"], isRequired: true);
@@ -116,9 +116,34 @@ public ContainerRegistryAgentPool(string bicepIdentifier, string? resourceVersio
public static class ResourceVersions
{
///
- /// 2019-06-01-preview.
+ /// 2023-07-01.
///
- public static readonly string V2019_06_01_preview = "2019-06-01-preview";
+ public static readonly string V2023_07_01 = "2023-07-01";
+
+ ///
+ /// 2022-12-01.
+ ///
+ public static readonly string V2022_12_01 = "2022-12-01";
+
+ ///
+ /// 2021-09-01.
+ ///
+ public static readonly string V2021_09_01 = "2021-09-01";
+
+ ///
+ /// 2019-05-01.
+ ///
+ public static readonly string V2019_05_01 = "2019-05-01";
+
+ ///
+ /// 2017-10-01.
+ ///
+ public static readonly string V2017_10_01 = "2017-10-01";
+
+ ///
+ /// 2017-03-01.
+ ///
+ public static readonly string V2017_03_01 = "2017-03-01";
}
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryPrivateEndpointConnection.cs
index 313ae885067c1..3b71f7f02944b 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryPrivateEndpointConnection.cs
@@ -88,11 +88,6 @@ public ContainerRegistryPrivateEndpointConnection(string bicepIdentifier, string
///
public static class ResourceVersions
{
- ///
- /// 2023-11-01-preview.
- ///
- public static readonly string V2023_11_01_preview = "2023-11-01-preview";
-
///
/// 2023-07-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryReplication.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryReplication.cs
index 8647c9c2417d5..b3c8086f162ef 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryReplication.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryReplication.cs
@@ -114,11 +114,6 @@ public ContainerRegistryReplication(string bicepIdentifier, string? resourceVers
///
public static class ResourceVersions
{
- ///
- /// 2023-11-01-preview.
- ///
- public static readonly string V2023_11_01_preview = "2023-11-01-preview";
-
///
/// 2023-07-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryService.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryService.cs
index 5c17abd887065..d0e324372e0b1 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryService.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryService.cs
@@ -194,11 +194,6 @@ public ContainerRegistryService(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2023-11-01-preview.
- ///
- public static readonly string V2023_11_01_preview = "2023-11-01-preview";
-
///
/// 2023-07-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryTask.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryTask.cs
index f00a281b4278a..44985c8397eb1 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryTask.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryTask.cs
@@ -184,11 +184,6 @@ public ContainerRegistryTask(string bicepIdentifier, string? resourceVersion = d
///
public static class ResourceVersions
{
- ///
- /// 2019-06-01-preview.
- ///
- public static readonly string V2019_06_01_preview = "2019-06-01-preview";
-
///
/// 2019-04-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryTaskRun.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryTaskRun.cs
index bbfe72c61a5f6..09e465c281ba5 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryTaskRun.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryTaskRun.cs
@@ -100,7 +100,7 @@ public partial class ContainerRegistryTaskRun : ProvisionableResource
///
/// Version of the ContainerRegistryTaskRun.
public ContainerRegistryTaskRun(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/taskRuns", resourceVersion ?? "2019-06-01-preview")
+ : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/taskRuns", resourceVersion ?? "2023-07-01")
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_forceUpdateTag = BicepValue.DefineProperty(this, "ForceUpdateTag", ["properties", "forceUpdateTag"]);
@@ -120,9 +120,34 @@ public ContainerRegistryTaskRun(string bicepIdentifier, string? resourceVersion
public static class ResourceVersions
{
///
- /// 2019-06-01-preview.
+ /// 2023-07-01.
///
- public static readonly string V2019_06_01_preview = "2019-06-01-preview";
+ public static readonly string V2023_07_01 = "2023-07-01";
+
+ ///
+ /// 2022-12-01.
+ ///
+ public static readonly string V2022_12_01 = "2022-12-01";
+
+ ///
+ /// 2021-09-01.
+ ///
+ public static readonly string V2021_09_01 = "2021-09-01";
+
+ ///
+ /// 2019-05-01.
+ ///
+ public static readonly string V2019_05_01 = "2019-05-01";
+
+ ///
+ /// 2017-10-01.
+ ///
+ public static readonly string V2017_10_01 = "2017-10-01";
+
+ ///
+ /// 2017-03-01.
+ ///
+ public static readonly string V2017_03_01 = "2017-03-01";
}
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryToken.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryToken.cs
index fc6a302110435..ab464b306344d 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryToken.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryToken.cs
@@ -103,11 +103,6 @@ public ContainerRegistryToken(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2023-11-01-preview.
- ///
- public static readonly string V2023_11_01_preview = "2023-11-01-preview";
-
///
/// 2023-07-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryWebhook.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryWebhook.cs
index e74309497ab80..32f6c2d67b4af 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryWebhook.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryWebhook.cs
@@ -129,11 +129,6 @@ public ContainerRegistryWebhook(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2023-11-01-preview.
- ///
- public static readonly string V2023_11_01_preview = "2023-11-01-preview";
-
///
/// 2023-07-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ScopeMap.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ScopeMap.cs
index 65fd698aa532b..acf4f9ade8c86 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ScopeMap.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ScopeMap.cs
@@ -104,11 +104,6 @@ public ScopeMap(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2023-11-01-preview.
- ///
- public static readonly string V2023_11_01_preview = "2023-11-01-preview";
-
///
/// 2023-07-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerService/api/Azure.Provisioning.ContainerService.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.ContainerService/api/Azure.Provisioning.ContainerService.netstandard2.0.cs
index c0d979aeb9bf8..51a6307fcf36b 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerService/api/Azure.Provisioning.ContainerService.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerService/api/Azure.Provisioning.ContainerService.netstandard2.0.cs
@@ -74,7 +74,6 @@ public static partial class ResourceVersions
public static readonly string V2024_06_01;
public static readonly string V2024_07_01;
public static readonly string V2024_08_01;
- public static readonly string V2024_08_02_preview;
}
}
public enum AgentPoolType
@@ -204,7 +203,6 @@ public static partial class ResourceVersions
public static readonly string V2024_06_01;
public static readonly string V2024_07_01;
public static readonly string V2024_08_01;
- public static readonly string V2024_08_02_preview;
}
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
@@ -327,7 +325,6 @@ public static partial class ResourceVersions
public static readonly string V2024_06_01;
public static readonly string V2024_07_01;
public static readonly string V2024_08_01;
- public static readonly string V2024_08_02_preview;
}
}
public partial class ContainerServiceMaintenanceRelativeMonthlySchedule : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -476,7 +473,6 @@ public static partial class ResourceVersions
public static readonly string V2024_06_01;
public static readonly string V2024_07_01;
public static readonly string V2024_08_01;
- public static readonly string V2024_08_02_preview;
}
}
public enum ContainerServiceNetworkMode
@@ -621,7 +617,6 @@ public static partial class ResourceVersions
public static readonly string V2024_06_01;
public static readonly string V2024_07_01;
public static readonly string V2024_08_01;
- public static readonly string V2024_08_02_preview;
}
}
public enum ContainerServicePrivateEndpointConnectionProvisioningState
@@ -745,7 +740,6 @@ public static partial class ResourceVersions
public static readonly string V2024_06_01;
public static readonly string V2024_07_01;
public static readonly string V2024_08_01;
- public static readonly string V2024_08_02_preview;
}
}
public enum ContainerServiceTrustedAccessRoleBindingProvisioningState
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/AgentPoolSnapshot.cs b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/AgentPoolSnapshot.cs
index cdd1bdf3b19b6..7c976c238f521 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/AgentPoolSnapshot.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/AgentPoolSnapshot.cs
@@ -132,11 +132,6 @@ public AgentPoolSnapshot(string bicepIdentifier, string? resourceVersion = defau
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-08-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceAgentPool.cs b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceAgentPool.cs
index eab7365c8ac59..8933967cf4c55 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceAgentPool.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceAgentPool.cs
@@ -431,11 +431,6 @@ public ContainerServiceAgentPool(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-08-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceMaintenanceConfiguration.cs b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceMaintenanceConfiguration.cs
index b5811a08551c6..29b83b9303624 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceMaintenanceConfiguration.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceMaintenanceConfiguration.cs
@@ -89,11 +89,6 @@ public ContainerServiceMaintenanceConfiguration(string bicepIdentifier, string?
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-08-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceManagedCluster.cs b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceManagedCluster.cs
index cd01d582f5bfb..0f8db93be4439 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceManagedCluster.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceManagedCluster.cs
@@ -405,11 +405,6 @@ public ContainerServiceManagedCluster(string bicepIdentifier, string? resourceVe
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-08-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServicePrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServicePrivateEndpointConnection.cs
index 7504c70563c1c..6d81604c894d0 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServicePrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServicePrivateEndpointConnection.cs
@@ -88,11 +88,6 @@ public ContainerServicePrivateEndpointConnection(string bicepIdentifier, string?
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-08-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceTrustedAccessRoleBinding.cs b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceTrustedAccessRoleBinding.cs
index 982b50f0bed92..40ea9082b9beb 100644
--- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceTrustedAccessRoleBinding.cs
+++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceTrustedAccessRoleBinding.cs
@@ -91,11 +91,6 @@ public ContainerServiceTrustedAccessRoleBinding(string bicepIdentifier, string?
///
public static class ResourceVersions
{
- ///
- /// 2024-08-02-preview.
- ///
- public static readonly string V2024_08_02_preview = "2024-08-02-preview";
-
///
/// 2024-08-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/api/Azure.Provisioning.CosmosDB.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/api/Azure.Provisioning.CosmosDB.netstandard2.0.cs
index 84929af5ebff1..2493d1791762c 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/api/Azure.Provisioning.CosmosDB.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/api/Azure.Provisioning.CosmosDB.netstandard2.0.cs
@@ -94,7 +94,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CassandraClusterBackupSchedule : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -172,7 +171,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CassandraDataCenterProperties : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -249,7 +247,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CassandraKeyspacePropertiesConfig : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -297,7 +294,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CassandraPartitionKey : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -361,7 +357,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CassandraTablePropertiesConfig : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -417,7 +412,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CassandraViewGetPropertiesOptions : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -473,7 +467,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CassandraViewResource : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -521,7 +514,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public enum CompositePathSortOrder
@@ -663,7 +655,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBAccountBackupPolicy : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -939,7 +930,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBPrivateEndpointConnectionData : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1025,7 +1015,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBServiceProperties : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1106,7 +1095,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBSqlClientEncryptionKeyProperties : Azure.Provisioning.CosmosDB.CosmosDBSqlClientEncryptionKeyResourceInfo
@@ -1164,7 +1152,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBSqlContainerPropertiesConfig : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1228,7 +1215,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBSqlDatabase : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1271,7 +1257,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBSqlDatabasePropertiesConfig : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1326,7 +1311,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBSqlRoleAssignment : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1367,7 +1351,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBSqlRoleDefinition : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1409,7 +1392,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public enum CosmosDBSqlRoleDefinitionType
@@ -1463,7 +1445,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBSqlStoredProcedureResourceInfo : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1512,7 +1493,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public enum CosmosDBSqlTriggerOperation
@@ -1576,7 +1556,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBSqlUserDefinedFunctionResourceInfo : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1637,7 +1616,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class CosmosDBTablePropertiesOptions : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1671,10 +1649,6 @@ public partial class CosmosDBThroughputPool : Azure.Provisioning.Primitives.Prov
public Azure.Provisioning.BicepValue SystemData { get { throw null; } }
public Azure.Provisioning.BicepDictionary Tags { get { throw null; } set { } }
public static Azure.Provisioning.CosmosDB.CosmosDBThroughputPool FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
- public static partial class ResourceVersions
- {
- public static readonly string V2024_02_15_preview;
- }
}
public partial class CosmosDBThroughputPoolAccount : Azure.Provisioning.Primitives.ProvisionableResource
{
@@ -1690,7 +1664,6 @@ public partial class CosmosDBThroughputPoolAccount : Azure.Provisioning.Primitiv
public static Azure.Provisioning.CosmosDB.CosmosDBThroughputPoolAccount FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2024_02_15_preview;
}
}
public partial class CosmosDBUniqueKey : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1755,7 +1728,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class DatabaseAccountKeysMetadata : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1823,7 +1795,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public enum DataTransferJobMode
@@ -2030,7 +2001,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class GremlinDatabase : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2073,7 +2043,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class GremlinDatabasePropertiesConfig : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -2134,7 +2103,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class GremlinGraph : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2177,7 +2145,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class GremlinGraphPropertiesConfig : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -2238,7 +2205,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class MaterializedViewDefinition : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -2340,7 +2306,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class MongoDBCollectionPropertiesConfig : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -2398,7 +2363,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class MongoDBDatabase : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2441,7 +2405,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class MongoDBDatabasePropertiesConfig : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -2496,7 +2459,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public partial class MongoDBIndex : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -2569,7 +2531,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public enum MongoDBRoleDefinitionType
@@ -2618,7 +2579,6 @@ public static partial class ResourceVersions
public static readonly string V2023_11_15;
public static readonly string V2024_05_15;
public static readonly string V2024_08_15;
- public static readonly string V2024_09_01_preview;
}
}
public enum NetworkAclBypass
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraCluster.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraCluster.cs
index 514280c2c4a18..f6b964beb63ea 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraCluster.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraCluster.cs
@@ -88,11 +88,6 @@ public CassandraCluster(string bicepIdentifier, string? resourceVersion = defaul
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraDataCenter.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraDataCenter.cs
index 9b3d0497476ac..2e9f19ea79a30 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraDataCenter.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraDataCenter.cs
@@ -73,11 +73,6 @@ public CassandraDataCenter(string bicepIdentifier, string? resourceVersion = def
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspace.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspace.cs
index 4369df0c57661..8033b2611271a 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspace.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspace.cs
@@ -110,11 +110,6 @@ public CassandraKeyspace(string bicepIdentifier, string? resourceVersion = defau
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspaceThroughputSetting.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspaceThroughputSetting.cs
index bfb2e5577485d..b054167e33f26 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspaceThroughputSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspaceThroughputSetting.cs
@@ -94,11 +94,6 @@ public CassandraKeyspaceThroughputSetting(string bicepIdentifier, string? resour
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTable.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTable.cs
index f2b565a6b2808..17ea159b5a8e2 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTable.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTable.cs
@@ -102,11 +102,6 @@ public CassandraTable(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTableThroughputSetting.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTableThroughputSetting.cs
index 76b82ac99310b..326d0425f2618 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTableThroughputSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTableThroughputSetting.cs
@@ -94,11 +94,6 @@ public CassandraTableThroughputSetting(string bicepIdentifier, string? resourceV
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewGetResult.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewGetResult.cs
index 0296660f710aa..f26dcf9360e41 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewGetResult.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewGetResult.cs
@@ -102,11 +102,6 @@ public CassandraViewGetResult(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewThroughputSetting.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewThroughputSetting.cs
index 7b68941b6bec5..f7b2b4c1a7944 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewThroughputSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewThroughputSetting.cs
@@ -94,11 +94,6 @@ public CassandraViewThroughputSetting(string bicepIdentifier, string? resourceVe
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBAccount.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBAccount.cs
index 504951efdf97b..d7e55d1363888 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBAccount.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBAccount.cs
@@ -446,11 +446,6 @@ public CosmosDBAccount(string bicepIdentifier, string? resourceVersion = default
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBPrivateEndpointConnection.cs
index 231d238f87259..0cff40844d695 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBPrivateEndpointConnection.cs
@@ -93,11 +93,6 @@ public CosmosDBPrivateEndpointConnection(string bicepIdentifier, string? resourc
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBService.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBService.cs
index 0d3e896760e20..5295b56da3086 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBService.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBService.cs
@@ -104,11 +104,6 @@ public CosmosDBService(string bicepIdentifier, string? resourceVersion = default
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlClientEncryptionKey.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlClientEncryptionKey.cs
index 111b4d9ddf931..346e322aebb4a 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlClientEncryptionKey.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlClientEncryptionKey.cs
@@ -72,11 +72,6 @@ public CosmosDBSqlClientEncryptionKey(string bicepIdentifier, string? resourceVe
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainer.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainer.cs
index 1e637ad1380c2..95e4f7ed5d6af 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainer.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainer.cs
@@ -102,11 +102,6 @@ public CosmosDBSqlContainer(string bicepIdentifier, string? resourceVersion = de
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainerThroughputSetting.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainerThroughputSetting.cs
index 6bb258c52fd7e..2829b35ac13f3 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainerThroughputSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainerThroughputSetting.cs
@@ -94,11 +94,6 @@ public CosmosDBSqlContainerThroughputSetting(string bicepIdentifier, string? res
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabase.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabase.cs
index 541d3f1537822..0f5c85783718e 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabase.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabase.cs
@@ -102,11 +102,6 @@ public CosmosDBSqlDatabase(string bicepIdentifier, string? resourceVersion = def
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabaseThroughputSetting.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabaseThroughputSetting.cs
index df227e9ad8405..f7aec11b53052 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabaseThroughputSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabaseThroughputSetting.cs
@@ -94,11 +94,6 @@ public CosmosDBSqlDatabaseThroughputSetting(string bicepIdentifier, string? reso
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleAssignment.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleAssignment.cs
index 448f790d31b52..7c252ee4f9b8e 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleAssignment.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleAssignment.cs
@@ -90,11 +90,6 @@ public CosmosDBSqlRoleAssignment(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleDefinition.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleDefinition.cs
index ab568090cc20e..1b01d9af3b87b 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleDefinition.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleDefinition.cs
@@ -100,11 +100,6 @@ public CosmosDBSqlRoleDefinition(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlStoredProcedure.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlStoredProcedure.cs
index 5d4e126a08861..a56f6078212fc 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlStoredProcedure.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlStoredProcedure.cs
@@ -102,11 +102,6 @@ public CosmosDBSqlStoredProcedure(string bicepIdentifier, string? resourceVersio
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlTrigger.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlTrigger.cs
index 02fc7514cddeb..5e714f7dcfaa4 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlTrigger.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlTrigger.cs
@@ -102,11 +102,6 @@ public CosmosDBSqlTrigger(string bicepIdentifier, string? resourceVersion = defa
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlUserDefinedFunction.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlUserDefinedFunction.cs
index a8b5d115e1038..c73964b7a6dad 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlUserDefinedFunction.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlUserDefinedFunction.cs
@@ -102,11 +102,6 @@ public CosmosDBSqlUserDefinedFunction(string bicepIdentifier, string? resourceVe
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBTable.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBTable.cs
index 9957eba210712..af4733cddeeb7 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBTable.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBTable.cs
@@ -102,11 +102,6 @@ public CosmosDBTable(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBThroughputPool.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBThroughputPool.cs
index 1ff5f1efe6747..317fd5368b9ac 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBThroughputPool.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBThroughputPool.cs
@@ -71,7 +71,7 @@ public partial class CosmosDBThroughputPool : ProvisionableResource
///
/// Version of the CosmosDBThroughputPool.
public CosmosDBThroughputPool(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.DocumentDB/throughputPools", resourceVersion ?? "2024-02-15-preview")
+ : base(bicepIdentifier, "Microsoft.DocumentDB/throughputPools", resourceVersion)
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_location = BicepValue.DefineProperty(this, "Location", ["location"], isRequired: true);
@@ -82,17 +82,6 @@ public CosmosDBThroughputPool(string bicepIdentifier, string? resourceVersion =
_systemData = BicepValue.DefineProperty(this, "SystemData", ["systemData"], isOutput: true);
}
- ///
- /// Supported CosmosDBThroughputPool resource versions.
- ///
- public static class ResourceVersions
- {
- ///
- /// 2024-02-15-preview.
- ///
- public static readonly string V2024_02_15_preview = "2024-02-15-preview";
- }
-
///
/// Creates a reference to an existing CosmosDBThroughputPool.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBThroughputPoolAccount.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBThroughputPoolAccount.cs
index 0f9b7a9c54f80..3bc66c5bf36f0 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBThroughputPoolAccount.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBThroughputPoolAccount.cs
@@ -77,7 +77,7 @@ public partial class CosmosDBThroughputPoolAccount : ProvisionableResource
///
/// Version of the CosmosDBThroughputPoolAccount.
public CosmosDBThroughputPoolAccount(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.DocumentDB/throughputPools/throughputPoolAccounts", resourceVersion ?? "2024-02-15-preview")
+ : base(bicepIdentifier, "Microsoft.DocumentDB/throughputPools/throughputPoolAccounts", resourceVersion)
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_accountLocation = BicepValue.DefineProperty(this, "AccountLocation", ["properties", "accountLocation"]);
@@ -94,12 +94,7 @@ public CosmosDBThroughputPoolAccount(string bicepIdentifier, string? resourceVer
///
public static class ResourceVersions
{
- ///
- /// 2024-02-15-preview.
- ///
- public static readonly string V2024_02_15_preview = "2024-02-15-preview";
}
-
///
/// Creates a reference to an existing CosmosDBThroughputPoolAccount.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosTableThroughputSetting.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosTableThroughputSetting.cs
index 05d9ff3fadc4e..54c970b254db8 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosTableThroughputSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosTableThroughputSetting.cs
@@ -94,11 +94,6 @@ public CosmosTableThroughputSetting(string bicepIdentifier, string? resourceVers
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/DataTransferJobGetResult.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/DataTransferJobGetResult.cs
index bf91c59a502f1..0b267da4785ea 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/DataTransferJobGetResult.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/DataTransferJobGetResult.cs
@@ -171,11 +171,6 @@ public DataTransferJobGetResult(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GraphResourceGetResult.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GraphResourceGetResult.cs
index cb4ec46f6fc0f..0b32045292a53 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GraphResourceGetResult.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GraphResourceGetResult.cs
@@ -102,11 +102,6 @@ public GraphResourceGetResult(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabase.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabase.cs
index 03e353461d1bc..5676117aaa302 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabase.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabase.cs
@@ -102,11 +102,6 @@ public GremlinDatabase(string bicepIdentifier, string? resourceVersion = default
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabaseThroughputSetting.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabaseThroughputSetting.cs
index 752f1b005f949..a5f42178def58 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabaseThroughputSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabaseThroughputSetting.cs
@@ -94,11 +94,6 @@ public GremlinDatabaseThroughputSetting(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraph.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraph.cs
index 29c934f1291e3..ae47f86866398 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraph.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraph.cs
@@ -102,11 +102,6 @@ public GremlinGraph(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraphThroughputSetting.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraphThroughputSetting.cs
index 6364c00023b71..880782511413d 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraphThroughputSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraphThroughputSetting.cs
@@ -94,11 +94,6 @@ public GremlinGraphThroughputSetting(string bicepIdentifier, string? resourceVer
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollection.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollection.cs
index 355717f76cdf1..2767280f6d564 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollection.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollection.cs
@@ -102,11 +102,6 @@ public MongoDBCollection(string bicepIdentifier, string? resourceVersion = defau
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollectionThroughputSetting.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollectionThroughputSetting.cs
index 117981ad329ba..a82267e1a3db4 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollectionThroughputSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollectionThroughputSetting.cs
@@ -94,11 +94,6 @@ public MongoDBCollectionThroughputSetting(string bicepIdentifier, string? resour
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabase.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabase.cs
index 2263ee76f8dcf..1624c5d32ee08 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabase.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabase.cs
@@ -102,11 +102,6 @@ public MongoDBDatabase(string bicepIdentifier, string? resourceVersion = default
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabaseThroughputSetting.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabaseThroughputSetting.cs
index 2c5d8020b35f9..eb1368226e7ec 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabaseThroughputSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabaseThroughputSetting.cs
@@ -94,11 +94,6 @@ public MongoDBDatabaseThroughputSetting(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBRoleDefinition.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBRoleDefinition.cs
index 8df61a779cf24..19a833a0e3a31 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBRoleDefinition.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBRoleDefinition.cs
@@ -106,11 +106,6 @@ public MongoDBRoleDefinition(string bicepIdentifier, string? resourceVersion = d
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBUserDefinition.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBUserDefinition.cs
index 1444d6f6d30b6..3ba269ab74285 100644
--- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBUserDefinition.cs
+++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBUserDefinition.cs
@@ -111,11 +111,6 @@ public MongoDBUserDefinition(string bicepIdentifier, string? resourceVersion = d
///
public static class ResourceVersions
{
- ///
- /// 2024-09-01-preview.
- ///
- public static readonly string V2024_09_01_preview = "2024-09-01-preview";
-
///
/// 2024-08-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Deployment/api/Azure.Provisioning.Deployment.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.Deployment/api/Azure.Provisioning.Deployment.netstandard2.0.cs
index b6628c005d18c..50a8f333138c5 100644
--- a/sdk/provisioning/Azure.Provisioning.Deployment/api/Azure.Provisioning.Deployment.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.Deployment/api/Azure.Provisioning.Deployment.netstandard2.0.cs
@@ -7,13 +7,11 @@ internal ProvisioningDeployment() { }
public Azure.ResponseError? Error { get { throw null; } }
public System.Collections.Generic.IReadOnlyDictionary Outputs { get { throw null; } }
public Azure.ResourceManager.Resources.Models.ResourcesProvisioningState? ProvisioningState { get { throw null; } }
- public TClient CreateClient(Azure.Provisioning.Primitives.IClientCreator resource, Azure.Core.TokenCredential? credential = null, TOptions? options = null) where TOptions : Azure.Core.ClientOptions { throw null; }
}
public partial class ProvisioningDeploymentOptions
{
public ProvisioningDeploymentOptions() { }
public Azure.ResourceManager.ArmClient ArmClient { get { throw null; } set { } }
- public System.Action? ConfigureClientOptionsCallback { get { throw null; } set { } }
public Azure.Core.TokenCredential DefaultArmCredential { get { throw null; } set { } }
public Azure.Core.TokenCredential DefaultClientCredential { get { throw null; } set { } }
public Azure.Core.TokenCredential? DefaultCredential { get { throw null; } set { } }
diff --git a/sdk/provisioning/Azure.Provisioning.Deployment/src/ProvisioningDeployment.cs b/sdk/provisioning/Azure.Provisioning.Deployment/src/ProvisioningDeployment.cs
index 2763c6900512e..77e1973d8388d 100644
--- a/sdk/provisioning/Azure.Provisioning.Deployment/src/ProvisioningDeployment.cs
+++ b/sdk/provisioning/Azure.Provisioning.Deployment/src/ProvisioningDeployment.cs
@@ -88,6 +88,7 @@ internal ProvisioningDeployment(ProvisioningPlan plan, ProvisioningDeploymentOpt
Outputs = outputs;
}
+#if EXPERIMENTAL_PROVISIONING
///
/// Create a data-plane client for a specific Azure resource.
///
@@ -120,4 +121,5 @@ public TClient CreateClient(IClientCreator
if (options is not null) { DeploymentOptions.ConfigureClientOptionsCallback?.Invoke(options); }
return resource.CreateClient(Outputs, credential, options);
}
+#endif
}
diff --git a/sdk/provisioning/Azure.Provisioning.Deployment/src/ProvisioningDeploymentOptions.cs b/sdk/provisioning/Azure.Provisioning.Deployment/src/ProvisioningDeploymentOptions.cs
index ba541d0e2782f..b28c1b9bc92d7 100644
--- a/sdk/provisioning/Azure.Provisioning.Deployment/src/ProvisioningDeploymentOptions.cs
+++ b/sdk/provisioning/Azure.Provisioning.Deployment/src/ProvisioningDeploymentOptions.cs
@@ -31,7 +31,9 @@ public ArmClient ArmClient
{
// TODO: Hook into IConfig story for constructing ArmClient too
ArmClientOptions options = new();
+#if EXPERIMENTAL_PROVISIONING
ConfigureClientOptionsCallback?.Invoke(options);
+#endif
_armClient = new ArmClient(DefaultArmCredential, DefaultSubscriptionId, options);
}
return _armClient;
@@ -133,6 +135,7 @@ public TokenCredential DefaultClientCredential
}
private TokenCredential? _defaultClientCredential;
+#if EXPERIMENTAL_PROVISIONING
///
/// Optional callback used to configure any
/// instance used for creating or
@@ -142,6 +145,7 @@ public TokenCredential DefaultClientCredential
/// Azure client.
///
public Action? ConfigureClientOptionsCallback { get; set; }
+#endif
// TODO: Default CancellationToken to link to all async operations?
}
diff --git a/sdk/provisioning/Azure.Provisioning.Deployment/tests/ExtensionTests.cs b/sdk/provisioning/Azure.Provisioning.Deployment/tests/ExtensionTests.cs
index f2e77927e648b..3a99c21455b48 100644
--- a/sdk/provisioning/Azure.Provisioning.Deployment/tests/ExtensionTests.cs
+++ b/sdk/provisioning/Azure.Provisioning.Deployment/tests/ExtensionTests.cs
@@ -6,6 +6,7 @@
using Azure.Provisioning.Primitives;
using Azure.Provisioning.Storage;
using Azure.Provisioning.Tests;
+using Microsoft.Identity.Client.Extensions.Msal;
using NUnit.Framework;
namespace Azure.Provisioning.Deployment.Tests;
@@ -19,7 +20,14 @@ public void LintClean()
if (SkipTools) { return; }
Infrastructure infra = new();
- StorageAccount resource = StorageResources.CreateAccount("storage");
+ StorageAccount resource =
+ new("storage", StorageAccount.ResourceVersions.V2023_01_01)
+ {
+ Kind = StorageKind.StorageV2,
+ Sku = new StorageSku { Name = StorageSkuName.StandardLrs },
+ IsHnsEnabled = true,
+ AllowBlobPublicAccess = false
+ };
infra.Add(resource);
// Lint
@@ -74,7 +82,14 @@ public void GetArmTemplate()
if (SkipTools) { return; }
Infrastructure infra = new();
- StorageAccount resource = StorageResources.CreateAccount("storage");
+ StorageAccount resource =
+ new("storage", StorageAccount.ResourceVersions.V2023_01_01)
+ {
+ Kind = StorageKind.StorageV2,
+ Sku = new StorageSku { Name = StorageSkuName.StandardLrs },
+ IsHnsEnabled = true,
+ AllowBlobPublicAccess = false
+ };
infra.Add(resource);
ProvisioningPlan plan = infra.Build();
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/api/Azure.Provisioning.EventGrid.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/api/Azure.Provisioning.EventGrid.netstandard2.0.cs
index e59323475b8b7..5e561b211a480 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/api/Azure.Provisioning.EventGrid.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/api/Azure.Provisioning.EventGrid.netstandard2.0.cs
@@ -53,7 +53,6 @@ public partial class CaCertificate : Azure.Provisioning.Primitives.Provisionable
public static Azure.Provisioning.EventGrid.CaCertificate FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2024_06_01_preview;
}
}
public enum CaCertificateProvisioningState
@@ -210,7 +209,6 @@ public static partial class ResourceVersions
public static readonly string V2020_06_01;
public static readonly string V2021_12_01;
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public partial class DomainTopic : Azure.Provisioning.Primitives.ProvisionableResource
@@ -230,7 +228,6 @@ public static partial class ResourceVersions
public static readonly string V2020_06_01;
public static readonly string V2021_12_01;
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public partial class DomainTopicEventSubscription : Azure.Provisioning.Primitives.ProvisionableResource
@@ -258,7 +255,6 @@ public static partial class ResourceVersions
public static readonly string V2020_06_01;
public static readonly string V2021_12_01;
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public enum DomainTopicProvisioningState
@@ -346,7 +342,6 @@ public static partial class ResourceVersions
public static readonly string V2020_06_01;
public static readonly string V2021_12_01;
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public partial class EventGridDomainPrivateEndpointConnection : Azure.Provisioning.Primitives.ProvisionableResource
@@ -367,7 +362,6 @@ public static partial class ResourceVersions
public static readonly string V2020_06_01;
public static readonly string V2021_12_01;
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public enum EventGridDomainProvisioningState
@@ -433,10 +427,6 @@ public partial class EventGridNamespace : Azure.Provisioning.Primitives.Provisio
public Azure.Provisioning.BicepValue TopicsConfiguration { get { throw null; } set { } }
public Azure.Provisioning.BicepValue TopicSpacesConfiguration { get { throw null; } set { } }
public static Azure.Provisioning.EventGrid.EventGridNamespace FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
- public static partial class ResourceVersions
- {
- public static readonly string V2024_06_01_preview;
- }
}
public partial class EventGridNamespaceClientGroup : Azure.Provisioning.Primitives.ProvisionableResource
{
@@ -451,7 +441,6 @@ public partial class EventGridNamespaceClientGroup : Azure.Provisioning.Primitiv
public static Azure.Provisioning.EventGrid.EventGridNamespaceClientGroup FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2024_06_01_preview;
}
}
public enum EventGridNamespaceClientProvisioningState
@@ -480,7 +469,6 @@ public partial class EventGridNamespaceClientResource : Azure.Provisioning.Primi
public static Azure.Provisioning.EventGrid.EventGridNamespaceClientResource FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2024_06_01_preview;
}
}
public enum EventGridNamespaceClientState
@@ -503,7 +491,6 @@ public partial class EventGridNamespacePermissionBinding : Azure.Provisioning.Pr
public static Azure.Provisioning.EventGrid.EventGridNamespacePermissionBinding FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2024_06_01_preview;
}
}
public partial class EventGridPartnerContent : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -528,7 +515,6 @@ public partial class EventGridPartnerNamespacePrivateEndpointConnection : Azure.
public static partial class ResourceVersions
{
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public partial class EventGridPrivateEndpointConnectionData : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -615,7 +601,6 @@ public static partial class ResourceVersions
public static readonly string V2020_06_01;
public static readonly string V2021_12_01;
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public partial class EventGridTopicPrivateEndpointConnection : Azure.Provisioning.Primitives.ProvisionableResource
@@ -638,7 +623,6 @@ public static partial class ResourceVersions
public static readonly string V2020_06_01;
public static readonly string V2021_12_01;
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public enum EventGridTopicProvisioningState
@@ -689,7 +673,6 @@ public static partial class ResourceVersions
public static readonly string V2020_06_01;
public static readonly string V2021_12_01;
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public partial class EventSubscriptionDestination : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -827,10 +810,6 @@ public partial class NamespaceTopic : Azure.Provisioning.Primitives.Provisionabl
public Azure.Provisioning.BicepValue PublisherType { get { throw null; } set { } }
public Azure.Provisioning.BicepValue SystemData { get { throw null; } }
public static Azure.Provisioning.EventGrid.NamespaceTopic FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
- public static partial class ResourceVersions
- {
- public static readonly string V2024_06_01_preview;
- }
}
public partial class NamespaceTopicEventSubscription : Azure.Provisioning.Primitives.ProvisionableResource
{
@@ -845,10 +824,6 @@ public partial class NamespaceTopicEventSubscription : Azure.Provisioning.Primit
public Azure.Provisioning.BicepValue ProvisioningState { get { throw null; } }
public Azure.Provisioning.BicepValue SystemData { get { throw null; } }
public static Azure.Provisioning.EventGrid.NamespaceTopicEventSubscription FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
- public static partial class ResourceVersions
- {
- public static readonly string V2024_06_01_preview;
- }
}
public partial class NamespaceTopicEventSubscriptionDestination : Azure.Provisioning.EventGrid.EventSubscriptionDestination
{
@@ -972,7 +947,6 @@ public partial class PartnerConfiguration : Azure.Provisioning.Primitives.Provis
public static partial class ResourceVersions
{
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public enum PartnerConfigurationProvisioningState
@@ -1000,10 +974,6 @@ public partial class PartnerDestination : Azure.Provisioning.Primitives.Provisio
public Azure.Provisioning.BicepValue SystemData { get { throw null; } }
public Azure.Provisioning.BicepDictionary Tags { get { throw null; } set { } }
public static Azure.Provisioning.EventGrid.PartnerDestination FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
- public static partial class ResourceVersions
- {
- public static readonly string V2024_06_01_preview;
- }
}
public enum PartnerDestinationActivationState
{
@@ -1055,7 +1025,6 @@ public partial class PartnerNamespace : Azure.Provisioning.Primitives.Provisiona
public static partial class ResourceVersions
{
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public partial class PartnerNamespaceChannel : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1076,7 +1045,6 @@ public partial class PartnerNamespaceChannel : Azure.Provisioning.Primitives.Pro
public static partial class ResourceVersions
{
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public enum PartnerNamespaceChannelProvisioningState
@@ -1118,7 +1086,6 @@ public partial class PartnerRegistration : Azure.Provisioning.Primitives.Provisi
public static partial class ResourceVersions
{
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public enum PartnerRegistrationProvisioningState
@@ -1151,7 +1118,6 @@ public partial class PartnerTopic : Azure.Provisioning.Primitives.ProvisionableR
public static partial class ResourceVersions
{
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public enum PartnerTopicActivationState
@@ -1182,7 +1148,6 @@ public partial class PartnerTopicEventSubscription : Azure.Provisioning.Primitiv
public static partial class ResourceVersions
{
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public partial class PartnerTopicEventTypeInfo : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1439,7 +1404,6 @@ public static partial class ResourceVersions
{
public static readonly string V2021_12_01;
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public partial class SystemTopicEventSubscription : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1465,7 +1429,6 @@ public static partial class ResourceVersions
{
public static readonly string V2021_12_01;
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public enum TlsVersion
@@ -1504,7 +1467,6 @@ public static partial class ResourceVersions
public static readonly string V2020_06_01;
public static readonly string V2021_12_01;
public static readonly string V2022_06_15;
- public static readonly string V2024_06_01_preview;
}
}
public partial class TopicsConfiguration : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1524,10 +1486,6 @@ public partial class TopicSpace : Azure.Provisioning.Primitives.ProvisionableRes
public Azure.Provisioning.BicepValue SystemData { get { throw null; } }
public Azure.Provisioning.BicepList TopicTemplates { get { throw null; } set { } }
public static Azure.Provisioning.EventGrid.TopicSpace FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
- public static partial class ResourceVersions
- {
- public static readonly string V2024_06_01_preview;
- }
}
public enum TopicSpaceProvisioningState
{
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/CaCertificate.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/CaCertificate.cs
index 46fef8a1ffd9f..dfb321e16cd72 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/CaCertificate.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/CaCertificate.cs
@@ -82,7 +82,7 @@ public partial class CaCertificate : ProvisionableResource
///
/// Version of the CaCertificate.
public CaCertificate(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/caCertificates", resourceVersion ?? "2024-06-01-preview")
+ : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/caCertificates", resourceVersion)
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_description = BicepValue.DefineProperty(this, "Description", ["properties", "description"]);
@@ -100,12 +100,7 @@ public CaCertificate(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
}
-
///
/// Creates a reference to an existing CaCertificate.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainEventSubscription.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainEventSubscription.cs
index 81815350c615c..1c5e36c8de5e3 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainEventSubscription.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainEventSubscription.cs
@@ -182,11 +182,6 @@ public DomainEventSubscription(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopic.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopic.cs
index 8b32181ba3f87..8188151e98aac 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopic.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopic.cs
@@ -73,11 +73,6 @@ public DomainTopic(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopicEventSubscription.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopicEventSubscription.cs
index 2479a806c820a..933c45a91d4f2 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopicEventSubscription.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopicEventSubscription.cs
@@ -182,11 +182,6 @@ public DomainTopicEventSubscription(string bicepIdentifier, string? resourceVers
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomain.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomain.cs
index 847ddee62f46e..4a19080e91376 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomain.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomain.cs
@@ -233,11 +233,6 @@ public EventGridDomain(string bicepIdentifier, string? resourceVersion = default
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomainPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomainPrivateEndpointConnection.cs
index 9968643df2e5b..fb3b1ca9935c8 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomainPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomainPrivateEndpointConnection.cs
@@ -95,11 +95,6 @@ public EventGridDomainPrivateEndpointConnection(string bicepIdentifier, string?
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespace.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespace.cs
index db9743d38750b..a73c735bc0d64 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespace.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespace.cs
@@ -132,7 +132,7 @@ public partial class EventGridNamespace : ProvisionableResource
///
/// Version of the EventGridNamespace.
public EventGridNamespace(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.EventGrid/namespaces", resourceVersion ?? "2024-06-01-preview")
+ : base(bicepIdentifier, "Microsoft.EventGrid/namespaces", resourceVersion)
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_location = BicepValue.DefineProperty(this, "Location", ["location"], isRequired: true);
@@ -151,17 +151,6 @@ public EventGridNamespace(string bicepIdentifier, string? resourceVersion = defa
_systemData = BicepValue.DefineProperty(this, "SystemData", ["systemData"], isOutput: true);
}
- ///
- /// Supported EventGridNamespace resource versions.
- ///
- public static class ResourceVersions
- {
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
- }
-
///
/// Creates a reference to an existing EventGridNamespace.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientGroup.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientGroup.cs
index 45d2f3c927f5d..a1309aa49800b 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientGroup.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientGroup.cs
@@ -71,7 +71,7 @@ public partial class EventGridNamespaceClientGroup : ProvisionableResource
///
/// Version of the EventGridNamespaceClientGroup.
public EventGridNamespaceClientGroup(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/clientGroups", resourceVersion ?? "2024-06-01-preview")
+ : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/clientGroups", resourceVersion)
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_description = BicepValue.DefineProperty(this, "Description", ["properties", "description"]);
@@ -87,12 +87,7 @@ public EventGridNamespaceClientGroup(string bicepIdentifier, string? resourceVer
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
}
-
///
/// Creates a reference to an existing EventGridNamespaceClientGroup.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientResource.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientResource.cs
index ff31b31f1ac03..3e83731f32a6f 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientResource.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientResource.cs
@@ -107,7 +107,7 @@ public partial class EventGridNamespaceClientResource : ProvisionableResource
///
/// Version of the EventGridNamespaceClientResource.
public EventGridNamespaceClientResource(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/clients", resourceVersion ?? "2024-06-01-preview")
+ : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/clients", resourceVersion)
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_attributes = BicepDictionary.DefineProperty(this, "Attributes", ["properties", "attributes"]);
@@ -126,12 +126,7 @@ public EventGridNamespaceClientResource(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
}
-
///
/// Creates a reference to an existing EventGridNamespaceClientResource.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespacePermissionBinding.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespacePermissionBinding.cs
index ca01538c52cad..44b459a62a73c 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespacePermissionBinding.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespacePermissionBinding.cs
@@ -86,7 +86,7 @@ public partial class EventGridNamespacePermissionBinding : ProvisionableResource
///
/// Version of the EventGridNamespacePermissionBinding.
public EventGridNamespacePermissionBinding(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/permissionBindings", resourceVersion ?? "2024-06-01-preview")
+ : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/permissionBindings", resourceVersion)
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_clientGroupName = BicepValue.DefineProperty(this, "ClientGroupName", ["properties", "clientGroupName"]);
@@ -104,12 +104,7 @@ public EventGridNamespacePermissionBinding(string bicepIdentifier, string? resou
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
}
-
///
/// Creates a reference to an existing EventGridNamespacePermissionBinding.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridPartnerNamespacePrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridPartnerNamespacePrivateEndpointConnection.cs
index 87dd87134333c..ddd525152c060 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridPartnerNamespacePrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridPartnerNamespacePrivateEndpointConnection.cs
@@ -96,11 +96,6 @@ public EventGridPartnerNamespacePrivateEndpointConnection(string bicepIdentifier
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopic.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopic.cs
index 5edda94972e32..1bac61e459336 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopic.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopic.cs
@@ -205,11 +205,6 @@ public EventGridTopic(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopicPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopicPrivateEndpointConnection.cs
index 1493f7bc12e64..1db55afab49bb 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopicPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopicPrivateEndpointConnection.cs
@@ -94,11 +94,6 @@ public EventGridTopicPrivateEndpointConnection(string bicepIdentifier, string? r
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventSubscription.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventSubscription.cs
index ea54cbd80152f..ca8c7d607a3b0 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventSubscription.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventSubscription.cs
@@ -176,11 +176,6 @@ public EventSubscription(string bicepIdentifier, string? resourceVersion = defau
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/Models/QueueInfo.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/Models/QueueInfo.cs
index 39256a50e4cf3..6b3acbdd046b6 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/Models/QueueInfo.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/Models/QueueInfo.cs
@@ -80,6 +80,6 @@ public QueueInfo()
_receiveLockDurationInSeconds = BicepValue.DefineProperty(this, "ReceiveLockDurationInSeconds", ["receiveLockDurationInSeconds"]);
_maxDeliveryCount = BicepValue.DefineProperty(this, "MaxDeliveryCount", ["maxDeliveryCount"]);
_deadLetterDestinationWithResourceIdentity = BicepValue.DefineProperty(this, "DeadLetterDestinationWithResourceIdentity", ["deadLetterDestinationWithResourceIdentity"]);
- _eventTimeToLive = BicepValue.DefineProperty(this, "EventTimeToLive", ["eventTimeToLive"]);
+ _eventTimeToLive = BicepValue.DefineProperty(this, "EventTimeToLive", ["eventTimeToLive"], format: "P");
}
}
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopic.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopic.cs
index c0190ec53e810..7a406e88d0c37 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopic.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopic.cs
@@ -79,7 +79,7 @@ public partial class NamespaceTopic : ProvisionableResource
///
/// Version of the NamespaceTopic.
public NamespaceTopic(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topics", resourceVersion ?? "2024-06-01-preview")
+ : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topics", resourceVersion)
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_eventRetentionInDays = BicepValue.DefineProperty(this, "EventRetentionInDays", ["properties", "eventRetentionInDays"]);
@@ -91,17 +91,6 @@ public NamespaceTopic(string bicepIdentifier, string? resourceVersion = default)
_parent = ResourceReference.DefineResource(this, "Parent", ["parent"], isRequired: true);
}
- ///
- /// Supported NamespaceTopic resource versions.
- ///
- public static class ResourceVersions
- {
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
- }
-
///
/// Creates a reference to an existing NamespaceTopic.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopicEventSubscription.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopicEventSubscription.cs
index e2edf3aacc66d..005f72ee60c4b 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopicEventSubscription.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopicEventSubscription.cs
@@ -85,7 +85,7 @@ public partial class NamespaceTopicEventSubscription : ProvisionableResource
///
/// Version of the NamespaceTopicEventSubscription.
public NamespaceTopicEventSubscription(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topics/eventSubscriptions", resourceVersion ?? "2024-06-01-preview")
+ : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topics/eventSubscriptions", resourceVersion)
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_deliveryConfiguration = BicepValue.DefineProperty(this, "DeliveryConfiguration", ["properties", "deliveryConfiguration"]);
@@ -98,17 +98,6 @@ public NamespaceTopicEventSubscription(string bicepIdentifier, string? resourceV
_parent = ResourceReference.DefineResource(this, "Parent", ["parent"], isRequired: true);
}
- ///
- /// Supported NamespaceTopicEventSubscription resource versions.
- ///
- public static class ResourceVersions
- {
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
- }
-
///
/// Creates a reference to an existing NamespaceTopicEventSubscription.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerConfiguration.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerConfiguration.cs
index d2d7fcc57bc50..f82f66e3cf964 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerConfiguration.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerConfiguration.cs
@@ -87,11 +87,6 @@ public PartnerConfiguration(string bicepIdentifier, string? resourceVersion = de
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerDestination.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerDestination.cs
index 22bf48bd9901e..7de5853daa372 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerDestination.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerDestination.cs
@@ -103,7 +103,7 @@ public partial class PartnerDestination : ProvisionableResource
///
/// Version of the PartnerDestination.
public PartnerDestination(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.EventGrid/partnerDestinations", resourceVersion ?? "2024-06-01-preview")
+ : base(bicepIdentifier, "Microsoft.EventGrid/partnerDestinations", resourceVersion)
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_location = BicepValue.DefineProperty(this, "Location", ["location"], isRequired: true);
@@ -119,17 +119,6 @@ public PartnerDestination(string bicepIdentifier, string? resourceVersion = defa
_systemData = BicepValue.DefineProperty(this, "SystemData", ["systemData"], isOutput: true);
}
- ///
- /// Supported PartnerDestination resource versions.
- ///
- public static class ResourceVersions
- {
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
- }
-
///
/// Creates a reference to an existing PartnerDestination.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespace.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespace.cs
index 00411051712d0..a2779ec7477a8 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespace.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespace.cs
@@ -151,11 +151,6 @@ public PartnerNamespace(string bicepIdentifier, string? resourceVersion = defaul
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespaceChannel.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespaceChannel.cs
index be25e04fd669c..d059c86b03d23 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespaceChannel.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespaceChannel.cs
@@ -129,11 +129,6 @@ public PartnerNamespaceChannel(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerRegistration.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerRegistration.cs
index 18b1cf579aa15..1a99128570b76 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerRegistration.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerRegistration.cs
@@ -89,11 +89,6 @@ public PartnerRegistration(string bicepIdentifier, string? resourceVersion = def
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopic.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopic.cs
index c8824dabb2d4e..e727726d23fae 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopic.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopic.cs
@@ -143,11 +143,6 @@ public PartnerTopic(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopicEventSubscription.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopicEventSubscription.cs
index 29028dcc7e681..6dd687f911927 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopicEventSubscription.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopicEventSubscription.cs
@@ -182,11 +182,6 @@ public PartnerTopicEventSubscription(string bicepIdentifier, string? resourceVer
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopic.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopic.cs
index 3611c496792f2..61674099e7df9 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopic.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopic.cs
@@ -108,11 +108,6 @@ public SystemTopic(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopicEventSubscription.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopicEventSubscription.cs
index b8c52cb9bf695..1dfe34cdd9c10 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopicEventSubscription.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopicEventSubscription.cs
@@ -182,11 +182,6 @@ public SystemTopicEventSubscription(string bicepIdentifier, string? resourceVers
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicEventSubscription.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicEventSubscription.cs
index bb3f60bab370c..8a0cba4d61b82 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicEventSubscription.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicEventSubscription.cs
@@ -182,11 +182,6 @@ public TopicEventSubscription(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
-
///
/// 2022-06-15.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicSpace.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicSpace.cs
index 4c5142b815c2f..f29a84f2a3265 100644
--- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicSpace.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicSpace.cs
@@ -76,7 +76,7 @@ public partial class TopicSpace : ProvisionableResource
///
/// Version of the TopicSpace.
public TopicSpace(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topicSpaces", resourceVersion ?? "2024-06-01-preview")
+ : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topicSpaces", resourceVersion)
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
_description = BicepValue.DefineProperty(this, "Description", ["properties", "description"]);
@@ -87,17 +87,6 @@ public TopicSpace(string bicepIdentifier, string? resourceVersion = default)
_parent = ResourceReference.DefineResource(this, "Parent", ["parent"], isRequired: true);
}
- ///
- /// Supported TopicSpace resource versions.
- ///
- public static class ResourceVersions
- {
- ///
- /// 2024-06-01-preview.
- ///
- public static readonly string V2024_06_01_preview = "2024-06-01-preview";
- }
-
///
/// Creates a reference to an existing TopicSpace.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/api/Azure.Provisioning.EventHubs.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/api/Azure.Provisioning.EventHubs.netstandard2.0.cs
index a2b86573b2601..8aea9f4a43abc 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/api/Azure.Provisioning.EventHubs.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/api/Azure.Provisioning.EventHubs.netstandard2.0.cs
@@ -42,7 +42,6 @@ public static partial class ResourceVersions
public static readonly string V2017_04_01;
public static readonly string V2021_11_01;
public static readonly string V2024_01_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class EventHubAuthorizationRule : Azure.Provisioning.Primitives.ProvisionableResource
@@ -63,7 +62,6 @@ public static partial class ResourceVersions
public static readonly string V2017_04_01;
public static readonly string V2021_11_01;
public static readonly string V2024_01_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class EventHubDestination : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -124,7 +122,6 @@ public partial class EventHubsApplicationGroup : Azure.Provisioning.Primitives.P
public static partial class ResourceVersions
{
public static readonly string V2024_01_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class EventHubsApplicationGroupPolicy : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -190,7 +187,6 @@ public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
public static readonly string V2024_01_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum EventHubsClusterProvisioningState
@@ -233,7 +229,6 @@ public static partial class ResourceVersions
public static readonly string V2017_04_01;
public static readonly string V2021_11_01;
public static readonly string V2024_01_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class EventHubsDisasterRecovery : Azure.Provisioning.Primitives.ProvisionableResource
@@ -257,7 +252,6 @@ public static partial class ResourceVersions
public static readonly string V2017_04_01;
public static readonly string V2021_11_01;
public static readonly string V2024_01_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum EventHubsDisasterRecoveryProvisioningState
@@ -339,7 +333,6 @@ public static partial class ResourceVersions
public static readonly string V2017_04_01;
public static readonly string V2021_11_01;
public static readonly string V2024_01_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class EventHubsNamespaceAuthorizationRule : Azure.Provisioning.Primitives.ProvisionableResource
@@ -360,7 +353,6 @@ public static partial class ResourceVersions
public static readonly string V2017_04_01;
public static readonly string V2021_11_01;
public static readonly string V2024_01_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum EventHubsNetworkRuleIPAction
@@ -386,7 +378,6 @@ public static partial class ResourceVersions
public static readonly string V2017_04_01;
public static readonly string V2021_11_01;
public static readonly string V2024_01_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum EventHubsNetworkRuleSetDefaultAction
@@ -422,7 +413,6 @@ public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
public static readonly string V2024_01_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class EventHubsPrivateEndpointConnectionData : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -498,7 +488,6 @@ public static partial class ResourceVersions
public static readonly string V2017_04_01;
public static readonly string V2021_11_01;
public static readonly string V2024_01_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum EventHubsSchemaType
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHub.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHub.cs
index ea3d1089a416c..9f06d45fd5357 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHub.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHub.cs
@@ -123,11 +123,6 @@ public EventHub(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubAuthorizationRule.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubAuthorizationRule.cs
index dca69e8bc13d5..b59fd6f8b799d 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubAuthorizationRule.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubAuthorizationRule.cs
@@ -82,11 +82,6 @@ public EventHubAuthorizationRule(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsApplicationGroup.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsApplicationGroup.cs
index 2781e4f0a023e..8745640cba3e6 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsApplicationGroup.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsApplicationGroup.cs
@@ -106,11 +106,6 @@ public EventHubsApplicationGroup(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsCluster.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsCluster.cs
index 337e99e47ea24..a30bff85db12a 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsCluster.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsCluster.cs
@@ -127,11 +127,6 @@ public EventHubsCluster(string bicepIdentifier, string? resourceVersion = defaul
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsConsumerGroup.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsConsumerGroup.cs
index e7e30a2c22b3e..2cbd6e325c958 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsConsumerGroup.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsConsumerGroup.cs
@@ -97,11 +97,6 @@ public EventHubsConsumerGroup(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsDisasterRecovery.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsDisasterRecovery.cs
index 8e8fffe2bd3f5..b260491c73124 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsDisasterRecovery.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsDisasterRecovery.cs
@@ -112,11 +112,6 @@ public EventHubsDisasterRecovery(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespace.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespace.cs
index c92a14c41bb0b..0ef57a14f9d44 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespace.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespace.cs
@@ -223,11 +223,6 @@ public EventHubsNamespace(string bicepIdentifier, string? resourceVersion = defa
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespaceAuthorizationRule.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespaceAuthorizationRule.cs
index 5d6383c7a86d2..9a25e2c7002f4 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespaceAuthorizationRule.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespaceAuthorizationRule.cs
@@ -82,11 +82,6 @@ public EventHubsNamespaceAuthorizationRule(string bicepIdentifier, string? resou
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNetworkRuleSet.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNetworkRuleSet.cs
index d142416bd8355..678baed5bc207 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNetworkRuleSet.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNetworkRuleSet.cs
@@ -111,11 +111,6 @@ public EventHubsNetworkRuleSet(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsPrivateEndpointConnection.cs
index c81a4ebbb8977..b68860e0a97f1 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsPrivateEndpointConnection.cs
@@ -93,11 +93,6 @@ public EventHubsPrivateEndpointConnection(string bicepIdentifier, string? resour
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsSchemaGroup.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsSchemaGroup.cs
index 815986d75ca3e..38935a4f7e1e7 100644
--- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsSchemaGroup.cs
+++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsSchemaGroup.cs
@@ -116,11 +116,6 @@ public EventHubsSchemaGroup(string bicepIdentifier, string? resourceVersion = de
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.KeyVault/api/Azure.Provisioning.KeyVault.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.KeyVault/api/Azure.Provisioning.KeyVault.netstandard2.0.cs
index b5364ee3cd5dd..d7c9071cfb268 100644
--- a/sdk/provisioning/Azure.Provisioning.KeyVault/api/Azure.Provisioning.KeyVault.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.KeyVault/api/Azure.Provisioning.KeyVault.netstandard2.0.cs
@@ -243,7 +243,6 @@ public static partial class ResourceVersions
public static readonly string V2023_02_01;
public static readonly string V2023_07_01;
public static readonly string V2023_08_01_PREVIEW;
- public static readonly string V2024_04_01_preview;
}
}
public partial class KeyVaultPrivateEndpointConnectionItemData : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -329,7 +328,6 @@ public static partial class ResourceVersions
public static readonly string V2023_02_01;
public static readonly string V2023_07_01;
public static readonly string V2023_08_01_PREVIEW;
- public static readonly string V2024_04_01_preview;
}
}
public partial class KeyVaultService : Azure.Provisioning.Primitives.ProvisionableResource
@@ -358,7 +356,6 @@ public static partial class ResourceVersions
public static readonly string V2023_02_01;
public static readonly string V2023_07_01;
public static readonly string V2023_08_01_PREVIEW;
- public static readonly string V2024_04_01_preview;
}
}
public partial class KeyVaultSku : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -403,7 +400,6 @@ public static partial class ResourceVersions
public static readonly string V2023_02_01;
public static readonly string V2023_07_01;
public static readonly string V2023_08_01_PREVIEW;
- public static readonly string V2024_04_01_preview;
}
}
public enum ManagedHsmActionsRequiredMessage
@@ -479,7 +475,6 @@ public static partial class ResourceVersions
public static readonly string V2023_02_01;
public static readonly string V2023_07_01;
public static readonly string V2023_08_01_PREVIEW;
- public static readonly string V2024_04_01_preview;
}
}
public partial class ManagedHsmPrivateEndpointConnectionItemData : Azure.Provisioning.Primitives.ProvisionableConstruct
diff --git a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultPrivateEndpointConnection.cs
index 484b637aa695e..3f298632c8d88 100644
--- a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultPrivateEndpointConnection.cs
@@ -110,11 +110,6 @@ public KeyVaultPrivateEndpointConnection(string bicepIdentifier, string? resourc
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2023-08-01-PREVIEW.
///
diff --git a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultSecret.cs b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultSecret.cs
index 2d775b821da53..86f8387363bf3 100644
--- a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultSecret.cs
+++ b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultSecret.cs
@@ -90,11 +90,6 @@ public KeyVaultSecret(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2023-08-01-PREVIEW.
///
diff --git a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultService.cs b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultService.cs
index f9a2244e05a91..74175c251abd8 100644
--- a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultService.cs
+++ b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultService.cs
@@ -85,11 +85,6 @@ public KeyVaultService(string bicepIdentifier, string? resourceVersion = default
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2023-08-01-PREVIEW.
///
diff --git a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsm.cs b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsm.cs
index 5546002561a88..16f452c2b80fd 100644
--- a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsm.cs
+++ b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsm.cs
@@ -88,11 +88,6 @@ public ManagedHsm(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2023-08-01-PREVIEW.
///
diff --git a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsmPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsmPrivateEndpointConnection.cs
index 0c373d1175fc4..ccc8b990f4597 100644
--- a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsmPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsmPrivateEndpointConnection.cs
@@ -118,11 +118,6 @@ public ManagedHsmPrivateEndpointConnection(string bicepIdentifier, string? resou
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2023-08-01-PREVIEW.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Kubernetes/api/Azure.Provisioning.Kubernetes.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.Kubernetes/api/Azure.Provisioning.Kubernetes.netstandard2.0.cs
index b6f9d933af083..6a6d9f4a7e491 100644
--- a/sdk/provisioning/Azure.Provisioning.Kubernetes/api/Azure.Provisioning.Kubernetes.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.Kubernetes/api/Azure.Provisioning.Kubernetes.netstandard2.0.cs
@@ -33,7 +33,6 @@ public static partial class ResourceVersions
public static readonly string V2021_03_01;
public static readonly string V2021_10_01;
public static readonly string V2024_01_01;
- public static readonly string V2024_07_15_preview;
}
}
public enum ConnectivityStatus
diff --git a/sdk/provisioning/Azure.Provisioning.Kubernetes/src/Generated/ConnectedCluster.cs b/sdk/provisioning/Azure.Provisioning.Kubernetes/src/Generated/ConnectedCluster.cs
index b3bcb61f4d7ea..086cfbc201f45 100644
--- a/sdk/provisioning/Azure.Provisioning.Kubernetes/src/Generated/ConnectedCluster.cs
+++ b/sdk/provisioning/Azure.Provisioning.Kubernetes/src/Generated/ConnectedCluster.cs
@@ -188,11 +188,6 @@ public ConnectedCluster(string bicepIdentifier, string? resourceVersion = defaul
///
public static class ResourceVersions
{
- ///
- /// 2024-07-15-preview.
- ///
- public static readonly string V2024_07_15_preview = "2024-07-15-preview";
-
///
/// 2024-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/api/Azure.Provisioning.KubernetesConfiguration.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/api/Azure.Provisioning.KubernetesConfiguration.netstandard2.0.cs
index 55ce21419d7a5..472397d77f034 100644
--- a/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/api/Azure.Provisioning.KubernetesConfiguration.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/api/Azure.Provisioning.KubernetesConfiguration.netstandard2.0.cs
@@ -209,7 +209,6 @@ public static partial class ResourceVersions
public static readonly string V2022_07_01;
public static readonly string V2022_11_01;
public static readonly string V2023_05_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class KubernetesGitRepository : Azure.Provisioning.Primitives.ProvisionableConstruct
diff --git a/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesFluxConfiguration.cs b/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesFluxConfiguration.cs
index c9dd12084d764..a0600701d3458 100644
--- a/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesFluxConfiguration.cs
+++ b/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesFluxConfiguration.cs
@@ -190,11 +190,6 @@ public KubernetesFluxConfiguration(string bicepIdentifier, string? resourceVersi
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2023-05-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.PostgreSql/api/Azure.Provisioning.PostgreSql.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.PostgreSql/api/Azure.Provisioning.PostgreSql.netstandard2.0.cs
index 2812e550506b8..250949ea8c749 100644
--- a/sdk/provisioning/Azure.Provisioning.PostgreSql/api/Azure.Provisioning.PostgreSql.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.PostgreSql/api/Azure.Provisioning.PostgreSql.netstandard2.0.cs
@@ -21,7 +21,6 @@ public partial class PostgreSqlConfiguration : Azure.Provisioning.Primitives.Pro
public static partial class ResourceVersions
{
public static readonly string V2017_12_01;
- public static readonly string V2017_12_01_preview;
}
}
public partial class PostgreSqlDatabase : Azure.Provisioning.Primitives.ProvisionableResource
@@ -39,7 +38,6 @@ public partial class PostgreSqlDatabase : Azure.Provisioning.Primitives.Provisio
public static partial class ResourceVersions
{
public static readonly string V2017_12_01;
- public static readonly string V2017_12_01_preview;
}
}
public partial class PostgreSqlFirewallRule : Azure.Provisioning.Primitives.ProvisionableResource
@@ -57,7 +55,6 @@ public partial class PostgreSqlFirewallRule : Azure.Provisioning.Primitives.Prov
public static partial class ResourceVersions
{
public static readonly string V2017_12_01;
- public static readonly string V2017_12_01_preview;
}
}
public partial class PostgreSqlFlexibleServer : Azure.Provisioning.Primitives.ProvisionableResource
@@ -522,7 +519,6 @@ public partial class PostgreSqlPrivateEndpointConnection : Azure.Provisioning.Pr
public static partial class ResourceVersions
{
public static readonly string V2018_06_01;
- public static readonly string V2018_06_01_privatepreview;
}
}
public enum PostgreSqlPrivateEndpointProvisioningState
@@ -592,7 +588,6 @@ public partial class PostgreSqlServer : Azure.Provisioning.Primitives.Provisiona
public static partial class ResourceVersions
{
public static readonly string V2017_12_01;
- public static readonly string V2017_12_01_preview;
}
}
public partial class PostgreSqlServerAdministrator : Azure.Provisioning.Primitives.ProvisionableResource
@@ -610,7 +605,6 @@ public partial class PostgreSqlServerAdministrator : Azure.Provisioning.Primitiv
public static partial class ResourceVersions
{
public static readonly string V2017_12_01;
- public static readonly string V2017_12_01_preview;
}
}
public partial class PostgreSqlServerKey : Azure.Provisioning.Primitives.ProvisionableResource
@@ -628,7 +622,6 @@ public partial class PostgreSqlServerKey : Azure.Provisioning.Primitives.Provisi
public static partial class ResourceVersions
{
public static readonly string V2020_01_01;
- public static readonly string V2020_01_01_privatepreview;
}
}
public enum PostgreSqlServerKeyType
@@ -713,7 +706,6 @@ public partial class PostgreSqlServerSecurityAlertPolicy : Azure.Provisioning.Pr
public static partial class ResourceVersions
{
public static readonly string V2017_12_01;
- public static readonly string V2017_12_01_preview;
}
}
public enum PostgreSqlServerSecurityAlertPolicyState
@@ -792,7 +784,6 @@ public partial class PostgreSqlVirtualNetworkRule : Azure.Provisioning.Primitive
public static partial class ResourceVersions
{
public static readonly string V2017_12_01;
- public static readonly string V2017_12_01_preview;
}
}
public enum PostgreSqlVirtualNetworkRuleState
diff --git a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlConfiguration.cs b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlConfiguration.cs
index af04ea0d60236..a545173c3c586 100644
--- a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlConfiguration.cs
+++ b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlConfiguration.cs
@@ -107,11 +107,6 @@ public PostgreSqlConfiguration(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2017-12-01-preview.
- ///
- public static readonly string V2017_12_01_preview = "2017-12-01-preview";
-
///
/// 2017-12-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlDatabase.cs b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlDatabase.cs
index 8472b76a9307c..b1aff7f17eb16 100644
--- a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlDatabase.cs
+++ b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlDatabase.cs
@@ -80,11 +80,6 @@ public PostgreSqlDatabase(string bicepIdentifier, string? resourceVersion = defa
///
public static class ResourceVersions
{
- ///
- /// 2017-12-01-preview.
- ///
- public static readonly string V2017_12_01_preview = "2017-12-01-preview";
-
///
/// 2017-12-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlFirewallRule.cs b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlFirewallRule.cs
index a6c49e3ceddbd..424a16be5ccb5 100644
--- a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlFirewallRule.cs
+++ b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlFirewallRule.cs
@@ -81,11 +81,6 @@ public PostgreSqlFirewallRule(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2017-12-01-preview.
- ///
- public static readonly string V2017_12_01_preview = "2017-12-01-preview";
-
///
/// 2017-12-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlPrivateEndpointConnection.cs
index 49870d1c65b8b..c97cbc5c057ba 100644
--- a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlPrivateEndpointConnection.cs
@@ -86,11 +86,6 @@ public PostgreSqlPrivateEndpointConnection(string bicepIdentifier, string? resou
///
public static class ResourceVersions
{
- ///
- /// 2018-06-01-privatepreview.
- ///
- public static readonly string V2018_06_01_privatepreview = "2018-06-01-privatepreview";
-
///
/// 2018-06-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServer.cs b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServer.cs
index dcb9a2db1ce7c..4b88cadb90592 100644
--- a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServer.cs
+++ b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServer.cs
@@ -215,11 +215,6 @@ public PostgreSqlServer(string bicepIdentifier, string? resourceVersion = defaul
///
public static class ResourceVersions
{
- ///
- /// 2017-12-01-preview.
- ///
- public static readonly string V2017_12_01_preview = "2017-12-01-preview";
-
///
/// 2017-12-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerAdministrator.cs b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerAdministrator.cs
index 6058d9cdd0b1d..cfab21060bc2f 100644
--- a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerAdministrator.cs
+++ b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerAdministrator.cs
@@ -93,11 +93,6 @@ public PostgreSqlServerAdministrator(string bicepIdentifier, string? resourceVer
///
public static class ResourceVersions
{
- ///
- /// 2017-12-01-preview.
- ///
- public static readonly string V2017_12_01_preview = "2017-12-01-preview";
-
///
/// 2017-12-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerKey.cs b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerKey.cs
index 82c767413bc25..e3be727e7273f 100644
--- a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerKey.cs
+++ b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerKey.cs
@@ -94,11 +94,6 @@ public PostgreSqlServerKey(string bicepIdentifier, string? resourceVersion = def
///
public static class ResourceVersions
{
- ///
- /// 2020-01-01-privatepreview.
- ///
- public static readonly string V2020_01_01_privatepreview = "2020-01-01-privatepreview";
-
///
/// 2020-01-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerSecurityAlertPolicy.cs b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerSecurityAlertPolicy.cs
index 2af13adc80793..1b2724b71f1a6 100644
--- a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerSecurityAlertPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlServerSecurityAlertPolicy.cs
@@ -119,11 +119,6 @@ public PostgreSqlServerSecurityAlertPolicy(string bicepIdentifier, string? resou
///
public static class ResourceVersions
{
- ///
- /// 2017-12-01-preview.
- ///
- public static readonly string V2017_12_01_preview = "2017-12-01-preview";
-
///
/// 2017-12-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlVirtualNetworkRule.cs b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlVirtualNetworkRule.cs
index 23660187964d4..2c04c42041210 100644
--- a/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlVirtualNetworkRule.cs
+++ b/sdk/provisioning/Azure.Provisioning.PostgreSql/src/Generated/PostgreSqlVirtualNetworkRule.cs
@@ -88,11 +88,6 @@ public PostgreSqlVirtualNetworkRule(string bicepIdentifier, string? resourceVers
///
public static class ResourceVersions
{
- ///
- /// 2017-12-01-preview.
- ///
- public static readonly string V2017_12_01_preview = "2017-12-01-preview";
-
///
/// 2017-12-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Redis/api/Azure.Provisioning.Redis.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.Redis/api/Azure.Provisioning.Redis.netstandard2.0.cs
index 6ea31e8813dd6..19cebf414f9a2 100644
--- a/sdk/provisioning/Azure.Provisioning.Redis/api/Azure.Provisioning.Redis.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.Redis/api/Azure.Provisioning.Redis.netstandard2.0.cs
@@ -79,7 +79,6 @@ public static partial class ResourceVersions
public static readonly string V2023_04_01;
public static readonly string V2023_08_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class RedisCacheAccessPolicyAssignment : Azure.Provisioning.Primitives.ProvisionableResource
@@ -112,7 +111,6 @@ public static partial class ResourceVersions
public static readonly string V2023_04_01;
public static readonly string V2023_08_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class RedisCommonConfiguration : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -181,7 +179,6 @@ public static partial class ResourceVersions
public static readonly string V2023_04_01;
public static readonly string V2023_08_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class RedisInstanceDetails : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -231,7 +228,6 @@ public static partial class ResourceVersions
public static readonly string V2023_04_01;
public static readonly string V2023_08_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class RedisPatchSchedule : Azure.Provisioning.Primitives.ProvisionableResource
@@ -262,7 +258,6 @@ public static partial class ResourceVersions
public static readonly string V2023_04_01;
public static readonly string V2023_08_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public enum RedisPatchScheduleDefaultName
@@ -299,7 +294,6 @@ public static partial class ResourceVersions
public static readonly string V2023_04_01;
public static readonly string V2023_08_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class RedisPrivateEndpointConnectionData : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -409,7 +403,6 @@ public static partial class ResourceVersions
public static readonly string V2023_04_01;
public static readonly string V2023_08_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class RedisSku : Azure.Provisioning.Primitives.ProvisionableConstruct
diff --git a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/Models/RedisPatchScheduleSetting.cs b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/Models/RedisPatchScheduleSetting.cs
index 15f30e82f0986..5017b0fcf427b 100644
--- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/Models/RedisPatchScheduleSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/Models/RedisPatchScheduleSetting.cs
@@ -38,6 +38,6 @@ public RedisPatchScheduleSetting()
{
_dayOfWeek = BicepValue.DefineProperty(this, "DayOfWeek", ["dayOfWeek"]);
_startHourUtc = BicepValue.DefineProperty(this, "StartHourUtc", ["startHourUtc"]);
- _maintenanceWindow = BicepValue.DefineProperty(this, "MaintenanceWindow", ["maintenanceWindow"]);
+ _maintenanceWindow = BicepValue.DefineProperty(this, "MaintenanceWindow", ["maintenanceWindow"], format: "P");
}
}
diff --git a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicy.cs b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicy.cs
index 22263607e5157..8daeae36f607e 100644
--- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicy.cs
@@ -87,11 +87,6 @@ public RedisCacheAccessPolicy(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicyAssignment.cs b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicyAssignment.cs
index ad47cd4cdbecb..c766080aa8037 100644
--- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicyAssignment.cs
+++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicyAssignment.cs
@@ -94,11 +94,6 @@ public RedisCacheAccessPolicyAssignment(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisFirewallRule.cs b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisFirewallRule.cs
index 312929f79f8a4..4614013ad82e4 100644
--- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisFirewallRule.cs
+++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisFirewallRule.cs
@@ -81,11 +81,6 @@ public RedisFirewallRule(string bicepIdentifier, string? resourceVersion = defau
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisLinkedServerWithProperty.cs b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisLinkedServerWithProperty.cs
index 969ccfea82e09..90b771ca0fffb 100644
--- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisLinkedServerWithProperty.cs
+++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisLinkedServerWithProperty.cs
@@ -110,11 +110,6 @@ public RedisLinkedServerWithProperty(string bicepIdentifier, string? resourceVer
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPatchSchedule.cs b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPatchSchedule.cs
index 29e364a481310..32af1debb3d31 100644
--- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPatchSchedule.cs
+++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPatchSchedule.cs
@@ -80,11 +80,6 @@ public RedisPatchSchedule(string bicepIdentifier, string? resourceVersion = defa
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPrivateEndpointConnection.cs
index 0ac1d175b1f7f..af0f1e63163b0 100644
--- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPrivateEndpointConnection.cs
@@ -88,11 +88,6 @@ public RedisPrivateEndpointConnection(string bicepIdentifier, string? resourceVe
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisResource.cs b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisResource.cs
index 607713eab5e64..9ba3cd2ac1406 100644
--- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisResource.cs
+++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisResource.cs
@@ -268,11 +268,6 @@ public RedisResource(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueue.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueue.cs
index 09d8008ee322e..24adb1e001d5c 100644
--- a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueue.cs
+++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueue.cs
@@ -210,16 +210,16 @@ public ServiceBusQueue(string bicepIdentifier, string? resourceVersion = default
: base(bicepIdentifier, "Microsoft.ServiceBus/namespaces/queues", resourceVersion ?? "2024-01-01")
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
- _autoDeleteOnIdle = BicepValue.DefineProperty(this, "AutoDeleteOnIdle", ["properties", "autoDeleteOnIdle"]);
+ _autoDeleteOnIdle = BicepValue.DefineProperty(this, "AutoDeleteOnIdle", ["properties", "autoDeleteOnIdle"], format: "P");
_deadLetteringOnMessageExpiration = BicepValue.DefineProperty(this, "DeadLetteringOnMessageExpiration", ["properties", "deadLetteringOnMessageExpiration"]);
- _defaultMessageTimeToLive = BicepValue.DefineProperty(this, "DefaultMessageTimeToLive", ["properties", "defaultMessageTimeToLive"]);
- _duplicateDetectionHistoryTimeWindow = BicepValue.DefineProperty(this, "DuplicateDetectionHistoryTimeWindow", ["properties", "duplicateDetectionHistoryTimeWindow"]);
+ _defaultMessageTimeToLive = BicepValue.DefineProperty(this, "DefaultMessageTimeToLive", ["properties", "defaultMessageTimeToLive"], format: "P");
+ _duplicateDetectionHistoryTimeWindow = BicepValue.DefineProperty(this, "DuplicateDetectionHistoryTimeWindow", ["properties", "duplicateDetectionHistoryTimeWindow"], format: "P");
_enableBatchedOperations = BicepValue.DefineProperty(this, "EnableBatchedOperations", ["properties", "enableBatchedOperations"]);
_enableExpress = BicepValue.DefineProperty(this, "EnableExpress", ["properties", "enableExpress"]);
_enablePartitioning = BicepValue.DefineProperty(this, "EnablePartitioning", ["properties", "enablePartitioning"]);
_forwardDeadLetteredMessagesTo = BicepValue.DefineProperty(this, "ForwardDeadLetteredMessagesTo", ["properties", "forwardDeadLetteredMessagesTo"]);
_forwardTo = BicepValue.DefineProperty(this, "ForwardTo", ["properties", "forwardTo"]);
- _lockDuration = BicepValue.DefineProperty(this, "LockDuration", ["properties", "lockDuration"]);
+ _lockDuration = BicepValue.DefineProperty(this, "LockDuration", ["properties", "lockDuration"], format: "P");
_maxDeliveryCount = BicepValue.DefineProperty(this, "MaxDeliveryCount", ["properties", "maxDeliveryCount"]);
_maxMessageSizeInKilobytes = BicepValue.DefineProperty(this, "MaxMessageSizeInKilobytes", ["properties", "maxMessageSizeInKilobytes"]);
_maxSizeInMegabytes = BicepValue.DefineProperty(this, "MaxSizeInMegabytes", ["properties", "maxSizeInMegabytes"]);
diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusSubscription.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusSubscription.cs
index 5b6a36cdb7172..fbc9a8a9a7396 100644
--- a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusSubscription.cs
+++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusSubscription.cs
@@ -185,17 +185,17 @@ public ServiceBusSubscription(string bicepIdentifier, string? resourceVersion =
: base(bicepIdentifier, "Microsoft.ServiceBus/namespaces/topics/subscriptions", resourceVersion ?? "2024-01-01")
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
- _autoDeleteOnIdle = BicepValue.DefineProperty(this, "AutoDeleteOnIdle", ["properties", "autoDeleteOnIdle"]);
+ _autoDeleteOnIdle = BicepValue.DefineProperty(this, "AutoDeleteOnIdle", ["properties", "autoDeleteOnIdle"], format: "P");
_clientAffineProperties = BicepValue.DefineProperty(this, "ClientAffineProperties", ["properties", "clientAffineProperties"]);
_deadLetteringOnFilterEvaluationExceptions = BicepValue.DefineProperty(this, "DeadLetteringOnFilterEvaluationExceptions", ["properties", "deadLetteringOnFilterEvaluationExceptions"]);
_deadLetteringOnMessageExpiration = BicepValue.DefineProperty(this, "DeadLetteringOnMessageExpiration", ["properties", "deadLetteringOnMessageExpiration"]);
- _defaultMessageTimeToLive = BicepValue.DefineProperty(this, "DefaultMessageTimeToLive", ["properties", "defaultMessageTimeToLive"]);
- _duplicateDetectionHistoryTimeWindow = BicepValue.DefineProperty(this, "DuplicateDetectionHistoryTimeWindow", ["properties", "duplicateDetectionHistoryTimeWindow"]);
+ _defaultMessageTimeToLive = BicepValue.DefineProperty(this, "DefaultMessageTimeToLive", ["properties", "defaultMessageTimeToLive"], format: "P");
+ _duplicateDetectionHistoryTimeWindow = BicepValue.DefineProperty(this, "DuplicateDetectionHistoryTimeWindow", ["properties", "duplicateDetectionHistoryTimeWindow"], format: "P");
_enableBatchedOperations = BicepValue.DefineProperty(this, "EnableBatchedOperations", ["properties", "enableBatchedOperations"]);
_forwardDeadLetteredMessagesTo = BicepValue.DefineProperty(this, "ForwardDeadLetteredMessagesTo", ["properties", "forwardDeadLetteredMessagesTo"]);
_forwardTo = BicepValue.DefineProperty(this, "ForwardTo", ["properties", "forwardTo"]);
_isClientAffine = BicepValue.DefineProperty(this, "IsClientAffine", ["properties", "isClientAffine"]);
- _lockDuration = BicepValue.DefineProperty(this, "LockDuration", ["properties", "lockDuration"]);
+ _lockDuration = BicepValue.DefineProperty(this, "LockDuration", ["properties", "lockDuration"], format: "P");
_maxDeliveryCount = BicepValue.DefineProperty(this, "MaxDeliveryCount", ["properties", "maxDeliveryCount"]);
_requiresSession = BicepValue.DefineProperty(this, "RequiresSession", ["properties", "requiresSession"]);
_status = BicepValue.DefineProperty(this, "Status", ["properties", "status"]);
diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopic.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopic.cs
index 0ae3cabb5c992..f84a2ff429529 100644
--- a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopic.cs
+++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopic.cs
@@ -175,9 +175,9 @@ public ServiceBusTopic(string bicepIdentifier, string? resourceVersion = default
: base(bicepIdentifier, "Microsoft.ServiceBus/namespaces/topics", resourceVersion ?? "2024-01-01")
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isRequired: true);
- _autoDeleteOnIdle = BicepValue.DefineProperty(this, "AutoDeleteOnIdle", ["properties", "autoDeleteOnIdle"]);
- _defaultMessageTimeToLive = BicepValue.DefineProperty(this, "DefaultMessageTimeToLive", ["properties", "defaultMessageTimeToLive"]);
- _duplicateDetectionHistoryTimeWindow = BicepValue.DefineProperty(this, "DuplicateDetectionHistoryTimeWindow", ["properties", "duplicateDetectionHistoryTimeWindow"]);
+ _autoDeleteOnIdle = BicepValue.DefineProperty(this, "AutoDeleteOnIdle", ["properties", "autoDeleteOnIdle"], format: "P");
+ _defaultMessageTimeToLive = BicepValue.DefineProperty(this, "DefaultMessageTimeToLive", ["properties", "defaultMessageTimeToLive"], format: "P");
+ _duplicateDetectionHistoryTimeWindow = BicepValue.DefineProperty(this, "DuplicateDetectionHistoryTimeWindow", ["properties", "duplicateDetectionHistoryTimeWindow"], format: "P");
_enableBatchedOperations = BicepValue.DefineProperty(this, "EnableBatchedOperations", ["properties", "enableBatchedOperations"]);
_enableExpress = BicepValue.DefineProperty(this, "EnableExpress", ["properties", "enableExpress"]);
_enablePartitioning = BicepValue.DefineProperty(this, "EnablePartitioning", ["properties", "enablePartitioning"]);
diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/tests/BasicServiceBusTests.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/tests/BasicServiceBusTests.cs
index 3fffd09fe2725..c06d8d24f0d1a 100644
--- a/sdk/provisioning/Azure.Provisioning.ServiceBus/tests/BasicServiceBusTests.cs
+++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/tests/BasicServiceBusTests.cs
@@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+using System;
using System.Threading.Tasks;
using Azure.Core.TestFramework;
using Azure.Provisioning.Expressions;
@@ -42,18 +43,15 @@ await test.Define(
{
Parent = sb,
Name = queueName,
- // Hack around TimeSpan not serializing ISO durations
- // correctly using a Bicep string literal expression.
- // TODO: Change these to regular strings when patched.
- LockDuration = new StringLiteralExpression("PT5M"),
+ LockDuration = TimeSpan.FromMinutes(5),
MaxSizeInMegabytes = 1024,
RequiresDuplicateDetection = false,
RequiresSession = false,
- DefaultMessageTimeToLive = new StringLiteralExpression("P10675199DT2H48M5.4775807S"),
+ DefaultMessageTimeToLive = TimeSpan.MaxValue,
DeadLetteringOnMessageExpiration = false,
- DuplicateDetectionHistoryTimeWindow = new StringLiteralExpression("PT10M"),
+ DuplicateDetectionHistoryTimeWindow = TimeSpan.FromMinutes(10),
MaxDeliveryCount = 10,
- AutoDeleteOnIdle = new StringLiteralExpression("P10675199DT2H48M5.4775807S"),
+ AutoDeleteOnIdle = TimeSpan.MaxValue,
EnablePartitioning = false,
EnableExpress = false
};
diff --git a/sdk/provisioning/Azure.Provisioning.SignalR/api/Azure.Provisioning.SignalR.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.SignalR/api/Azure.Provisioning.SignalR.netstandard2.0.cs
index 77fcf1f498f16..184132f3930b4 100644
--- a/sdk/provisioning/Azure.Provisioning.SignalR/api/Azure.Provisioning.SignalR.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.SignalR/api/Azure.Provisioning.SignalR.netstandard2.0.cs
@@ -51,7 +51,6 @@ public static partial class ResourceVersions
public static readonly string V2022_02_01;
public static readonly string V2023_02_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class SignalRCustomDomain : Azure.Provisioning.Primitives.ProvisionableResource
@@ -72,7 +71,6 @@ public static partial class ResourceVersions
public static readonly string V2022_02_01;
public static readonly string V2023_02_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class SignalRFeature : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -154,7 +152,6 @@ public static partial class ResourceVersions
public static readonly string V2022_02_01;
public static readonly string V2023_02_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class SignalRPrivateEndpointConnectionData : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -254,7 +251,6 @@ public static partial class ResourceVersions
public static readonly string V2022_02_01;
public static readonly string V2023_02_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public enum SignalRServiceKind
@@ -283,7 +279,6 @@ public static partial class ResourceVersions
public static readonly string V2022_02_01;
public static readonly string V2023_02_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class SignalRSharedPrivateLinkResourceData : Azure.Provisioning.Primitives.ProvisionableConstruct
diff --git a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRCustomCertificate.cs b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRCustomCertificate.cs
index 6bd7daf06e8d4..5aff50a043cc0 100644
--- a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRCustomCertificate.cs
+++ b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRCustomCertificate.cs
@@ -93,11 +93,6 @@ public SignalRCustomCertificate(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRCustomDomain.cs b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRCustomDomain.cs
index ce44f8350a511..c34daffadaab8 100644
--- a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRCustomDomain.cs
+++ b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRCustomDomain.cs
@@ -86,11 +86,6 @@ public SignalRCustomDomain(string bicepIdentifier, string? resourceVersion = def
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRPrivateEndpointConnection.cs
index d579a5d0eb756..8633096d66aae 100644
--- a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRPrivateEndpointConnection.cs
@@ -94,11 +94,6 @@ public SignalRPrivateEndpointConnection(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRService.cs b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRService.cs
index 0f5132cc03f3f..d6d86316ca655 100644
--- a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRService.cs
+++ b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRService.cs
@@ -251,11 +251,6 @@ public SignalRService(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRSharedPrivateLink.cs b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRSharedPrivateLink.cs
index 91c191995d506..d1caa4723a58f 100644
--- a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRSharedPrivateLink.cs
+++ b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRSharedPrivateLink.cs
@@ -102,11 +102,6 @@ public SignalRSharedPrivateLink(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/api/Azure.Provisioning.Sql.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.Sql/api/Azure.Provisioning.Sql.netstandard2.0.cs
index 3c90dc6ce81c0..913423a1a8563 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/api/Azure.Provisioning.Sql.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/api/Azure.Provisioning.Sql.netstandard2.0.cs
@@ -27,7 +27,6 @@ public partial class BackupShortTermRetentionPolicy : Azure.Provisioning.Primiti
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum BlobAuditingPolicyName
@@ -70,7 +69,6 @@ public partial class DatabaseAdvancedThreatProtection : Azure.Provisioning.Primi
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class DatabaseIdentity : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -119,7 +117,6 @@ public static partial class ResourceVersions
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum DataMaskingState
@@ -148,7 +145,6 @@ public partial class DistributedAvailabilityGroup : Azure.Provisioning.Primitive
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum DistributedAvailabilityGroupReplicationMode
@@ -192,7 +188,6 @@ public static partial class ResourceVersions
public static readonly string V2014_04_01;
public static readonly string V2015_05_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum ElasticPoolLicenseType
@@ -231,7 +226,6 @@ public partial class EncryptionProtector : Azure.Provisioning.Primitives.Provisi
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum EncryptionProtectorName
@@ -264,7 +258,6 @@ public static partial class ResourceVersions
public static readonly string V2014_04_01;
public static readonly string V2015_01_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ExtendedServerBlobAuditingPolicy : Azure.Provisioning.Primitives.ProvisionableResource
@@ -290,7 +283,6 @@ public partial class ExtendedServerBlobAuditingPolicy : Azure.Provisioning.Primi
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum ExternalGovernanceStatus
@@ -319,7 +311,6 @@ public partial class FailoverGroup : Azure.Provisioning.Primitives.Provisionable
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class FailoverGroupReadOnlyEndpoint : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -361,7 +352,6 @@ public static partial class ResourceVersions
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum GeoBackupPolicyName
@@ -395,7 +385,6 @@ public partial class InstanceFailoverGroup : Azure.Provisioning.Primitives.Provi
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class InstanceFailoverGroupReadWriteEndpoint : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -427,7 +416,6 @@ public partial class InstancePool : Azure.Provisioning.Primitives.ProvisionableR
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum InstancePoolLicenseType
@@ -449,7 +437,6 @@ public static partial class ResourceVersions
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum JobAgentState
@@ -565,7 +552,6 @@ public partial class LedgerDigestUpload : Azure.Provisioning.Primitives.Provisio
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum LedgerDigestUploadsName
@@ -591,7 +577,6 @@ public static partial class ResourceVersions
{
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class LongTermRetentionPolicy : Azure.Provisioning.Primitives.ProvisionableResource
@@ -611,7 +596,6 @@ public partial class LongTermRetentionPolicy : Azure.Provisioning.Primitives.Pro
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum LongTermRetentionPolicyName
@@ -631,7 +615,6 @@ public partial class ManagedBackupShortTermRetentionPolicy : Azure.Provisioning.
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedDatabase : Azure.Provisioning.Primitives.ProvisionableResource
@@ -669,7 +652,6 @@ public partial class ManagedDatabase : Azure.Provisioning.Primitives.Provisionab
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedDatabaseAdvancedThreatProtection : Azure.Provisioning.Primitives.ProvisionableResource
@@ -684,7 +666,7 @@ public partial class ManagedDatabaseAdvancedThreatProtection : Azure.Provisionin
public static Azure.Provisioning.Sql.ManagedDatabaseAdvancedThreatProtection FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2024_05_01_preview;
+ public static readonly string V2021_11_01;
}
}
public enum ManagedDatabaseCreateMode
@@ -714,7 +696,6 @@ public partial class ManagedDatabaseSecurityAlertPolicy : Azure.Provisioning.Pri
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedDatabaseSensitivityLabel : Azure.Provisioning.Primitives.ProvisionableResource
@@ -767,7 +748,6 @@ public partial class ManagedDatabaseVulnerabilityAssessment : Azure.Provisioning
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedDatabaseVulnerabilityAssessmentRuleBaseline : Azure.Provisioning.Primitives.ProvisionableResource
@@ -824,7 +804,6 @@ public partial class ManagedInstance : Azure.Provisioning.Primitives.Provisionab
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedInstanceAdministrator : Azure.Provisioning.Primitives.ProvisionableResource
@@ -842,7 +821,6 @@ public partial class ManagedInstanceAdministrator : Azure.Provisioning.Primitive
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum ManagedInstanceAdministratorType
@@ -861,7 +839,7 @@ public partial class ManagedInstanceAdvancedThreatProtection : Azure.Provisionin
public static Azure.Provisioning.Sql.ManagedInstanceAdvancedThreatProtection FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2024_05_01_preview;
+ public static readonly string V2021_11_01;
}
}
public partial class ManagedInstanceAzureADOnlyAuthentication : Azure.Provisioning.Primitives.ProvisionableResource
@@ -876,7 +854,6 @@ public partial class ManagedInstanceAzureADOnlyAuthentication : Azure.Provisioni
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedInstanceDtc : Azure.Provisioning.Primitives.ProvisionableResource
@@ -895,7 +872,6 @@ public partial class ManagedInstanceDtc : Azure.Provisioning.Primitives.Provisio
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedInstanceDtcSecuritySettings : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -931,7 +907,6 @@ public partial class ManagedInstanceEncryptionProtector : Azure.Provisioning.Pri
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedInstanceExternalAdministrator : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -961,7 +936,6 @@ public partial class ManagedInstanceKey : Azure.Provisioning.Primitives.Provisio
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum ManagedInstanceLicenseType
@@ -984,7 +958,6 @@ public partial class ManagedInstanceLongTermRetentionPolicy : Azure.Provisioning
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum ManagedInstanceLongTermRetentionPolicyName
@@ -1018,7 +991,6 @@ public partial class ManagedInstancePrivateEndpointConnection : Azure.Provisioni
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedInstancePrivateEndpointConnectionProperties : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1072,7 +1044,6 @@ public partial class ManagedInstanceServerConfigurationOption : Azure.Provisioni
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum ManagedInstanceServerConfigurationOptionName
@@ -1094,7 +1065,6 @@ public partial class ManagedInstanceServerTrustCertificate : Azure.Provisioning.
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedInstanceStartStopSchedule : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1113,7 +1083,6 @@ public partial class ManagedInstanceStartStopSchedule : Azure.Provisioning.Primi
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum ManagedInstanceStartStopScheduleName
@@ -1136,7 +1105,6 @@ public partial class ManagedInstanceVulnerabilityAssessment : Azure.Provisioning
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedLedgerDigestUpload : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1151,7 +1119,7 @@ public partial class ManagedLedgerDigestUpload : Azure.Provisioning.Primitives.P
public static Azure.Provisioning.Sql.ManagedLedgerDigestUpload FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2024_05_01_preview;
+ public static readonly string V2021_11_01;
}
}
public enum ManagedLedgerDigestUploadsName
@@ -1192,7 +1160,6 @@ public partial class ManagedServerDnsAlias : Azure.Provisioning.Primitives.Provi
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class ManagedServerSecurityAlertPolicy : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1214,7 +1181,6 @@ public partial class ManagedServerSecurityAlertPolicy : Azure.Provisioning.Primi
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum ManagedShortTermRetentionPolicyName
@@ -1234,7 +1200,6 @@ public partial class ManagedTransparentDataEncryption : Azure.Provisioning.Primi
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class OutboundFirewallRule : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1251,7 +1216,6 @@ public static partial class ResourceVersions
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class PartnerRegionInfo : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -1328,7 +1292,6 @@ public partial class ServerAdvancedThreatProtection : Azure.Provisioning.Primiti
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum ServerConnectionType
@@ -1402,7 +1365,6 @@ public static partial class ResourceVersions
{
public static readonly string V2018_06_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum SqlAgentConfigurationPropertiesState
@@ -1531,7 +1493,6 @@ public static partial class ResourceVersions
public static readonly string V2014_04_01;
public static readonly string V2015_01_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlDatabaseBlobAuditingPolicy : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1556,7 +1517,6 @@ public partial class SqlDatabaseBlobAuditingPolicy : Azure.Provisioning.Primitiv
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum SqlDatabaseCreateMode
@@ -1605,7 +1565,6 @@ public static partial class ResourceVersions
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlDatabaseSensitivityLabel : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1689,7 +1648,6 @@ public partial class SqlDatabaseVulnerabilityAssessment : Azure.Provisioning.Pri
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlDatabaseVulnerabilityAssessmentRuleBaseline : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1727,7 +1685,6 @@ public static partial class ResourceVersions
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum SqlMinimalTlsVersion
@@ -1760,7 +1717,6 @@ public static partial class ResourceVersions
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum SqlPrivateEndpointProvisioningState
@@ -1837,7 +1793,6 @@ public static partial class ResourceVersions
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerAzureADAdministrator : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1857,7 +1812,6 @@ public static partial class ResourceVersions
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerAzureADOnlyAuthentication : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1874,7 +1828,6 @@ public static partial class ResourceVersions
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerBlobAuditingPolicy : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1899,7 +1852,6 @@ public partial class SqlServerBlobAuditingPolicy : Azure.Provisioning.Primitives
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerCommunicationLink : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1918,7 +1870,6 @@ public static partial class ResourceVersions
{
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
- public static readonly string V2014_04_01_preview;
}
}
public partial class SqlServerConnectionPolicy : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1937,7 +1888,6 @@ public static partial class ResourceVersions
public static readonly string V2014_01_01;
public static readonly string V2014_04_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerDatabaseRestorePoint : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1959,7 +1909,6 @@ public static partial class ResourceVersions
public static readonly string V2014_04_01;
public static readonly string V2015_01_01;
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerDevOpsAuditingSetting : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1979,7 +1928,6 @@ public partial class SqlServerDevOpsAuditingSetting : Azure.Provisioning.Primiti
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerDnsAlias : Azure.Provisioning.Primitives.ProvisionableResource
@@ -1994,7 +1942,6 @@ public partial class SqlServerDnsAlias : Azure.Provisioning.Primitives.Provision
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerJob : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2011,7 +1958,6 @@ public partial class SqlServerJob : Azure.Provisioning.Primitives.ProvisionableR
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerJobAgent : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2030,7 +1976,6 @@ public partial class SqlServerJobAgent : Azure.Provisioning.Primitives.Provision
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerJobCredential : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2046,7 +1991,6 @@ public partial class SqlServerJobCredential : Azure.Provisioning.Primitives.Prov
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerJobExecution : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2073,7 +2017,6 @@ public partial class SqlServerJobExecution : Azure.Provisioning.Primitives.Provi
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerJobSchedule : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -2107,7 +2050,6 @@ public partial class SqlServerJobStep : Azure.Provisioning.Primitives.Provisiona
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerJobTargetGroup : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2122,7 +2064,6 @@ public partial class SqlServerJobTargetGroup : Azure.Provisioning.Primitives.Pro
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerKey : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2144,7 +2085,6 @@ public partial class SqlServerKey : Azure.Provisioning.Primitives.ProvisionableR
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum SqlServerKeyType
@@ -2183,7 +2123,6 @@ public partial class SqlServerSecurityAlertPolicy : Azure.Provisioning.Primitive
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerSqlVulnerabilityAssessment : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2197,7 +2136,9 @@ public partial class SqlServerSqlVulnerabilityAssessment : Azure.Provisioning.Pr
public static Azure.Provisioning.Sql.SqlServerSqlVulnerabilityAssessment FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2024_05_01_preview;
+ public static readonly string V2014_01_01;
+ public static readonly string V2014_04_01;
+ public static readonly string V2021_11_01;
}
}
public partial class SqlServerSqlVulnerabilityAssessmentBaseline : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2212,7 +2153,9 @@ public partial class SqlServerSqlVulnerabilityAssessmentBaseline : Azure.Provisi
public static Azure.Provisioning.Sql.SqlServerSqlVulnerabilityAssessmentBaseline FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2024_05_01_preview;
+ public static readonly string V2014_01_01;
+ public static readonly string V2014_04_01;
+ public static readonly string V2021_11_01;
}
}
public partial class SqlServerSqlVulnerabilityAssessmentBaselineRule : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2227,7 +2170,9 @@ public partial class SqlServerSqlVulnerabilityAssessmentBaselineRule : Azure.Pro
public static Azure.Provisioning.Sql.SqlServerSqlVulnerabilityAssessmentBaselineRule FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
- public static readonly string V2024_05_01_preview;
+ public static readonly string V2014_01_01;
+ public static readonly string V2014_04_01;
+ public static readonly string V2021_11_01;
}
}
public partial class SqlServerTrustGroup : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2242,7 +2187,6 @@ public partial class SqlServerTrustGroup : Azure.Provisioning.Primitives.Provisi
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServerVirtualNetworkRule : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2259,7 +2203,6 @@ public partial class SqlServerVirtualNetworkRule : Azure.Provisioning.Primitives
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum SqlServerVirtualNetworkRuleState
@@ -2286,7 +2229,6 @@ public partial class SqlServerVulnerabilityAssessment : Azure.Provisioning.Primi
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SqlServicePrincipal : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -2338,7 +2280,6 @@ public partial class SyncAgent : Azure.Provisioning.Primitives.ProvisionableReso
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum SyncAgentState
@@ -2384,7 +2325,6 @@ public partial class SyncGroup : Azure.Provisioning.Primitives.ProvisionableReso
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class SyncGroupSchema : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -2437,7 +2377,6 @@ public partial class SyncMember : Azure.Provisioning.Primitives.ProvisionableRes
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public enum SyncMemberDbType
@@ -2512,7 +2451,6 @@ public partial class WorkloadClassifier : Azure.Provisioning.Primitives.Provisio
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
public partial class WorkloadGroup : Azure.Provisioning.Primitives.ProvisionableResource
@@ -2532,7 +2470,6 @@ public partial class WorkloadGroup : Azure.Provisioning.Primitives.Provisionable
public static partial class ResourceVersions
{
public static readonly string V2021_11_01;
- public static readonly string V2024_05_01_preview;
}
}
}
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/BackupShortTermRetentionPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/BackupShortTermRetentionPolicy.cs
index dcbf4b3644cff..856c284a066fc 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/BackupShortTermRetentionPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/BackupShortTermRetentionPolicy.cs
@@ -82,11 +82,6 @@ public BackupShortTermRetentionPolicy(string bicepIdentifier, string? resourceVe
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DataMaskingPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DataMaskingPolicy.cs
index 803d26b69bda7..10dbc7b6748a0 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DataMaskingPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DataMaskingPolicy.cs
@@ -111,11 +111,6 @@ public DataMaskingPolicy(string bicepIdentifier, string? resourceVersion = defau
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DatabaseAdvancedThreatProtection.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DatabaseAdvancedThreatProtection.cs
index bfea8eec6f4aa..7d3c6b0e3dc42 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DatabaseAdvancedThreatProtection.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DatabaseAdvancedThreatProtection.cs
@@ -81,11 +81,6 @@ public DatabaseAdvancedThreatProtection(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DistributedAvailabilityGroup.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DistributedAvailabilityGroup.cs
index fbf9db84982c1..cbe30eb989d48 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DistributedAvailabilityGroup.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DistributedAvailabilityGroup.cs
@@ -136,11 +136,6 @@ public DistributedAvailabilityGroup(string bicepIdentifier, string? resourceVers
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ElasticPool.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ElasticPool.cs
index 045eaf31326b2..148e0edf957fd 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ElasticPool.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ElasticPool.cs
@@ -187,11 +187,6 @@ public ElasticPool(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/EncryptionProtector.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/EncryptionProtector.cs
index 0bbbedae6b561..7abc1f51a5212 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/EncryptionProtector.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/EncryptionProtector.cs
@@ -123,11 +123,6 @@ public EncryptionProtector(string bicepIdentifier, string? resourceVersion = def
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedDatabaseBlobAuditingPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedDatabaseBlobAuditingPolicy.cs
index c57b48db1efc1..e54b7805f73e1 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedDatabaseBlobAuditingPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedDatabaseBlobAuditingPolicy.cs
@@ -230,11 +230,6 @@ public ExtendedDatabaseBlobAuditingPolicy(string bicepIdentifier, string? resour
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedServerBlobAuditingPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedServerBlobAuditingPolicy.cs
index ffa680686f4f4..9b1ccf18ec3d5 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedServerBlobAuditingPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedServerBlobAuditingPolicy.cs
@@ -251,11 +251,6 @@ public ExtendedServerBlobAuditingPolicy(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/FailoverGroup.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/FailoverGroup.cs
index b0ab02677fb5b..79e2446bc3a06 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/FailoverGroup.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/FailoverGroup.cs
@@ -123,11 +123,6 @@ public FailoverGroup(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/GeoBackupPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/GeoBackupPolicy.cs
index 3443b4adc5096..f21b9a22a30d0 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/GeoBackupPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/GeoBackupPolicy.cs
@@ -94,11 +94,6 @@ public GeoBackupPolicy(string bicepIdentifier, string? resourceVersion = default
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/IPv6FirewallRule.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/IPv6FirewallRule.cs
index 6441805c01046..5e60a44813c6e 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/IPv6FirewallRule.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/IPv6FirewallRule.cs
@@ -72,11 +72,6 @@ public IPv6FirewallRule(string bicepIdentifier, string? resourceVersion = defaul
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstanceFailoverGroup.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstanceFailoverGroup.cs
index 6d81de5e331c5..0c803960062f5 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstanceFailoverGroup.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstanceFailoverGroup.cs
@@ -109,11 +109,6 @@ public InstanceFailoverGroup(string bicepIdentifier, string? resourceVersion = d
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstancePool.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstancePool.cs
index 46afc2d5fd8c7..4c64b84ca43dd 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstancePool.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstancePool.cs
@@ -118,11 +118,6 @@ public InstancePool(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LedgerDigestUpload.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LedgerDigestUpload.cs
index ba005e3acab5a..bb5d79a6e3f49 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LedgerDigestUpload.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LedgerDigestUpload.cs
@@ -80,11 +80,6 @@ public LedgerDigestUpload(string bicepIdentifier, string? resourceVersion = defa
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LogicalDatabaseTransparentDataEncryption.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LogicalDatabaseTransparentDataEncryption.cs
index e407033628f79..32dbc9b297223 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LogicalDatabaseTransparentDataEncryption.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LogicalDatabaseTransparentDataEncryption.cs
@@ -73,11 +73,6 @@ public LogicalDatabaseTransparentDataEncryption(string bicepIdentifier, string?
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LongTermRetentionPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LongTermRetentionPolicy.cs
index 83735c1d2c9ef..ea762c2bbfca3 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LongTermRetentionPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LongTermRetentionPolicy.cs
@@ -107,11 +107,6 @@ public LongTermRetentionPolicy(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedBackupShortTermRetentionPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedBackupShortTermRetentionPolicy.cs
index 12bd8d5e145bb..e86c9f1a099a1 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedBackupShortTermRetentionPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedBackupShortTermRetentionPolicy.cs
@@ -73,11 +73,6 @@ public ManagedBackupShortTermRetentionPolicy(string bicepIdentifier, string? res
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabase.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabase.cs
index 1f7f3ed0737c6..4cb0e5c4d6393 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabase.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabase.cs
@@ -263,11 +263,6 @@ public ManagedDatabase(string bicepIdentifier, string? resourceVersion = default
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseAdvancedThreatProtection.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseAdvancedThreatProtection.cs
index e050367499948..7a9aa082bf16a 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseAdvancedThreatProtection.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseAdvancedThreatProtection.cs
@@ -66,7 +66,7 @@ public partial class ManagedDatabaseAdvancedThreatProtection : ProvisionableReso
///
/// Version of the ManagedDatabaseAdvancedThreatProtection.
public ManagedDatabaseAdvancedThreatProtection(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/advancedThreatProtectionSettings", resourceVersion ?? "2024-05-01-preview")
+ : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/advancedThreatProtectionSettings", resourceVersion ?? "2021-11-01")
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isOutput: true);
_state = BicepValue.DefineProperty(this, "State", ["properties", "state"]);
@@ -82,9 +82,9 @@ public ManagedDatabaseAdvancedThreatProtection(string bicepIdentifier, string? r
public static class ResourceVersions
{
///
- /// 2024-05-01-preview.
+ /// 2021-11-01.
///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
+ public static readonly string V2021_11_01 = "2021-11-01";
}
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicy.cs
index 482bb7ea919c9..cffe0a8c5f8d3 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicy.cs
@@ -128,11 +128,6 @@ public ManagedDatabaseSecurityAlertPolicy(string bicepIdentifier, string? resour
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseVulnerabilityAssessment.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseVulnerabilityAssessment.cs
index 57d716cb405c5..f001c1b7e6d06 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseVulnerabilityAssessment.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseVulnerabilityAssessment.cs
@@ -101,11 +101,6 @@ public ManagedDatabaseVulnerabilityAssessment(string bicepIdentifier, string? re
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstance.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstance.cs
index 4dcc3e61edd18..6fc1a37ccaaff 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstance.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstance.cs
@@ -327,11 +327,6 @@ public ManagedInstance(string bicepIdentifier, string? resourceVersion = default
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdministrator.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdministrator.cs
index 541fb05d4b841..d4883b6cdb2d2 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdministrator.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdministrator.cs
@@ -93,11 +93,6 @@ public ManagedInstanceAdministrator(string bicepIdentifier, string? resourceVers
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdvancedThreatProtection.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdvancedThreatProtection.cs
index 9989eef00d5d2..06d1ea1a5167e 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdvancedThreatProtection.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdvancedThreatProtection.cs
@@ -66,7 +66,7 @@ public partial class ManagedInstanceAdvancedThreatProtection : ProvisionableReso
///
/// Version of the ManagedInstanceAdvancedThreatProtection.
public ManagedInstanceAdvancedThreatProtection(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.Sql/managedInstances/advancedThreatProtectionSettings", resourceVersion ?? "2024-05-01-preview")
+ : base(bicepIdentifier, "Microsoft.Sql/managedInstances/advancedThreatProtectionSettings", resourceVersion ?? "2021-11-01")
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isOutput: true);
_state = BicepValue.DefineProperty(this, "State", ["properties", "state"]);
@@ -82,9 +82,9 @@ public ManagedInstanceAdvancedThreatProtection(string bicepIdentifier, string? r
public static class ResourceVersions
{
///
- /// 2024-05-01-preview.
+ /// 2021-11-01.
///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
+ public static readonly string V2021_11_01 = "2021-11-01";
}
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthentication.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthentication.cs
index 5af6a91449c40..8634179138493 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthentication.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthentication.cs
@@ -73,11 +73,6 @@ public ManagedInstanceAzureADOnlyAuthentication(string bicepIdentifier, string?
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceDtc.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceDtc.cs
index 61c436355c752..f5466a047c1bb 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceDtc.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceDtc.cs
@@ -101,11 +101,6 @@ public ManagedInstanceDtc(string bicepIdentifier, string? resourceVersion = defa
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceEncryptionProtector.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceEncryptionProtector.cs
index e994998ddc340..c7a161562cde3 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceEncryptionProtector.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceEncryptionProtector.cs
@@ -109,11 +109,6 @@ public ManagedInstanceEncryptionProtector(string bicepIdentifier, string? resour
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceKey.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceKey.cs
index 297cbfe067c20..e0fe266c92eb0 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceKey.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceKey.cs
@@ -110,11 +110,6 @@ public ManagedInstanceKey(string bicepIdentifier, string? resourceVersion = defa
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceLongTermRetentionPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceLongTermRetentionPolicy.cs
index 599ba911ef6b3..a8b88bf6b7ac1 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceLongTermRetentionPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceLongTermRetentionPolicy.cs
@@ -93,11 +93,6 @@ public ManagedInstanceLongTermRetentionPolicy(string bicepIdentifier, string? re
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstancePrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstancePrivateEndpointConnection.cs
index 22371bfd3b677..e988583f7fc3b 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstancePrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstancePrivateEndpointConnection.cs
@@ -87,11 +87,6 @@ public ManagedInstancePrivateEndpointConnection(string bicepIdentifier, string?
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerConfigurationOption.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerConfigurationOption.cs
index bb62506ba5b9e..04c1d76f93aa0 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerConfigurationOption.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerConfigurationOption.cs
@@ -80,11 +80,6 @@ public ManagedInstanceServerConfigurationOption(string bicepIdentifier, string?
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerTrustCertificate.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerTrustCertificate.cs
index 3da559b278c93..1341a3ca8bb7e 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerTrustCertificate.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerTrustCertificate.cs
@@ -86,11 +86,6 @@ public ManagedInstanceServerTrustCertificate(string bicepIdentifier, string? res
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceStartStopSchedule.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceStartStopSchedule.cs
index e216ccb10e63d..9bddad6d99021 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceStartStopSchedule.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceStartStopSchedule.cs
@@ -102,11 +102,6 @@ public ManagedInstanceStartStopSchedule(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceVulnerabilityAssessment.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceVulnerabilityAssessment.cs
index 7bd28e8d3655c..ccfce21ca0c6d 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceVulnerabilityAssessment.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceVulnerabilityAssessment.cs
@@ -102,11 +102,6 @@ public ManagedInstanceVulnerabilityAssessment(string bicepIdentifier, string? re
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedLedgerDigestUpload.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedLedgerDigestUpload.cs
index 48fff575f1cc1..213e3c3c33b30 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedLedgerDigestUpload.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedLedgerDigestUpload.cs
@@ -65,7 +65,7 @@ public partial class ManagedLedgerDigestUpload : ProvisionableResource
///
/// Version of the ManagedLedgerDigestUpload.
public ManagedLedgerDigestUpload(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/ledgerDigestUploads", resourceVersion ?? "2024-05-01-preview")
+ : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/ledgerDigestUploads", resourceVersion ?? "2021-11-01")
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isOutput: true);
_digestStorageEndpoint = BicepValue.DefineProperty(this, "DigestStorageEndpoint", ["properties", "digestStorageEndpoint"]);
@@ -81,9 +81,9 @@ public ManagedLedgerDigestUpload(string bicepIdentifier, string? resourceVersion
public static class ResourceVersions
{
///
- /// 2024-05-01-preview.
+ /// 2021-11-01.
///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
+ public static readonly string V2021_11_01 = "2021-11-01";
}
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerDnsAlias.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerDnsAlias.cs
index ada50f53e1220..9736fe44e13e6 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerDnsAlias.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerDnsAlias.cs
@@ -86,11 +86,6 @@ public ManagedServerDnsAlias(string bicepIdentifier, string? resourceVersion = d
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerSecurityAlertPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerSecurityAlertPolicy.cs
index 81df91f3cfb24..6f0a3b905585a 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerSecurityAlertPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerSecurityAlertPolicy.cs
@@ -128,11 +128,6 @@ public ManagedServerSecurityAlertPolicy(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedTransparentDataEncryption.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedTransparentDataEncryption.cs
index 18a71b89e0d57..a0199ba764b34 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedTransparentDataEncryption.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedTransparentDataEncryption.cs
@@ -72,11 +72,6 @@ public ManagedTransparentDataEncryption(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/Models/SqlServerJobSchedule.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/Models/SqlServerJobSchedule.cs
index 1889d8d4e149c..1392b77031d7f 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/Models/SqlServerJobSchedule.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/Models/SqlServerJobSchedule.cs
@@ -53,6 +53,6 @@ public SqlServerJobSchedule()
_endOn = BicepValue.DefineProperty(this, "EndOn", ["endTime"]);
_scheduleType = BicepValue.DefineProperty(this, "ScheduleType", ["type"]);
_isEnabled = BicepValue.DefineProperty(this, "IsEnabled", ["enabled"]);
- _interval = BicepValue.DefineProperty(this, "Interval", ["interval"]);
+ _interval = BicepValue.DefineProperty(this, "Interval", ["interval"], format: "P");
}
}
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/OutboundFirewallRule.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/OutboundFirewallRule.cs
index bf01f6fcc1ac6..1099e77c22c1a 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/OutboundFirewallRule.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/OutboundFirewallRule.cs
@@ -72,11 +72,6 @@ public OutboundFirewallRule(string bicepIdentifier, string? resourceVersion = de
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ServerAdvancedThreatProtection.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ServerAdvancedThreatProtection.cs
index 3f7acbe852156..0910625205a34 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ServerAdvancedThreatProtection.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ServerAdvancedThreatProtection.cs
@@ -81,11 +81,6 @@ public ServerAdvancedThreatProtection(string bicepIdentifier, string? resourceVe
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlAgentConfiguration.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlAgentConfiguration.cs
index 7c5e6da1e205e..4b8c41de4aa65 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlAgentConfiguration.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlAgentConfiguration.cs
@@ -72,11 +72,6 @@ public SqlAgentConfiguration(string bicepIdentifier, string? resourceVersion = d
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabase.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabase.cs
index ee05d312b971c..9fc078bc64ee1 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabase.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabase.cs
@@ -551,11 +551,6 @@ public SqlDatabase(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseBlobAuditingPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseBlobAuditingPolicy.cs
index 624e453893f63..507be7b682777 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseBlobAuditingPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseBlobAuditingPolicy.cs
@@ -230,11 +230,6 @@ public SqlDatabaseBlobAuditingPolicy(string bicepIdentifier, string? resourceVer
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseSecurityAlertPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseSecurityAlertPolicy.cs
index 91e22ca2c92c2..5feb06bdb03fb 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseSecurityAlertPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseSecurityAlertPolicy.cs
@@ -128,11 +128,6 @@ public SqlDatabaseSecurityAlertPolicy(string bicepIdentifier, string? resourceVe
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseVulnerabilityAssessment.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseVulnerabilityAssessment.cs
index 676e748973223..0f12237d98ef8 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseVulnerabilityAssessment.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseVulnerabilityAssessment.cs
@@ -101,11 +101,6 @@ public SqlDatabaseVulnerabilityAssessment(string bicepIdentifier, string? resour
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlFirewallRule.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlFirewallRule.cs
index f499c1054ca52..c92a3d74eb007 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlFirewallRule.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlFirewallRule.cs
@@ -75,11 +75,6 @@ public SqlFirewallRule(string bicepIdentifier, string? resourceVersion = default
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlPrivateEndpointConnection.cs
index 487e948779f9c..e06265ad96d79 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlPrivateEndpointConnection.cs
@@ -94,11 +94,6 @@ public SqlPrivateEndpointConnection(string bicepIdentifier, string? resourceVers
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServer.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServer.cs
index e997b4bc50bc9..0d6e74b44692c 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServer.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServer.cs
@@ -216,11 +216,6 @@ public SqlServer(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADAdministrator.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADAdministrator.cs
index f01a077bbfc73..d96ae3a64ad70 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADAdministrator.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADAdministrator.cs
@@ -101,11 +101,6 @@ public SqlServerAzureADAdministrator(string bicepIdentifier, string? resourceVer
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADOnlyAuthentication.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADOnlyAuthentication.cs
index 961e3472185f9..a53849bdf2a52 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADOnlyAuthentication.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADOnlyAuthentication.cs
@@ -72,11 +72,6 @@ public SqlServerAzureADOnlyAuthentication(string bicepIdentifier, string? resour
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerBlobAuditingPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerBlobAuditingPolicy.cs
index 3ec155dbf3915..b1822d0d0ce45 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerBlobAuditingPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerBlobAuditingPolicy.cs
@@ -244,11 +244,6 @@ public SqlServerBlobAuditingPolicy(string bicepIdentifier, string? resourceVersi
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerCommunicationLink.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerCommunicationLink.cs
index db66ebe9460fa..281f4bdebf714 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerCommunicationLink.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerCommunicationLink.cs
@@ -94,11 +94,6 @@ public SqlServerCommunicationLink(string bicepIdentifier, string? resourceVersio
///
public static class ResourceVersions
{
- ///
- /// 2014-04-01-preview.
- ///
- public static readonly string V2014_04_01_preview = "2014-04-01-preview";
-
///
/// 2014-04-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerConnectionPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerConnectionPolicy.cs
index d9176183a3e33..b03bca22bf682 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerConnectionPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerConnectionPolicy.cs
@@ -86,11 +86,6 @@ public SqlServerConnectionPolicy(string bicepIdentifier, string? resourceVersion
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDatabaseRestorePoint.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDatabaseRestorePoint.cs
index 1b39acc6238a4..d2134c8df1cd3 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDatabaseRestorePoint.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDatabaseRestorePoint.cs
@@ -100,11 +100,6 @@ public SqlServerDatabaseRestorePoint(string bicepIdentifier, string? resourceVer
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDevOpsAuditingSetting.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDevOpsAuditingSetting.cs
index 18047f5733cc2..59c1e728a940b 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDevOpsAuditingSetting.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDevOpsAuditingSetting.cs
@@ -133,11 +133,6 @@ public SqlServerDevOpsAuditingSetting(string bicepIdentifier, string? resourceVe
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDnsAlias.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDnsAlias.cs
index 2738a5bebe321..58605e037fb93 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDnsAlias.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDnsAlias.cs
@@ -72,11 +72,6 @@ public SqlServerDnsAlias(string bicepIdentifier, string? resourceVersion = defau
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJob.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJob.cs
index f836e1c4cbbdb..a9a7f7e68afbc 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJob.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJob.cs
@@ -86,11 +86,6 @@ public SqlServerJob(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobAgent.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobAgent.cs
index 90c09a40a005d..9e21753fc1660 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobAgent.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobAgent.cs
@@ -101,11 +101,6 @@ public SqlServerJobAgent(string bicepIdentifier, string? resourceVersion = defau
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobCredential.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobCredential.cs
index d90a64ed21b31..329a802679f21 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobCredential.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobCredential.cs
@@ -79,11 +79,6 @@ public SqlServerJobCredential(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobExecution.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobExecution.cs
index 0977a97736d95..d85cdb690960f 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobExecution.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobExecution.cs
@@ -156,11 +156,6 @@ public SqlServerJobExecution(string bicepIdentifier, string? resourceVersion = d
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobStep.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobStep.cs
index cd6b5afa4c21e..22e2035cd3584 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobStep.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobStep.cs
@@ -111,11 +111,6 @@ public SqlServerJobStep(string bicepIdentifier, string? resourceVersion = defaul
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobTargetGroup.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobTargetGroup.cs
index 8e80f0a0c25e5..7e7e3413e9720 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobTargetGroup.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobTargetGroup.cs
@@ -73,11 +73,6 @@ public SqlServerJobTargetGroup(string bicepIdentifier, string? resourceVersion =
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerKey.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerKey.cs
index 727fe00ec4e75..92e907c36e455 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerKey.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerKey.cs
@@ -129,11 +129,6 @@ public SqlServerKey(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSecurityAlertPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSecurityAlertPolicy.cs
index ca9887d3db9d4..990ce63a64f9d 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSecurityAlertPolicy.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSecurityAlertPolicy.cs
@@ -128,11 +128,6 @@ public SqlServerSecurityAlertPolicy(string bicepIdentifier, string? resourceVers
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessment.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessment.cs
index a51b4145d4606..a47fe94391c13 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessment.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessment.cs
@@ -60,7 +60,7 @@ public partial class SqlServerSqlVulnerabilityAssessment : ProvisionableResource
///
/// Version of the SqlServerSqlVulnerabilityAssessment.
public SqlServerSqlVulnerabilityAssessment(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments", resourceVersion ?? "2024-05-01-preview")
+ : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments", resourceVersion ?? "2021-11-01")
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isOutput: true);
_state = BicepValue.DefineProperty(this, "State", ["properties", "state"]);
@@ -75,9 +75,19 @@ public SqlServerSqlVulnerabilityAssessment(string bicepIdentifier, string? resou
public static class ResourceVersions
{
///
- /// 2024-05-01-preview.
+ /// 2021-11-01.
///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
+ public static readonly string V2021_11_01 = "2021-11-01";
+
+ ///
+ /// 2014-04-01.
+ ///
+ public static readonly string V2014_04_01 = "2014-04-01";
+
+ ///
+ /// 2014-01-01.
+ ///
+ public static readonly string V2014_01_01 = "2014-01-01";
}
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaseline.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaseline.cs
index 137ea72a09cea..928310d8fcebb 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaseline.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaseline.cs
@@ -66,7 +66,7 @@ public partial class SqlServerSqlVulnerabilityAssessmentBaseline : Provisionable
///
/// Version of the SqlServerSqlVulnerabilityAssessmentBaseline.
public SqlServerSqlVulnerabilityAssessmentBaseline(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines", resourceVersion ?? "2024-05-01-preview")
+ : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines", resourceVersion ?? "2021-11-01")
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isOutput: true);
_isLatestScan = BicepValue.DefineProperty(this, "IsLatestScan", ["properties", "latestScan"]);
@@ -82,9 +82,19 @@ public SqlServerSqlVulnerabilityAssessmentBaseline(string bicepIdentifier, strin
public static class ResourceVersions
{
///
- /// 2024-05-01-preview.
+ /// 2021-11-01.
///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
+ public static readonly string V2021_11_01 = "2021-11-01";
+
+ ///
+ /// 2014-04-01.
+ ///
+ public static readonly string V2014_04_01 = "2014-04-01";
+
+ ///
+ /// 2014-01-01.
+ ///
+ public static readonly string V2014_01_01 = "2014-01-01";
}
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaselineRule.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaselineRule.cs
index 2fd1a3c291c55..43b89fe3ac626 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaselineRule.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaselineRule.cs
@@ -66,7 +66,7 @@ public partial class SqlServerSqlVulnerabilityAssessmentBaselineRule : Provision
///
/// Version of the SqlServerSqlVulnerabilityAssessmentBaselineRule.
public SqlServerSqlVulnerabilityAssessmentBaselineRule(string bicepIdentifier, string? resourceVersion = default)
- : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines/rules", resourceVersion ?? "2024-05-01-preview")
+ : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines/rules", resourceVersion ?? "2021-11-01")
{
_name = BicepValue.DefineProperty(this, "Name", ["name"], isOutput: true);
_isLatestScan = BicepValue.DefineProperty(this, "IsLatestScan", ["properties", "latestScan"]);
@@ -83,9 +83,19 @@ public SqlServerSqlVulnerabilityAssessmentBaselineRule(string bicepIdentifier, s
public static class ResourceVersions
{
///
- /// 2024-05-01-preview.
+ /// 2021-11-01.
///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
+ public static readonly string V2021_11_01 = "2021-11-01";
+
+ ///
+ /// 2014-04-01.
+ ///
+ public static readonly string V2014_04_01 = "2014-04-01";
+
+ ///
+ /// 2014-01-01.
+ ///
+ public static readonly string V2014_01_01 = "2014-01-01";
}
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerTrustGroup.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerTrustGroup.cs
index 7f78712d36995..3b157dc22fb44 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerTrustGroup.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerTrustGroup.cs
@@ -73,11 +73,6 @@ public SqlServerTrustGroup(string bicepIdentifier, string? resourceVersion = def
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVirtualNetworkRule.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVirtualNetworkRule.cs
index bf66aff1c02a1..aae9b6173cdf8 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVirtualNetworkRule.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVirtualNetworkRule.cs
@@ -87,11 +87,6 @@ public SqlServerVirtualNetworkRule(string bicepIdentifier, string? resourceVersi
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVulnerabilityAssessment.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVulnerabilityAssessment.cs
index a0a79d46bdbbf..3dec87cdda2b5 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVulnerabilityAssessment.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVulnerabilityAssessment.cs
@@ -102,11 +102,6 @@ public SqlServerVulnerabilityAssessment(string bicepIdentifier, string? resource
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncAgent.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncAgent.cs
index 3c0f5fdd578e6..1eb5764114a90 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncAgent.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncAgent.cs
@@ -107,11 +107,6 @@ public SyncAgent(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncGroup.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncGroup.cs
index 3cc3fb52ce0d6..26b42ec7b42a4 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncGroup.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncGroup.cs
@@ -159,11 +159,6 @@ public SyncGroup(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncMember.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncMember.cs
index e29cd1b2dff03..8f28c06096c4f 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncMember.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncMember.cs
@@ -151,11 +151,6 @@ public SyncMember(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadClassifier.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadClassifier.cs
index c212fa7853e00..6320bb7c73fe1 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadClassifier.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadClassifier.cs
@@ -107,11 +107,6 @@ public WorkloadClassifier(string bicepIdentifier, string? resourceVersion = defa
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadGroup.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadGroup.cs
index 88cd8c3186153..172117ddd4e36 100644
--- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadGroup.cs
+++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadGroup.cs
@@ -107,11 +107,6 @@ public WorkloadGroup(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-05-01-preview.
- ///
- public static readonly string V2024_05_01_preview = "2024-05-01-preview";
-
///
/// 2021-11-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.Storage/api/Azure.Provisioning.Storage.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.Storage/api/Azure.Provisioning.Storage.netstandard2.0.cs
index 543f0c8570fa1..891b495dfb65f 100644
--- a/sdk/provisioning/Azure.Provisioning.Storage/api/Azure.Provisioning.Storage.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.Storage/api/Azure.Provisioning.Storage.netstandard2.0.cs
@@ -1,11 +1,3 @@
-namespace Azure.Provisioning
-{
- public partial class StorageResources
- {
- public StorageResources() { }
- public static Azure.Provisioning.Storage.StorageAccount CreateAccount(string resourceName, int? infrastructureVersion = 2) { throw null; }
- }
-}
namespace Azure.Provisioning.Storage
{
public partial class AccountImmutabilityPolicy : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -216,7 +208,7 @@ public BlobRestoreStatus() { }
public Azure.Provisioning.BicepValue RestoreId { get { throw null; } }
public Azure.Provisioning.BicepValue Status { get { throw null; } }
}
- public partial class BlobService : Azure.Provisioning.Primitives.ProvisionableResource, Azure.Provisioning.Primitives.IClientCreator, Azure.Provisioning.Primitives.IClientCreator
+ public partial class BlobService : Azure.Provisioning.Primitives.ProvisionableResource
{
public BlobService(string bicepIdentifier, string? resourceVersion = null) : base (default(string), default(Azure.Core.ResourceType), default(string)) { }
public Azure.Provisioning.BicepValue ChangeFeed { get { throw null; } set { } }
@@ -232,8 +224,6 @@ public partial class BlobService : Azure.Provisioning.Primitives.ProvisionableRe
public Azure.Provisioning.BicepValue RestorePolicy { get { throw null; } set { } }
public Azure.Provisioning.BicepValue Sku { get { throw null; } }
public Azure.Provisioning.BicepValue SystemData { get { throw null; } }
- System.Collections.Generic.IEnumerable Azure.Provisioning.Primitives.IClientCreator.GetOutputs() { throw null; }
- Azure.Storage.Blobs.BlobServiceClient Azure.Provisioning.Primitives.IClientCreator.CreateClient(System.Collections.Generic.IReadOnlyDictionary deploymentOutputs, Azure.Core.TokenCredential credential, Azure.Storage.Blobs.BlobClientOptions? options) { throw null; }
public static Azure.Provisioning.Storage.BlobService FromExisting(string bicepIdentifier, string? resourceVersion = null) { throw null; }
public static partial class ResourceVersions
{
diff --git a/sdk/provisioning/Azure.Provisioning.Storage/src/BlobService.cs b/sdk/provisioning/Azure.Provisioning.Storage/src/BlobService.cs
index 4f5188a07d6d4..38cf275dc5cfd 100644
--- a/sdk/provisioning/Azure.Provisioning.Storage/src/BlobService.cs
+++ b/sdk/provisioning/Azure.Provisioning.Storage/src/BlobService.cs
@@ -13,7 +13,9 @@ namespace Azure.Provisioning.Storage;
// Customize the generated BlobService resource.
public partial class BlobService
+#if EXPERIMENTAL_PROVISIONING
: IClientCreator
+#endif
{
///
/// Get the default value for the Name property.
@@ -21,6 +23,7 @@ public partial class BlobService
private partial BicepValue GetNameDefaultValue() =>
new StringLiteralExpression("default");
+#if EXPERIMENTAL_PROVISIONING
///
IEnumerable IClientCreator.GetOutputs()
{
@@ -56,4 +59,5 @@ BlobServiceClient IClientCreator.CreateCli
throw new InvalidOperationException($"Could not find output value {qualifiedName} to construct {GetType().Name} resource {BicepIdentifier}.");
return new BlobServiceClient(new Uri(endpoint), credential, options);
}
+#endif
}
diff --git a/sdk/provisioning/Azure.Provisioning.Storage/src/StorageResources.cs b/sdk/provisioning/Azure.Provisioning.Storage/src/StorageResources.cs
index 652ab8f73ea40..53e3c27193bc8 100644
--- a/sdk/provisioning/Azure.Provisioning.Storage/src/StorageResources.cs
+++ b/sdk/provisioning/Azure.Provisioning.Storage/src/StorageResources.cs
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
+#if EXPERIMENTAL_PROVISIONING
+
using System;
using Azure.Core;
using Azure.Provisioning.Storage;
@@ -54,3 +56,5 @@ public static StorageAccount CreateAccount(
} :
throw new ArgumentOutOfRangeException(nameof(infrastructureVersion), $"Expected a value between 1 and 2 inclusive, not {infrastructureVersion}.");
}
+
+#endif
diff --git a/sdk/provisioning/Azure.Provisioning.Storage/tests/BasicStorageTests.cs b/sdk/provisioning/Azure.Provisioning.Storage/tests/BasicStorageTests.cs
index 59e7f89eced2a..2f076916fbf44 100644
--- a/sdk/provisioning/Azure.Provisioning.Storage/tests/BasicStorageTests.cs
+++ b/sdk/provisioning/Azure.Provisioning.Storage/tests/BasicStorageTests.cs
@@ -19,7 +19,14 @@ public class BasicStorageTests(bool async)
public async Task CreateDefault()
{
await using Trycep test = CreateBicepTest();
- await test.Define(StorageResources.CreateAccount("storage"))
+ await test.Define(
+ new StorageAccount("storage", StorageAccount.ResourceVersions.V2023_01_01)
+ {
+ Kind = StorageKind.StorageV2,
+ Sku = new StorageSku { Name = StorageSkuName.StandardLrs },
+ IsHnsEnabled = true,
+ AllowBlobPublicAccess = false
+ })
.Compare(
"""
@description('The location for the resource(s) to be deployed.')
@@ -51,7 +58,14 @@ await test.Define(
{
Infrastructure infra = new();
- StorageAccount storage = StorageResources.CreateAccount(nameof(storage));
+ StorageAccount storage =
+ new(nameof(storage), StorageAccount.ResourceVersions.V2023_01_01)
+ {
+ Kind = StorageKind.StorageV2,
+ Sku = new StorageSku { Name = StorageSkuName.StandardLrs },
+ IsHnsEnabled = true,
+ AllowBlobPublicAccess = false
+ };
infra.Add(storage);
BlobService blobs = new(nameof(blobs)) { Parent = storage, DependsOn = { storage } };
@@ -98,7 +112,14 @@ await test.Define(
{
Infrastructure infra = new();
- StorageAccount storage = StorageResources.CreateAccount(nameof(storage));
+ StorageAccount storage =
+ new(nameof(storage), StorageAccount.ResourceVersions.V2023_01_01)
+ {
+ Kind = StorageKind.StorageV2,
+ Sku = new StorageSku { Name = StorageSkuName.StandardLrs },
+ IsHnsEnabled = true,
+ AllowBlobPublicAccess = false
+ };
infra.Add(storage);
UserAssignedIdentity id = new(nameof(id));
@@ -155,7 +176,14 @@ await test.Define(
{
Infrastructure infra = new();
- StorageAccount storage = StorageResources.CreateAccount(nameof(storage));
+ StorageAccount storage =
+ new(nameof(storage), StorageAccount.ResourceVersions.V2023_01_01)
+ {
+ Kind = StorageKind.StorageV2,
+ Sku = new StorageSku { Name = StorageSkuName.StandardLrs },
+ IsHnsEnabled = true,
+ AllowBlobPublicAccess = false
+ };
infra.Add(storage);
UserAssignedIdentity id = new(nameof(id));
@@ -226,7 +254,79 @@ await test.Define(
{
Infrastructure infra = new();
- StorageAccount storage = StorageResources.CreateAccount(nameof(storage));
+ StorageAccount storage =
+ new(nameof(storage), StorageAccount.ResourceVersions.V2023_01_01)
+ {
+ Kind = StorageKind.StorageV2,
+ Sku = new StorageSku { Name = StorageSkuName.StandardLrs },
+ IsHnsEnabled = true,
+ AllowBlobPublicAccess = false
+ };
+ infra.Add(storage);
+
+ BlobService blobs = new(nameof(blobs)) { Parent = storage };
+ infra.Add(blobs);
+
+ infra.Add(new ProvisioningOutput("blobs_endpoint", typeof(string)) { Value = storage.PrimaryEndpoints.Value!.BlobUri });
+
+ // Manually compute the public Azure endpoint
+ BicepValue computed =
+ new BicepStringBuilder()
+ .Append("https://")
+ .Append($"{storage.Name}")
+ .Append(".blob.core.windows.net");
+ infra.Add(new ProvisioningOutput("computed_endpoint", typeof(string)) { Value = computed });
+
+ return infra;
+ })
+ .Compare(
+ """
+ @description('The location for the resource(s) to be deployed.')
+ param location string = resourceGroup().location
+
+ resource storage 'Microsoft.Storage/storageAccounts@2023-01-01' = {
+ name: take('storage${uniqueString(resourceGroup().id)}', 24)
+ kind: 'StorageV2'
+ location: location
+ sku: {
+ name: 'Standard_LRS'
+ }
+ properties: {
+ allowBlobPublicAccess: false
+ isHnsEnabled: true
+ }
+ }
+
+ resource blobs 'Microsoft.Storage/storageAccounts/blobServices@2024-01-01' = {
+ name: 'default'
+ parent: storage
+ }
+
+ output blobs_endpoint string = storage.properties.primaryEndpoints.blob
+
+ output computed_endpoint string = 'https://${storage.name}.blob.core.windows.net'
+ """)
+ .Lint()
+ .ValidateAndDeployAsync();
+ }
+
+ [Test]
+ public async Task SimpleConnStr()
+ {
+ await using Trycep test = CreateBicepTest();
+ await test.Define(
+ ctx =>
+ {
+ Infrastructure infra = new();
+
+ StorageAccount storage =
+ new(nameof(storage), StorageAccount.ResourceVersions.V2023_01_01)
+ {
+ Kind = StorageKind.StorageV2,
+ Sku = new StorageSku { Name = StorageSkuName.StandardLrs },
+ IsHnsEnabled = true,
+ AllowBlobPublicAccess = false
+ };
infra.Add(storage);
BlobService blobs = new(nameof(blobs)) { Parent = storage };
diff --git a/sdk/provisioning/Azure.Provisioning.WebPubSub/api/Azure.Provisioning.WebPubSub.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.WebPubSub/api/Azure.Provisioning.WebPubSub.netstandard2.0.cs
index b31281feeea85..b1432328a5560 100644
--- a/sdk/provisioning/Azure.Provisioning.WebPubSub/api/Azure.Provisioning.WebPubSub.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning.WebPubSub/api/Azure.Provisioning.WebPubSub.netstandard2.0.cs
@@ -98,7 +98,6 @@ public static partial class ResourceVersions
public static readonly string V2021_10_01;
public static readonly string V2023_02_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class WebPubSubHubProperties : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -142,7 +141,6 @@ public static partial class ResourceVersions
public static readonly string V2021_10_01;
public static readonly string V2023_02_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class WebPubSubPrivateEndpointConnectionData : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -228,7 +226,6 @@ public static partial class ResourceVersions
public static readonly string V2021_10_01;
public static readonly string V2023_02_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class WebPubSubSharedPrivateLink : Azure.Provisioning.Primitives.ProvisionableResource
@@ -250,7 +247,6 @@ public static partial class ResourceVersions
public static readonly string V2021_10_01;
public static readonly string V2023_02_01;
public static readonly string V2024_03_01;
- public static readonly string V2024_04_01_preview;
}
}
public partial class WebPubSubSharedPrivateLinkData : Azure.Provisioning.Primitives.ProvisionableConstruct
diff --git a/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubHub.cs b/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubHub.cs
index 905e4feaedecd..08426f5b1fc1f 100644
--- a/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubHub.cs
+++ b/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubHub.cs
@@ -73,11 +73,6 @@ public WebPubSubHub(string bicepIdentifier, string? resourceVersion = default)
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubPrivateEndpointConnection.cs
index 8050fcd46f4f3..0f486343d5220 100644
--- a/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubPrivateEndpointConnection.cs
+++ b/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubPrivateEndpointConnection.cs
@@ -94,11 +94,6 @@ public WebPubSubPrivateEndpointConnection(string bicepIdentifier, string? resour
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubService.cs b/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubService.cs
index 02d01bb4f2efc..e92d7fbd779e5 100644
--- a/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubService.cs
+++ b/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubService.cs
@@ -214,11 +214,6 @@ public WebPubSubService(string bicepIdentifier, string? resourceVersion = defaul
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubSharedPrivateLink.cs b/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubSharedPrivateLink.cs
index f8d07b7b2e18e..21fcdeaeb7be5 100644
--- a/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubSharedPrivateLink.cs
+++ b/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubSharedPrivateLink.cs
@@ -102,11 +102,6 @@ public WebPubSubSharedPrivateLink(string bicepIdentifier, string? resourceVersio
///
public static class ResourceVersions
{
- ///
- /// 2024-04-01-preview.
- ///
- public static readonly string V2024_04_01_preview = "2024-04-01-preview";
-
///
/// 2024-03-01.
///
diff --git a/sdk/provisioning/Azure.Provisioning/api/Azure.Provisioning.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning/api/Azure.Provisioning.netstandard2.0.cs
index d10f6f69b82e0..49f436bae9f02 100644
--- a/sdk/provisioning/Azure.Provisioning/api/Azure.Provisioning.netstandard2.0.cs
+++ b/sdk/provisioning/Azure.Provisioning/api/Azure.Provisioning.netstandard2.0.cs
@@ -82,7 +82,7 @@ public BicepValue(T literal) { }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public void Assign(Azure.Provisioning.BicepValue source) { }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- public static Azure.Provisioning.BicepValue DefineProperty(Azure.Provisioning.Primitives.ProvisionableConstruct construct, string propertyName, string[]? bicepPath, bool isOutput = false, bool isRequired = false, bool isSecure = false, Azure.Provisioning.BicepValue? defaultValue = null) { throw null; }
+ public static Azure.Provisioning.BicepValue DefineProperty(Azure.Provisioning.Primitives.ProvisionableConstruct construct, string propertyName, string[]? bicepPath, bool isOutput = false, bool isRequired = false, bool isSecure = false, Azure.Provisioning.BicepValue? defaultValue = null, string? format = null) { throw null; }
public static implicit operator Azure.Provisioning.BicepValue (Azure.Provisioning.BicepValue value) { throw null; }
public static implicit operator Azure.Provisioning.BicepValue (Azure.Provisioning.Expressions.BicepExpression expression) { throw null; }
public static implicit operator Azure.Provisioning.BicepValue (Azure.Provisioning.ProvisioningVariable reference) { throw null; }
@@ -92,7 +92,7 @@ public partial class Infrastructure : Azure.Provisioning.Primitives.Provisionabl
{
public Infrastructure(string bicepName = "main") { }
public string BicepName { get { throw null; } }
- public string? TargetScope { get { throw null; } set { } }
+ public Azure.Provisioning.Primitives.DeploymentScope? TargetScope { get { throw null; } set { } }
public virtual void Add(Azure.Provisioning.Primitives.Provisionable resource) { }
public virtual Azure.Provisioning.ProvisioningPlan Build(Azure.Provisioning.ProvisioningBuildOptions? options = null) { throw null; }
protected internal override System.Collections.Generic.IEnumerable Compile() { throw null; }
@@ -166,7 +166,6 @@ public static partial class ResourceVersions
public static readonly string V2017_09_01;
public static readonly string V2018_07_01;
public static readonly string V2022_04_01;
- public static readonly string V2023_07_01_preview;
}
}
public enum AuthorizationRoleType
@@ -261,7 +260,6 @@ public partial class RoleAssignmentScheduleRequest : Azure.Provisioning.Primitiv
public static partial class ResourceVersions
{
public static readonly string V2020_10_01;
- public static readonly string V2022_04_01_preview;
}
}
public partial class RoleAssignmentScheduleTicketInfo : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -308,7 +306,6 @@ public partial class RoleEligibilityScheduleRequest : Azure.Provisioning.Primiti
public static partial class ResourceVersions
{
public static readonly string V2020_10_01;
- public static readonly string V2022_04_01_preview;
}
}
public partial class RoleEligibilityScheduleRequestPropertiesTicketInfo : Azure.Provisioning.Primitives.ProvisionableConstruct
@@ -382,7 +379,6 @@ public partial class RoleManagementPolicyAssignment : Azure.Provisioning.Primiti
public static partial class ResourceVersions
{
public static readonly string V2020_10_01;
- public static readonly string V2024_09_01_preview;
}
}
public partial class RoleManagementPolicyAuthenticationContextRule : Azure.Provisioning.Authorization.RoleManagementPolicyRule
@@ -548,12 +544,21 @@ public static partial class BicepFunction
public static Azure.Provisioning.BicepValue GetSubscriptionResourceId(params Azure.Provisioning.BicepValue[] values) { throw null; }
public static Azure.Provisioning.Resources.Tenant GetTenant() { throw null; }
public static Azure.Provisioning.BicepValue GetUniqueString(params Azure.Provisioning.BicepValue[] values) { throw null; }
- public static Azure.Provisioning.BicepValue Interpolate(System.FormattableString text) { throw null; }
+ public static Azure.Provisioning.BicepValue Interpolate(Azure.Provisioning.Expressions.BicepInterpolatedStringHandler handler) { throw null; }
public static Azure.Provisioning.BicepValue