diff --git a/sdk/provisioning/Azure.Provisioning.AppConfiguration/src/Generated/AppConfigurationStore.cs b/sdk/provisioning/Azure.Provisioning.AppConfiguration/src/Generated/AppConfigurationStore.cs index dfdfcd7911d7..1a7b2f9b9c5c 100644 --- a/sdk/provisioning/Azure.Provisioning.AppConfiguration/src/Generated/AppConfigurationStore.cs +++ b/sdk/provisioning/Azure.Provisioning.AppConfiguration/src/Generated/AppConfigurationStore.cs @@ -303,7 +303,7 @@ public BicepList GetKeys() public RoleAssignment CreateRoleAssignment(AppConfigurationBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{AppConfigurationBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironment.cs b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironment.cs index d2f88f4781ca..ad6c7a8a66e2 100644 --- a/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironment.cs +++ b/sdk/provisioning/Azure.Provisioning.AppContainers/src/Generated/ContainerAppManagedEnvironment.cs @@ -346,7 +346,7 @@ public static ContainerAppManagedEnvironment FromExisting(string bicepIdentifier public RoleAssignment CreateRoleAssignment(AppContainersBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{AppContainersBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.ApplicationInsights/src/Generated/ApplicationInsightsComponent.cs b/sdk/provisioning/Azure.Provisioning.ApplicationInsights/src/Generated/ApplicationInsightsComponent.cs index 22086a1188af..6362438dfbd7 100644 --- a/sdk/provisioning/Azure.Provisioning.ApplicationInsights/src/Generated/ApplicationInsightsComponent.cs +++ b/sdk/provisioning/Azure.Provisioning.ApplicationInsights/src/Generated/ApplicationInsightsComponent.cs @@ -465,7 +465,7 @@ public override ResourceNameRequirements GetResourceNameRequirements() => public RoleAssignment CreateRoleAssignment(ApplicationInsightsBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{ApplicationInsightsBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.CognitiveServices/src/Generated/CognitiveServicesAccount.cs b/sdk/provisioning/Azure.Provisioning.CognitiveServices/src/Generated/CognitiveServicesAccount.cs index 662325868c7b..fdb7277c505b 100644 --- a/sdk/provisioning/Azure.Provisioning.CognitiveServices/src/Generated/CognitiveServicesAccount.cs +++ b/sdk/provisioning/Azure.Provisioning.CognitiveServices/src/Generated/CognitiveServicesAccount.cs @@ -241,7 +241,7 @@ public ServiceAccountApiKeys GetKeys() public RoleAssignment CreateRoleAssignment(CognitiveServicesBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{CognitiveServicesBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ConnectedRegistry.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ConnectedRegistry.cs new file mode 100644 index 000000000000..cf98ba7dac12 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ConnectedRegistry.cs @@ -0,0 +1,274 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Core; +using Azure.Provisioning; +using Azure.Provisioning.Primitives; +using Azure.Provisioning.Resources; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// ConnectedRegistry. +/// +public partial class ConnectedRegistry : ProvisionableResource +{ + /// + /// The name of the connected registry. + /// + public BicepValue Name + { + get { Initialize(); return _name!; } + set { Initialize(); _name!.Assign(value); } + } + private BicepValue? _name; + + /// + /// The list of the ACR token resource IDs used to authenticate clients to + /// the connected registry. + /// + public BicepList ClientTokenIds + { + get { Initialize(); return _clientTokenIds!; } + set { Initialize(); _clientTokenIds!.Assign(value); } + } + private BicepList? _clientTokenIds; + + /// + /// The garbage collection properties of the connected registry. + /// + public GarbageCollectionProperties GarbageCollection + { + get { Initialize(); return _garbageCollection!; } + set { Initialize(); AssignOrReplace(ref _garbageCollection, value); } + } + private GarbageCollectionProperties? _garbageCollection; + + /// + /// The logging properties of the connected registry. + /// + public ConnectedRegistryLogging Logging + { + get { Initialize(); return _logging!; } + set { Initialize(); AssignOrReplace(ref _logging, value); } + } + private ConnectedRegistryLogging? _logging; + + /// + /// The login server properties of the connected registry. + /// + public ConnectedRegistryLoginServer LoginServer + { + get { Initialize(); return _loginServer!; } + set { Initialize(); AssignOrReplace(ref _loginServer, value); } + } + private ConnectedRegistryLoginServer? _loginServer; + + /// + /// The mode of the connected registry resource that indicates the + /// permissions of the registry. + /// + public BicepValue Mode + { + get { Initialize(); return _mode!; } + set { Initialize(); _mode!.Assign(value); } + } + private BicepValue? _mode; + + /// + /// The list of notifications subscription information for the connected + /// registry. + /// + public BicepList NotificationsList + { + get { Initialize(); return _notificationsList!; } + set { Initialize(); _notificationsList!.Assign(value); } + } + private BicepList? _notificationsList; + + /// + /// The parent of the connected registry. + /// + public ConnectedRegistryParent Parent + { + get { Initialize(); return _parent!; } + set { Initialize(); AssignOrReplace(ref _parent, value); } + } + private ConnectedRegistryParent? _parent; + + /// + /// The activation status of the connected registry. + /// + public BicepValue ActivationStatus + { + get { Initialize(); return _activationStatus!; } + } + private BicepValue? _activationStatus; + + /// + /// The current connection state of the connected registry. + /// + public BicepValue ConnectionState + { + get { Initialize(); return _connectionState!; } + } + private BicepValue? _connectionState; + + /// + /// Gets the Id. + /// + public BicepValue Id + { + get { Initialize(); return _id!; } + } + private BicepValue? _id; + + /// + /// The last activity time of the connected registry. + /// + public BicepValue LastActivityOn + { + get { Initialize(); return _lastActivityOn!; } + } + private BicepValue? _lastActivityOn; + + /// + /// Provisioning state of the resource. + /// + public BicepValue ProvisioningState + { + get { Initialize(); return _provisioningState!; } + } + private BicepValue? _provisioningState; + + /// + /// The list of current statuses of the connected registry. + /// + public BicepList StatusDetails + { + get { Initialize(); return _statusDetails!; } + } + private BicepList? _statusDetails; + + /// + /// Gets the SystemData. + /// + public SystemData SystemData + { + get { Initialize(); return _systemData!; } + } + private SystemData? _systemData; + + /// + /// The current version of ACR runtime on the connected registry. + /// + public BicepValue Version + { + get { Initialize(); return _version!; } + } + private BicepValue? _version; + + /// + /// Gets or sets a reference to the parent ContainerRegistryService. + /// + public ContainerRegistryService? Parent + { + get { Initialize(); return _parent!.Value; } + set { Initialize(); _parent!.Value = value; } + } + private ResourceReference? _parent; + + /// + /// Creates a new ConnectedRegistry. + /// + /// + /// The the Bicep identifier name of the ConnectedRegistry resource. This + /// can be used to refer to the resource in expressions, but is not the + /// Azure name of the resource. This value can contain letters, numbers, + /// and underscores. + /// + /// Version of the ConnectedRegistry. + public ConnectedRegistry(string bicepIdentifier, string? resourceVersion = default) + : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/connectedRegistries", resourceVersion ?? "2023-07-01") + { + } + + /// + /// Define all the provisionable properties of ConnectedRegistry. + /// + protected override void DefineProvisionableProperties() + { + _name = DefineProperty("Name", ["name"], isRequired: true); + _clientTokenIds = DefineListProperty("ClientTokenIds", ["properties", "clientTokenIds"]); + _garbageCollection = DefineModelProperty("GarbageCollection", ["properties", "garbageCollection"]); + _logging = DefineModelProperty("Logging", ["properties", "logging"]); + _loginServer = DefineModelProperty("LoginServer", ["properties", "loginServer"]); + _mode = DefineProperty("Mode", ["properties", "mode"]); + _notificationsList = DefineListProperty("NotificationsList", ["properties", "notificationsList"]); + _parent = DefineModelProperty("Parent", ["properties", "parent"]); + _activationStatus = DefineProperty("ActivationStatus", ["properties", "activation", "status"], isOutput: true); + _connectionState = DefineProperty("ConnectionState", ["properties", "connectionState"], isOutput: true); + _id = DefineProperty("Id", ["id"], isOutput: true); + _lastActivityOn = DefineProperty("LastActivityOn", ["properties", "lastActivityTime"], isOutput: true); + _provisioningState = DefineProperty("ProvisioningState", ["properties", "provisioningState"], isOutput: true); + _statusDetails = DefineListProperty("StatusDetails", ["properties", "statusDetails"], isOutput: true); + _systemData = DefineModelProperty("SystemData", ["systemData"], isOutput: true); + _version = DefineProperty("Version", ["properties", "version"], isOutput: true); + _parent = DefineResource("Parent", ["parent"], isRequired: true); + } + + /// + /// Supported ConnectedRegistry resource versions. + /// + public static class ResourceVersions + { + /// + /// 2023-07-01. + /// + 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"; + } + + /// + /// Creates a reference to an existing ConnectedRegistry. + /// + /// + /// The the Bicep identifier name of the ConnectedRegistry resource. This + /// can be used to refer to the resource in expressions, but is not the + /// Azure name of the resource. This value can contain letters, numbers, + /// and underscores. + /// + /// Version of the ConnectedRegistry. + /// The existing ConnectedRegistry resource. + public static ConnectedRegistry FromExisting(string bicepIdentifier, string? resourceVersion = default) => + new(bicepIdentifier, resourceVersion) { IsExistingResource = true }; +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryArchive.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryArchive.cs new file mode 100644 index 000000000000..167969598069 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryArchive.cs @@ -0,0 +1,140 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Core; +using Azure.Provisioning.Primitives; +using Azure.Provisioning.Resources; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// ContainerRegistryArchive. +/// +public partial class ContainerRegistryArchive : ProvisionableResource +{ + /// + /// The name of the archive resource. + /// + public BicepValue Name + { + get { Initialize(); return _name!; } + set { Initialize(); _name!.Assign(value); } + } + private BicepValue? _name; + + /// + /// The package source of the archive. + /// + public ArchivePackageSourceProperties PackageSource + { + get { Initialize(); return _packageSource!; } + set { Initialize(); AssignOrReplace(ref _packageSource, value); } + } + private ArchivePackageSourceProperties? _packageSource; + + /// + /// The published version of the archive. + /// + public BicepValue PublishedVersion + { + get { Initialize(); return _publishedVersion!; } + set { Initialize(); _publishedVersion!.Assign(value); } + } + private BicepValue? _publishedVersion; + + /// + /// Gets or sets the repository endpoint prefix. + /// + public BicepValue RepositoryEndpointPrefix + { + get { Initialize(); return _repositoryEndpointPrefix!; } + set { Initialize(); _repositoryEndpointPrefix!.Assign(value); } + } + private BicepValue? _repositoryEndpointPrefix; + + /// + /// Gets the Id. + /// + public BicepValue Id + { + get { Initialize(); return _id!; } + } + private BicepValue? _id; + + /// + /// The provisioning state of the archive at the time the operation was + /// called. + /// + public BicepValue ProvisioningState + { + get { Initialize(); return _provisioningState!; } + } + private BicepValue? _provisioningState; + + /// + /// Gets the repository endpoint. + /// + public BicepValue RepositoryEndpoint + { + get { Initialize(); return _repositoryEndpoint!; } + } + private BicepValue? _repositoryEndpoint; + + /// + /// Gets the SystemData. + /// + public SystemData SystemData + { + get { Initialize(); return _systemData!; } + } + private SystemData? _systemData; + + /// + /// Creates a new ContainerRegistryArchive. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryArchive resource. + /// This can be used to refer to the resource in expressions, but is not + /// the Azure name of the resource. This value can contain letters, + /// numbers, and underscores. + /// + /// Version of the ContainerRegistryArchive. + public ContainerRegistryArchive(string bicepIdentifier, string? resourceVersion = default) + : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/packages/archives", resourceVersion) + { + } + + /// + /// Define all the provisionable properties of ContainerRegistryArchive. + /// + protected override void DefineProvisionableProperties() + { + _name = DefineProperty("Name", ["name"], isRequired: true); + _packageSource = DefineModelProperty("PackageSource", ["properties", "packageSource"]); + _publishedVersion = DefineProperty("PublishedVersion", ["properties", "publishedVersion"]); + _repositoryEndpointPrefix = DefineProperty("RepositoryEndpointPrefix", ["properties", "repositoryEndpointPrefix"]); + _id = DefineProperty("Id", ["id"], isOutput: true); + _provisioningState = DefineProperty("ProvisioningState", ["properties", "provisioningState"], isOutput: true); + _repositoryEndpoint = DefineProperty("RepositoryEndpoint", ["properties", "repositoryEndpoint"], isOutput: true); + _systemData = DefineModelProperty("SystemData", ["systemData"], isOutput: true); + } + + /// + /// Creates a reference to an existing ContainerRegistryArchive. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryArchive resource. + /// This can be used to refer to the resource in expressions, but is not + /// the Azure name of the resource. This value can contain letters, + /// numbers, and underscores. + /// + /// Version of the ContainerRegistryArchive. + /// The existing ContainerRegistryArchive resource. + public static ContainerRegistryArchive FromExisting(string bicepIdentifier, string? resourceVersion = default) => + new(bicepIdentifier, resourceVersion) { IsExistingResource = true }; +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryArchiveVersion.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryArchiveVersion.cs new file mode 100644 index 000000000000..439a7a802043 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryArchiveVersion.cs @@ -0,0 +1,120 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Core; +using Azure.Provisioning.Primitives; +using Azure.Provisioning.Resources; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// ContainerRegistryArchiveVersion. +/// +public partial class ContainerRegistryArchiveVersion : ProvisionableResource +{ + /// + /// The name of the archive version resource. + /// + public BicepValue Name + { + get { Initialize(); return _name!; } + set { Initialize(); _name!.Assign(value); } + } + private BicepValue? _name; + + /// + /// The detailed error message for the archive version in the case of + /// failure. + /// + public BicepValue ArchiveVersionErrorMessage + { + get { Initialize(); return _archiveVersionErrorMessage!; } + } + private BicepValue? _archiveVersionErrorMessage; + + /// + /// Gets the Id. + /// + public BicepValue Id + { + get { Initialize(); return _id!; } + } + private BicepValue? _id; + + /// + /// The provisioning state of the archive at the time the operation was + /// called. + /// + public BicepValue ProvisioningState + { + get { Initialize(); return _provisioningState!; } + } + private BicepValue? _provisioningState; + + /// + /// Gets the SystemData. + /// + public SystemData SystemData + { + get { Initialize(); return _systemData!; } + } + private SystemData? _systemData; + + /// + /// Gets or sets a reference to the parent ContainerRegistryArchive. + /// + public ContainerRegistryArchive? Parent + { + get { Initialize(); return _parent!.Value; } + set { Initialize(); _parent!.Value = value; } + } + private ResourceReference? _parent; + + /// + /// Creates a new ContainerRegistryArchiveVersion. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryArchiveVersion + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryArchiveVersion. + public ContainerRegistryArchiveVersion(string bicepIdentifier, string? resourceVersion = default) + : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/packages/archives/versions", resourceVersion) + { + } + + /// + /// Define all the provisionable properties of + /// ContainerRegistryArchiveVersion. + /// + protected override void DefineProvisionableProperties() + { + _name = DefineProperty("Name", ["name"], isRequired: true); + _archiveVersionErrorMessage = DefineProperty("ArchiveVersionErrorMessage", ["properties", "archiveVersionErrorMessage"], isOutput: true); + _id = DefineProperty("Id", ["id"], isOutput: true); + _provisioningState = DefineProperty("ProvisioningState", ["properties", "provisioningState"], isOutput: true); + _systemData = DefineModelProperty("SystemData", ["systemData"], isOutput: true); + _parent = DefineResource("Parent", ["parent"], isRequired: true); + } + + /// + /// Creates a reference to an existing ContainerRegistryArchiveVersion. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryArchiveVersion + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryArchiveVersion. + /// The existing ContainerRegistryArchiveVersion resource. + public static ContainerRegistryArchiveVersion FromExisting(string bicepIdentifier, string? resourceVersion = default) => + new(bicepIdentifier, resourceVersion) { IsExistingResource = true }; +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryCacheRule.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryCacheRule.cs new file mode 100644 index 000000000000..d4814e4f4dc4 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryCacheRule.cs @@ -0,0 +1,163 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Core; +using Azure.Provisioning.Primitives; +using Azure.Provisioning.Resources; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// ContainerRegistryCacheRule. +/// +public partial class ContainerRegistryCacheRule : ProvisionableResource +{ + /// + /// The name of the cache rule. + /// + public BicepValue Name + { + get { Initialize(); return _name!; } + set { Initialize(); _name!.Assign(value); } + } + private BicepValue? _name; + + /// + /// The ARM resource ID of the credential store which is associated with + /// the cache rule. + /// + public BicepValue CredentialSetResourceId + { + get { Initialize(); return _credentialSetResourceId!; } + set { Initialize(); _credentialSetResourceId!.Assign(value); } + } + private BicepValue? _credentialSetResourceId; + + /// + /// Source repository pulled from upstream. + /// + public BicepValue SourceRepository + { + get { Initialize(); return _sourceRepository!; } + set { Initialize(); _sourceRepository!.Assign(value); } + } + private BicepValue? _sourceRepository; + + /// + /// Target repository specified in docker pull command. Eg: + /// docker pull myregistry.azurecr.io/{targetRepository}:{tag} + /// + public BicepValue TargetRepository + { + get { Initialize(); return _targetRepository!; } + set { Initialize(); _targetRepository!.Assign(value); } + } + private BicepValue? _targetRepository; + + /// + /// The creation date of the cache rule. + /// + public BicepValue CreatedOn + { + get { Initialize(); return _createdOn!; } + } + private BicepValue? _createdOn; + + /// + /// Gets the Id. + /// + public BicepValue Id + { + get { Initialize(); return _id!; } + } + private BicepValue? _id; + + /// + /// Provisioning state of the resource. + /// + public BicepValue ProvisioningState + { + get { Initialize(); return _provisioningState!; } + } + private BicepValue? _provisioningState; + + /// + /// Gets the SystemData. + /// + public SystemData SystemData + { + get { Initialize(); return _systemData!; } + } + private SystemData? _systemData; + + /// + /// Gets or sets a reference to the parent ContainerRegistryService. + /// + public ContainerRegistryService? Parent + { + get { Initialize(); return _parent!.Value; } + set { Initialize(); _parent!.Value = value; } + } + private ResourceReference? _parent; + + /// + /// Creates a new ContainerRegistryCacheRule. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryCacheRule + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryCacheRule. + public ContainerRegistryCacheRule(string bicepIdentifier, string? resourceVersion = default) + : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/cacheRules", resourceVersion ?? "2023-07-01") + { + } + + /// + /// Define all the provisionable properties of ContainerRegistryCacheRule. + /// + protected override void DefineProvisionableProperties() + { + _name = DefineProperty("Name", ["name"], isRequired: true); + _credentialSetResourceId = DefineProperty("CredentialSetResourceId", ["properties", "credentialSetResourceId"]); + _sourceRepository = DefineProperty("SourceRepository", ["properties", "sourceRepository"]); + _targetRepository = DefineProperty("TargetRepository", ["properties", "targetRepository"]); + _createdOn = DefineProperty("CreatedOn", ["properties", "creationDate"], isOutput: true); + _id = DefineProperty("Id", ["id"], isOutput: true); + _provisioningState = DefineProperty("ProvisioningState", ["properties", "provisioningState"], isOutput: true); + _systemData = DefineModelProperty("SystemData", ["systemData"], isOutput: true); + _parent = DefineResource("Parent", ["parent"], isRequired: true); + } + + /// + /// Supported ContainerRegistryCacheRule resource versions. + /// + public static class ResourceVersions + { + /// + /// 2023-07-01. + /// + public static readonly string V2023_07_01 = "2023-07-01"; + } + + /// + /// Creates a reference to an existing ContainerRegistryCacheRule. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryCacheRule + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryCacheRule. + /// The existing ContainerRegistryCacheRule resource. + public static ContainerRegistryCacheRule FromExisting(string bicepIdentifier, string? resourceVersion = default) => + new(bicepIdentifier, resourceVersion) { IsExistingResource = true }; +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryCredentialSet.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryCredentialSet.cs new file mode 100644 index 000000000000..4997eca41d3c --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryCredentialSet.cs @@ -0,0 +1,166 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Core; +using Azure.Provisioning; +using Azure.Provisioning.Primitives; +using Azure.Provisioning.Resources; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// ContainerRegistryCredentialSet. +/// +public partial class ContainerRegistryCredentialSet : ProvisionableResource +{ + /// + /// The name of the credential set. + /// + public BicepValue Name + { + get { Initialize(); return _name!; } + set { Initialize(); _name!.Assign(value); } + } + private BicepValue? _name; + + /// + /// List of authentication credentials stored for an upstream. + /// Usually consists of a primary and an optional secondary + /// credential. + /// + public BicepList AuthCredentials + { + get { Initialize(); return _authCredentials!; } + set { Initialize(); _authCredentials!.Assign(value); } + } + private BicepList? _authCredentials; + + /// + /// Identities associated with the resource. This is used to access the + /// KeyVault secrets. + /// + public ManagedServiceIdentity Identity + { + get { Initialize(); return _identity!; } + set { Initialize(); AssignOrReplace(ref _identity, value); } + } + private ManagedServiceIdentity? _identity; + + /// + /// The credentials are stored for this upstream or login server. + /// + public BicepValue LoginServer + { + get { Initialize(); return _loginServer!; } + set { Initialize(); _loginServer!.Assign(value); } + } + private BicepValue? _loginServer; + + /// + /// The creation date of credential store resource. + /// + public BicepValue CreatedOn + { + get { Initialize(); return _createdOn!; } + } + private BicepValue? _createdOn; + + /// + /// Gets the Id. + /// + public BicepValue Id + { + get { Initialize(); return _id!; } + } + private BicepValue? _id; + + /// + /// Provisioning state of the resource. + /// + public BicepValue ProvisioningState + { + get { Initialize(); return _provisioningState!; } + } + private BicepValue? _provisioningState; + + /// + /// Gets the SystemData. + /// + public SystemData SystemData + { + get { Initialize(); return _systemData!; } + } + private SystemData? _systemData; + + /// + /// Gets or sets a reference to the parent ContainerRegistryService. + /// + public ContainerRegistryService? Parent + { + get { Initialize(); return _parent!.Value; } + set { Initialize(); _parent!.Value = value; } + } + private ResourceReference? _parent; + + /// + /// Creates a new ContainerRegistryCredentialSet. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryCredentialSet + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryCredentialSet. + public ContainerRegistryCredentialSet(string bicepIdentifier, string? resourceVersion = default) + : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/credentialSets", resourceVersion ?? "2023-07-01") + { + } + + /// + /// Define all the provisionable properties of + /// ContainerRegistryCredentialSet. + /// + protected override void DefineProvisionableProperties() + { + _name = DefineProperty("Name", ["name"], isRequired: true); + _authCredentials = DefineListProperty("AuthCredentials", ["properties", "authCredentials"]); + _identity = DefineModelProperty("Identity", ["identity"]); + _loginServer = DefineProperty("LoginServer", ["properties", "loginServer"]); + _createdOn = DefineProperty("CreatedOn", ["properties", "creationDate"], isOutput: true); + _id = DefineProperty("Id", ["id"], isOutput: true); + _provisioningState = DefineProperty("ProvisioningState", ["properties", "provisioningState"], isOutput: true); + _systemData = DefineModelProperty("SystemData", ["systemData"], isOutput: true); + _parent = DefineResource("Parent", ["parent"], isRequired: true); + } + + /// + /// Supported ContainerRegistryCredentialSet resource versions. + /// + public static class ResourceVersions + { + /// + /// 2023-07-01. + /// + public static readonly string V2023_07_01 = "2023-07-01"; + } + + /// + /// Creates a reference to an existing ContainerRegistryCredentialSet. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryCredentialSet + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryCredentialSet. + /// The existing ContainerRegistryCredentialSet resource. + public static ContainerRegistryCredentialSet FromExisting(string bicepIdentifier, string? resourceVersion = default) => + new(bicepIdentifier, resourceVersion) { IsExistingResource = true }; +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryExportPipeline.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryExportPipeline.cs new file mode 100644 index 000000000000..0c7e1fd98819 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryExportPipeline.cs @@ -0,0 +1,190 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Core; +using Azure.Provisioning; +using Azure.Provisioning.Primitives; +using Azure.Provisioning.Resources; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// ContainerRegistryExportPipeline. +/// +public partial class ContainerRegistryExportPipeline : ProvisionableResource +{ + /// + /// The name of the export pipeline. + /// + public BicepValue Name + { + get { Initialize(); return _name!; } + set { Initialize(); _name!.Assign(value); } + } + private BicepValue? _name; + + /// + /// The identity of the export pipeline. + /// + public ManagedServiceIdentity Identity + { + get { Initialize(); return _identity!; } + set { Initialize(); AssignOrReplace(ref _identity, value); } + } + private ManagedServiceIdentity? _identity; + + /// + /// The location of the export pipeline. + /// + public BicepValue Location + { + get { Initialize(); return _location!; } + set { Initialize(); _location!.Assign(value); } + } + private BicepValue? _location; + + /// + /// The list of all options configured for the pipeline. + /// + public BicepList Options + { + get { Initialize(); return _options!; } + set { Initialize(); _options!.Assign(value); } + } + private BicepList? _options; + + /// + /// The target properties of the export pipeline. + /// + public ExportPipelineTargetProperties Target + { + get { Initialize(); return _target!; } + set { Initialize(); AssignOrReplace(ref _target, value); } + } + private ExportPipelineTargetProperties? _target; + + /// + /// Gets the Id. + /// + public BicepValue Id + { + get { Initialize(); return _id!; } + } + private BicepValue? _id; + + /// + /// The provisioning state of the pipeline at the time the operation was + /// called. + /// + public BicepValue ProvisioningState + { + get { Initialize(); return _provisioningState!; } + } + private BicepValue? _provisioningState; + + /// + /// Gets the SystemData. + /// + public SystemData SystemData + { + get { Initialize(); return _systemData!; } + } + private SystemData? _systemData; + + /// + /// Gets or sets a reference to the parent ContainerRegistryService. + /// + public ContainerRegistryService? Parent + { + get { Initialize(); return _parent!.Value; } + set { Initialize(); _parent!.Value = value; } + } + private ResourceReference? _parent; + + /// + /// Creates a new ContainerRegistryExportPipeline. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryExportPipeline + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryExportPipeline. + public ContainerRegistryExportPipeline(string bicepIdentifier, string? resourceVersion = default) + : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/exportPipelines", resourceVersion ?? "2023-07-01") + { + } + + /// + /// Define all the provisionable properties of + /// ContainerRegistryExportPipeline. + /// + protected override void DefineProvisionableProperties() + { + _name = DefineProperty("Name", ["name"], isRequired: true); + _identity = DefineModelProperty("Identity", ["identity"]); + _location = DefineProperty("Location", ["location"]); + _options = DefineListProperty("Options", ["properties", "options"]); + _target = DefineModelProperty("Target", ["properties", "target"]); + _id = DefineProperty("Id", ["id"], isOutput: true); + _provisioningState = DefineProperty("ProvisioningState", ["properties", "provisioningState"], isOutput: true); + _systemData = DefineModelProperty("SystemData", ["systemData"], isOutput: true); + _parent = DefineResource("Parent", ["parent"], isRequired: true); + } + + /// + /// Supported ContainerRegistryExportPipeline resource versions. + /// + public static class ResourceVersions + { + /// + /// 2023-07-01. + /// + 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"; + } + + /// + /// Creates a reference to an existing ContainerRegistryExportPipeline. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryExportPipeline + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryExportPipeline. + /// The existing ContainerRegistryExportPipeline resource. + public static ContainerRegistryExportPipeline FromExisting(string bicepIdentifier, string? resourceVersion = default) => + new(bicepIdentifier, resourceVersion) { IsExistingResource = true }; +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryImportPipeline.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryImportPipeline.cs new file mode 100644 index 000000000000..ca78653a5d1b --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryImportPipeline.cs @@ -0,0 +1,201 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Core; +using Azure.Provisioning; +using Azure.Provisioning.Primitives; +using Azure.Provisioning.Resources; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// ContainerRegistryImportPipeline. +/// +public partial class ContainerRegistryImportPipeline : ProvisionableResource +{ + /// + /// The name of the import pipeline. + /// + public BicepValue Name + { + get { Initialize(); return _name!; } + set { Initialize(); _name!.Assign(value); } + } + private BicepValue? _name; + + /// + /// The identity of the import pipeline. + /// + public ManagedServiceIdentity Identity + { + get { Initialize(); return _identity!; } + set { Initialize(); AssignOrReplace(ref _identity, value); } + } + private ManagedServiceIdentity? _identity; + + /// + /// The location of the import pipeline. + /// + public BicepValue Location + { + get { Initialize(); return _location!; } + set { Initialize(); _location!.Assign(value); } + } + private BicepValue? _location; + + /// + /// The list of all options configured for the pipeline. + /// + public BicepList Options + { + get { Initialize(); return _options!; } + set { Initialize(); _options!.Assign(value); } + } + private BicepList? _options; + + /// + /// The source properties of the import pipeline. + /// + public ImportPipelineSourceProperties Source + { + get { Initialize(); return _source!; } + set { Initialize(); AssignOrReplace(ref _source, value); } + } + private ImportPipelineSourceProperties? _source; + + /// + /// The current status of the source trigger. + /// + public BicepValue SourceTriggerStatus + { + get { Initialize(); return _sourceTriggerStatus!; } + set { Initialize(); _sourceTriggerStatus!.Assign(value); } + } + private BicepValue? _sourceTriggerStatus; + + /// + /// Gets the Id. + /// + public BicepValue Id + { + get { Initialize(); return _id!; } + } + private BicepValue? _id; + + /// + /// The provisioning state of the pipeline at the time the operation was + /// called. + /// + public BicepValue ProvisioningState + { + get { Initialize(); return _provisioningState!; } + } + private BicepValue? _provisioningState; + + /// + /// Gets the SystemData. + /// + public SystemData SystemData + { + get { Initialize(); return _systemData!; } + } + private SystemData? _systemData; + + /// + /// Gets or sets a reference to the parent ContainerRegistryService. + /// + public ContainerRegistryService? Parent + { + get { Initialize(); return _parent!.Value; } + set { Initialize(); _parent!.Value = value; } + } + private ResourceReference? _parent; + + /// + /// Creates a new ContainerRegistryImportPipeline. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryImportPipeline + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryImportPipeline. + public ContainerRegistryImportPipeline(string bicepIdentifier, string? resourceVersion = default) + : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/importPipelines", resourceVersion ?? "2023-07-01") + { + } + + /// + /// Define all the provisionable properties of + /// ContainerRegistryImportPipeline. + /// + protected override void DefineProvisionableProperties() + { + _name = DefineProperty("Name", ["name"], isRequired: true); + _identity = DefineModelProperty("Identity", ["identity"]); + _location = DefineProperty("Location", ["location"]); + _options = DefineListProperty("Options", ["properties", "options"]); + _source = DefineModelProperty("Source", ["properties", "source"]); + _sourceTriggerStatus = DefineProperty("SourceTriggerStatus", ["properties", "trigger", "sourceTrigger", "status"]); + _id = DefineProperty("Id", ["id"], isOutput: true); + _provisioningState = DefineProperty("ProvisioningState", ["properties", "provisioningState"], isOutput: true); + _systemData = DefineModelProperty("SystemData", ["systemData"], isOutput: true); + _parent = DefineResource("Parent", ["parent"], isRequired: true); + } + + /// + /// Supported ContainerRegistryImportPipeline resource versions. + /// + public static class ResourceVersions + { + /// + /// 2023-07-01. + /// + 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"; + } + + /// + /// Creates a reference to an existing ContainerRegistryImportPipeline. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryImportPipeline + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryImportPipeline. + /// The existing ContainerRegistryImportPipeline resource. + public static ContainerRegistryImportPipeline FromExisting(string bicepIdentifier, string? resourceVersion = default) => + new(bicepIdentifier, resourceVersion) { IsExistingResource = true }; +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryPipelineRun.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryPipelineRun.cs new file mode 100644 index 000000000000..c3b0da13daf0 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryPipelineRun.cs @@ -0,0 +1,177 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Core; +using Azure.Provisioning; +using Azure.Provisioning.Primitives; +using Azure.Provisioning.Resources; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// ContainerRegistryPipelineRun. +/// +public partial class ContainerRegistryPipelineRun : ProvisionableResource +{ + /// + /// The name of the pipeline run. + /// + public BicepValue Name + { + get { Initialize(); return _name!; } + set { Initialize(); _name!.Assign(value); } + } + private BicepValue? _name; + + /// + /// How the pipeline run should be forced to recreate even if the pipeline + /// run configuration has not changed. + /// + public BicepValue ForceUpdateTag + { + get { Initialize(); return _forceUpdateTag!; } + set { Initialize(); _forceUpdateTag!.Assign(value); } + } + private BicepValue? _forceUpdateTag; + + /// + /// The request parameters for a pipeline run. + /// + public ConnectedRegistryPipelineRunContent Request + { + get { Initialize(); return _request!; } + set { Initialize(); AssignOrReplace(ref _request, value); } + } + private ConnectedRegistryPipelineRunContent? _request; + + /// + /// Gets the Id. + /// + public BicepValue Id + { + get { Initialize(); return _id!; } + } + private BicepValue? _id; + + /// + /// The provisioning state of a pipeline run. + /// + public BicepValue ProvisioningState + { + get { Initialize(); return _provisioningState!; } + } + private BicepValue? _provisioningState; + + /// + /// The response of a pipeline run. + /// + public PipelineRunResult Response + { + get { Initialize(); return _response!; } + } + private PipelineRunResult? _response; + + /// + /// Gets the SystemData. + /// + public SystemData SystemData + { + get { Initialize(); return _systemData!; } + } + private SystemData? _systemData; + + /// + /// Gets or sets a reference to the parent ContainerRegistryService. + /// + public ContainerRegistryService? Parent + { + get { Initialize(); return _parent!.Value; } + set { Initialize(); _parent!.Value = value; } + } + private ResourceReference? _parent; + + /// + /// Creates a new ContainerRegistryPipelineRun. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryPipelineRun + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryPipelineRun. + public ContainerRegistryPipelineRun(string bicepIdentifier, string? resourceVersion = default) + : base(bicepIdentifier, "Microsoft.ContainerRegistry/registries/pipelineRuns", resourceVersion ?? "2023-07-01") + { + } + + /// + /// Define all the provisionable properties of ContainerRegistryPipelineRun. + /// + protected override void DefineProvisionableProperties() + { + _name = DefineProperty("Name", ["name"], isRequired: true); + _forceUpdateTag = DefineProperty("ForceUpdateTag", ["properties", "forceUpdateTag"]); + _request = DefineModelProperty("Request", ["properties", "request"]); + _id = DefineProperty("Id", ["id"], isOutput: true); + _provisioningState = DefineProperty("ProvisioningState", ["properties", "provisioningState"], isOutput: true); + _response = DefineModelProperty("Response", ["properties", "response"], isOutput: true); + _systemData = DefineModelProperty("SystemData", ["systemData"], isOutput: true); + _parent = DefineResource("Parent", ["parent"], isRequired: true); + } + + /// + /// Supported ContainerRegistryPipelineRun resource versions. + /// + public static class ResourceVersions + { + /// + /// 2023-07-01. + /// + 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"; + } + + /// + /// Creates a reference to an existing ContainerRegistryPipelineRun. + /// + /// + /// The the Bicep identifier name of the ContainerRegistryPipelineRun + /// resource. This can be used to refer to the resource in expressions, + /// but is not the Azure name of the resource. This value can contain + /// letters, numbers, and underscores. + /// + /// Version of the ContainerRegistryPipelineRun. + /// The existing ContainerRegistryPipelineRun resource. + public static ContainerRegistryPipelineRun FromExisting(string bicepIdentifier, string? resourceVersion = default) => + new(bicepIdentifier, resourceVersion) { IsExistingResource = true }; +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryService.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryService.cs index 46a8b2553cee..2ac0fe24df2b 100644 --- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryService.cs +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/ContainerRegistryService.cs @@ -52,6 +52,16 @@ public ContainerRegistrySku Sku } private ContainerRegistrySku? _sku; + /// + /// Determines the domain name label reuse scope. + /// + public BicepValue AutoGeneratedDomainNameLabelScope + { + get { Initialize(); return _autoGeneratedDomainNameLabelScope!; } + set { Initialize(); _autoGeneratedDomainNameLabelScope!.Assign(value); } + } + private BicepValue? _autoGeneratedDomainNameLabelScope; + /// /// The encryption settings of container registry. /// @@ -82,6 +92,16 @@ public BicepValue IsAdminUserEnabled } private BicepValue? _isAdminUserEnabled; + /// + /// Enables registry-wide pull from unauthenticated clients. + /// + public BicepValue IsAnonymousPullEnabled + { + get { Initialize(); return _isAnonymousPullEnabled!; } + set { Initialize(); _isAnonymousPullEnabled!.Assign(value); } + } + private BicepValue? _isAnonymousPullEnabled; + /// /// Enable a single data endpoint per region for serving data. /// @@ -92,6 +112,16 @@ public BicepValue IsDataEndpointEnabled } private BicepValue? _isDataEndpointEnabled; + /// + /// Determines whether registry artifacts are indexed for metadata search. + /// + public BicepValue MetadataSearch + { + get { Initialize(); return _metadataSearch!; } + set { Initialize(); _metadataSearch!.Assign(value); } + } + private BicepValue? _metadataSearch; + /// /// Whether to allow trusted Azure services to access a network restricted /// registry. @@ -252,10 +282,13 @@ protected override void DefineProvisionableProperties() _name = DefineProperty("Name", ["name"], isRequired: true); _location = DefineProperty("Location", ["location"], isRequired: true); _sku = DefineModelProperty("Sku", ["sku"], isRequired: true); + _autoGeneratedDomainNameLabelScope = DefineProperty("AutoGeneratedDomainNameLabelScope", ["properties", "autoGeneratedDomainNameLabelScope"]); _encryption = DefineModelProperty("Encryption", ["properties", "encryption"]); _identity = DefineModelProperty("Identity", ["identity"]); _isAdminUserEnabled = DefineProperty("IsAdminUserEnabled", ["properties", "adminUserEnabled"]); + _isAnonymousPullEnabled = DefineProperty("IsAnonymousPullEnabled", ["properties", "anonymousPullEnabled"]); _isDataEndpointEnabled = DefineProperty("IsDataEndpointEnabled", ["properties", "dataEndpointEnabled"]); + _metadataSearch = DefineProperty("MetadataSearch", ["properties", "metadataSearch"]); _networkRuleBypassOptions = DefineProperty("NetworkRuleBypassOptions", ["properties", "networkRuleBypassOptions"]); _networkRuleSet = DefineModelProperty("NetworkRuleSet", ["properties", "networkRuleSet"]); _policies = DefineModelProperty("Policies", ["properties", "policies"]); @@ -340,7 +373,7 @@ public override ResourceNameRequirements GetResourceNameRequirements() => public RoleAssignment CreateRoleAssignment(ContainerRegistryBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{ContainerRegistryBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/AadAuthenticationAsArmPolicyStatus.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/AadAuthenticationAsArmPolicyStatus.cs new file mode 100644 index 000000000000..d6e2aa853c28 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/AadAuthenticationAsArmPolicyStatus.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +using System.Runtime.Serialization; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The value that indicates whether the policy is enabled or not. +/// +public enum AadAuthenticationAsArmPolicyStatus +{ + /// + /// enabled. + /// + [DataMember(Name = "enabled")] + Enabled, + + /// + /// disabled. + /// + [DataMember(Name = "disabled")] + Disabled, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ArchivePackageSourceProperties.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ArchivePackageSourceProperties.cs new file mode 100644 index 000000000000..424b4a02809f --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ArchivePackageSourceProperties.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The properties of the archive package source. +/// +public partial class ArchivePackageSourceProperties : ProvisionableConstruct +{ + /// + /// The type of package source for a archive. + /// + public BicepValue SourceType + { + get { Initialize(); return _sourceType!; } + set { Initialize(); _sourceType!.Assign(value); } + } + private BicepValue? _sourceType; + + /// + /// The external repository url. + /// + public BicepValue Uri + { + get { Initialize(); return _uri!; } + set { Initialize(); _uri!.Assign(value); } + } + private BicepValue? _uri; + + /// + /// Creates a new ArchivePackageSourceProperties. + /// + public ArchivePackageSourceProperties() + { + } + + /// + /// Define all the provisionable properties of + /// ArchivePackageSourceProperties. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _sourceType = DefineProperty("SourceType", ["type"]); + _uri = DefineProperty("Uri", ["url"]); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ArchivePackageSourceType.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ArchivePackageSourceType.cs new file mode 100644 index 000000000000..04230f30324d --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ArchivePackageSourceType.cs @@ -0,0 +1,20 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +using System.Runtime.Serialization; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The type of package source for a archive. +/// +public enum ArchivePackageSourceType +{ + /// + /// remote. + /// + [DataMember(Name = "remote")] + Remote, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/AutoGeneratedDomainNameLabelScope.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/AutoGeneratedDomainNameLabelScope.cs new file mode 100644 index 000000000000..fb1397e124ce --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/AutoGeneratedDomainNameLabelScope.cs @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The auto generated domain name label of the container registry. This value +/// defaults to "Unsecure". +/// +public enum AutoGeneratedDomainNameLabelScope +{ + /// + /// Unsecure. + /// + Unsecure, + + /// + /// TenantReuse. + /// + TenantReuse, + + /// + /// SubscriptionReuse. + /// + SubscriptionReuse, + + /// + /// ResourceGroupReuse. + /// + ResourceGroupReuse, + + /// + /// NoReuse. + /// + NoReuse, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryActivationStatus.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryActivationStatus.cs new file mode 100644 index 000000000000..edcbdea1166b --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryActivationStatus.cs @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The activation status of the connected registry. +/// +public enum ConnectedRegistryActivationStatus +{ + /// + /// Active. + /// + Active, + + /// + /// Inactive. + /// + Inactive, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryAuditLogStatus.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryAuditLogStatus.cs new file mode 100644 index 000000000000..ca8d2d0ba4a3 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryAuditLogStatus.cs @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// Indicates whether audit logs are enabled on the connected registry. +/// +public enum ConnectedRegistryAuditLogStatus +{ + /// + /// Enabled. + /// + Enabled, + + /// + /// Disabled. + /// + Disabled, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryConnectionState.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryConnectionState.cs new file mode 100644 index 000000000000..3dbf47b363d7 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryConnectionState.cs @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The current connection state of the connected registry. +/// +public enum ConnectedRegistryConnectionState +{ + /// + /// Online. + /// + Online, + + /// + /// Offline. + /// + Offline, + + /// + /// Syncing. + /// + Syncing, + + /// + /// Unhealthy. + /// + Unhealthy, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryLogLevel.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryLogLevel.cs new file mode 100644 index 000000000000..3e90f09fa1aa --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryLogLevel.cs @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The verbosity of logs persisted on the connected registry. +/// +public enum ConnectedRegistryLogLevel +{ + /// + /// Debug. + /// + Debug, + + /// + /// Information. + /// + Information, + + /// + /// Warning. + /// + Warning, + + /// + /// Error. + /// + Error, + + /// + /// None. + /// + None, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryLogging.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryLogging.cs new file mode 100644 index 000000000000..d3647b0eabc3 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryLogging.cs @@ -0,0 +1,53 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The logging properties of the connected registry. +/// +public partial class ConnectedRegistryLogging : ProvisionableConstruct +{ + /// + /// The verbosity of logs persisted on the connected registry. + /// + public BicepValue LogLevel + { + get { Initialize(); return _logLevel!; } + set { Initialize(); _logLevel!.Assign(value); } + } + private BicepValue? _logLevel; + + /// + /// Indicates whether audit logs are enabled on the connected registry. + /// + public BicepValue AuditLogStatus + { + get { Initialize(); return _auditLogStatus!; } + set { Initialize(); _auditLogStatus!.Assign(value); } + } + private BicepValue? _auditLogStatus; + + /// + /// Creates a new ConnectedRegistryLogging. + /// + public ConnectedRegistryLogging() + { + } + + /// + /// Define all the provisionable properties of ConnectedRegistryLogging. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _logLevel = DefineProperty("LogLevel", ["logLevel"]); + _auditLogStatus = DefineProperty("AuditLogStatus", ["auditLogStatus"]); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryLoginServer.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryLoginServer.cs new file mode 100644 index 000000000000..adb9308ff7ee --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryLoginServer.cs @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The login server properties of the connected registry. +/// +public partial class ConnectedRegistryLoginServer : ProvisionableConstruct +{ + /// + /// The host of the connected registry. Can be FQDN or IP. + /// + public BicepValue Host + { + get { Initialize(); return _host!; } + } + private BicepValue? _host; + + /// + /// The TLS properties of the connected registry login server. + /// + public ContainerRegistryTlsProperties Tls + { + get { Initialize(); return _tls!; } + } + private ContainerRegistryTlsProperties? _tls; + + /// + /// Creates a new ConnectedRegistryLoginServer. + /// + public ConnectedRegistryLoginServer() + { + } + + /// + /// Define all the provisionable properties of ConnectedRegistryLoginServer. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _host = DefineProperty("Host", ["host"], isOutput: true); + _tls = DefineModelProperty("Tls", ["tls"], isOutput: true); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryMode.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryMode.cs new file mode 100644 index 000000000000..4caae7bf3a13 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryMode.cs @@ -0,0 +1,33 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The mode of the connected registry resource that indicates the permissions +/// of the registry. +/// +public enum ConnectedRegistryMode +{ + /// + /// ReadWrite. + /// + ReadWrite, + + /// + /// ReadOnly. + /// + ReadOnly, + + /// + /// Registry. + /// + Registry, + + /// + /// Mirror. + /// + Mirror, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryParent.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryParent.cs new file mode 100644 index 000000000000..60b1281ccefb --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryParent.cs @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Core; +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The properties of the connected registry parent. +/// +public partial class ConnectedRegistryParent : ProvisionableConstruct +{ + /// + /// The resource ID of the parent to which the connected registry will be + /// associated. + /// + public BicepValue Id + { + get { Initialize(); return _id!; } + set { Initialize(); _id!.Assign(value); } + } + private BicepValue? _id; + + /// + /// The sync properties of the connected registry with its parent. + /// + public ConnectedRegistrySyncProperties SyncProperties + { + get { Initialize(); return _syncProperties!; } + set { Initialize(); AssignOrReplace(ref _syncProperties, value); } + } + private ConnectedRegistrySyncProperties? _syncProperties; + + /// + /// Creates a new ConnectedRegistryParent. + /// + public ConnectedRegistryParent() + { + } + + /// + /// Define all the provisionable properties of ConnectedRegistryParent. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _id = DefineProperty("Id", ["id"]); + _syncProperties = DefineModelProperty("SyncProperties", ["syncProperties"]); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryPipelineRunContent.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryPipelineRunContent.cs new file mode 100644 index 000000000000..537ee6ace200 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryPipelineRunContent.cs @@ -0,0 +1,95 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Core; +using Azure.Provisioning; +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The request properties provided for a pipeline run. +/// +public partial class ConnectedRegistryPipelineRunContent : ProvisionableConstruct +{ + /// + /// The resource ID of the pipeline to run. + /// + public BicepValue PipelineResourceId + { + get { Initialize(); return _pipelineResourceId!; } + set { Initialize(); _pipelineResourceId!.Assign(value); } + } + private BicepValue? _pipelineResourceId; + + /// + /// List of source artifacts to be transferred by the pipeline. + /// Specify an image by repository ('hello-world'). + /// This will use the 'latest' tag. Specify an image + /// by tag ('hello-world:latest'). Specify an image + /// by sha256-based manifest digest + /// ('hello-world@sha256:abc123'). + /// + public BicepList Artifacts + { + get { Initialize(); return _artifacts!; } + set { Initialize(); _artifacts!.Assign(value); } + } + private BicepList? _artifacts; + + /// + /// The source properties of the pipeline run. + /// + public ContainerRegistryPipelineRunSourceProperties Source + { + get { Initialize(); return _source!; } + set { Initialize(); AssignOrReplace(ref _source, value); } + } + private ContainerRegistryPipelineRunSourceProperties? _source; + + /// + /// The target properties of the pipeline run. + /// + public ContainerRegistryPipelineRunTargetProperties Target + { + get { Initialize(); return _target!; } + set { Initialize(); AssignOrReplace(ref _target, value); } + } + private ContainerRegistryPipelineRunTargetProperties? _target; + + /// + /// The digest of the tar used to transfer the artifacts. + /// + public BicepValue CatalogDigest + { + get { Initialize(); return _catalogDigest!; } + set { Initialize(); _catalogDigest!.Assign(value); } + } + private BicepValue? _catalogDigest; + + /// + /// Creates a new ConnectedRegistryPipelineRunContent. + /// + public ConnectedRegistryPipelineRunContent() + { + } + + /// + /// Define all the provisionable properties of + /// ConnectedRegistryPipelineRunContent. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _pipelineResourceId = DefineProperty("PipelineResourceId", ["pipelineResourceId"]); + _artifacts = DefineListProperty("Artifacts", ["artifacts"]); + _source = DefineModelProperty("Source", ["source"]); + _target = DefineModelProperty("Target", ["target"]); + _catalogDigest = DefineProperty("CatalogDigest", ["catalogDigest"]); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryStatusDetail.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryStatusDetail.cs new file mode 100644 index 000000000000..bf4bc0f97de6 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistryStatusDetail.cs @@ -0,0 +1,83 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The status detail properties of the connected registry. +/// +public partial class ConnectedRegistryStatusDetail : ProvisionableConstruct +{ + /// + /// The component of the connected registry corresponding to the status. + /// + public BicepValue StatusDetailType + { + get { Initialize(); return _statusDetailType!; } + } + private BicepValue? _statusDetailType; + + /// + /// The code of the status. + /// + public BicepValue Code + { + get { Initialize(); return _code!; } + } + private BicepValue? _code; + + /// + /// The description of the status. + /// + public BicepValue Description + { + get { Initialize(); return _description!; } + } + private BicepValue? _description; + + /// + /// The timestamp of the status. + /// + public BicepValue Timestamp + { + get { Initialize(); return _timestamp!; } + } + private BicepValue? _timestamp; + + /// + /// The correlation ID of the status. + /// + public BicepValue CorrelationId + { + get { Initialize(); return _correlationId!; } + } + private BicepValue? _correlationId; + + /// + /// Creates a new ConnectedRegistryStatusDetail. + /// + public ConnectedRegistryStatusDetail() + { + } + + /// + /// Define all the provisionable properties of + /// ConnectedRegistryStatusDetail. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _statusDetailType = DefineProperty("StatusDetailType", ["type"], isOutput: true); + _code = DefineProperty("Code", ["code"], isOutput: true); + _description = DefineProperty("Description", ["description"], isOutput: true); + _timestamp = DefineProperty("Timestamp", ["timestamp"], isOutput: true); + _correlationId = DefineProperty("CorrelationId", ["correlationId"], isOutput: true); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistrySyncProperties.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistrySyncProperties.cs new file mode 100644 index 000000000000..367be7aaf880 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ConnectedRegistrySyncProperties.cs @@ -0,0 +1,106 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Core; +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The sync properties of the connected registry with its parent. +/// +public partial class ConnectedRegistrySyncProperties : ProvisionableConstruct +{ + /// + /// The resource ID of the ACR token used to authenticate the connected + /// registry to its parent during sync. + /// + public BicepValue TokenId + { + get { Initialize(); return _tokenId!; } + set { Initialize(); _tokenId!.Assign(value); } + } + private BicepValue? _tokenId; + + /// + /// The cron expression indicating the schedule that the connected registry + /// will sync with its parent. + /// + public BicepValue Schedule + { + get { Initialize(); return _schedule!; } + set { Initialize(); _schedule!.Assign(value); } + } + private BicepValue? _schedule; + + /// + /// The time window during which sync is enabled for each schedule + /// occurrence. Specify the duration using the format + /// P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. + /// + public BicepValue SyncWindow + { + get { Initialize(); return _syncWindow!; } + set { Initialize(); _syncWindow!.Assign(value); } + } + private BicepValue? _syncWindow; + + /// + /// The period of time for which a message is available to sync before it + /// is expired. Specify the duration using the format + /// P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. + /// + public BicepValue MessageTtl + { + get { Initialize(); return _messageTtl!; } + set { Initialize(); _messageTtl!.Assign(value); } + } + private BicepValue? _messageTtl; + + /// + /// The last time a sync occurred between the connected registry and its + /// parent. + /// + public BicepValue LastSyncOn + { + get { Initialize(); return _lastSyncOn!; } + } + private BicepValue? _lastSyncOn; + + /// + /// The gateway endpoint used by the connected registry to communicate with + /// its parent. + /// + public BicepValue GatewayEndpoint + { + get { Initialize(); return _gatewayEndpoint!; } + } + private BicepValue? _gatewayEndpoint; + + /// + /// Creates a new ConnectedRegistrySyncProperties. + /// + public ConnectedRegistrySyncProperties() + { + } + + /// + /// Define all the provisionable properties of + /// ConnectedRegistrySyncProperties. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _tokenId = DefineProperty("TokenId", ["tokenId"]); + _schedule = DefineProperty("Schedule", ["schedule"]); + _syncWindow = DefineProperty("SyncWindow", ["syncWindow"]); + _messageTtl = DefineProperty("MessageTtl", ["messageTtl"]); + _lastSyncOn = DefineProperty("LastSyncOn", ["lastSyncTime"], isOutput: true); + _gatewayEndpoint = DefineProperty("GatewayEndpoint", ["gatewayEndpoint"], isOutput: true); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryAuthCredential.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryAuthCredential.cs new file mode 100644 index 000000000000..a830ffe2ab8d --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryAuthCredential.cs @@ -0,0 +1,76 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// Authentication credential stored for an upstream. +/// +public partial class ContainerRegistryAuthCredential : ProvisionableConstruct +{ + /// + /// The name of the credential. + /// + public BicepValue Name + { + get { Initialize(); return _name!; } + set { Initialize(); _name!.Assign(value); } + } + private BicepValue? _name; + + /// + /// KeyVault Secret URI for accessing the username. + /// + public BicepValue UsernameSecretIdentifier + { + get { Initialize(); return _usernameSecretIdentifier!; } + set { Initialize(); _usernameSecretIdentifier!.Assign(value); } + } + private BicepValue? _usernameSecretIdentifier; + + /// + /// KeyVault Secret URI for accessing the password. + /// + public BicepValue PasswordSecretIdentifier + { + get { Initialize(); return _passwordSecretIdentifier!; } + set { Initialize(); _passwordSecretIdentifier!.Assign(value); } + } + private BicepValue? _passwordSecretIdentifier; + + /// + /// This provides data pertaining to the health of the auth credential. + /// + public ContainerRegistryCredentialHealth CredentialHealth + { + get { Initialize(); return _credentialHealth!; } + } + private ContainerRegistryCredentialHealth? _credentialHealth; + + /// + /// Creates a new ContainerRegistryAuthCredential. + /// + public ContainerRegistryAuthCredential() + { + } + + /// + /// Define all the provisionable properties of + /// ContainerRegistryAuthCredential. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _name = DefineProperty("Name", ["name"]); + _usernameSecretIdentifier = DefineProperty("UsernameSecretIdentifier", ["usernameSecretIdentifier"]); + _passwordSecretIdentifier = DefineProperty("PasswordSecretIdentifier", ["passwordSecretIdentifier"]); + _credentialHealth = DefineModelProperty("CredentialHealth", ["credentialHealth"], isOutput: true); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCertificateType.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCertificateType.cs new file mode 100644 index 000000000000..4a7e4be801b7 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCertificateType.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The type of certificate location. +/// +public enum ContainerRegistryCertificateType +{ + /// + /// LocalDirectory. + /// + LocalDirectory, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCredentialHealth.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCredentialHealth.cs new file mode 100644 index 000000000000..33f2657eab1d --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCredentialHealth.cs @@ -0,0 +1,63 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The health of the auth credential. +/// +public partial class ContainerRegistryCredentialHealth : ProvisionableConstruct +{ + /// + /// The health status of credential. + /// + public BicepValue Status + { + get { Initialize(); return _status!; } + } + private BicepValue? _status; + + /// + /// Error code representing the health check error. + /// + public BicepValue ErrorCode + { + get { Initialize(); return _errorCode!; } + } + private BicepValue? _errorCode; + + /// + /// Descriptive message representing the health check error. + /// + public BicepValue ErrorMessage + { + get { Initialize(); return _errorMessage!; } + } + private BicepValue? _errorMessage; + + /// + /// Creates a new ContainerRegistryCredentialHealth. + /// + public ContainerRegistryCredentialHealth() + { + } + + /// + /// Define all the provisionable properties of + /// ContainerRegistryCredentialHealth. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _status = DefineProperty("Status", ["status"], isOutput: true); + _errorCode = DefineProperty("ErrorCode", ["errorCode"], isOutput: true); + _errorMessage = DefineProperty("ErrorMessage", ["errorMessage"], isOutput: true); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/Models/NamespaceGeoDRRoleType.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCredentialHealthStatus.cs similarity index 53% rename from sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/Models/NamespaceGeoDRRoleType.cs rename to sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCredentialHealthStatus.cs index 8c1b5bd317ef..6e19e09d7dd2 100644 --- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/Models/NamespaceGeoDRRoleType.cs +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCredentialHealthStatus.cs @@ -3,20 +3,20 @@ // -namespace Azure.Provisioning.EventHubs; +namespace Azure.Provisioning.ContainerRegistry; /// -/// GeoDR Role Types. +/// The health status of credential. /// -public enum NamespaceGeoDRRoleType +public enum ContainerRegistryCredentialHealthStatus { /// - /// Primary. + /// Healthy. /// - Primary, + Healthy, /// - /// Secondary. + /// Unhealthy. /// - Secondary, + Unhealthy, } diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCredentialName.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCredentialName.cs new file mode 100644 index 000000000000..de728e6a0e3f --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryCredentialName.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The name of the credential. +/// +public enum ContainerRegistryCredentialName +{ + /// + /// Credential1. + /// + Credential1, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryMetadataSearch.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryMetadataSearch.cs new file mode 100644 index 000000000000..756d376f3210 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryMetadataSearch.cs @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// Determines whether registry artifacts are indexed for metadata search. +/// +public enum ContainerRegistryMetadataSearch +{ + /// + /// Enabled. + /// + Enabled, + + /// + /// Disabled. + /// + Disabled, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineOption.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineOption.cs new file mode 100644 index 000000000000..f1f37412a7f3 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineOption.cs @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The ContainerRegistryPipelineOption. +/// +public enum ContainerRegistryPipelineOption +{ + /// + /// OverwriteTags. + /// + OverwriteTags, + + /// + /// OverwriteBlobs. + /// + OverwriteBlobs, + + /// + /// DeleteSourceBlobOnSuccess. + /// + DeleteSourceBlobOnSuccess, + + /// + /// ContinueOnErrors. + /// + ContinueOnErrors, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunSourceProperties.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunSourceProperties.cs new file mode 100644 index 000000000000..e5bfa82768ea --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunSourceProperties.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The ContainerRegistryPipelineRunSourceProperties. +/// +public partial class ContainerRegistryPipelineRunSourceProperties : ProvisionableConstruct +{ + /// + /// The type of the source. + /// + public BicepValue SourceType + { + get { Initialize(); return _sourceType!; } + set { Initialize(); _sourceType!.Assign(value); } + } + private BicepValue? _sourceType; + + /// + /// The name of the source. + /// + public BicepValue Name + { + get { Initialize(); return _name!; } + set { Initialize(); _name!.Assign(value); } + } + private BicepValue? _name; + + /// + /// Creates a new ContainerRegistryPipelineRunSourceProperties. + /// + public ContainerRegistryPipelineRunSourceProperties() + { + } + + /// + /// Define all the provisionable properties of + /// ContainerRegistryPipelineRunSourceProperties. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _sourceType = DefineProperty("SourceType", ["type"]); + _name = DefineProperty("Name", ["name"]); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunSourceType.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunSourceType.cs new file mode 100644 index 000000000000..21cfb60b8d2c --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunSourceType.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The type of the source. +/// +public enum ContainerRegistryPipelineRunSourceType +{ + /// + /// AzureStorageBlob. + /// + AzureStorageBlob, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunTargetProperties.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunTargetProperties.cs new file mode 100644 index 000000000000..8d495c59ae5e --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunTargetProperties.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The ContainerRegistryPipelineRunTargetProperties. +/// +public partial class ContainerRegistryPipelineRunTargetProperties : ProvisionableConstruct +{ + /// + /// The type of the target. + /// + public BicepValue TargetType + { + get { Initialize(); return _targetType!; } + set { Initialize(); _targetType!.Assign(value); } + } + private BicepValue? _targetType; + + /// + /// The name of the target. + /// + public BicepValue Name + { + get { Initialize(); return _name!; } + set { Initialize(); _name!.Assign(value); } + } + private BicepValue? _name; + + /// + /// Creates a new ContainerRegistryPipelineRunTargetProperties. + /// + public ContainerRegistryPipelineRunTargetProperties() + { + } + + /// + /// Define all the provisionable properties of + /// ContainerRegistryPipelineRunTargetProperties. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _targetType = DefineProperty("TargetType", ["type"]); + _name = DefineProperty("Name", ["name"]); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunTargetType.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunTargetType.cs new file mode 100644 index 000000000000..3c5da1c501a9 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineRunTargetType.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The type of the target. +/// +public enum ContainerRegistryPipelineRunTargetType +{ + /// + /// AzureStorageBlob. + /// + AzureStorageBlob, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineSourceType.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineSourceType.cs new file mode 100644 index 000000000000..6047e55227ed --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPipelineSourceType.cs @@ -0,0 +1,17 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The type of source for the import pipeline. +/// +public enum ContainerRegistryPipelineSourceType +{ + /// + /// AzureStorageBlobContainer. + /// + AzureStorageBlobContainer, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPolicies.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPolicies.cs index b6f3a67c5daa..6950cc85f14b 100644 --- a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPolicies.cs +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryPolicies.cs @@ -55,6 +55,26 @@ public BicepValue ExportStatus } private BicepValue? _exportStatus; + /// + /// The value that indicates whether the policy is enabled or not. + /// + public BicepValue AzureADAuthenticationAsArmStatus + { + get { Initialize(); return _azureADAuthenticationAsArmStatus!; } + set { Initialize(); _azureADAuthenticationAsArmStatus!.Assign(value); } + } + private BicepValue? _azureADAuthenticationAsArmStatus; + + /// + /// The soft delete policy for a container registry. + /// + public ContainerRegistrySoftDeletePolicy SoftDeletePolicy + { + get { Initialize(); return _softDeletePolicy!; } + set { Initialize(); AssignOrReplace(ref _softDeletePolicy, value); } + } + private ContainerRegistrySoftDeletePolicy? _softDeletePolicy; + /// /// Creates a new ContainerRegistryPolicies. /// @@ -72,5 +92,7 @@ protected override void DefineProvisionableProperties() _trustPolicy = DefineModelProperty("TrustPolicy", ["trustPolicy"]); _retentionPolicy = DefineModelProperty("RetentionPolicy", ["retentionPolicy"]); _exportStatus = DefineProperty("ExportStatus", ["exportPolicy", "status"]); + _azureADAuthenticationAsArmStatus = DefineProperty("AzureADAuthenticationAsArmStatus", ["azureADAuthenticationAsArmPolicy", "status"]); + _softDeletePolicy = DefineModelProperty("SoftDeletePolicy", ["softDeletePolicy"]); } } diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistrySoftDeletePolicy.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistrySoftDeletePolicy.cs new file mode 100644 index 000000000000..9205c3aaae0e --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistrySoftDeletePolicy.cs @@ -0,0 +1,66 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The soft delete policy for a container registry. +/// +public partial class ContainerRegistrySoftDeletePolicy : ProvisionableConstruct +{ + /// + /// The number of days after which a soft-deleted item is permanently + /// deleted. + /// + public BicepValue RetentionDays + { + get { Initialize(); return _retentionDays!; } + set { Initialize(); _retentionDays!.Assign(value); } + } + private BicepValue? _retentionDays; + + /// + /// The timestamp when the policy was last updated. + /// + public BicepValue LastUpdatedOn + { + get { Initialize(); return _lastUpdatedOn!; } + } + private BicepValue? _lastUpdatedOn; + + /// + /// The value that indicates whether the policy is enabled or not. + /// + public BicepValue Status + { + get { Initialize(); return _status!; } + set { Initialize(); _status!.Assign(value); } + } + private BicepValue? _status; + + /// + /// Creates a new ContainerRegistrySoftDeletePolicy. + /// + public ContainerRegistrySoftDeletePolicy() + { + } + + /// + /// Define all the provisionable properties of + /// ContainerRegistrySoftDeletePolicy. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _retentionDays = DefineProperty("RetentionDays", ["retentionDays"]); + _lastUpdatedOn = DefineProperty("LastUpdatedOn", ["lastUpdatedTime"], isOutput: true); + _status = DefineProperty("Status", ["status"]); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryTlsCertificateProperties.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryTlsCertificateProperties.cs new file mode 100644 index 000000000000..2d72462c5991 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryTlsCertificateProperties.cs @@ -0,0 +1,53 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The TLS certificate properties of the connected registry login server. +/// +public partial class ContainerRegistryTlsCertificateProperties : ProvisionableConstruct +{ + /// + /// The type of certificate location. + /// + public BicepValue CertificateType + { + get { Initialize(); return _certificateType!; } + } + private BicepValue? _certificateType; + + /// + /// Indicates the location of the certificates. + /// + public BicepValue CertificateLocation + { + get { Initialize(); return _certificateLocation!; } + } + private BicepValue? _certificateLocation; + + /// + /// Creates a new ContainerRegistryTlsCertificateProperties. + /// + public ContainerRegistryTlsCertificateProperties() + { + } + + /// + /// Define all the provisionable properties of + /// ContainerRegistryTlsCertificateProperties. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _certificateType = DefineProperty("CertificateType", ["type"], isOutput: true); + _certificateLocation = DefineProperty("CertificateLocation", ["location"], isOutput: true); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryTlsProperties.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryTlsProperties.cs new file mode 100644 index 000000000000..ae9aec3f4128 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryTlsProperties.cs @@ -0,0 +1,53 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The TLS properties of the connected registry login server. +/// +public partial class ContainerRegistryTlsProperties : ProvisionableConstruct +{ + /// + /// Indicates whether HTTPS is enabled for the login server. + /// + public BicepValue Status + { + get { Initialize(); return _status!; } + } + private BicepValue? _status; + + /// + /// The certificate used to configure HTTPS for the login server. + /// + public ContainerRegistryTlsCertificateProperties Certificate + { + get { Initialize(); return _certificate!; } + } + private ContainerRegistryTlsCertificateProperties? _certificate; + + /// + /// Creates a new ContainerRegistryTlsProperties. + /// + public ContainerRegistryTlsProperties() + { + } + + /// + /// Define all the provisionable properties of + /// ContainerRegistryTlsProperties. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _status = DefineProperty("Status", ["status"], isOutput: true); + _certificate = DefineModelProperty("Certificate", ["certificate"], isOutput: true); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryTlsStatus.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryTlsStatus.cs new file mode 100644 index 000000000000..699ecf7773c4 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ContainerRegistryTlsStatus.cs @@ -0,0 +1,22 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// Indicates whether HTTPS is enabled for the login server. +/// +public enum ContainerRegistryTlsStatus +{ + /// + /// Enabled. + /// + Enabled, + + /// + /// Disabled. + /// + Disabled, +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ExportPipelineTargetProperties.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ExportPipelineTargetProperties.cs new file mode 100644 index 000000000000..bcbef6d88801 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ExportPipelineTargetProperties.cs @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The properties of the export pipeline target. +/// +public partial class ExportPipelineTargetProperties : ProvisionableConstruct +{ + /// + /// The type of target for the export pipeline. + /// + public BicepValue PipelineTargetType + { + get { Initialize(); return _pipelineTargetType!; } + set { Initialize(); _pipelineTargetType!.Assign(value); } + } + private BicepValue? _pipelineTargetType; + + /// + /// The target uri of the export pipeline. When + /// 'AzureStorageBlob': + /// "https://accountName.blob.core.windows.net/containerName/blobName" + /// When 'AzureStorageBlobContainer': + /// "https://accountName.blob.core.windows.net/containerName" + /// + public BicepValue Uri + { + get { Initialize(); return _uri!; } + set { Initialize(); _uri!.Assign(value); } + } + private BicepValue? _uri; + + /// + /// They key vault secret uri to obtain the target storage SAS token. + /// + public BicepValue KeyVaultUri + { + get { Initialize(); return _keyVaultUri!; } + set { Initialize(); _keyVaultUri!.Assign(value); } + } + private BicepValue? _keyVaultUri; + + /// + /// Creates a new ExportPipelineTargetProperties. + /// + public ExportPipelineTargetProperties() + { + } + + /// + /// Define all the provisionable properties of + /// ExportPipelineTargetProperties. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _pipelineTargetType = DefineProperty("PipelineTargetType", ["type"]); + _uri = DefineProperty("Uri", ["uri"]); + _keyVaultUri = DefineProperty("KeyVaultUri", ["keyVaultUri"]); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/GarbageCollectionProperties.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/GarbageCollectionProperties.cs new file mode 100644 index 000000000000..bd623c7aa15b --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/GarbageCollectionProperties.cs @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The garbage collection properties of the connected registry. +/// +public partial class GarbageCollectionProperties : ProvisionableConstruct +{ + /// + /// Indicates whether garbage collection is enabled for the connected + /// registry. + /// + public BicepValue Enabled + { + get { Initialize(); return _enabled!; } + set { Initialize(); _enabled!.Assign(value); } + } + private BicepValue? _enabled; + + /// + /// The cron expression indicating the schedule that the connected registry + /// will run garbage collection. + /// + public BicepValue Schedule + { + get { Initialize(); return _schedule!; } + set { Initialize(); _schedule!.Assign(value); } + } + private BicepValue? _schedule; + + /// + /// Creates a new GarbageCollectionProperties. + /// + public GarbageCollectionProperties() + { + } + + /// + /// Define all the provisionable properties of GarbageCollectionProperties. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _enabled = DefineProperty("Enabled", ["enabled"]); + _schedule = DefineProperty("Schedule", ["schedule"]); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ImportPipelineSourceProperties.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ImportPipelineSourceProperties.cs new file mode 100644 index 000000000000..3032df567e07 --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/ImportPipelineSourceProperties.cs @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The properties of the import pipeline source. +/// +public partial class ImportPipelineSourceProperties : ProvisionableConstruct +{ + /// + /// The type of source for the import pipeline. + /// + public BicepValue ContainerRegistryPipelineSourceType + { + get { Initialize(); return _containerRegistryPipelineSourceType!; } + set { Initialize(); _containerRegistryPipelineSourceType!.Assign(value); } + } + private BicepValue? _containerRegistryPipelineSourceType; + + /// + /// The source uri of the import pipeline. When + /// 'AzureStorageBlob': + /// "https://accountName.blob.core.windows.net/containerName/blobName" + /// When 'AzureStorageBlobContainer': + /// "https://accountName.blob.core.windows.net/containerName" + /// + public BicepValue Uri + { + get { Initialize(); return _uri!; } + set { Initialize(); _uri!.Assign(value); } + } + private BicepValue? _uri; + + /// + /// They key vault secret uri to obtain the source storage SAS token. + /// + public BicepValue KeyVaultUri + { + get { Initialize(); return _keyVaultUri!; } + set { Initialize(); _keyVaultUri!.Assign(value); } + } + private BicepValue? _keyVaultUri; + + /// + /// Creates a new ImportPipelineSourceProperties. + /// + public ImportPipelineSourceProperties() + { + } + + /// + /// Define all the provisionable properties of + /// ImportPipelineSourceProperties. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _containerRegistryPipelineSourceType = DefineProperty("ContainerRegistryPipelineSourceType", ["type"]); + _uri = DefineProperty("Uri", ["uri"]); + _keyVaultUri = DefineProperty("KeyVaultUri", ["keyVaultUri"]); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/PipelineRunResult.cs b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/PipelineRunResult.cs new file mode 100644 index 000000000000..3aa8075fa1db --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.ContainerRegistry/src/Generated/Models/PipelineRunResult.cs @@ -0,0 +1,133 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable enable + +using Azure.Provisioning; +using Azure.Provisioning.Primitives; +using System; + +namespace Azure.Provisioning.ContainerRegistry; + +/// +/// The response properties returned for a pipeline run. +/// +public partial class PipelineRunResult : ProvisionableConstruct +{ + /// + /// The current status of the pipeline run. + /// + public BicepValue Status + { + get { Initialize(); return _status!; } + } + private BicepValue? _status; + + /// + /// The artifacts imported in the pipeline run. + /// + public BicepList ImportedArtifacts + { + get { Initialize(); return _importedArtifacts!; } + } + private BicepList? _importedArtifacts; + + /// + /// The percentage complete of the copy operation. + /// + public BicepValue ProgressPercentage + { + get { Initialize(); return _progressPercentage!; } + } + private BicepValue? _progressPercentage; + + /// + /// The time the pipeline run started. + /// + public BicepValue StartOn + { + get { Initialize(); return _startOn!; } + } + private BicepValue? _startOn; + + /// + /// The time the pipeline run finished. + /// + public BicepValue FinishOn + { + get { Initialize(); return _finishOn!; } + } + private BicepValue? _finishOn; + + /// + /// The source of the pipeline run. + /// + public ImportPipelineSourceProperties Source + { + get { Initialize(); return _source!; } + } + private ImportPipelineSourceProperties? _source; + + /// + /// The target of the pipeline run. + /// + public ExportPipelineTargetProperties Target + { + get { Initialize(); return _target!; } + } + private ExportPipelineTargetProperties? _target; + + /// + /// The digest of the tar used to transfer the artifacts. + /// + public BicepValue CatalogDigest + { + get { Initialize(); return _catalogDigest!; } + } + private BicepValue? _catalogDigest; + + /// + /// The timestamp when the source update happened. + /// + public BicepValue SourceTriggerTimestamp + { + get { Initialize(); return _sourceTriggerTimestamp!; } + } + private BicepValue? _sourceTriggerTimestamp; + + /// + /// The detailed error message for the pipeline run in the case of failure. + /// + public BicepValue PipelineRunErrorMessage + { + get { Initialize(); return _pipelineRunErrorMessage!; } + } + private BicepValue? _pipelineRunErrorMessage; + + /// + /// Creates a new PipelineRunResult. + /// + public PipelineRunResult() + { + } + + /// + /// Define all the provisionable properties of PipelineRunResult. + /// + protected override void DefineProvisionableProperties() + { + base.DefineProvisionableProperties(); + _status = DefineProperty("Status", ["status"], isOutput: true); + _importedArtifacts = DefineListProperty("ImportedArtifacts", ["importedArtifacts"], isOutput: true); + _progressPercentage = DefineProperty("ProgressPercentage", ["progress", "percentage"], isOutput: true); + _startOn = DefineProperty("StartOn", ["startTime"], isOutput: true); + _finishOn = DefineProperty("FinishOn", ["finishTime"], isOutput: true); + _source = DefineModelProperty("Source", ["source"], isOutput: true); + _target = DefineModelProperty("Target", ["target"], isOutput: true); + _catalogDigest = DefineProperty("CatalogDigest", ["catalogDigest"], isOutput: true); + _sourceTriggerTimestamp = DefineProperty("SourceTriggerTimestamp", ["trigger", "sourceTrigger", "timestamp"], isOutput: true); + _pipelineRunErrorMessage = DefineProperty("PipelineRunErrorMessage", ["pipelineRunErrorMessage"], isOutput: true); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/AgentPoolSnapshot.cs b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/AgentPoolSnapshot.cs index 36aa156847fb..0fabe83727be 100644 --- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/AgentPoolSnapshot.cs +++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/AgentPoolSnapshot.cs @@ -154,7 +154,7 @@ public BicepValue VmSize /// /// Version of the AgentPoolSnapshot. public AgentPoolSnapshot(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.ContainerService/snapshots", resourceVersion ?? "2024-08-01") + : base(bicepIdentifier, "Microsoft.ContainerService/snapshots", resourceVersion ?? "2025-01-01") { } @@ -183,6 +183,21 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-01-01. + /// + public static readonly string V2025_01_01 = "2025-01-01"; + + /// + /// 2024-10-01. + /// + public static readonly string V2024_10_01 = "2024-10-01"; + + /// + /// 2024-09-01. + /// + public static readonly string V2024_09_01 = "2024-09-01"; + /// /// 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 3775b2cc85dc..19d713ef1407 100644 --- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceAgentPool.cs +++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceAgentPool.cs @@ -558,7 +558,7 @@ public ContainerServiceManagedCluster? Parent /// /// Version of the ContainerServiceAgentPool. public ContainerServiceAgentPool(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.ContainerService/managedClusters/agentPools", resourceVersion ?? "2024-08-01") + : base(bicepIdentifier, "Microsoft.ContainerService/managedClusters/agentPools", resourceVersion ?? "2025-01-01") { } @@ -621,6 +621,21 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-01-01. + /// + public static readonly string V2025_01_01 = "2025-01-01"; + + /// + /// 2024-10-01. + /// + public static readonly string V2024_10_01 = "2024-10-01"; + + /// + /// 2024-09-01. + /// + public static readonly string V2024_09_01 = "2024-09-01"; + /// /// 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 91f80e9cec26..6012cf43e5e5 100644 --- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceMaintenanceConfiguration.cs +++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceMaintenanceConfiguration.cs @@ -99,7 +99,7 @@ public ContainerServiceManagedCluster? Parent /// /// Version of the ContainerServiceMaintenanceConfiguration. public ContainerServiceMaintenanceConfiguration(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.ContainerService/managedClusters/maintenanceConfigurations", resourceVersion ?? "2024-08-01") + : base(bicepIdentifier, "Microsoft.ContainerService/managedClusters/maintenanceConfigurations", resourceVersion ?? "2025-01-01") { } @@ -123,6 +123,21 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-01-01. + /// + public static readonly string V2025_01_01 = "2025-01-01"; + + /// + /// 2024-10-01. + /// + public static readonly string V2024_10_01 = "2024-10-01"; + + /// + /// 2024-09-01. + /// + public static readonly string V2024_09_01 = "2024-09-01"; + /// /// 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 14a70b1f1adb..0a26395799e4 100644 --- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceManagedCluster.cs +++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceManagedCluster.cs @@ -527,7 +527,7 @@ public SystemData SystemData /// /// Version of the ContainerServiceManagedCluster. public ContainerServiceManagedCluster(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.ContainerService/managedClusters", resourceVersion ?? "2024-08-01") + : base(bicepIdentifier, "Microsoft.ContainerService/managedClusters", resourceVersion ?? "2025-01-01") { } @@ -591,6 +591,21 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-01-01. + /// + public static readonly string V2025_01_01 = "2025-01-01"; + + /// + /// 2024-10-01. + /// + public static readonly string V2024_10_01 = "2024-10-01"; + + /// + /// 2024-09-01. + /// + public static readonly string V2024_09_01 = "2024-09-01"; + /// /// 2024-08-01. /// @@ -875,7 +890,7 @@ public override ResourceNameRequirements GetResourceNameRequirements() => public RoleAssignment CreateRoleAssignment(ContainerServiceBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{ContainerServiceBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServicePrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServicePrivateEndpointConnection.cs index 202afca8fa48..17001420bde4 100644 --- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServicePrivateEndpointConnection.cs +++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServicePrivateEndpointConnection.cs @@ -97,7 +97,7 @@ public ContainerServiceManagedCluster? Parent /// /// Version of the ContainerServicePrivateEndpointConnection. public ContainerServicePrivateEndpointConnection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.ContainerService/managedClusters/privateEndpointConnections", resourceVersion ?? "2024-08-01") + : base(bicepIdentifier, "Microsoft.ContainerService/managedClusters/privateEndpointConnections", resourceVersion ?? "2025-01-01") { } @@ -121,6 +121,21 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-01-01. + /// + public static readonly string V2025_01_01 = "2025-01-01"; + + /// + /// 2024-10-01. + /// + public static readonly string V2024_10_01 = "2024-10-01"; + + /// + /// 2024-09-01. + /// + public static readonly string V2024_09_01 = "2024-09-01"; + /// /// 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 2468761c56a3..bbcbb078fbd9 100644 --- a/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceTrustedAccessRoleBinding.cs +++ b/sdk/provisioning/Azure.Provisioning.ContainerService/src/Generated/ContainerServiceTrustedAccessRoleBinding.cs @@ -100,7 +100,7 @@ public ContainerServiceManagedCluster? Parent /// /// Version of the ContainerServiceTrustedAccessRoleBinding. public ContainerServiceTrustedAccessRoleBinding(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings", resourceVersion ?? "2024-08-01") + : base(bicepIdentifier, "Microsoft.ContainerService/managedClusters/trustedAccessRoleBindings", resourceVersion ?? "2025-01-01") { } @@ -124,6 +124,21 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-01-01. + /// + public static readonly string V2025_01_01 = "2025-01-01"; + + /// + /// 2024-10-01. + /// + public static readonly string V2024_10_01 = "2024-10-01"; + + /// + /// 2024-09-01. + /// + public static readonly string V2024_09_01 = "2024-09-01"; + /// /// 2024-08-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraCluster.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraCluster.cs index 79616b97e874..ee770deee5a7 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraCluster.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraCluster.cs @@ -98,7 +98,7 @@ public SystemData SystemData /// /// Version of the CassandraCluster. public CassandraCluster(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/cassandraClusters", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/cassandraClusters", resourceVersion ?? "2024-11-15") { } @@ -121,6 +121,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 869abde62f90..916b231eb486 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraDataCenter.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraDataCenter.cs @@ -77,7 +77,7 @@ public CassandraCluster? Parent /// /// Version of the CassandraDataCenter. public CassandraDataCenter(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/cassandraClusters/dataCenters", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/cassandraClusters/dataCenters", resourceVersion ?? "2024-11-15") { } @@ -98,6 +98,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 ca57b1811eae..b53ac5b77848 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspace.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspace.cs @@ -128,7 +128,7 @@ public CosmosDBAccount? Parent /// /// Version of the CassandraKeyspace. public CassandraKeyspace(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces", resourceVersion ?? "2024-11-15") { } @@ -154,6 +154,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 49860565a697..58ac1014ed74 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspaceThroughputSetting.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraKeyspaceThroughputSetting.cs @@ -106,7 +106,7 @@ public CassandraKeyspace? Parent /// /// Version of the CassandraKeyspaceThroughputSetting. public CassandraKeyspaceThroughputSetting(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/throughputSettings", resourceVersion ?? "2024-11-15") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 bdd874c01a71..89499940acf3 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTable.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTable.cs @@ -118,7 +118,7 @@ public CassandraKeyspace? Parent /// /// Version of the CassandraTable. public CassandraTable(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 b71cf3577cd7..138a6748b10f 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTableThroughputSetting.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraTableThroughputSetting.cs @@ -106,7 +106,7 @@ public CassandraTable? Parent /// /// Version of the CassandraTableThroughputSetting. public CassandraTableThroughputSetting(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings", resourceVersion ?? "2024-11-15") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 34f21dc24b4f..95db65edc04c 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewGetResult.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewGetResult.cs @@ -118,7 +118,7 @@ public CassandraKeyspace? Parent /// /// Version of the CassandraViewGetResult. public CassandraViewGetResult(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 71d4a3f58ea3..7c19ea630400 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewThroughputSetting.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CassandraViewThroughputSetting.cs @@ -106,7 +106,7 @@ public CassandraViewGetResult? Parent /// /// Version of the CassandraViewThroughputSetting. public CassandraViewThroughputSetting(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/views/throughputSettings", resourceVersion ?? "2024-11-15") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 2a2fe617e5c8..95c29c395120 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBAccount.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBAccount.cs @@ -580,7 +580,7 @@ public BicepList WriteLocations /// /// Version of the CosmosDBAccount. public CosmosDBAccount(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts", resourceVersion ?? "2024-11-15") { } @@ -647,6 +647,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 2024-08-15. /// @@ -816,7 +821,7 @@ public CosmosDBAccountKeyList GetKeys() public RoleAssignment CreateRoleAssignment(CosmosDBBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{CosmosDBBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBPrivateEndpointConnection.cs index 41d924933568..7f0e5de784b3 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBPrivateEndpointConnection.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBPrivateEndpointConnection.cs @@ -106,7 +106,7 @@ public CosmosDBAccount? Parent /// /// Version of the CosmosDBPrivateEndpointConnection. public CosmosDBPrivateEndpointConnection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/privateEndpointConnections", resourceVersion ?? "2024-11-15") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 bd1b8beeaf00..48bf1ec1ad66 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBService.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBService.cs @@ -116,7 +116,7 @@ public CosmosDBAccount? Parent /// /// Version of the CosmosDBService. public CosmosDBService(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/services", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/services", resourceVersion ?? "2024-11-15") { } @@ -140,6 +140,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 152dcb555b07..a1bf6082bd51 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlClientEncryptionKey.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlClientEncryptionKey.cs @@ -76,7 +76,7 @@ public CosmosDBSqlDatabase? Parent /// /// Version of the CosmosDBSqlClientEncryptionKey. public CosmosDBSqlClientEncryptionKey(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/clientEncryptionKeys", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/clientEncryptionKeys", resourceVersion ?? "2024-11-15") { } @@ -98,6 +98,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 01a6b7eb1031..b901277850ab 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainer.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainer.cs @@ -118,7 +118,7 @@ public CosmosDBSqlDatabase? Parent /// /// Version of the CosmosDBSqlContainer. public CosmosDBSqlContainer(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 5e94d9cf0bbb..723402315e7f 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainerThroughputSetting.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlContainerThroughputSetting.cs @@ -106,7 +106,7 @@ public CosmosDBSqlContainer? Parent /// /// Version of the CosmosDBSqlContainerThroughputSetting. public CosmosDBSqlContainerThroughputSetting(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/throughputSettings", resourceVersion ?? "2024-11-15") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 4b73987774c6..ed37b64f08a3 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabase.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabase.cs @@ -118,7 +118,7 @@ public CosmosDBAccount? Parent /// /// Version of the CosmosDBSqlDatabase. public CosmosDBSqlDatabase(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 d55795d435c3..b59b20437254 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabaseThroughputSetting.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlDatabaseThroughputSetting.cs @@ -106,7 +106,7 @@ public CosmosDBSqlDatabase? Parent /// /// Version of the CosmosDBSqlDatabaseThroughputSetting. public CosmosDBSqlDatabaseThroughputSetting(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/throughputSettings", resourceVersion ?? "2024-11-15") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 a51ba5d9ec06..3be422fb1e43 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleAssignment.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleAssignment.cs @@ -99,7 +99,7 @@ public CosmosDBAccount? Parent /// /// Version of the CosmosDBSqlRoleAssignment. public CosmosDBSqlRoleAssignment(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlRoleAssignments", resourceVersion ?? "2024-11-15") { } @@ -122,6 +122,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 0cf5ae735cb3..acb24b61421d 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleDefinition.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlRoleDefinition.cs @@ -112,7 +112,7 @@ public CosmosDBAccount? Parent /// /// Version of the CosmosDBSqlRoleDefinition. public CosmosDBSqlRoleDefinition(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions", resourceVersion ?? "2024-11-15") { } @@ -136,6 +136,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 dcba87945ee8..a46ee2a2b48f 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlStoredProcedure.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlStoredProcedure.cs @@ -118,7 +118,7 @@ public CosmosDBSqlContainer? Parent /// /// Version of the CosmosDBSqlStoredProcedure. public CosmosDBSqlStoredProcedure(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/storedProcedures", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 1aea94a37821..bff93678c687 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlTrigger.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlTrigger.cs @@ -118,7 +118,7 @@ public CosmosDBSqlContainer? Parent /// /// Version of the CosmosDBSqlTrigger. public CosmosDBSqlTrigger(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/triggers", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 46cb7172da19..f4b058fd5c37 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlUserDefinedFunction.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBSqlUserDefinedFunction.cs @@ -118,7 +118,7 @@ public CosmosDBSqlContainer? Parent /// /// Version of the CosmosDBSqlUserDefinedFunction. public CosmosDBSqlUserDefinedFunction(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/userDefinedFunctions", resourceVersion ?? "2024-11-15") { } @@ -144,6 +144,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 6213154ae25b..237c17306af4 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBTable.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosDBTable.cs @@ -118,7 +118,7 @@ public CosmosDBAccount? Parent /// /// Version of the CosmosDBTable. public CosmosDBTable(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/tables", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/tables", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 2024-08-15. /// diff --git a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosTableThroughputSetting.cs b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosTableThroughputSetting.cs index 695f0cbf22d6..4985f49f5818 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosTableThroughputSetting.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/CosmosTableThroughputSetting.cs @@ -106,7 +106,7 @@ public CosmosDBTable? Parent /// /// Version of the CosmosTableThroughputSetting. public CosmosTableThroughputSetting(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings", resourceVersion ?? "2024-11-15") { } @@ -130,6 +130,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 6bd8bda17444..ed80f4575986 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/DataTransferJobGetResult.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/DataTransferJobGetResult.cs @@ -197,7 +197,7 @@ public CosmosDBAccount? Parent /// /// Version of the DataTransferJobGetResult. public DataTransferJobGetResult(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/dataTransferJobs", resourceVersion ?? "2024-11-15") { } @@ -229,6 +229,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 88ff84ad6aa2..66bc9c35b389 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GraphResourceGetResult.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GraphResourceGetResult.cs @@ -118,7 +118,7 @@ public CosmosDBAccount? Parent /// /// Version of the GraphResourceGetResult. public GraphResourceGetResult(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/graphs", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/graphs", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 a0a966d6e089..7d507fcd742d 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabase.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabase.cs @@ -118,7 +118,7 @@ public CosmosDBAccount? Parent /// /// Version of the GremlinDatabase. public GremlinDatabase(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 11a79de9cd05..875918c07cb5 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabaseThroughputSetting.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinDatabaseThroughputSetting.cs @@ -106,7 +106,7 @@ public GremlinDatabase? Parent /// /// Version of the GremlinDatabaseThroughputSetting. public GremlinDatabaseThroughputSetting(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/throughputSettings", resourceVersion ?? "2024-11-15") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 c024bc56a300..2eb49c340df8 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraph.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraph.cs @@ -118,7 +118,7 @@ public GremlinDatabase? Parent /// /// Version of the GremlinGraph. public GremlinGraph(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 dded6925f868..dba6ea3c7bc9 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraphThroughputSetting.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/GremlinGraphThroughputSetting.cs @@ -106,7 +106,7 @@ public GremlinGraph? Parent /// /// Version of the GremlinGraphThroughputSetting. public GremlinGraphThroughputSetting(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs/throughputSettings", resourceVersion ?? "2024-11-15") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 f0da9073e9d4..954e83a5639e 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollection.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollection.cs @@ -118,7 +118,7 @@ public MongoDBDatabase? Parent /// /// Version of the MongoDBCollection. public MongoDBCollection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 3316aa0ccfa0..7782cb189d2c 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollectionThroughputSetting.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBCollectionThroughputSetting.cs @@ -106,7 +106,7 @@ public MongoDBCollection? Parent /// /// Version of the MongoDBCollectionThroughputSetting. public MongoDBCollectionThroughputSetting(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/collections/throughputSettings", resourceVersion ?? "2024-11-15") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 5bdfa8e077e8..a70fa726dc95 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabase.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabase.cs @@ -118,7 +118,7 @@ public CosmosDBAccount? Parent /// /// Version of the MongoDBDatabase. public MongoDBDatabase(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases", resourceVersion ?? "2024-11-15") { } @@ -143,6 +143,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 49b0d058372e..e0cb430f78d5 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabaseThroughputSetting.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBDatabaseThroughputSetting.cs @@ -106,7 +106,7 @@ public MongoDBDatabase? Parent /// /// Version of the MongoDBDatabaseThroughputSetting. public MongoDBDatabaseThroughputSetting(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases/throughputSettings", resourceVersion ?? "2024-11-15") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 86bed9be3874..d9633f425f7e 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBRoleDefinition.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBRoleDefinition.cs @@ -121,7 +121,7 @@ public CosmosDBAccount? Parent /// /// Version of the MongoDBRoleDefinition. public MongoDBRoleDefinition(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbRoleDefinitions", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbRoleDefinitions", resourceVersion ?? "2024-11-15") { } @@ -146,6 +146,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 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 b99ab1c12013..86d30e9ea83e 100644 --- a/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBUserDefinition.cs +++ b/sdk/provisioning/Azure.Provisioning.CosmosDB/src/Generated/MongoDBUserDefinition.cs @@ -129,7 +129,7 @@ public CosmosDBAccount? Parent /// /// Version of the MongoDBUserDefinition. public MongoDBUserDefinition(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbUserDefinitions", resourceVersion ?? "2024-08-15") + : base(bicepIdentifier, "Microsoft.DocumentDB/databaseAccounts/mongodbUserDefinitions", resourceVersion ?? "2024-11-15") { } @@ -155,6 +155,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-15. + /// + public static readonly string V2024_11_15 = "2024-11-15"; + /// /// 2024-08-15. /// diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/CaCertificate.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/CaCertificate.cs index 4aff312213c2..674c95a6599d 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/CaCertificate.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/CaCertificate.cs @@ -113,7 +113,7 @@ public EventGridNamespace? Parent /// /// Version of the CaCertificate. public CaCertificate(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/caCertificates", resourceVersion) + : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/caCertificates", resourceVersion ?? "2025-02-15") { } @@ -138,7 +138,12 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; } + /// /// 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 8ee0ac5b7c06..f972a12d4818 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainEventSubscription.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainEventSubscription.cs @@ -214,7 +214,7 @@ public EventGridDomain? Parent /// /// Version of the DomainEventSubscription. public DomainEventSubscription(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/domains/eventSubscriptions", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/domains/eventSubscriptions", resourceVersion ?? "2025-02-15") { } @@ -245,6 +245,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 cf4a7cb9dcae..387caf89641c 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopic.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopic.cs @@ -76,7 +76,7 @@ public EventGridDomain? Parent /// /// Version of the DomainTopic. public DomainTopic(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/domains/topics", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/domains/topics", resourceVersion ?? "2025-02-15") { } @@ -97,6 +97,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 4e8035318293..d28268d24ea5 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopicEventSubscription.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/DomainTopicEventSubscription.cs @@ -214,7 +214,7 @@ public DomainTopic? Parent /// /// Version of the DomainTopicEventSubscription. public DomainTopicEventSubscription(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/domains/topics/eventSubscriptions", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/domains/topics/eventSubscriptions", resourceVersion ?? "2025-02-15") { } @@ -245,6 +245,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 d93cd711d8f9..b99ea9411433 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomain.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomain.cs @@ -281,7 +281,7 @@ public SystemData SystemData /// /// Version of the EventGridDomain. public EventGridDomain(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/domains", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/domains", resourceVersion ?? "2025-02-15") { } @@ -318,6 +318,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 8c56c37da1be..bdd5f6840b96 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomainPrivateEndpointConnection.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridDomainPrivateEndpointConnection.cs @@ -108,7 +108,7 @@ public EventGridDomain? Parent /// /// Version of the EventGridDomainPrivateEndpointConnection. public EventGridDomainPrivateEndpointConnection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/domains/privateEndpointConnections", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/domains/privateEndpointConnections", resourceVersion ?? "2025-02-15") { } @@ -133,6 +133,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 bb21cf56c283..6684344a2859 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespace.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespace.cs @@ -189,7 +189,7 @@ public SystemData SystemData /// /// Version of the EventGridNamespace. public EventGridNamespace(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/namespaces", resourceVersion) + : base(bicepIdentifier, "Microsoft.EventGrid/namespaces", resourceVersion ?? "2025-02-15") { } @@ -215,6 +215,17 @@ protected override void DefineProvisionableProperties() _systemData = DefineModelProperty("SystemData", ["systemData"], isOutput: true); } + /// + /// Supported EventGridNamespace resource versions. + /// + public static class ResourceVersions + { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + } + /// /// 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 080a9020f3ba..06d7155c9199 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientGroup.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientGroup.cs @@ -96,7 +96,7 @@ public EventGridNamespace? Parent /// /// Version of the EventGridNamespaceClientGroup. public EventGridNamespaceClientGroup(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/clientGroups", resourceVersion) + : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/clientGroups", resourceVersion ?? "2025-02-15") { } @@ -120,7 +120,12 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; } + /// /// 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 3355920a514e..f923eb80344c 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientResource.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespaceClientResource.cs @@ -144,7 +144,7 @@ public EventGridNamespace? Parent /// /// Version of the EventGridNamespaceClientResource. public EventGridNamespaceClientResource(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/clients", resourceVersion) + : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/clients", resourceVersion ?? "2025-02-15") { } @@ -171,7 +171,12 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; } + /// /// 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 2687f0d292a4..7b27006668fe 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespacePermissionBinding.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridNamespacePermissionBinding.cs @@ -119,7 +119,7 @@ public EventGridNamespace? Parent /// /// Version of the EventGridNamespacePermissionBinding. public EventGridNamespacePermissionBinding(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/permissionBindings", resourceVersion) + : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/permissionBindings", resourceVersion ?? "2025-02-15") { } @@ -145,7 +145,12 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; } + /// /// 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 c0a0e954f615..09853146df9f 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridPartnerNamespacePrivateEndpointConnection.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridPartnerNamespacePrivateEndpointConnection.cs @@ -108,7 +108,7 @@ public PartnerNamespace? Parent /// /// Version of the EventGridPartnerNamespacePrivateEndpointConnection. public EventGridPartnerNamespacePrivateEndpointConnection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/partnerNamespaces/privateEndpointConnections", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/partnerNamespaces/privateEndpointConnections", resourceVersion ?? "2025-02-15") { } @@ -134,6 +134,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 31be5d20c76c..6c9330c26cb9 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopic.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopic.cs @@ -253,7 +253,7 @@ public SystemData SystemData /// /// Version of the EventGridTopic. public EventGridTopic(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/topics", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/topics", resourceVersion ?? "2025-02-15") { } @@ -290,6 +290,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 a670dc673c58..f83cc62b1e95 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopicPrivateEndpointConnection.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventGridTopicPrivateEndpointConnection.cs @@ -107,7 +107,7 @@ public EventGridTopic? Parent /// /// Version of the EventGridTopicPrivateEndpointConnection. public EventGridTopicPrivateEndpointConnection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/topics/privateEndpointConnections", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/topics/privateEndpointConnections", resourceVersion ?? "2025-02-15") { } @@ -132,6 +132,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 1a63a17fcccc..adb2fffa5a61 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventSubscription.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/EventSubscription.cs @@ -205,7 +205,7 @@ public BicepValue Topic /// /// Version of the EventSubscription. public EventSubscription(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/eventSubscriptions", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/eventSubscriptions", resourceVersion ?? "2025-02-15") { } @@ -235,6 +235,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 2022-06-15. /// diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopic.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopic.cs index 06401245910f..9182665b5f02 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopic.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopic.cs @@ -108,7 +108,7 @@ public EventGridNamespace? Parent /// /// Version of the NamespaceTopic. public NamespaceTopic(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topics", resourceVersion) + : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topics", resourceVersion ?? "2025-02-15") { } @@ -127,6 +127,17 @@ protected override void DefineProvisionableProperties() _parent = DefineResource("Parent", ["parent"], isRequired: true); } + /// + /// Supported NamespaceTopic resource versions. + /// + public static class ResourceVersions + { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + } + /// /// 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 e692965fa980..b269a62c07ca 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopicEventSubscription.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/NamespaceTopicEventSubscription.cs @@ -118,7 +118,7 @@ public NamespaceTopic? Parent /// /// Version of the NamespaceTopicEventSubscription. public NamespaceTopicEventSubscription(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topics/eventSubscriptions", resourceVersion) + : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topics/eventSubscriptions", resourceVersion ?? "2025-02-15") { } @@ -139,6 +139,17 @@ protected override void DefineProvisionableProperties() _parent = DefineResource("Parent", ["parent"], isRequired: true); } + /// + /// Supported NamespaceTopicEventSubscription resource versions. + /// + public static class ResourceVersions + { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + } + /// /// 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 065e3a31531d..d88a707523f9 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerConfiguration.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerConfiguration.cs @@ -96,7 +96,7 @@ public SystemData SystemData /// /// Version of the PartnerConfiguration. public PartnerConfiguration(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/partnerConfigurations", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/partnerConfigurations", resourceVersion ?? "2025-02-15") { } @@ -119,6 +119,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 2022-06-15. /// diff --git a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespace.cs b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespace.cs index 23dfc92f24ea..f9e84ada584f 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespace.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespace.cs @@ -179,7 +179,7 @@ public SystemData SystemData /// /// Version of the PartnerNamespace. public PartnerNamespace(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/partnerNamespaces", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/partnerNamespaces", resourceVersion ?? "2025-02-15") { } @@ -209,6 +209,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 b44e75418397..0463e9bf81e4 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespaceChannel.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerNamespaceChannel.cs @@ -151,7 +151,7 @@ public PartnerNamespace? Parent /// /// Version of the PartnerNamespaceChannel. public PartnerNamespaceChannel(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/partnerNamespaces/channels", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/partnerNamespaces/channels", resourceVersion ?? "2025-02-15") { } @@ -178,6 +178,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 a085febb98af..cadfb00b2d91 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerRegistration.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerRegistration.cs @@ -98,7 +98,7 @@ public SystemData SystemData /// /// Version of the PartnerRegistration. public PartnerRegistration(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/partnerRegistrations", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/partnerRegistrations", resourceVersion ?? "2025-02-15") { } @@ -121,6 +121,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 ca17f012879f..1e7dc96e4d49 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopic.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopic.cs @@ -173,7 +173,7 @@ public SystemData SystemData /// /// Version of the PartnerTopic. public PartnerTopic(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/partnerTopics", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/partnerTopics", resourceVersion ?? "2025-02-15") { } @@ -203,6 +203,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 62cf6af0245a..1d4272e21bef 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopicEventSubscription.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/PartnerTopicEventSubscription.cs @@ -214,7 +214,7 @@ public PartnerTopic? Parent /// /// Version of the PartnerTopicEventSubscription. public PartnerTopicEventSubscription(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/partnerTopics/eventSubscriptions", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/partnerTopics/eventSubscriptions", resourceVersion ?? "2025-02-15") { } @@ -246,6 +246,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 b978a0b20d57..948b97ae9c98 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopic.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopic.cs @@ -125,7 +125,7 @@ public SystemData SystemData /// /// Version of the SystemTopic. public SystemTopic(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/systemTopics", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/systemTopics", resourceVersion ?? "2025-02-15") { } @@ -151,6 +151,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 130e2696e0cb..1a884c0af74e 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopicEventSubscription.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/SystemTopicEventSubscription.cs @@ -214,7 +214,7 @@ public SystemTopic? Parent /// /// Version of the SystemTopicEventSubscription. public SystemTopicEventSubscription(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/systemTopics/eventSubscriptions", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/systemTopics/eventSubscriptions", resourceVersion ?? "2025-02-15") { } @@ -245,6 +245,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 6b6ecd5f206e..fce631b2a0e6 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicEventSubscription.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicEventSubscription.cs @@ -214,7 +214,7 @@ public EventGridTopic? Parent /// /// Version of the TopicEventSubscription. public TopicEventSubscription(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/topics/eventSubscriptions", resourceVersion ?? "2022-06-15") + : base(bicepIdentifier, "Microsoft.EventGrid/topics/eventSubscriptions", resourceVersion ?? "2025-02-15") { } @@ -245,6 +245,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + /// /// 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 bad027e492b2..8c16057ada4a 100644 --- a/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicSpace.cs +++ b/sdk/provisioning/Azure.Provisioning.EventGrid/src/Generated/TopicSpace.cs @@ -101,7 +101,7 @@ public EventGridNamespace? Parent /// /// Version of the TopicSpace. public TopicSpace(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topicSpaces", resourceVersion) + : base(bicepIdentifier, "Microsoft.EventGrid/namespaces/topicSpaces", resourceVersion ?? "2025-02-15") { } @@ -119,6 +119,17 @@ protected override void DefineProvisionableProperties() _parent = DefineResource("Parent", ["parent"], isRequired: true); } + /// + /// Supported TopicSpace resource versions. + /// + public static class ResourceVersions + { + /// + /// 2025-02-15. + /// + public static readonly string V2025_02_15 = "2025-02-15"; + } + /// /// Creates a reference to an existing TopicSpace. /// diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHub.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHub.cs index 5c5f317acd03..0802add744e1 100644 --- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHub.cs +++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHub.cs @@ -69,6 +69,16 @@ public BicepValue Status } private BicepValue? _status; + /// + /// Gets and Sets Metadata of User. + /// + public BicepValue UserMetadata + { + get { Initialize(); return _userMetadata!; } + set { Initialize(); _userMetadata!.Assign(value); } + } + private BicepValue? _userMetadata; + /// /// Exact time the Event Hub was created. /// @@ -158,6 +168,7 @@ protected override void DefineProvisionableProperties() _partitionCount = DefineProperty("PartitionCount", ["properties", "partitionCount"]); _retentionDescription = DefineModelProperty("RetentionDescription", ["properties", "retentionDescription"]); _status = DefineProperty("Status", ["properties", "status"]); + _userMetadata = DefineProperty("UserMetadata", ["properties", "userMetadata"]); _createdOn = DefineProperty("CreatedOn", ["properties", "createdAt"], isOutput: true); _id = DefineProperty("Id", ["id"], isOutput: true); _location = DefineProperty("Location", ["location"], isOutput: true); @@ -186,6 +197,16 @@ public static class ResourceVersions /// 2017-04-01. /// public static readonly string V2017_04_01 = "2017-04-01"; + + /// + /// 2015-08-01. + /// + public static readonly string V2015_08_01 = "2015-08-01"; + + /// + /// 2014-09-01. + /// + public static readonly string V2014_09_01 = "2014-09-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubAuthorizationRule.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubAuthorizationRule.cs index 02c13d8db804..7abe620d8c9f 100644 --- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubAuthorizationRule.cs +++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubAuthorizationRule.cs @@ -124,6 +124,16 @@ public static class ResourceVersions /// 2017-04-01. /// public static readonly string V2017_04_01 = "2017-04-01"; + + /// + /// 2015-08-01. + /// + public static readonly string V2015_08_01 = "2015-08-01"; + + /// + /// 2014-09-01. + /// + public static readonly string V2014_09_01 = "2014-09-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsCluster.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsCluster.cs index 96d993157a46..957ebb947413 100644 --- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsCluster.cs +++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsCluster.cs @@ -218,7 +218,7 @@ public override ResourceNameRequirements GetResourceNameRequirements() => public RoleAssignment CreateRoleAssignment(EventHubsBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{EventHubsBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsConsumerGroup.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsConsumerGroup.cs index 937cdb1bb054..2298e7b3a80d 100644 --- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsConsumerGroup.cs +++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsConsumerGroup.cs @@ -145,6 +145,16 @@ public static class ResourceVersions /// 2017-04-01. /// public static readonly string V2017_04_01 = "2017-04-01"; + + /// + /// 2015-08-01. + /// + public static readonly string V2015_08_01 = "2015-08-01"; + + /// + /// 2014-09-01. + /// + public static readonly string V2014_09_01 = "2014-09-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespace.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespace.cs index 51b815450c75..dc4e0e77c1f4 100644 --- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespace.cs +++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespace.cs @@ -82,16 +82,6 @@ public EventHubsEncryption Encryption } private EventHubsEncryption? _encryption; - /// - /// Geo Data Replication settings for the namespace. - /// - public NamespaceGeoDataReplicationProperties GeoDataReplication - { - get { Initialize(); return _geoDataReplication!; } - set { Initialize(); AssignOrReplace(ref _geoDataReplication, value); } - } - private NamespaceGeoDataReplicationProperties? _geoDataReplication; - /// /// Properties of BYOK Identity description. /// @@ -296,7 +286,6 @@ protected override void DefineProvisionableProperties() _clusterArmId = DefineProperty("ClusterArmId", ["properties", "clusterArmId"]); _disableLocalAuth = DefineProperty("DisableLocalAuth", ["properties", "disableLocalAuth"]); _encryption = DefineModelProperty("Encryption", ["properties", "encryption"]); - _geoDataReplication = DefineModelProperty("GeoDataReplication", ["properties", "geoDataReplication"]); _identity = DefineModelProperty("Identity", ["identity"]); _isAutoInflateEnabled = DefineProperty("IsAutoInflateEnabled", ["properties", "isAutoInflateEnabled"]); _kafkaEnabled = DefineProperty("KafkaEnabled", ["properties", "kafkaEnabled"]); @@ -380,7 +369,7 @@ public override ResourceNameRequirements GetResourceNameRequirements() => public RoleAssignment CreateRoleAssignment(EventHubsBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{EventHubsBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespaceAuthorizationRule.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespaceAuthorizationRule.cs index c904499fb94a..81526a1d8867 100644 --- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespaceAuthorizationRule.cs +++ b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/EventHubsNamespaceAuthorizationRule.cs @@ -125,6 +125,16 @@ public static class ResourceVersions /// 2017-04-01. /// public static readonly string V2017_04_01 = "2017-04-01"; + + /// + /// 2015-08-01. + /// + public static readonly string V2015_08_01 = "2015-08-01"; + + /// + /// 2014-09-01. + /// + public static readonly string V2014_09_01 = "2014-09-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/Models/NamespaceGeoDataReplicationProperties.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/Models/NamespaceGeoDataReplicationProperties.cs deleted file mode 100644 index e0320aae0594..000000000000 --- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/Models/NamespaceGeoDataReplicationProperties.cs +++ /dev/null @@ -1,60 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable enable - -using Azure.Core; -using Azure.Provisioning; -using Azure.Provisioning.Primitives; -using System; - -namespace Azure.Provisioning.EventHubs; - -/// -/// GeoDR Replication properties. -/// -public partial class NamespaceGeoDataReplicationProperties : ProvisionableConstruct -{ - /// - /// The maximum acceptable lag for data replication operations from the - /// primary replica to a quorum of secondary replicas. When the lag - /// exceeds the configured amount, operations on the primary replica will - /// be failed. The allowed values are 0 and 5 minutes to 1 day. - /// - public BicepValue MaxReplicationLagDurationInSeconds - { - get { Initialize(); return _maxReplicationLagDurationInSeconds!; } - set { Initialize(); _maxReplicationLagDurationInSeconds!.Assign(value); } - } - private BicepValue? _maxReplicationLagDurationInSeconds; - - /// - /// A list of regions where replicas of the namespace are maintained. - /// - public BicepList Locations - { - get { Initialize(); return _locations!; } - set { Initialize(); _locations!.Assign(value); } - } - private BicepList? _locations; - - /// - /// Creates a new NamespaceGeoDataReplicationProperties. - /// - public NamespaceGeoDataReplicationProperties() - { - } - - /// - /// Define all the provisionable properties of - /// NamespaceGeoDataReplicationProperties. - /// - protected override void DefineProvisionableProperties() - { - base.DefineProvisionableProperties(); - _maxReplicationLagDurationInSeconds = DefineProperty("MaxReplicationLagDurationInSeconds", ["maxReplicationLagDurationInSeconds"]); - _locations = DefineListProperty("Locations", ["locations"]); - } -} diff --git a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/Models/NamespaceReplicaLocation.cs b/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/Models/NamespaceReplicaLocation.cs deleted file mode 100644 index 4659c321d2d5..000000000000 --- a/sdk/provisioning/Azure.Provisioning.EventHubs/src/Generated/Models/NamespaceReplicaLocation.cs +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable enable - -using Azure.Core; -using Azure.Provisioning.Primitives; -using System; - -namespace Azure.Provisioning.EventHubs; - -/// -/// Namespace replication properties. -/// -public partial class NamespaceReplicaLocation : ProvisionableConstruct -{ - /// - /// Azure regions where a replica of the namespace is maintained. - /// - public BicepValue LocationName - { - get { Initialize(); return _locationName!; } - set { Initialize(); _locationName!.Assign(value); } - } - private BicepValue? _locationName; - - /// - /// GeoDR Role Types. - /// - public BicepValue RoleType - { - get { Initialize(); return _roleType!; } - set { Initialize(); _roleType!.Assign(value); } - } - private BicepValue? _roleType; - - /// - /// Optional property that denotes the ARM ID of the Cluster. This is - /// required, if a namespace replica should be placed in a Dedicated Event - /// Hub Cluster. - /// - public BicepValue ClusterArmId - { - get { Initialize(); return _clusterArmId!; } - set { Initialize(); _clusterArmId!.Assign(value); } - } - private BicepValue? _clusterArmId; - - /// - /// Creates a new NamespaceReplicaLocation. - /// - public NamespaceReplicaLocation() - { - } - - /// - /// Define all the provisionable properties of NamespaceReplicaLocation. - /// - protected override void DefineProvisionableProperties() - { - base.DefineProvisionableProperties(); - _locationName = DefineProperty("LocationName", ["locationName"]); - _roleType = DefineProperty("RoleType", ["roleType"]); - _clusterArmId = DefineProperty("ClusterArmId", ["clusterArmId"]); - } -} diff --git a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultPrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultPrivateEndpointConnection.cs index b01408496b72..a32b385347cc 100644 --- a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultPrivateEndpointConnection.cs +++ b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultPrivateEndpointConnection.cs @@ -125,7 +125,7 @@ public KeyVaultService? Parent /// /// Version of the KeyVaultPrivateEndpointConnection. public KeyVaultPrivateEndpointConnection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.KeyVault/vaults/privateEndpointConnections", resourceVersion ?? "2023-07-01") + : base(bicepIdentifier, "Microsoft.KeyVault/vaults/privateEndpointConnections", resourceVersion ?? "2024-11-01") { } @@ -152,6 +152,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 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 1b8753173128..b0783f19fd30 100644 --- a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultSecret.cs +++ b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultSecret.cs @@ -99,7 +99,7 @@ public KeyVaultService? Parent /// /// Version of the KeyVaultSecret. public KeyVaultSecret(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.KeyVault/vaults/secrets", resourceVersion ?? "2023-07-01") + : base(bicepIdentifier, "Microsoft.KeyVault/vaults/secrets", resourceVersion ?? "2024-11-01") { } @@ -122,6 +122,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 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 f09d960ff3f0..eb0deda47321 100644 --- a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultService.cs +++ b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/KeyVaultService.cs @@ -92,7 +92,7 @@ public SystemData SystemData /// /// Version of the KeyVaultService. public KeyVaultService(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.KeyVault/vaults", resourceVersion ?? "2023-07-01") + : base(bicepIdentifier, "Microsoft.KeyVault/vaults", resourceVersion ?? "2024-11-01") { } @@ -114,6 +114,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 2023-08-01-PREVIEW. /// @@ -197,7 +202,7 @@ public override ResourceNameRequirements GetResourceNameRequirements() => public RoleAssignment CreateRoleAssignment(KeyVaultBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{KeyVaultBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsm.cs b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsm.cs index c33a7de643e8..3ce7f0d35233 100644 --- a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsm.cs +++ b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsm.cs @@ -98,7 +98,7 @@ public SystemData SystemData /// /// Version of the ManagedHsm. public ManagedHsm(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.KeyVault/managedHSMs", resourceVersion ?? "2023-07-01") + : base(bicepIdentifier, "Microsoft.KeyVault/managedHSMs", resourceVersion ?? "2024-11-01") { } @@ -121,6 +121,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 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 e46ebf057fcd..be991b527a0c 100644 --- a/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsmPrivateEndpointConnection.cs +++ b/sdk/provisioning/Azure.Provisioning.KeyVault/src/Generated/ManagedHsmPrivateEndpointConnection.cs @@ -138,7 +138,7 @@ public ManagedHsm? Parent /// /// Version of the ManagedHsmPrivateEndpointConnection. public ManagedHsmPrivateEndpointConnection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.KeyVault/managedHSMs/privateEndpointConnections", resourceVersion ?? "2023-07-01") + : base(bicepIdentifier, "Microsoft.KeyVault/managedHSMs/privateEndpointConnections", resourceVersion ?? "2024-11-01") { } @@ -166,6 +166,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 2023-08-01-PREVIEW. /// diff --git a/sdk/provisioning/Azure.Provisioning.Kubernetes/src/Generated/ConnectedCluster.cs b/sdk/provisioning/Azure.Provisioning.Kubernetes/src/Generated/ConnectedCluster.cs index b40db723c3ed..8949a70489f6 100644 --- a/sdk/provisioning/Azure.Provisioning.Kubernetes/src/Generated/ConnectedCluster.cs +++ b/sdk/provisioning/Azure.Provisioning.Kubernetes/src/Generated/ConnectedCluster.cs @@ -313,7 +313,7 @@ public override ResourceNameRequirements GetResourceNameRequirements() => public RoleAssignment CreateRoleAssignment(KubernetesBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{KubernetesBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesClusterExtension.cs b/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesClusterExtension.cs index 091c05f00d5e..c400b8992078 100644 --- a/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesClusterExtension.cs +++ b/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesClusterExtension.cs @@ -236,7 +236,7 @@ public SystemData SystemData /// /// Version of the KubernetesClusterExtension. public KubernetesClusterExtension(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.KubernetesConfiguration/extensions", resourceVersion ?? "2023-05-01") + : base(bicepIdentifier, "Microsoft.KubernetesConfiguration/extensions", resourceVersion ?? "2024-11-01") { } @@ -272,6 +272,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 2023-05-01. /// @@ -317,7 +322,7 @@ public static KubernetesClusterExtension FromExisting(string bicepIdentifier, st public RoleAssignment CreateRoleAssignment(KubernetesConfigurationBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{KubernetesConfigurationBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesFluxConfiguration.cs b/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesFluxConfiguration.cs index 18ecb83298a5..260e6ee5e93c 100644 --- a/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesFluxConfiguration.cs +++ b/sdk/provisioning/Azure.Provisioning.KubernetesConfiguration/src/Generated/KubernetesFluxConfiguration.cs @@ -231,7 +231,7 @@ public SystemData SystemData /// /// Version of the KubernetesFluxConfiguration. public KubernetesFluxConfiguration(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.KubernetesConfiguration/fluxConfigurations", resourceVersion ?? "2023-05-01") + : base(bicepIdentifier, "Microsoft.KubernetesConfiguration/fluxConfigurations", resourceVersion ?? "2024-11-01") { } @@ -267,6 +267,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 2023-05-01. /// @@ -312,7 +317,7 @@ public static KubernetesFluxConfiguration FromExisting(string bicepIdentifier, s public RoleAssignment CreateRoleAssignment(KubernetesConfigurationBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{KubernetesConfigurationBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/LogAnalyticsQuery.cs b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/LogAnalyticsQuery.cs index b4e9abbc6204..fe3e356738fc 100644 --- a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/LogAnalyticsQuery.cs +++ b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/LogAnalyticsQuery.cs @@ -165,7 +165,7 @@ public LogAnalyticsQueryPack? Parent /// /// Version of the LogAnalyticsQuery. public LogAnalyticsQuery(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.OperationalInsights/queryPacks/queries", resourceVersion ?? "2023-09-01") + : base(bicepIdentifier, "Microsoft.OperationalInsights/queryPacks/queries", resourceVersion ?? "2025-02-01") { } @@ -194,6 +194,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-01. + /// + public static readonly string V2025_02_01 = "2025-02-01"; + /// /// 2023-09-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/LogAnalyticsQueryPack.cs b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/LogAnalyticsQueryPack.cs index 989477a35da6..c3b80f743c3b 100644 --- a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/LogAnalyticsQueryPack.cs +++ b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/LogAnalyticsQueryPack.cs @@ -116,7 +116,7 @@ public SystemData SystemData /// /// Version of the LogAnalyticsQueryPack. public LogAnalyticsQueryPack(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.OperationalInsights/queryPacks", resourceVersion ?? "2023-09-01") + : base(bicepIdentifier, "Microsoft.OperationalInsights/queryPacks", resourceVersion ?? "2025-02-01") { } @@ -141,6 +141,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-01. + /// + public static readonly string V2025_02_01 = "2025-02-01"; + /// /// 2023-09-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsCluster.cs b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsCluster.cs index ee3168b0cabc..a316a34a68b5 100644 --- a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsCluster.cs +++ b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsCluster.cs @@ -201,7 +201,7 @@ public SystemData SystemData /// /// Version of the OperationalInsightsCluster. public OperationalInsightsCluster(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.OperationalInsights/clusters", resourceVersion ?? "2023-09-01") + : base(bicepIdentifier, "Microsoft.OperationalInsights/clusters", resourceVersion ?? "2025-02-01") { } @@ -234,6 +234,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-01. + /// + public static readonly string V2025_02_01 = "2025-02-01"; + /// /// 2023-09-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsDataExport.cs b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsDataExport.cs index 146e2e024c44..22e7cfb4123c 100644 --- a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsDataExport.cs +++ b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsDataExport.cs @@ -148,7 +148,7 @@ public OperationalInsightsWorkspace? Parent /// /// Version of the OperationalInsightsDataExport. public OperationalInsightsDataExport(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/dataExports", resourceVersion ?? "2023-09-01") + : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/dataExports", resourceVersion ?? "2025-02-01") { } @@ -177,6 +177,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-01. + /// + public static readonly string V2025_02_01 = "2025-02-01"; + /// /// 2023-09-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsDataSource.cs b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsDataSource.cs index 0755ea27ae02..4fd00d861ecb 100644 --- a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsDataSource.cs +++ b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsDataSource.cs @@ -122,7 +122,7 @@ public OperationalInsightsWorkspace? Parent /// /// Version of the OperationalInsightsDataSource. public OperationalInsightsDataSource(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/dataSources", resourceVersion ?? "2023-09-01") + : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/dataSources", resourceVersion ?? "2025-02-01") { } @@ -147,6 +147,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-01. + /// + public static readonly string V2025_02_01 = "2025-02-01"; + /// /// 2023-09-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsLinkedService.cs b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsLinkedService.cs index af6106188acd..75be0a9f5dd9 100644 --- a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsLinkedService.cs +++ b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsLinkedService.cs @@ -109,7 +109,7 @@ public OperationalInsightsWorkspace? Parent /// /// Version of the OperationalInsightsLinkedService. public OperationalInsightsLinkedService(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/linkedServices", resourceVersion ?? "2023-09-01") + : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/linkedServices", resourceVersion ?? "2025-02-01") { } @@ -134,6 +134,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-01. + /// + public static readonly string V2025_02_01 = "2025-02-01"; + /// /// 2023-09-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsLinkedStorageAccounts.cs b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsLinkedStorageAccounts.cs index 5ee2d4a8543f..ad38136abc65 100644 --- a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsLinkedStorageAccounts.cs +++ b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsLinkedStorageAccounts.cs @@ -87,7 +87,7 @@ public OperationalInsightsWorkspace? Parent /// /// Version of the OperationalInsightsLinkedStorageAccounts. public OperationalInsightsLinkedStorageAccounts(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts", resourceVersion ?? "2023-09-01") + : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/linkedStorageAccounts", resourceVersion ?? "2025-02-01") { } @@ -110,6 +110,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-01. + /// + public static readonly string V2025_02_01 = "2025-02-01"; + /// /// 2023-09-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsSavedSearch.cs b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsSavedSearch.cs index ec127a6d1ade..d44a9c7e6512 100644 --- a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsSavedSearch.cs +++ b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsSavedSearch.cs @@ -154,7 +154,7 @@ public OperationalInsightsWorkspace? Parent /// /// Version of the OperationalInsightsSavedSearch. public OperationalInsightsSavedSearch(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/savedSearches", resourceVersion ?? "2023-09-01") + : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/savedSearches", resourceVersion ?? "2025-02-01") { } @@ -183,6 +183,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-01. + /// + public static readonly string V2025_02_01 = "2025-02-01"; + /// /// 2023-09-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsTable.cs b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsTable.cs index 233ae038e479..27f1791efd26 100644 --- a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsTable.cs +++ b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsTable.cs @@ -190,7 +190,7 @@ public OperationalInsightsWorkspace? Parent /// /// Version of the OperationalInsightsTable. public OperationalInsightsTable(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/tables", resourceVersion ?? "2023-09-01") + : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/tables", resourceVersion ?? "2025-02-01") { } @@ -222,6 +222,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-01. + /// + public static readonly string V2025_02_01 = "2025-02-01"; + /// /// 2023-09-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsWorkspace.cs b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsWorkspace.cs index 6323f70631d2..7b6a6ddf749c 100644 --- a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsWorkspace.cs +++ b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/OperationalInsightsWorkspace.cs @@ -231,7 +231,7 @@ public SystemData SystemData /// /// Version of the OperationalInsightsWorkspace. public OperationalInsightsWorkspace(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces", resourceVersion ?? "2023-09-01") + : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces", resourceVersion ?? "2025-02-01") { } @@ -267,6 +267,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-01. + /// + public static readonly string V2025_02_01 = "2025-02-01"; + /// /// 2023-09-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/StorageInsight.cs b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/StorageInsight.cs index 5d66aa41d120..4ab69ab2af12 100644 --- a/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/StorageInsight.cs +++ b/sdk/provisioning/Azure.Provisioning.OperationalInsights/src/Generated/StorageInsight.cs @@ -127,7 +127,7 @@ public OperationalInsightsWorkspace? Parent /// /// Version of the StorageInsight. public StorageInsight(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/storageInsightConfigs", resourceVersion ?? "2023-09-01") + : base(bicepIdentifier, "Microsoft.OperationalInsights/workspaces/storageInsightConfigs", resourceVersion ?? "2025-02-01") { } @@ -153,6 +153,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-02-01. + /// + public static readonly string V2025_02_01 = "2025-02-01"; + /// /// 2023-09-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicy.cs b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicy.cs index ba25eeab4dab..9d3aa46645d7 100644 --- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicy.cs @@ -95,7 +95,7 @@ public RedisResource? Parent /// /// Version of the RedisCacheAccessPolicy. public RedisCacheAccessPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Cache/redis/accessPolicies", resourceVersion ?? "2024-03-01") + : base(bicepIdentifier, "Microsoft.Cache/redis/accessPolicies", resourceVersion ?? "2024-11-01") { } @@ -118,6 +118,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 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 8a82d4a7402a..ac639259e101 100644 --- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicyAssignment.cs +++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisCacheAccessPolicyAssignment.cs @@ -106,7 +106,7 @@ public RedisResource? Parent /// /// Version of the RedisCacheAccessPolicyAssignment. public RedisCacheAccessPolicyAssignment(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Cache/redis/accessPolicyAssignments", resourceVersion ?? "2024-03-01") + : base(bicepIdentifier, "Microsoft.Cache/redis/accessPolicyAssignments", resourceVersion ?? "2024-11-01") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 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 1f93be859f68..283e19a2d391 100644 --- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisFirewallRule.cs +++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisFirewallRule.cs @@ -88,7 +88,7 @@ public RedisResource? Parent /// /// Version of the RedisFirewallRule. public RedisFirewallRule(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Cache/redis/firewallRules", resourceVersion ?? "2024-03-01") + : base(bicepIdentifier, "Microsoft.Cache/redis/firewallRules", resourceVersion ?? "2024-11-01") { } @@ -110,6 +110,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 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 323372dc1e20..353d689f79e7 100644 --- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisLinkedServerWithProperty.cs +++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisLinkedServerWithProperty.cs @@ -126,7 +126,7 @@ public RedisResource? Parent /// /// Version of the RedisLinkedServerWithProperty. public RedisLinkedServerWithProperty(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Cache/redis/linkedServers", resourceVersion ?? "2024-03-01") + : base(bicepIdentifier, "Microsoft.Cache/redis/linkedServers", resourceVersion ?? "2024-11-01") { } @@ -153,6 +153,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 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 5f4a1785c06f..dddbb14facf3 100644 --- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPatchSchedule.cs +++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPatchSchedule.cs @@ -85,7 +85,7 @@ public RedisResource? Parent /// /// Version of the RedisPatchSchedule. public RedisPatchSchedule(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Cache/redis/patchSchedules", resourceVersion ?? "2024-03-01") + : base(bicepIdentifier, "Microsoft.Cache/redis/patchSchedules", resourceVersion ?? "2024-11-01") { } @@ -107,6 +107,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 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 e4b6b1ef10c9..4dd4add01e91 100644 --- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPrivateEndpointConnection.cs +++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisPrivateEndpointConnection.cs @@ -96,7 +96,7 @@ public RedisResource? Parent /// /// Version of the RedisPrivateEndpointConnection. public RedisPrivateEndpointConnection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Cache/redis/privateEndpointConnections", resourceVersion ?? "2024-03-01") + : base(bicepIdentifier, "Microsoft.Cache/redis/privateEndpointConnections", resourceVersion ?? "2024-11-01") { } @@ -120,6 +120,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 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 c17448d5b950..666395f9e7ca 100644 --- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisResource.cs +++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisResource.cs @@ -336,7 +336,7 @@ public SystemData SystemData /// /// Version of the RedisResource. public RedisResource(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Cache/redis", resourceVersion ?? "2024-03-01") + : base(bicepIdentifier, "Microsoft.Cache/redis", resourceVersion ?? "2024-11-01") { } @@ -381,6 +381,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-01. + /// + public static readonly string V2024_11_01 = "2024-11-01"; + /// /// 2024-03-01. /// @@ -505,7 +510,7 @@ public RedisAccessKeys GetKeys() public RoleAssignment CreateRoleAssignment(RedisBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{RedisBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.Search/src/Generated/SearchService.cs b/sdk/provisioning/Azure.Provisioning.Search/src/Generated/SearchService.cs index afd5bfab783b..7dc4ace9ec62 100644 --- a/sdk/provisioning/Azure.Provisioning.Search/src/Generated/SearchService.cs +++ b/sdk/provisioning/Azure.Provisioning.Search/src/Generated/SearchService.cs @@ -474,7 +474,7 @@ public override ResourceNameRequirements GetResourceNameRequirements() => public RoleAssignment CreateRoleAssignment(SearchBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{SearchBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusNamespace.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusNamespace.cs index 75f012779902..bff31d8298e8 100644 --- a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusNamespace.cs +++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusNamespace.cs @@ -335,7 +335,7 @@ public override ResourceNameRequirements GetResourceNameRequirements() => public RoleAssignment CreateRoleAssignment(ServiceBusBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{ServiceBusBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusNamespaceAuthorizationRule.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusNamespaceAuthorizationRule.cs index 015ccaaef4d9..34cef5bfb633 100644 --- a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusNamespaceAuthorizationRule.cs +++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusNamespaceAuthorizationRule.cs @@ -125,6 +125,16 @@ public static class ResourceVersions /// 2017-04-01. /// public static readonly string V2017_04_01 = "2017-04-01"; + + /// + /// 2015-08-01. + /// + public static readonly string V2015_08_01 = "2015-08-01"; + + /// + /// 2014-09-01. + /// + public static readonly string V2014_09_01 = "2014-09-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueue.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueue.cs index 34cef14e36a6..f20282e17a69 100644 --- a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueue.cs +++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueue.cs @@ -363,6 +363,16 @@ public static class ResourceVersions /// 2017-04-01. /// public static readonly string V2017_04_01 = "2017-04-01"; + + /// + /// 2015-08-01. + /// + public static readonly string V2015_08_01 = "2015-08-01"; + + /// + /// 2014-09-01. + /// + public static readonly string V2014_09_01 = "2014-09-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueueAuthorizationRule.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueueAuthorizationRule.cs index 36cf61df1e27..bd7292f61234 100644 --- a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueueAuthorizationRule.cs +++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusQueueAuthorizationRule.cs @@ -125,6 +125,16 @@ public static class ResourceVersions /// 2017-04-01. /// public static readonly string V2017_04_01 = "2017-04-01"; + + /// + /// 2015-08-01. + /// + public static readonly string V2015_08_01 = "2015-08-01"; + + /// + /// 2014-09-01. + /// + public static readonly string V2014_09_01 = "2014-09-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusRule.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusRule.cs index 558cdd8fe0e2..3f0286f25ab0 100644 --- a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusRule.cs +++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusRule.cs @@ -156,6 +156,16 @@ public static class ResourceVersions /// 2017-04-01. /// public static readonly string V2017_04_01 = "2017-04-01"; + + /// + /// 2015-08-01. + /// + public static readonly string V2015_08_01 = "2015-08-01"; + + /// + /// 2014-09-01. + /// + public static readonly string V2014_09_01 = "2014-09-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusSubscription.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusSubscription.cs index d0740c7a0d25..ffe6b9adbcd9 100644 --- a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusSubscription.cs +++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusSubscription.cs @@ -324,6 +324,16 @@ public static class ResourceVersions /// 2017-04-01. /// public static readonly string V2017_04_01 = "2017-04-01"; + + /// + /// 2015-08-01. + /// + public static readonly string V2015_08_01 = "2015-08-01"; + + /// + /// 2014-09-01. + /// + public static readonly string V2014_09_01 = "2014-09-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopic.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopic.cs index 590eddf5f656..a65bba9d9fc0 100644 --- a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopic.cs +++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopic.cs @@ -303,6 +303,16 @@ public static class ResourceVersions /// 2017-04-01. /// public static readonly string V2017_04_01 = "2017-04-01"; + + /// + /// 2015-08-01. + /// + public static readonly string V2015_08_01 = "2015-08-01"; + + /// + /// 2014-09-01. + /// + public static readonly string V2014_09_01 = "2014-09-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopicAuthorizationRule.cs b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopicAuthorizationRule.cs index 5b2da9c42a2f..3478426ed539 100644 --- a/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopicAuthorizationRule.cs +++ b/sdk/provisioning/Azure.Provisioning.ServiceBus/src/Generated/ServiceBusTopicAuthorizationRule.cs @@ -125,6 +125,16 @@ public static class ResourceVersions /// 2017-04-01. /// public static readonly string V2017_04_01 = "2017-04-01"; + + /// + /// 2015-08-01. + /// + public static readonly string V2015_08_01 = "2015-08-01"; + + /// + /// 2014-09-01. + /// + public static readonly string V2014_09_01 = "2014-09-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRService.cs b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRService.cs index 61bad65811d5..3552181770ee 100644 --- a/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRService.cs +++ b/sdk/provisioning/Azure.Provisioning.SignalR/src/Generated/SignalRService.cs @@ -429,7 +429,7 @@ public SignalRKeys GetKeys() public RoleAssignment CreateRoleAssignment(SignalRBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{SignalRBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/BackupShortTermRetentionPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/BackupShortTermRetentionPolicy.cs index 04497f2cb30d..af58cbf20430 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/BackupShortTermRetentionPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/BackupShortTermRetentionPolicy.cs @@ -88,7 +88,7 @@ public SqlDatabase? Parent /// /// Version of the BackupShortTermRetentionPolicy. public BackupShortTermRetentionPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/backupShortTermRetentionPolicies", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/backupShortTermRetentionPolicies", resourceVersion ?? "2023-08-01") { } @@ -111,6 +111,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 98609c868937..ceabecc589c9 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DataMaskingPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DataMaskingPolicy.cs @@ -125,7 +125,7 @@ public SqlDatabase? Parent /// /// Version of the DataMaskingPolicy. public DataMaskingPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/dataMaskingPolicies", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/dataMaskingPolicies", resourceVersion ?? "2023-08-01") { } @@ -151,6 +151,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 c5482a23f226..eb1260fe9455 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DatabaseAdvancedThreatProtection.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DatabaseAdvancedThreatProtection.cs @@ -86,7 +86,7 @@ public SqlDatabase? Parent /// /// Version of the DatabaseAdvancedThreatProtection. public DatabaseAdvancedThreatProtection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/advancedThreatProtectionSettings", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/advancedThreatProtectionSettings", resourceVersion ?? "2023-08-01") { } @@ -109,6 +109,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 50f72b5323cf..c6da29adcb41 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DistributedAvailabilityGroup.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/DistributedAvailabilityGroup.cs @@ -162,7 +162,7 @@ public ManagedInstance? Parent /// /// Version of the DistributedAvailabilityGroup. public DistributedAvailabilityGroup(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/distributedAvailabilityGroups", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/distributedAvailabilityGroups", resourceVersion ?? "2023-08-01") { } @@ -192,6 +192,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 54f1b5d97e08..6cc34528eff8 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ElasticPool.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ElasticPool.cs @@ -230,7 +230,7 @@ public SqlServer? Parent /// /// Version of the ElasticPool. public ElasticPool(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/elasticPools", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/elasticPools", resourceVersion ?? "2023-08-01") { } @@ -265,6 +265,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 1d95c54894ff..1529a80ac331 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/EncryptionProtector.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/EncryptionProtector.cs @@ -142,7 +142,7 @@ public SqlServer? Parent /// /// Version of the EncryptionProtector. public EncryptionProtector(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/encryptionProtector", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/encryptionProtector", resourceVersion ?? "2023-08-01") { } @@ -170,6 +170,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 9844362096ad..13e36c570a85 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedDatabaseBlobAuditingPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedDatabaseBlobAuditingPolicy.cs @@ -263,7 +263,7 @@ public SqlDatabase? Parent /// /// Version of the ExtendedDatabaseBlobAuditingPolicy. public ExtendedDatabaseBlobAuditingPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/extendedAuditingSettings", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/extendedAuditingSettings", resourceVersion ?? "2023-08-01") { } @@ -295,6 +295,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 b1208cde3c62..2ccbee976420 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedServerBlobAuditingPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ExtendedServerBlobAuditingPolicy.cs @@ -287,7 +287,7 @@ public SqlServer? Parent /// /// Version of the ExtendedServerBlobAuditingPolicy. public ExtendedServerBlobAuditingPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/extendedAuditingSettings", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/extendedAuditingSettings", resourceVersion ?? "2023-08-01") { } @@ -320,6 +320,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 2a0fcf4f3366..430f7a72297b 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/FailoverGroup.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/FailoverGroup.cs @@ -145,7 +145,7 @@ public SqlServer? Parent /// /// Version of the FailoverGroup. public FailoverGroup(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/failoverGroups", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/failoverGroups", resourceVersion ?? "2023-08-01") { } @@ -173,6 +173,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 f017baf17afd..2e991b78c058 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/GeoBackupPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/GeoBackupPolicy.cs @@ -103,7 +103,7 @@ public SqlDatabase? Parent /// /// Version of the GeoBackupPolicy. public GeoBackupPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/geoBackupPolicies", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/geoBackupPolicies", resourceVersion ?? "2023-08-01") { } @@ -127,6 +127,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 86927a194972..7e1ef7999b88 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/IPv6FirewallRule.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/IPv6FirewallRule.cs @@ -77,7 +77,7 @@ public SqlServer? Parent /// /// Version of the IPv6FirewallRule. public IPv6FirewallRule(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/ipv6FirewallRules", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/ipv6FirewallRules", resourceVersion ?? "2023-08-01") { } @@ -98,6 +98,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 c018fd3dc715..2fde9d24fc25 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstanceFailoverGroup.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstanceFailoverGroup.cs @@ -126,7 +126,7 @@ public SystemData SystemData /// /// Version of the InstanceFailoverGroup. public InstanceFailoverGroup(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/locations/instanceFailoverGroups", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/locations/instanceFailoverGroups", resourceVersion ?? "2023-08-01") { } @@ -152,6 +152,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 82632a82d333..9c965bd948f5 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstancePool.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/InstancePool.cs @@ -139,7 +139,7 @@ public SystemData SystemData /// /// Version of the InstancePool. public InstancePool(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/instancePools", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/instancePools", resourceVersion ?? "2023-08-01") { } @@ -166,6 +166,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 440b6eef5d24..5e20edcc174d 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LedgerDigestUpload.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LedgerDigestUpload.cs @@ -85,7 +85,7 @@ public SqlDatabase? Parent /// /// Version of the LedgerDigestUpload. public LedgerDigestUpload(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/ledgerDigestUploads", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/ledgerDigestUploads", resourceVersion ?? "2023-08-01") { } @@ -107,6 +107,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 6ce4f5572113..2efb235abe5e 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LogicalDatabaseTransparentDataEncryption.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LogicalDatabaseTransparentDataEncryption.cs @@ -76,7 +76,7 @@ public SqlDatabase? Parent /// /// Version of the LogicalDatabaseTransparentDataEncryption. public LogicalDatabaseTransparentDataEncryption(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/transparentDataEncryption", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/transparentDataEncryption", resourceVersion ?? "2023-08-01") { } @@ -98,6 +98,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 4903d5cb9892..9d561f93d0a5 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LongTermRetentionPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/LongTermRetentionPolicy.cs @@ -125,7 +125,7 @@ public SqlDatabase? Parent /// /// Version of the LongTermRetentionPolicy. public LongTermRetentionPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/backupLongTermRetentionPolicies", resourceVersion ?? "2023-08-01") { } @@ -151,6 +151,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 2f3fcd1c944d..00d6a28c0e79 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedBackupShortTermRetentionPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedBackupShortTermRetentionPolicy.cs @@ -76,7 +76,7 @@ public ManagedDatabase? Parent /// /// Version of the ManagedBackupShortTermRetentionPolicy. public ManagedBackupShortTermRetentionPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/backupShortTermRetentionPolicies", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/backupShortTermRetentionPolicies", resourceVersion ?? "2023-08-01") { } @@ -98,6 +98,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 c4fa3e78b6a6..e03eca0e1fbc 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabase.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabase.cs @@ -331,7 +331,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedDatabase. public ManagedDatabase(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases", resourceVersion ?? "2023-08-01") { } @@ -375,6 +375,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 f903377c7be3..5f362c157684 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseAdvancedThreatProtection.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseAdvancedThreatProtection.cs @@ -86,7 +86,7 @@ public ManagedDatabase? Parent /// /// Version of the ManagedDatabaseAdvancedThreatProtection. public ManagedDatabaseAdvancedThreatProtection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/advancedThreatProtectionSettings", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/advancedThreatProtectionSettings", resourceVersion ?? "2023-08-01") { } @@ -110,9 +110,9 @@ protected override void DefineProvisionableProperties() public static class ResourceVersions { /// - /// 2021-11-01. + /// 2023-08-01. /// - public static readonly string V2021_11_01 = "2021-11-01"; + public static readonly string V2023_08_01 = "2023-08-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicy.cs index 002bc9b8f1f3..46c1f1397fc6 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicy.cs @@ -151,7 +151,7 @@ public ManagedDatabase? Parent /// /// Version of the ManagedDatabaseSecurityAlertPolicy. public ManagedDatabaseSecurityAlertPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/securityAlertPolicies", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/securityAlertPolicies", resourceVersion ?? "2023-08-01") { } @@ -180,6 +180,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 c68770933fca..bd8c8f035269 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseVulnerabilityAssessment.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedDatabaseVulnerabilityAssessment.cs @@ -113,7 +113,7 @@ public ManagedDatabase? Parent /// /// Version of the ManagedDatabaseVulnerabilityAssessment. public ManagedDatabaseVulnerabilityAssessment(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/vulnerabilityAssessments", resourceVersion ?? "2023-08-01") { } @@ -138,6 +138,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 dfae487d1806..523de764b66f 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstance.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstance.cs @@ -418,7 +418,7 @@ public SystemData SystemData /// /// Version of the ManagedInstance. public ManagedInstance(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances", resourceVersion ?? "2023-08-01") { } @@ -470,6 +470,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 5d96bda5e06b..2311622e0542 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdministrator.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdministrator.cs @@ -105,7 +105,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedInstanceAdministrator. public ManagedInstanceAdministrator(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/administrators", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/administrators", resourceVersion ?? "2023-08-01") { } @@ -129,6 +129,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 c2a839c4bad6..75daebe661d2 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdvancedThreatProtection.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAdvancedThreatProtection.cs @@ -86,7 +86,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedInstanceAdvancedThreatProtection. public ManagedInstanceAdvancedThreatProtection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/advancedThreatProtectionSettings", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/advancedThreatProtectionSettings", resourceVersion ?? "2023-08-01") { } @@ -110,9 +110,9 @@ protected override void DefineProvisionableProperties() public static class ResourceVersions { /// - /// 2021-11-01. + /// 2023-08-01. /// - public static readonly string V2021_11_01 = "2021-11-01"; + public static readonly string V2023_08_01 = "2023-08-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthentication.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthentication.cs index 200ac776c2ab..dd0d46b07fb9 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthentication.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthentication.cs @@ -76,7 +76,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedInstanceAzureADOnlyAuthentication. public ManagedInstanceAzureADOnlyAuthentication(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/azureADOnlyAuthentications", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/azureADOnlyAuthentications", resourceVersion ?? "2023-08-01") { } @@ -98,6 +98,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 846cd428e73d..c738ba522adb 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceDtc.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceDtc.cs @@ -114,7 +114,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedInstanceDtc. public ManagedInstanceDtc(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/dtc", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/dtc", resourceVersion ?? "2023-08-01") { } @@ -139,6 +139,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 03bfcba8317c..bb6fd3a062e6 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceEncryptionProtector.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceEncryptionProtector.cs @@ -124,7 +124,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedInstanceEncryptionProtector. public ManagedInstanceEncryptionProtector(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/encryptionProtector", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/encryptionProtector", resourceVersion ?? "2023-08-01") { } @@ -151,6 +151,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 aa7941735b31..8404dff90a25 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceKey.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceKey.cs @@ -125,7 +125,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedInstanceKey. public ManagedInstanceKey(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/keys", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/keys", resourceVersion ?? "2023-08-01") { } @@ -151,6 +151,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 9abcdda1b6c8..e4cf89f7374b 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceLongTermRetentionPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceLongTermRetentionPolicy.cs @@ -105,7 +105,7 @@ public ManagedDatabase? Parent /// /// Version of the ManagedInstanceLongTermRetentionPolicy. public ManagedInstanceLongTermRetentionPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/backupLongTermRetentionPolicies", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/backupLongTermRetentionPolicies", resourceVersion ?? "2023-08-01") { } @@ -130,6 +130,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 4cf805d0b381..578012a785fc 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstancePrivateEndpointConnection.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstancePrivateEndpointConnection.cs @@ -96,7 +96,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedInstancePrivateEndpointConnection. public ManagedInstancePrivateEndpointConnection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/privateEndpointConnections", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/privateEndpointConnections", resourceVersion ?? "2023-08-01") { } @@ -120,6 +120,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 2932466baa16..31db7b66064f 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerConfigurationOption.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerConfigurationOption.cs @@ -85,7 +85,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedInstanceServerConfigurationOption. public ManagedInstanceServerConfigurationOption(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/serverConfigurationOptions", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/serverConfigurationOptions", resourceVersion ?? "2023-08-01") { } @@ -108,6 +108,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 56b3ae440033..50e26e037e4f 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerTrustCertificate.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceServerTrustCertificate.cs @@ -94,7 +94,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedInstanceServerTrustCertificate. public ManagedInstanceServerTrustCertificate(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/serverTrustCertificates", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/serverTrustCertificates", resourceVersion ?? "2023-08-01") { } @@ -118,6 +118,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 6a5f66fdd962..fc5c643a1034 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceStartStopSchedule.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceStartStopSchedule.cs @@ -115,7 +115,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedInstanceStartStopSchedule. public ManagedInstanceStartStopSchedule(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/startStopSchedules", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/startStopSchedules", resourceVersion ?? "2023-08-01") { } @@ -141,6 +141,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 c1572febed7b..75b60ab0e296 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceVulnerabilityAssessment.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedInstanceVulnerabilityAssessment.cs @@ -114,7 +114,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedInstanceVulnerabilityAssessment. public ManagedInstanceVulnerabilityAssessment(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/vulnerabilityAssessments", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/vulnerabilityAssessments", resourceVersion ?? "2023-08-01") { } @@ -139,6 +139,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 8ffabcdced69..536dd877548c 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedLedgerDigestUpload.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedLedgerDigestUpload.cs @@ -85,7 +85,7 @@ public ManagedDatabase? Parent /// /// Version of the ManagedLedgerDigestUpload. public ManagedLedgerDigestUpload(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/ledgerDigestUploads", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/ledgerDigestUploads", resourceVersion ?? "2023-08-01") { } @@ -108,9 +108,9 @@ protected override void DefineProvisionableProperties() public static class ResourceVersions { /// - /// 2021-11-01. + /// 2023-08-01. /// - public static readonly string V2021_11_01 = "2021-11-01"; + public static readonly string V2023_08_01 = "2023-08-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerDnsAlias.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerDnsAlias.cs index 58f3d85aa5df..8de2a8e85791 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerDnsAlias.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerDnsAlias.cs @@ -94,7 +94,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedServerDnsAlias. public ManagedServerDnsAlias(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/dnsAliases", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/dnsAliases", resourceVersion ?? "2023-08-01") { } @@ -117,6 +117,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 1e7af63e4092..c88e4450899d 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerSecurityAlertPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedServerSecurityAlertPolicy.cs @@ -151,7 +151,7 @@ public ManagedInstance? Parent /// /// Version of the ManagedServerSecurityAlertPolicy. public ManagedServerSecurityAlertPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/securityAlertPolicies", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/securityAlertPolicies", resourceVersion ?? "2023-08-01") { } @@ -180,6 +180,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 b6a1f0b17624..a9ab28fd21f5 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedTransparentDataEncryption.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ManagedTransparentDataEncryption.cs @@ -75,7 +75,7 @@ public ManagedDatabase? Parent /// /// Version of the ManagedTransparentDataEncryption. public ManagedTransparentDataEncryption(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/transparentDataEncryption", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/databases/transparentDataEncryption", resourceVersion ?? "2023-08-01") { } @@ -97,6 +97,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 2021-11-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/OutboundFirewallRule.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/OutboundFirewallRule.cs index 2e31fe778ae6..aeab19a44484 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/OutboundFirewallRule.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/OutboundFirewallRule.cs @@ -74,7 +74,7 @@ public SqlServer? Parent /// /// Version of the OutboundFirewallRule. public OutboundFirewallRule(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/outboundFirewallRules", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/outboundFirewallRules", resourceVersion ?? "2023-08-01") { } @@ -95,6 +95,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 49c2ae7e1d6b..339561d375f8 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ServerAdvancedThreatProtection.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/ServerAdvancedThreatProtection.cs @@ -86,7 +86,7 @@ public SqlServer? Parent /// /// Version of the ServerAdvancedThreatProtection. public ServerAdvancedThreatProtection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/advancedThreatProtectionSettings", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/advancedThreatProtectionSettings", resourceVersion ?? "2023-08-01") { } @@ -109,6 +109,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 915f63b4a03e..b854e6236057 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlAgentConfiguration.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlAgentConfiguration.cs @@ -75,7 +75,7 @@ public ManagedInstance? Parent /// /// Version of the SqlAgentConfiguration. public SqlAgentConfiguration(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/managedInstances/sqlAgent", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/managedInstances/sqlAgent", resourceVersion ?? "2023-08-01") { } @@ -96,6 +96,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 89781ee7cee4..db303d0d84b5 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabase.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabase.cs @@ -698,7 +698,7 @@ public SqlServer? Parent /// /// Version of the SqlDatabase. public SqlDatabase(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases", resourceVersion ?? "2023-08-01") { } @@ -772,6 +772,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 f9a0dd625371..f22947bccf8c 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseBlobAuditingPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseBlobAuditingPolicy.cs @@ -262,7 +262,7 @@ public SqlDatabase? Parent /// /// Version of the SqlDatabaseBlobAuditingPolicy. public SqlDatabaseBlobAuditingPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/auditingSettings", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/auditingSettings", resourceVersion ?? "2023-08-01") { } @@ -294,6 +294,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 37ac705f3a28..8bfe934f3ee9 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseSecurityAlertPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseSecurityAlertPolicy.cs @@ -151,7 +151,7 @@ public SqlDatabase? Parent /// /// Version of the SqlDatabaseSecurityAlertPolicy. public SqlDatabaseSecurityAlertPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/securityAlertPolicies", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/securityAlertPolicies", resourceVersion ?? "2023-08-01") { } @@ -180,6 +180,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 363d25de4685..f02582c32c3b 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseVulnerabilityAssessment.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlDatabaseVulnerabilityAssessment.cs @@ -113,7 +113,7 @@ public SqlDatabase? Parent /// /// Version of the SqlDatabaseVulnerabilityAssessment. public SqlDatabaseVulnerabilityAssessment(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/vulnerabilityAssessments", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/vulnerabilityAssessments", resourceVersion ?? "2023-08-01") { } @@ -138,6 +138,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 928c5f5b7a50..750f6537d35f 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlFirewallRule.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlFirewallRule.cs @@ -80,7 +80,7 @@ public SqlServer? Parent /// /// Version of the SqlFirewallRule. public SqlFirewallRule(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/firewallRules", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/firewallRules", resourceVersion ?? "2023-08-01") { } @@ -101,6 +101,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 2f8f40dea0a9..d6a90143f23f 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlPrivateEndpointConnection.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlPrivateEndpointConnection.cs @@ -105,7 +105,7 @@ public SqlServer? Parent /// /// Version of the SqlPrivateEndpointConnection. public SqlPrivateEndpointConnection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/privateEndpointConnections", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/privateEndpointConnections", resourceVersion ?? "2023-08-01") { } @@ -129,6 +129,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 c6844c443331..1927dcefc96d 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServer.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServer.cs @@ -268,7 +268,7 @@ public BicepValue WorkspaceFeature /// /// Version of the SqlServer. public SqlServer(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers", resourceVersion ?? "2023-08-01") { } @@ -307,6 +307,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 2021-11-01. /// @@ -355,7 +360,7 @@ public override ResourceNameRequirements GetResourceNameRequirements() => public RoleAssignment CreateRoleAssignment(SqlBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{SqlBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADAdministrator.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADAdministrator.cs index b1fb8ea79f35..41bd940eb508 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADAdministrator.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADAdministrator.cs @@ -112,7 +112,7 @@ public SqlServer? Parent /// /// Version of the SqlServerAzureADAdministrator. public SqlServerAzureADAdministrator(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/administrators", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/administrators", resourceVersion ?? "2023-08-01") { } @@ -138,6 +138,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 43c9e8378e14..498e113d47cd 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADOnlyAuthentication.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerAzureADOnlyAuthentication.cs @@ -75,7 +75,7 @@ public SqlServer? Parent /// /// Version of the SqlServerAzureADOnlyAuthentication. public SqlServerAzureADOnlyAuthentication(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/azureADOnlyAuthentications", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/azureADOnlyAuthentications", resourceVersion ?? "2023-08-01") { } @@ -97,6 +97,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 942233c6ae5b..81724227705f 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerBlobAuditingPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerBlobAuditingPolicy.cs @@ -277,7 +277,7 @@ public SqlServer? Parent /// /// Version of the SqlServerBlobAuditingPolicy. public SqlServerBlobAuditingPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/auditingSettings", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/auditingSettings", resourceVersion ?? "2023-08-01") { } @@ -308,6 +308,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 2021-11-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerConnectionPolicy.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerConnectionPolicy.cs index 09d484ee01e5..2472e32ca7a5 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerConnectionPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerConnectionPolicy.cs @@ -93,7 +93,7 @@ public SqlServer? Parent /// /// Version of the SqlServerConnectionPolicy. public SqlServerConnectionPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/connectionPolicies", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/connectionPolicies", resourceVersion ?? "2023-08-01") { } @@ -116,6 +116,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 9fab2c7e6244..b828ab33f3a6 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDatabaseRestorePoint.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDatabaseRestorePoint.cs @@ -110,7 +110,7 @@ public SqlDatabase? Parent /// /// Version of the SqlServerDatabaseRestorePoint. public SqlServerDatabaseRestorePoint(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/restorePoints", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/restorePoints", resourceVersion ?? "2023-08-01") { } @@ -136,6 +136,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 319216f25ebe..8ce35577e3fc 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDevOpsAuditingSetting.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDevOpsAuditingSetting.cs @@ -152,7 +152,7 @@ public SqlServer? Parent /// /// Version of the SqlServerDevOpsAuditingSetting. public SqlServerDevOpsAuditingSetting(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/devOpsAuditingSettings", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/devOpsAuditingSettings", resourceVersion ?? "2023-08-01") { } @@ -179,6 +179,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 46b378622237..139726f8d6ae 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDnsAlias.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerDnsAlias.cs @@ -75,7 +75,7 @@ public SqlServer? Parent /// /// Version of the SqlServerDnsAlias. public SqlServerDnsAlias(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/dnsAliases", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/dnsAliases", resourceVersion ?? "2023-08-01") { } @@ -96,6 +96,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 dfe19823ad3e..075b98c72cc0 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJob.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJob.cs @@ -95,7 +95,7 @@ public SqlServerJobAgent? Parent /// /// Version of the SqlServerJob. public SqlServerJob(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents/jobs", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents/jobs", resourceVersion ?? "2023-08-01") { } @@ -118,6 +118,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 a0e61e3e2c6e..b5f66628008e 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobAgent.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobAgent.cs @@ -116,7 +116,7 @@ public SqlServer? Parent /// /// Version of the SqlServerJobAgent. public SqlServerJobAgent(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents", resourceVersion ?? "2023-08-01") { } @@ -141,6 +141,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 8d5cb594ea2d..19f5e0d9e4d8 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobCredential.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobCredential.cs @@ -86,7 +86,7 @@ public SqlServerJobAgent? Parent /// /// Version of the SqlServerJobCredential. public SqlServerJobCredential(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents/credentials", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents/credentials", resourceVersion ?? "2023-08-01") { } @@ -108,6 +108,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 47e8311a7a53..90d6d6e17085 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobExecution.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobExecution.cs @@ -182,7 +182,7 @@ public SqlServerJob? Parent /// /// Version of the SqlServerJobExecution. public SqlServerJobExecution(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents/jobs/executions", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents/jobs/executions", resourceVersion ?? "2023-08-01") { } @@ -215,6 +215,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 57309159d6a3..9c8eacc8b216 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobStep.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobStep.cs @@ -130,7 +130,7 @@ public SqlServerJob? Parent /// /// Version of the SqlServerJobStep. public SqlServerJobStep(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents/jobs/steps", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents/jobs/steps", resourceVersion ?? "2023-08-01") { } @@ -156,6 +156,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 33ec6d7579ec..e645c9892817 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobTargetGroup.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerJobTargetGroup.cs @@ -77,7 +77,7 @@ public SqlServerJobAgent? Parent /// /// Version of the SqlServerJobTargetGroup. public SqlServerJobTargetGroup(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents/targetGroups", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/jobAgents/targetGroups", resourceVersion ?? "2023-08-01") { } @@ -98,6 +98,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 e49f7ffc4ce5..f5db54292412 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerKey.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerKey.cs @@ -148,7 +148,7 @@ public SqlServer? Parent /// /// Version of the SqlServerKey. public SqlServerKey(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/keys", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/keys", resourceVersion ?? "2023-08-01") { } @@ -176,6 +176,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 42ff5bdc35a2..98c6dfe7d3fc 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSecurityAlertPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSecurityAlertPolicy.cs @@ -151,7 +151,7 @@ public SqlServer? Parent /// /// Version of the SqlServerSecurityAlertPolicy. public SqlServerSecurityAlertPolicy(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/securityAlertPolicies", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/securityAlertPolicies", resourceVersion ?? "2023-08-01") { } @@ -179,6 +179,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 b8afe0a1366c..b13c1765dd4e 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessment.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessment.cs @@ -77,7 +77,7 @@ public SqlServer? Parent /// /// Version of the SqlServerSqlVulnerabilityAssessment. public SqlServerSqlVulnerabilityAssessment(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments", resourceVersion ?? "2023-08-01") { } @@ -100,19 +100,9 @@ protected override void DefineProvisionableProperties() public static class ResourceVersions { /// - /// 2021-11-01. + /// 2023-08-01. /// - 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"; + public static readonly string V2023_08_01 = "2023-08-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaseline.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaseline.cs index 1219cbddf4f9..2cd8592a9357 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaseline.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaseline.cs @@ -87,7 +87,7 @@ public SqlServerSqlVulnerabilityAssessment? Parent /// /// Version of the SqlServerSqlVulnerabilityAssessmentBaseline. public SqlServerSqlVulnerabilityAssessmentBaseline(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines", resourceVersion ?? "2023-08-01") { } @@ -111,19 +111,9 @@ protected override void DefineProvisionableProperties() public static class ResourceVersions { /// - /// 2021-11-01. + /// 2023-08-01. /// - 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"; + public static readonly string V2023_08_01 = "2023-08-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaselineRule.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaselineRule.cs index aa7937dc712e..457396afe625 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaselineRule.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerSqlVulnerabilityAssessmentBaselineRule.cs @@ -87,7 +87,7 @@ public SqlServerSqlVulnerabilityAssessmentBaseline? Parent /// /// Version of the SqlServerSqlVulnerabilityAssessmentBaselineRule. public SqlServerSqlVulnerabilityAssessmentBaselineRule(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines/rules", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/sqlVulnerabilityAssessments/baselines/rules", resourceVersion ?? "2023-08-01") { } @@ -112,19 +112,9 @@ protected override void DefineProvisionableProperties() public static class ResourceVersions { /// - /// 2021-11-01. + /// 2023-08-01. /// - 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"; + public static readonly string V2023_08_01 = "2023-08-01"; } /// diff --git a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerTrustGroup.cs b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerTrustGroup.cs index 90d702bb0300..9ffecf922709 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerTrustGroup.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerTrustGroup.cs @@ -77,7 +77,7 @@ public SystemData SystemData /// /// Version of the SqlServerTrustGroup. public SqlServerTrustGroup(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/locations/serverTrustGroups", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/locations/serverTrustGroups", resourceVersion ?? "2023-08-01") { } @@ -98,6 +98,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 5878dfc8d864..1fa78b9eaba8 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVirtualNetworkRule.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVirtualNetworkRule.cs @@ -96,7 +96,7 @@ public SqlServer? Parent /// /// Version of the SqlServerVirtualNetworkRule. public SqlServerVirtualNetworkRule(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/virtualNetworkRules", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/virtualNetworkRules", resourceVersion ?? "2023-08-01") { } @@ -119,6 +119,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 1efc69f9cab2..060cddde3b04 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVulnerabilityAssessment.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SqlServerVulnerabilityAssessment.cs @@ -114,7 +114,7 @@ public SqlServer? Parent /// /// Version of the SqlServerVulnerabilityAssessment. public SqlServerVulnerabilityAssessment(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/vulnerabilityAssessments", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/vulnerabilityAssessments", resourceVersion ?? "2023-08-01") { } @@ -139,6 +139,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 e0e9daed6c50..2b173c22441d 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncAgent.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncAgent.cs @@ -121,7 +121,7 @@ public SqlServer? Parent /// /// Version of the SyncAgent. public SyncAgent(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/syncAgents", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/syncAgents", resourceVersion ?? "2023-08-01") { } @@ -147,6 +147,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 37a8ba31e7c3..703be982911f 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncGroup.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncGroup.cs @@ -196,7 +196,7 @@ public SqlDatabase? Parent /// /// Version of the SyncGroup. public SyncGroup(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/syncGroups", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/syncGroups", resourceVersion ?? "2023-08-01") { } @@ -229,6 +229,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 0e634b65999d..f175a033569b 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncMember.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/SyncMember.cs @@ -186,7 +186,7 @@ public SyncGroup? Parent /// /// Version of the SyncMember. public SyncMember(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/syncGroups/syncMembers", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/syncGroups/syncMembers", resourceVersion ?? "2023-08-01") { } @@ -218,6 +218,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 bb10d75702ea..22be702bcda5 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadClassifier.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadClassifier.cs @@ -126,7 +126,7 @@ public WorkloadGroup? Parent /// /// Version of the WorkloadClassifier. public WorkloadClassifier(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/workloadGroups/workloadClassifiers", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/workloadGroups/workloadClassifiers", resourceVersion ?? "2023-08-01") { } @@ -152,6 +152,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 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 090b1a076248..28c99fec6a5b 100644 --- a/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadGroup.cs +++ b/sdk/provisioning/Azure.Provisioning.Sql/src/Generated/WorkloadGroup.cs @@ -126,7 +126,7 @@ public SqlDatabase? Parent /// /// Version of the WorkloadGroup. public WorkloadGroup(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Sql/servers/databases/workloadGroups", resourceVersion ?? "2021-11-01") + : base(bicepIdentifier, "Microsoft.Sql/servers/databases/workloadGroups", resourceVersion ?? "2023-08-01") { } @@ -152,6 +152,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2023-08-01. + /// + public static readonly string V2023_08_01 = "2023-08-01"; + /// /// 2021-11-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.Storage/src/Generated/StorageAccount.cs b/sdk/provisioning/Azure.Provisioning.Storage/src/Generated/StorageAccount.cs index 13927442d482..b2ca13655068 100644 --- a/sdk/provisioning/Azure.Provisioning.Storage/src/Generated/StorageAccount.cs +++ b/sdk/provisioning/Azure.Provisioning.Storage/src/Generated/StorageAccount.cs @@ -767,7 +767,7 @@ public BicepList GetKeys() public RoleAssignment CreateRoleAssignment(StorageBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{StorageBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubService.cs b/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubService.cs index 2e07ab61f837..d3c85bb7ca91 100644 --- a/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubService.cs +++ b/sdk/provisioning/Azure.Provisioning.WebPubSub/src/Generated/WebPubSubService.cs @@ -366,7 +366,7 @@ public WebPubSubKeys GetKeys() public RoleAssignment CreateRoleAssignment(WebPubSubBuiltInRole role, UserAssignedIdentity identity) => new($"{BicepIdentifier}_{identity.BicepIdentifier}_{WebPubSubBuiltInRole.GetBuiltInRoleName(role)}") { - Name = BicepFunction.CreateGuid(Id, identity.PrincipalId, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), + Name = BicepFunction.CreateGuid(Id, identity.Id, BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString())), Scope = new IdentifierExpression(BicepIdentifier), PrincipalType = RoleManagementPrincipalType.ServicePrincipal, RoleDefinitionId = BicepFunction.GetSubscriptionResourceId("Microsoft.Authorization/roleDefinitions", role.ToString()), diff --git a/sdk/provisioning/Azure.Provisioning/src/Generated/FederatedIdentityCredential.cs b/sdk/provisioning/Azure.Provisioning/src/Generated/FederatedIdentityCredential.cs index 434bbadb54c2..6e41cfded23e 100644 --- a/sdk/provisioning/Azure.Provisioning/src/Generated/FederatedIdentityCredential.cs +++ b/sdk/provisioning/Azure.Provisioning/src/Generated/FederatedIdentityCredential.cs @@ -97,7 +97,7 @@ public UserAssignedIdentity? Parent /// /// Version of the FederatedIdentityCredential. public FederatedIdentityCredential(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials", resourceVersion ?? "2023-01-31") + : base(bicepIdentifier, "Microsoft.ManagedIdentity/userAssignedIdentities/federatedIdentityCredentials", resourceVersion ?? "2024-11-30") { } @@ -120,6 +120,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-30. + /// + public static readonly string V2024_11_30 = "2024-11-30"; + /// /// 2023-07-31-PREVIEW. /// diff --git a/sdk/provisioning/Azure.Provisioning/src/Generated/ManagementGroupPolicyDefinition.cs b/sdk/provisioning/Azure.Provisioning/src/Generated/ManagementGroupPolicyDefinition.cs index fde4fe232179..938a67c4d00c 100644 --- a/sdk/provisioning/Azure.Provisioning/src/Generated/ManagementGroupPolicyDefinition.cs +++ b/sdk/provisioning/Azure.Provisioning/src/Generated/ManagementGroupPolicyDefinition.cs @@ -159,7 +159,7 @@ public SystemData SystemData /// /// Version of the ManagementGroupPolicyDefinition. public ManagementGroupPolicyDefinition(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Authorization/policyDefinitions", resourceVersion ?? "2023-04-01") + : base(bicepIdentifier, "Microsoft.Authorization/policyDefinitions", resourceVersion ?? "2025-01-01") { } @@ -186,6 +186,16 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-01-01. + /// + public static readonly string V2025_01_01 = "2025-01-01"; + + /// + /// 2024-05-01. + /// + public static readonly string V2024_05_01 = "2024-05-01"; + /// /// 2023-04-01. /// diff --git a/sdk/provisioning/Azure.Provisioning/src/Generated/ManagementGroupPolicySetDefinition.cs b/sdk/provisioning/Azure.Provisioning/src/Generated/ManagementGroupPolicySetDefinition.cs index 461c27a7caec..ed3481d6be63 100644 --- a/sdk/provisioning/Azure.Provisioning/src/Generated/ManagementGroupPolicySetDefinition.cs +++ b/sdk/provisioning/Azure.Provisioning/src/Generated/ManagementGroupPolicySetDefinition.cs @@ -146,7 +146,7 @@ public SystemData SystemData /// /// Version of the ManagementGroupPolicySetDefinition. public ManagementGroupPolicySetDefinition(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Authorization/policySetDefinitions", resourceVersion ?? "2023-04-01") + : base(bicepIdentifier, "Microsoft.Authorization/policySetDefinitions", resourceVersion ?? "2025-01-01") { } @@ -173,6 +173,16 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-01-01. + /// + public static readonly string V2025_01_01 = "2025-01-01"; + + /// + /// 2024-05-01. + /// + public static readonly string V2024_05_01 = "2024-05-01"; + /// /// 2023-04-01. /// diff --git a/sdk/provisioning/Azure.Provisioning/src/Generated/PolicyAssignment.cs b/sdk/provisioning/Azure.Provisioning/src/Generated/PolicyAssignment.cs index 7c6965b0439b..e6da9ac2ebe4 100644 --- a/sdk/provisioning/Azure.Provisioning/src/Generated/PolicyAssignment.cs +++ b/sdk/provisioning/Azure.Provisioning/src/Generated/PolicyAssignment.cs @@ -207,7 +207,7 @@ public SystemData SystemData /// /// Version of the PolicyAssignment. public PolicyAssignment(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Authorization/policyAssignments", resourceVersion ?? "2024-04-01") + : base(bicepIdentifier, "Microsoft.Authorization/policyAssignments", resourceVersion ?? "2025-01-01") { } @@ -239,6 +239,16 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-01-01. + /// + public static readonly string V2025_01_01 = "2025-01-01"; + + /// + /// 2024-05-01. + /// + public static readonly string V2024_05_01 = "2024-05-01"; + /// /// 2024-04-01. /// diff --git a/sdk/provisioning/Azure.Provisioning/src/Generated/UserAssignedIdentity.cs b/sdk/provisioning/Azure.Provisioning/src/Generated/UserAssignedIdentity.cs index f040f81005ae..3a7afab47a32 100644 --- a/sdk/provisioning/Azure.Provisioning/src/Generated/UserAssignedIdentity.cs +++ b/sdk/provisioning/Azure.Provisioning/src/Generated/UserAssignedIdentity.cs @@ -107,7 +107,7 @@ public BicepValue TenantId /// /// Version of the UserAssignedIdentity. public UserAssignedIdentity(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.ManagedIdentity/userAssignedIdentities", resourceVersion ?? "2023-01-31") + : base(bicepIdentifier, "Microsoft.ManagedIdentity/userAssignedIdentities", resourceVersion ?? "2024-11-30") { } @@ -131,6 +131,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2024-11-30. + /// + public static readonly string V2024_11_30 = "2024-11-30"; + /// /// 2023-07-31-PREVIEW. /// diff --git a/sdk/provisioning/Generator/src/Model/Resource.cs b/sdk/provisioning/Generator/src/Model/Resource.cs index 8af4ec3ffec3..ad5cfa75630f 100644 --- a/sdk/provisioning/Generator/src/Model/Resource.cs +++ b/sdk/provisioning/Generator/src/Model/Resource.cs @@ -310,7 +310,7 @@ public override void Generate() { writer.Write($"Name = BicepFunction.CreateGuid("); if (Properties.Any(p => p.Name == "Id")) { writer.Write("Id, "); } - writer.WriteLine($"identity.PrincipalId, BicepFunction.GetSubscriptionResourceId(\"Microsoft.Authorization/roleDefinitions\", role.ToString())),"); + writer.WriteLine($"identity.Id, BicepFunction.GetSubscriptionResourceId(\"Microsoft.Authorization/roleDefinitions\", role.ToString())),"); writer.WriteLine($"Scope = new IdentifierExpression(BicepIdentifier),"); writer.WriteLine($"PrincipalType = RoleManagementPrincipalType.ServicePrincipal,"); writer.WriteLine($"RoleDefinitionId = BicepFunction.GetSubscriptionResourceId(\"Microsoft.Authorization/roleDefinitions\", role.ToString()),");