diff --git a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json
index 45cdd99de3d9..ef369d39608b 100644
--- a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json
+++ b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json
@@ -5,7 +5,7 @@
"packages": {
"": {
"dependencies": {
- "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20251023.1"
+ "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20251024.2"
},
"devDependencies": {
"@azure-tools/typespec-autorest": "0.61.0",
@@ -142,9 +142,9 @@
}
},
"node_modules/@azure-typespec/http-client-csharp-mgmt": {
- "version": "1.0.0-alpha.20251023.1",
- "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp-mgmt/-/http-client-csharp-mgmt-1.0.0-alpha.20251023.1.tgz",
- "integrity": "sha512-5xQ/ZU1Kz72aYKhgktMUCRQC1o1qUv8hXgSXVNLLm9ceu/SaQtLC9NLcKHelyJlN4PgxpF8WZFMnwetA5nvBKQ==",
+ "version": "1.0.0-alpha.20251024.2",
+ "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp-mgmt/-/http-client-csharp-mgmt-1.0.0-alpha.20251024.2.tgz",
+ "integrity": "sha512-4Sb0bLKEYlo4srRxLpS4NGpXMOqxpGQcUpNQgqJOaUduIVrajQkrak+NwG1bJ8FonFKvuXRNivc3WRT8V79A6Q==",
"license": "MIT",
"dependencies": {
"@azure-typespec/http-client-csharp": "1.0.0-alpha.20251022.3"
@@ -165,9 +165,9 @@
}
},
"node_modules/@babel/helper-validator-identifier": {
- "version": "7.27.1",
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz",
- "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==",
+ "version": "7.28.5",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz",
+ "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==",
"license": "MIT",
"engines": {
"node": ">=6.9.0"
diff --git a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json
index d974b897f71d..73ab16f39b73 100644
--- a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json
+++ b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json
@@ -1,7 +1,7 @@
{
"main": "dist/src/index.js",
"dependencies": {
- "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20251023.1"
+ "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20251024.2"
},
"devDependencies": {
"@azure-tools/typespec-autorest": "0.61.0",
diff --git a/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/ArmArizeAIObservabilityEvalModelFactory.cs b/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/ArmArizeAIObservabilityEvalModelFactory.cs
index 8be33284f32e..5a86b2475d70 100644
--- a/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/ArmArizeAIObservabilityEvalModelFactory.cs
+++ b/sdk/arizeaiobservabilityeval/Azure.ResourceManager.ArizeAIObservabilityEval/src/Generated/ArmArizeAIObservabilityEvalModelFactory.cs
@@ -49,7 +49,6 @@ public static ArizeAIObservabilityEvalOrganizationData ArizeAIObservabilityEvalO
/// Provisioning state of the resource.
/// Description of the Organization's purpose.
/// Single sign-on properties.
- /// is null.
/// A new instance for mocking.
public static ArizeAIObservabilityEvalOrganizationProperties ArizeAIObservabilityEvalOrganizationProperties(ArizeAIObservabilityEvalMarketplaceDetails marketplace = default, ArizeAIObservabilityEvalUserDetails user = default, ArizeAIObservabilityEvalOfferProvisioningState? provisioningState = default, string partnerDescription = default, ArizeAIObservabilityEvalSingleSignOnPropertiesV2 singleSignOnProperties = default)
{
diff --git a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/ArmDellStorageModelFactory.cs b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/ArmDellStorageModelFactory.cs
index 952582e88709..ebd12f7d375e 100644
--- a/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/ArmDellStorageModelFactory.cs
+++ b/sdk/dellstorage/Azure.ResourceManager.Dell.Storage/src/Generated/ArmDellStorageModelFactory.cs
@@ -55,7 +55,6 @@ public static DellFileSystemData DellFileSystemData(ResourceIdentifier id = defa
/// OneFS url.
/// DellReferenceNumber of the resource.
/// EncryptionProperties of the resource.
- /// is null.
/// A new instance for mocking.
public static DellFileSystemProperties DellFileSystemProperties(DellFileSystemCapacity capacity = default, DellFileSystemMarketplaceDetails marketplace = default, DellFileSystemProvisioningState? provisioningState = default, ResourceIdentifier delegatedSubnetId = default, string delegatedSubnetCidr = default, string userEmail = default, string fileSystemId = default, string smartConnectFqdn = default, Uri oneFsUri = default, string dellReferenceNumber = default, DellFileSystemEncryptionProperties encryption = default)
{
diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/ArmDeviceRegistryModelFactory.cs b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/ArmDeviceRegistryModelFactory.cs
index 97ddd2c38685..056bd0833d60 100644
--- a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/ArmDeviceRegistryModelFactory.cs
+++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/ArmDeviceRegistryModelFactory.cs
@@ -817,10 +817,10 @@ public static NamespaceAssetUpdateProperties NamespaceAssetUpdateProperties(bool
/// Resource tags.
/// The geo-location where the resource lives.
/// The resource-specific properties for this resource.
- /// Resource Tag.
+ /// Resource Tag.
/// The extended location.
/// A new instance for mocking.
- public static DeviceRegistryNamespaceDeviceData DeviceRegistryNamespaceDeviceData(ResourceIdentifier id = default, string name = default, ResourceType resourceType = default, SystemData systemData = default, IDictionary tags = default, AzureLocation location = default, DeviceRegistryNamespaceDeviceProperties properties = default, string etag = default, DeviceRegistryExtendedLocation extendedLocation = default)
+ public static DeviceRegistryNamespaceDeviceData DeviceRegistryNamespaceDeviceData(ResourceIdentifier id = default, string name = default, ResourceType resourceType = default, SystemData systemData = default, IDictionary tags = default, AzureLocation location = default, DeviceRegistryNamespaceDeviceProperties properties = default, string eTag = default, DeviceRegistryExtendedLocation extendedLocation = default)
{
tags ??= new ChangeTrackingDictionary();
@@ -833,7 +833,7 @@ public static DeviceRegistryNamespaceDeviceData DeviceRegistryNamespaceDeviceDat
tags,
location,
properties,
- etag,
+ eTag,
extendedLocation);
}
@@ -1293,7 +1293,6 @@ public static DeviceRegistryNamespaceDiscoveredDeviceProperties DeviceRegistryNa
/// Set of endpoints to connect to the device.
/// Endpoints the device can connect to.
- /// is null.
/// A new instance for mocking.
public static DiscoveredMessagingEndpoints DiscoveredMessagingEndpoints(IDictionary inbound = default, IDictionary outboundAssigned = default)
{
diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistryNamespaceDeviceData.Serialization.cs b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistryNamespaceDeviceData.Serialization.cs
index 64c73540f76e..10ba56f3d047 100644
--- a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistryNamespaceDeviceData.Serialization.cs
+++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistryNamespaceDeviceData.Serialization.cs
@@ -49,10 +49,10 @@ protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWri
writer.WritePropertyName("properties"u8);
writer.WriteObjectValue(Properties, options);
}
- if (options.Format != "W" && Optional.IsDefined(Etag))
+ if (options.Format != "W" && Optional.IsDefined(ETag))
{
writer.WritePropertyName("etag"u8);
- writer.WriteStringValue(Etag);
+ writer.WriteStringValue(ETag);
}
if (Optional.IsDefined(ExtendedLocation))
{
@@ -94,7 +94,7 @@ internal static DeviceRegistryNamespaceDeviceData DeserializeDeviceRegistryNames
IDictionary tags = default;
AzureLocation location = default;
DeviceRegistryNamespaceDeviceProperties properties = default;
- string etag = default;
+ string eTag = default;
DeviceRegistryExtendedLocation extendedLocation = default;
foreach (var prop in element.EnumerateObject())
{
@@ -167,7 +167,7 @@ internal static DeviceRegistryNamespaceDeviceData DeserializeDeviceRegistryNames
}
if (prop.NameEquals("etag"u8))
{
- etag = prop.Value.GetString();
+ eTag = prop.Value.GetString();
continue;
}
if (prop.NameEquals("extendedLocation"u8))
@@ -193,7 +193,7 @@ internal static DeviceRegistryNamespaceDeviceData DeserializeDeviceRegistryNames
tags ?? new ChangeTrackingDictionary(),
location,
properties,
- etag,
+ eTag,
extendedLocation);
}
diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistryNamespaceDeviceData.cs b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistryNamespaceDeviceData.cs
index 331c49a2f7a2..b4f66157a1ee 100644
--- a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistryNamespaceDeviceData.cs
+++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistryNamespaceDeviceData.cs
@@ -34,13 +34,13 @@ public DeviceRegistryNamespaceDeviceData(AzureLocation location) : base(location
/// Resource tags.
/// The geo-location where the resource lives.
/// The resource-specific properties for this resource.
- /// Resource Tag.
+ /// Resource Tag.
/// The extended location.
- internal DeviceRegistryNamespaceDeviceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary additionalBinaryDataProperties, IDictionary tags, AzureLocation location, DeviceRegistryNamespaceDeviceProperties properties, string etag, DeviceRegistryExtendedLocation extendedLocation) : base(id, name, resourceType, systemData, tags, location)
+ internal DeviceRegistryNamespaceDeviceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary additionalBinaryDataProperties, IDictionary tags, AzureLocation location, DeviceRegistryNamespaceDeviceProperties properties, string eTag, DeviceRegistryExtendedLocation extendedLocation) : base(id, name, resourceType, systemData, tags, location)
{
_additionalBinaryDataProperties = additionalBinaryDataProperties;
Properties = properties;
- Etag = etag;
+ ETag = eTag;
ExtendedLocation = extendedLocation;
}
@@ -48,7 +48,7 @@ internal DeviceRegistryNamespaceDeviceData(ResourceIdentifier id, string name, R
public DeviceRegistryNamespaceDeviceProperties Properties { get; set; }
/// Resource Tag.
- public string Etag { get; }
+ public string ETag { get; }
/// The extended location.
public DeviceRegistryExtendedLocation ExtendedLocation { get; set; }
diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistrySchemaResource.cs b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistrySchemaResource.cs
index 22bd176de52a..c563ac3d1323 100644
--- a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistrySchemaResource.cs
+++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistrySchemaResource.cs
@@ -205,6 +205,70 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
}
}
+ /// Update a DeviceRegistrySchema.
+ /// Resource create parameters.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual async Task> UpdateAsync(DeviceRegistrySchemaData data, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(data, nameof(data));
+
+ using DiagnosticScope scope = _schemasClientDiagnostics.CreateScope("DeviceRegistrySchemaResource.Update");
+ scope.Start();
+ try
+ {
+ RequestContext context = new RequestContext
+ {
+ CancellationToken = cancellationToken
+ };
+ HttpMessage message = _schemasRestClient.CreateCreateOrReplaceRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Name, Id.Name, DeviceRegistrySchemaData.ToRequestContent(data), context);
+ Response result = await Pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ Response response = Response.FromValue(DeviceRegistrySchemaData.FromResponse(result), result);
+ if (response.Value == null)
+ {
+ throw new RequestFailedException(response.GetRawResponse());
+ }
+ return Response.FromValue(new DeviceRegistrySchemaResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Update a DeviceRegistrySchema.
+ /// Resource create parameters.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual Response Update(DeviceRegistrySchemaData data, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(data, nameof(data));
+
+ using DiagnosticScope scope = _schemasClientDiagnostics.CreateScope("DeviceRegistrySchemaResource.Update");
+ scope.Start();
+ try
+ {
+ RequestContext context = new RequestContext
+ {
+ CancellationToken = cancellationToken
+ };
+ HttpMessage message = _schemasRestClient.CreateCreateOrReplaceRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Name, Id.Name, DeviceRegistrySchemaData.ToRequestContent(data), context);
+ Response result = Pipeline.ProcessMessage(message, context);
+ Response response = Response.FromValue(DeviceRegistrySchemaData.FromResponse(result), result);
+ if (response.Value == null)
+ {
+ throw new RequestFailedException(response.GetRawResponse());
+ }
+ return Response.FromValue(new DeviceRegistrySchemaResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
/// Gets a collection of DeviceRegistrySchemaVersions in the .
/// An object representing collection of DeviceRegistrySchemaVersions and their operations over a DeviceRegistrySchemaVersionResource.
public virtual DeviceRegistrySchemaVersionCollection GetDeviceRegistrySchemaVersions()
diff --git a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistrySchemaVersionResource.cs b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistrySchemaVersionResource.cs
index ef6835b8765b..346ae8e793b1 100644
--- a/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistrySchemaVersionResource.cs
+++ b/sdk/deviceregistry/Azure.ResourceManager.DeviceRegistry/src/Generated/DeviceRegistrySchemaVersionResource.cs
@@ -205,5 +205,69 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel
throw;
}
}
+
+ /// Update a DeviceRegistrySchemaVersion.
+ /// Resource create parameters.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual async Task> UpdateAsync(DeviceRegistrySchemaVersionData data, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(data, nameof(data));
+
+ using DiagnosticScope scope = _schemaVersionsClientDiagnostics.CreateScope("DeviceRegistrySchemaVersionResource.Update");
+ scope.Start();
+ try
+ {
+ RequestContext context = new RequestContext
+ {
+ CancellationToken = cancellationToken
+ };
+ HttpMessage message = _schemaVersionsRestClient.CreateCreateOrReplaceRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, DeviceRegistrySchemaVersionData.ToRequestContent(data), context);
+ Response result = await Pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ Response response = Response.FromValue(DeviceRegistrySchemaVersionData.FromResponse(result), result);
+ if (response.Value == null)
+ {
+ throw new RequestFailedException(response.GetRawResponse());
+ }
+ return Response.FromValue(new DeviceRegistrySchemaVersionResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Update a DeviceRegistrySchemaVersion.
+ /// Resource create parameters.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual Response Update(DeviceRegistrySchemaVersionData data, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(data, nameof(data));
+
+ using DiagnosticScope scope = _schemaVersionsClientDiagnostics.CreateScope("DeviceRegistrySchemaVersionResource.Update");
+ scope.Start();
+ try
+ {
+ RequestContext context = new RequestContext
+ {
+ CancellationToken = cancellationToken
+ };
+ HttpMessage message = _schemaVersionsRestClient.CreateCreateOrReplaceRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Parent.Name, Id.Parent.Name, Id.Name, DeviceRegistrySchemaVersionData.ToRequestContent(data), context);
+ Response result = Pipeline.ProcessMessage(message, context);
+ Response response = Response.FromValue(DeviceRegistrySchemaVersionData.FromResponse(result), result);
+ if (response.Value == null)
+ {
+ throw new RequestFailedException(response.GetRawResponse());
+ }
+ return Response.FromValue(new DeviceRegistrySchemaVersionResource(Client, response.Value), response.GetRawResponse());
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
}
}
diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/ArmInformaticaDataManagementModelFactory.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/ArmInformaticaDataManagementModelFactory.cs
index affc0c7f8788..33f207bc0a8a 100644
--- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/ArmInformaticaDataManagementModelFactory.cs
+++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/ArmInformaticaDataManagementModelFactory.cs
@@ -266,7 +266,6 @@ public static InformaticaServerlessRuntimeData InformaticaServerlessRuntimeData(
/// Serverless config properties.
/// Serverless Runtime Tags.
/// User context token for OBO flow.
- /// or is null.
/// A new instance for mocking.
public static InformaticaServerlessRuntimeProperties InformaticaServerlessRuntimeProperties(InformaticaProvisioningState? provisioningState = default, string description = default, InformaticaPlatformType? platform = default, InformaticaApplicationType? applicationType = default, string computeUnits = default, string executionTimeout = default, string serverlessAccountLocation = default, InformaticaNetworkInterfaceConfiguration networkInterfaceConfiguration = default, IEnumerable advancedCustomProperties = default, string supplementaryFileLocation = default, ServerlessRuntimeConfigProperties serverlessRuntimeConfig = default, IEnumerable serverlessRuntimeTags = default, string userContextToken = default)
{
@@ -302,7 +301,6 @@ public static InformaticaServerlessRuntimeProperties InformaticaServerlessRuntim
/// Serverless config properties.
/// Serverless Runtime Tags.
/// User context token for OBO flow.
- /// is null.
/// A new instance for mocking.
public static ServerlessRuntimePropertiesUpdate ServerlessRuntimePropertiesUpdate(string description = default, InformaticaPlatformType? platform = default, InformaticaApplicationType? applicationType = default, string computeUnits = default, string executionTimeout = default, string serverlessAccountLocation = default, InformaticaNetworkInterfaceConfigurationUpdate networkInterfaceConfiguration = default, IEnumerable advancedCustomProperties = default, string supplementaryFileLocation = default, ServerlessRuntimeConfigPropertiesUpdate serverlessRuntimeConfig = default, IEnumerable serverlessRuntimeTags = default, string userContextToken = default)
{
diff --git a/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/ArmPineconeVectorDBModelFactory.cs b/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/ArmPineconeVectorDBModelFactory.cs
index 321205c772f4..9e803cb85cb0 100644
--- a/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/ArmPineconeVectorDBModelFactory.cs
+++ b/sdk/pineconevectordb/Azure.ResourceManager.PineconeVectorDB/src/Generated/ArmPineconeVectorDBModelFactory.cs
@@ -49,7 +49,6 @@ public static PineconeVectorDBOrganizationData PineconeVectorDBOrganizationData(
/// Provisioning state of the resource.
/// Pinecone Organization Name.
/// Single sign-on properties.
- /// is null.
/// A new instance for mocking.
public static PineconeVectorDBOrganizationProperties PineconeVectorDBOrganizationProperties(PineconeVectorDBMarketplaceDetails marketplace = default, PineconeVectorDBUserDetails user = default, PineconeVectorDBProvisioningState? provisioningState = default, string partnerDisplayName = default, PineconeVectorDBSingleSignOnPropertiesV2 singleSignOnProperties = default)
{
diff --git a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/ArmTrustedSigningModelFactory.cs b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/ArmTrustedSigningModelFactory.cs
index de0b62eadf63..5190b4134faf 100644
--- a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/ArmTrustedSigningModelFactory.cs
+++ b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/ArmTrustedSigningModelFactory.cs
@@ -86,7 +86,6 @@ public static TrustedSigningAccountNameAvailabilityResult TrustedSigningAccountN
/// Status of the current operation on certificate profile.
/// Status of the certificate profile.
/// List of renewed certificates.
- /// is null.
/// A new instance for mocking.
public static TrustedSigningCertificateProfileData TrustedSigningCertificateProfileData(ResourceIdentifier id = default, string name = default, ResourceType resourceType = default, SystemData systemData = default, CertificateProfileType? profileType = default, bool? includeStreetAddress = default, bool? includeCity = default, bool? includeState = default, bool? includeCountry = default, bool? includePostalCode = default, string identityValidationId = default, TrustedSigningProvisioningState? provisioningState = default, CertificateProfileStatus? status = default, IReadOnlyList certificates = default)
{
diff --git a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/TrustedSigningCertificateProfileResource.cs b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/TrustedSigningCertificateProfileResource.cs
index 78e0b64e6e08..227a2620e916 100644
--- a/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/TrustedSigningCertificateProfileResource.cs
+++ b/sdk/trustedsigning/Azure.ResourceManager.TrustedSigning/src/Generated/TrustedSigningCertificateProfileResource.cs
@@ -259,5 +259,83 @@ public virtual Response RevokeCertificate(RevokeCertificateContent content, Canc
throw;
}
}
+
+ /// Update a TrustedSigningCertificateProfile.
+ /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
+ /// Parameters to create the certificate profile.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual async Task> UpdateAsync(WaitUntil waitUntil, TrustedSigningCertificateProfileData data, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(data, nameof(data));
+
+ using DiagnosticScope scope = _certificateProfilesClientDiagnostics.CreateScope("TrustedSigningCertificateProfileResource.Update");
+ scope.Start();
+ try
+ {
+ RequestContext context = new RequestContext
+ {
+ CancellationToken = cancellationToken
+ };
+ HttpMessage message = _certificateProfilesRestClient.CreateCreateRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Name, Id.Name, TrustedSigningCertificateProfileData.ToRequestContent(data), context);
+ Response response = await Pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ TrustedSigningArmOperation operation = new TrustedSigningArmOperation(
+ new TrustedSigningCertificateProfileOperationSource(Client),
+ _certificateProfilesClientDiagnostics,
+ Pipeline,
+ message.Request,
+ response,
+ OperationFinalStateVia.AzureAsyncOperation);
+ if (waitUntil == WaitUntil.Completed)
+ {
+ await operation.WaitForCompletionAsync(cancellationToken).ConfigureAwait(false);
+ }
+ return operation;
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Update a TrustedSigningCertificateProfile.
+ /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
+ /// Parameters to create the certificate profile.
+ /// The cancellation token to use.
+ /// is null.
+ public virtual ArmOperation Update(WaitUntil waitUntil, TrustedSigningCertificateProfileData data, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNull(data, nameof(data));
+
+ using DiagnosticScope scope = _certificateProfilesClientDiagnostics.CreateScope("TrustedSigningCertificateProfileResource.Update");
+ scope.Start();
+ try
+ {
+ RequestContext context = new RequestContext
+ {
+ CancellationToken = cancellationToken
+ };
+ HttpMessage message = _certificateProfilesRestClient.CreateCreateRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Name, Id.Name, TrustedSigningCertificateProfileData.ToRequestContent(data), context);
+ Response response = Pipeline.ProcessMessage(message, context);
+ TrustedSigningArmOperation operation = new TrustedSigningArmOperation(
+ new TrustedSigningCertificateProfileOperationSource(Client),
+ _certificateProfilesClientDiagnostics,
+ Pipeline,
+ message.Request,
+ response,
+ OperationFinalStateVia.AzureAsyncOperation);
+ if (waitUntil == WaitUntil.Completed)
+ {
+ operation.WaitForCompletion(cancellationToken);
+ }
+ return operation;
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
}
}