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 e66b286064bb..b1178e5aae0d 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.20251009.1" + "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20251009.2" }, "devDependencies": { "@azure-tools/typespec-azure-core": "0.60.0", @@ -114,9 +114,9 @@ } }, "node_modules/@azure-typespec/http-client-csharp-mgmt": { - "version": "1.0.0-alpha.20251009.1", - "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp-mgmt/-/http-client-csharp-mgmt-1.0.0-alpha.20251009.1.tgz", - "integrity": "sha512-Rpmq5gXldKYG1UHlSqCju23Xf6l2K2y+TRehTJgBoBOOm1746YLnuaaCbHrsNEknmL7rXFfAhIzGR6jzVD1DXQ==", + "version": "1.0.0-alpha.20251009.2", + "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp-mgmt/-/http-client-csharp-mgmt-1.0.0-alpha.20251009.2.tgz", + "integrity": "sha512-YQ582KFXF3cR3+r3dVE8M0umvWRnWIi30QmPCxTAYSGbYjiGO59nmkV/gYjoSrVUXXMGU0fayCrI9Kp3BBqvVQ==", "license": "MIT", "dependencies": { "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250929.3" 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 5ec99d0da8a1..f3d24cca7a55 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.20251009.1" + "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20251009.2" }, "devDependencies": { "@azure-tools/typespec-azure-core": "0.60.0", diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/api/Azure.ResourceManager.InformaticaDataManagement.net8.0.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/api/Azure.ResourceManager.InformaticaDataManagement.net8.0.cs index 813ed6175ebf..024c7170d6b4 100644 --- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/api/Azure.ResourceManager.InformaticaDataManagement.net8.0.cs +++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/api/Azure.ResourceManager.InformaticaDataManagement.net8.0.cs @@ -62,6 +62,8 @@ protected InformaticaOrganizationResource() { } public virtual Azure.Response GetAllServerlessRuntimes(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAllServerlessRuntimesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetInformaticaServerlessRuntime(string serverlessRuntimeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetInformaticaServerlessRuntimeAsync(string serverlessRuntimeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.InformaticaDataManagement.InformaticaServerlessRuntimeCollection GetInformaticaServerlessRuntimes() { throw null; } public virtual Azure.Response GetServerlessMetadata(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetServerlessMetadataAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/api/Azure.ResourceManager.InformaticaDataManagement.netstandard2.0.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/api/Azure.ResourceManager.InformaticaDataManagement.netstandard2.0.cs index 813ed6175ebf..024c7170d6b4 100644 --- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/api/Azure.ResourceManager.InformaticaDataManagement.netstandard2.0.cs +++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/api/Azure.ResourceManager.InformaticaDataManagement.netstandard2.0.cs @@ -62,6 +62,8 @@ protected InformaticaOrganizationResource() { } public virtual Azure.Response GetAllServerlessRuntimes(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAllServerlessRuntimesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetInformaticaServerlessRuntime(string serverlessRuntimeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetInformaticaServerlessRuntimeAsync(string serverlessRuntimeName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.InformaticaDataManagement.InformaticaServerlessRuntimeCollection GetInformaticaServerlessRuntimes() { throw null; } public virtual Azure.Response GetServerlessMetadata(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetServerlessMetadataAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } diff --git a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/InformaticaOrganizationResource.cs b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/InformaticaOrganizationResource.cs index 92bb8af9c88a..6044500fea35 100644 --- a/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/InformaticaOrganizationResource.cs +++ b/sdk/informaticadatamanagement/Azure.ResourceManager.InformaticaDataManagement/src/Generated/InformaticaOrganizationResource.cs @@ -663,5 +663,31 @@ public virtual InformaticaServerlessRuntimeCollection GetInformaticaServerlessRu { return GetCachedClient(client => new InformaticaServerlessRuntimeCollection(client, Id)); } + + /// Get a InformaticaServerlessRuntimeResource. + /// Name of the Serverless Runtime resource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual async Task> GetInformaticaServerlessRuntimeAsync(string serverlessRuntimeName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(serverlessRuntimeName, nameof(serverlessRuntimeName)); + + return await GetInformaticaServerlessRuntimes().GetAsync(serverlessRuntimeName, cancellationToken).ConfigureAwait(false); + } + + /// Get a InformaticaServerlessRuntimeResource. + /// Name of the Serverless Runtime resource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual Response GetInformaticaServerlessRuntime(string serverlessRuntimeName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(serverlessRuntimeName, nameof(serverlessRuntimeName)); + + return GetInformaticaServerlessRuntimes().Get(serverlessRuntimeName, cancellationToken); + } } }