diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportCollection.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportCollection.cs
deleted file mode 100644
index d915be9e1dbf..000000000000
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportCollection.cs
+++ /dev/null
@@ -1,149 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Threading.Tasks;
-using Azure.Core;
-using Azure.Identity;
-using Azure.ResourceManager.AppComplianceAutomation.Models;
-
-namespace Azure.ResourceManager.AppComplianceAutomation.Samples
-{
- public partial class Sample_AppComplianceReportCollection
- {
- // Report_List
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetAll_ReportList()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_List.json
- // this example is just showing the usage of "Report_List" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this TenantResource created on azure
- // for more information of creating TenantResource, please refer to the document of TenantResource
- var tenantResource = client.GetTenants().GetAllAsync().GetAsyncEnumerator().Current;
-
- // get the collection of this AppComplianceReportResource
- AppComplianceReportCollection collection = tenantResource.GetAppComplianceReports();
-
- // invoke the operation and iterate over the result
- AppComplianceReportCollectionGetAllOptions options = new AppComplianceReportCollectionGetAllOptions() { SkipToken = "1", Top = 100, OfferGuid = "00000000-0000-0000-0000-000000000000", ReportCreatorTenantId = "00000000-0000-0000-0000-000000000000" };
- await foreach (AppComplianceReportResource item in collection.GetAllAsync(options))
- {
- // the variable item is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportData resourceData = item.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- Console.WriteLine($"Succeeded");
- }
-
- // Report_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Get_ReportGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json
- // this example is just showing the usage of "Report_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this TenantResource created on azure
- // for more information of creating TenantResource, please refer to the document of TenantResource
- var tenantResource = client.GetTenants().GetAllAsync().GetAsyncEnumerator().Current;
-
- // get the collection of this AppComplianceReportResource
- AppComplianceReportCollection collection = tenantResource.GetAppComplianceReports();
-
- // invoke the operation
- string reportName = "testReport";
- AppComplianceReportResource result = await collection.GetAsync(reportName);
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- // Report_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Exists_ReportGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json
- // this example is just showing the usage of "Report_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this TenantResource created on azure
- // for more information of creating TenantResource, please refer to the document of TenantResource
- var tenantResource = client.GetTenants().GetAllAsync().GetAsyncEnumerator().Current;
-
- // get the collection of this AppComplianceReportResource
- AppComplianceReportCollection collection = tenantResource.GetAppComplianceReports();
-
- // invoke the operation
- string reportName = "testReport";
- bool result = await collection.ExistsAsync(reportName);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Report_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetIfExists_ReportGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json
- // this example is just showing the usage of "Report_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this TenantResource created on azure
- // for more information of creating TenantResource, please refer to the document of TenantResource
- var tenantResource = client.GetTenants().GetAllAsync().GetAsyncEnumerator().Current;
-
- // get the collection of this AppComplianceReportResource
- AppComplianceReportCollection collection = tenantResource.GetAppComplianceReports();
-
- // invoke the operation
- string reportName = "testReport";
- NullableResponse response = await collection.GetIfExistsAsync(reportName);
- AppComplianceReportResource result = response.HasValue ? response.Value : null;
-
- if (result == null)
- {
- Console.WriteLine($"Succeeded with null as result");
- }
- else
- {
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
- }
- }
-}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceCollection.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceCollection.cs
deleted file mode 100644
index 83b49b938701..000000000000
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceCollection.cs
+++ /dev/null
@@ -1,157 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Threading.Tasks;
-using Azure.Core;
-using Azure.Identity;
-using Azure.ResourceManager.AppComplianceAutomation.Models;
-
-namespace Azure.ResourceManager.AppComplianceAutomation.Samples
-{
- public partial class Sample_AppComplianceReportEvidenceCollection
- {
- // Evidence_ListByReport
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetAll_EvidenceListByReport()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_ListByReport.json
- // this example is just showing the usage of "Evidence_ListByReport" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "reportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportEvidenceResource
- AppComplianceReportEvidenceCollection collection = appComplianceReport.GetAppComplianceReportEvidences();
-
- // invoke the operation and iterate over the result
- AppComplianceReportEvidenceCollectionGetAllOptions options = new AppComplianceReportEvidenceCollectionGetAllOptions() { };
- await foreach (AppComplianceReportEvidenceResource item in collection.GetAllAsync(options))
- {
- // the variable item is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportEvidenceData resourceData = item.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- Console.WriteLine($"Succeeded");
- }
-
- // Evidence_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Get_EvidenceGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json
- // this example is just showing the usage of "Evidence_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportEvidenceResource
- AppComplianceReportEvidenceCollection collection = appComplianceReport.GetAppComplianceReportEvidences();
-
- // invoke the operation
- string evidenceName = "evidence1";
- AppComplianceReportEvidenceResource result = await collection.GetAsync(evidenceName);
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportEvidenceData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- // Evidence_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Exists_EvidenceGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json
- // this example is just showing the usage of "Evidence_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportEvidenceResource
- AppComplianceReportEvidenceCollection collection = appComplianceReport.GetAppComplianceReportEvidences();
-
- // invoke the operation
- string evidenceName = "evidence1";
- bool result = await collection.ExistsAsync(evidenceName);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Evidence_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetIfExists_EvidenceGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json
- // this example is just showing the usage of "Evidence_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportEvidenceResource
- AppComplianceReportEvidenceCollection collection = appComplianceReport.GetAppComplianceReportEvidences();
-
- // invoke the operation
- string evidenceName = "evidence1";
- NullableResponse response = await collection.GetIfExistsAsync(evidenceName);
- AppComplianceReportEvidenceResource result = response.HasValue ? response.Value : null;
-
- if (result == null)
- {
- Console.WriteLine($"Succeeded with null as result");
- }
- else
- {
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportEvidenceData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
- }
- }
-}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceResource.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceResource.cs
deleted file mode 100644
index 5df00b4527f5..000000000000
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportEvidenceResource.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Threading.Tasks;
-using Azure.Core;
-using Azure.Identity;
-using Azure.ResourceManager.AppComplianceAutomation.Models;
-
-namespace Azure.ResourceManager.AppComplianceAutomation.Samples
-{
- public partial class Sample_AppComplianceReportEvidenceResource
- {
- // Evidence_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Get_EvidenceGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Get.json
- // this example is just showing the usage of "Evidence_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportEvidenceResource created on azure
- // for more information of creating AppComplianceReportEvidenceResource, please refer to the document of AppComplianceReportEvidenceResource
- string reportName = "testReportName";
- string evidenceName = "evidence1";
- ResourceIdentifier appComplianceReportEvidenceResourceId = AppComplianceReportEvidenceResource.CreateResourceIdentifier(reportName, evidenceName);
- AppComplianceReportEvidenceResource appComplianceReportEvidence = client.GetAppComplianceReportEvidenceResource(appComplianceReportEvidenceResourceId);
-
- // invoke the operation
- AppComplianceReportEvidenceResource result = await appComplianceReportEvidence.GetAsync();
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportEvidenceData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- // Evidence_Delete
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Delete_EvidenceDelete()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Delete.json
- // this example is just showing the usage of "Evidence_Delete" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportEvidenceResource created on azure
- // for more information of creating AppComplianceReportEvidenceResource, please refer to the document of AppComplianceReportEvidenceResource
- string reportName = "testReportName";
- string evidenceName = "evidence1";
- ResourceIdentifier appComplianceReportEvidenceResourceId = AppComplianceReportEvidenceResource.CreateResourceIdentifier(reportName, evidenceName);
- AppComplianceReportEvidenceResource appComplianceReportEvidence = client.GetAppComplianceReportEvidenceResource(appComplianceReportEvidenceResourceId);
-
- // invoke the operation
- await appComplianceReportEvidence.DeleteAsync(WaitUntil.Completed);
-
- Console.WriteLine($"Succeeded");
- }
-
- // Evidence_Download
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Download_EvidenceDownload()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Evidence_Download.json
- // this example is just showing the usage of "Evidence_Download" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportEvidenceResource created on azure
- // for more information of creating AppComplianceReportEvidenceResource, please refer to the document of AppComplianceReportEvidenceResource
- string reportName = "testReportName";
- string evidenceName = "evidence1";
- ResourceIdentifier appComplianceReportEvidenceResourceId = AppComplianceReportEvidenceResource.CreateResourceIdentifier(reportName, evidenceName);
- AppComplianceReportEvidenceResource appComplianceReportEvidence = client.GetAppComplianceReportEvidenceResource(appComplianceReportEvidenceResourceId);
-
- // invoke the operation
- EvidenceFileDownloadRequestContent content = new EvidenceFileDownloadRequestContent();
- EvidenceFileDownloadResult result = await appComplianceReportEvidence.DownloadAsync(content);
-
- Console.WriteLine($"Succeeded: {result}");
- }
- }
-}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportResource.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportResource.cs
deleted file mode 100644
index 1e17861dd07c..000000000000
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportResource.cs
+++ /dev/null
@@ -1,258 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Threading.Tasks;
-using Azure.Core;
-using Azure.Identity;
-using Azure.ResourceManager.AppComplianceAutomation.Models;
-
-namespace Azure.ResourceManager.AppComplianceAutomation.Samples
-{
- public partial class Sample_AppComplianceReportResource
- {
- // Report_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Get_ReportGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Get.json
- // this example is just showing the usage of "Report_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReport";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // invoke the operation
- AppComplianceReportResource result = await appComplianceReport.GetAsync();
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- // Report_Update
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Update_ReportUpdate()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Update.json
- // this example is just showing the usage of "Report_Update" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // invoke the operation
- AppComplianceReportPatch patch = new AppComplianceReportPatch();
- ArmOperation lro = await appComplianceReport.UpdateAsync(WaitUntil.Completed, patch);
- AppComplianceReportResource result = lro.Value;
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- // Report_Delete
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Delete_ReportDelete()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Delete.json
- // this example is just showing the usage of "Report_Delete" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // invoke the operation
- await appComplianceReport.DeleteAsync(WaitUntil.Completed);
-
- Console.WriteLine($"Succeeded");
- }
-
- // Report_EvidenceCheckNameAvailability
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task CheckAppComplianceReportNestedResourceNameAvailability_ReportEvidenceCheckNameAvailability()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Evidence_Check_Name_Availability.json
- // this example is just showing the usage of "Report_NestedResourceCheckNameAvailability" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "reportABC";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // invoke the operation
- AppComplianceReportNameAvailabilityContent content = new AppComplianceReportNameAvailabilityContent();
- AppComplianceReportNameAvailabilityResult result = await appComplianceReport.CheckAppComplianceReportNestedResourceNameAvailabilityAsync(content);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Report_SnapshotCheckNameAvailability
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task CheckAppComplianceReportNestedResourceNameAvailability_ReportSnapshotCheckNameAvailability()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Snapshot_Check_Name_Availability.json
- // this example is just showing the usage of "Report_NestedResourceCheckNameAvailability" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "reportABC";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // invoke the operation
- AppComplianceReportNameAvailabilityContent content = new AppComplianceReportNameAvailabilityContent();
- AppComplianceReportNameAvailabilityResult result = await appComplianceReport.CheckAppComplianceReportNestedResourceNameAvailabilityAsync(content);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Report_WebhookCheckNameAvailability
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task CheckAppComplianceReportNestedResourceNameAvailability_ReportWebhookCheckNameAvailability()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_NestedResourceCheckNameAvailability_Report_Webhook_Check_Name_Availability.json
- // this example is just showing the usage of "Report_NestedResourceCheckNameAvailability" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "reportABC";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // invoke the operation
- AppComplianceReportNameAvailabilityContent content = new AppComplianceReportNameAvailabilityContent();
- AppComplianceReportNameAvailabilityResult result = await appComplianceReport.CheckAppComplianceReportNestedResourceNameAvailabilityAsync(content);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Report_Fix
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Fix_ReportFix()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Fix.json
- // this example is just showing the usage of "Report_Fix" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReport";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // invoke the operation
- ArmOperation lro = await appComplianceReport.FixAsync(WaitUntil.Completed);
- ReportFixResult result = lro.Value;
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Report_GetScopingQuestions
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetScopingQuestions_ReportGetScopingQuestions()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetScopingQuestions.json
- // this example is just showing the usage of "Report_GetScopingQuestions" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // invoke the operation
- ScopingQuestions result = await appComplianceReport.GetScopingQuestionsAsync();
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Report_Verify
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Verify_ReportVerify()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_Verify.json
- // this example is just showing the usage of "Report_Verify" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReport";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // invoke the operation
- ArmOperation lro = await appComplianceReport.VerifyAsync(WaitUntil.Completed);
- ReportVerificationResult result = lro.Value;
-
- Console.WriteLine($"Succeeded: {result}");
- }
- }
-}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationCollection.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationCollection.cs
deleted file mode 100644
index 7bf82fde837f..000000000000
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationCollection.cs
+++ /dev/null
@@ -1,155 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Threading.Tasks;
-using Azure.Core;
-using Azure.Identity;
-
-namespace Azure.ResourceManager.AppComplianceAutomation.Samples
-{
- public partial class Sample_AppComplianceReportScopingConfigurationCollection
- {
- // ScopingConfiguration_List
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetAll_ScopingConfigurationList()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_List.json
- // this example is just showing the usage of "ScopingConfiguration_List" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportScopingConfigurationResource
- AppComplianceReportScopingConfigurationCollection collection = appComplianceReport.GetAppComplianceReportScopingConfigurations();
-
- // invoke the operation and iterate over the result
- await foreach (AppComplianceReportScopingConfigurationResource item in collection.GetAllAsync())
- {
- // the variable item is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportScopingConfigurationData resourceData = item.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- Console.WriteLine($"Succeeded");
- }
-
- // ScopingConfiguration
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Get_ScopingConfiguration()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json
- // this example is just showing the usage of "ScopingConfiguration_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportScopingConfigurationResource
- AppComplianceReportScopingConfigurationCollection collection = appComplianceReport.GetAppComplianceReportScopingConfigurations();
-
- // invoke the operation
- string scopingConfigurationName = "default";
- AppComplianceReportScopingConfigurationResource result = await collection.GetAsync(scopingConfigurationName);
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportScopingConfigurationData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- // ScopingConfiguration
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Exists_ScopingConfiguration()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json
- // this example is just showing the usage of "ScopingConfiguration_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportScopingConfigurationResource
- AppComplianceReportScopingConfigurationCollection collection = appComplianceReport.GetAppComplianceReportScopingConfigurations();
-
- // invoke the operation
- string scopingConfigurationName = "default";
- bool result = await collection.ExistsAsync(scopingConfigurationName);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // ScopingConfiguration
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetIfExists_ScopingConfiguration()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json
- // this example is just showing the usage of "ScopingConfiguration_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportScopingConfigurationResource
- AppComplianceReportScopingConfigurationCollection collection = appComplianceReport.GetAppComplianceReportScopingConfigurations();
-
- // invoke the operation
- string scopingConfigurationName = "default";
- NullableResponse response = await collection.GetIfExistsAsync(scopingConfigurationName);
- AppComplianceReportScopingConfigurationResource result = response.HasValue ? response.Value : null;
-
- if (result == null)
- {
- Console.WriteLine($"Succeeded with null as result");
- }
- else
- {
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportScopingConfigurationData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
- }
- }
-}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationResource.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationResource.cs
deleted file mode 100644
index 976405aed30f..000000000000
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportScopingConfigurationResource.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Threading.Tasks;
-using Azure.Core;
-using Azure.Identity;
-
-namespace Azure.ResourceManager.AppComplianceAutomation.Samples
-{
- public partial class Sample_AppComplianceReportScopingConfigurationResource
- {
- // ScopingConfiguration
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Get_ScopingConfiguration()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Get.json
- // this example is just showing the usage of "ScopingConfiguration_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportScopingConfigurationResource created on azure
- // for more information of creating AppComplianceReportScopingConfigurationResource, please refer to the document of AppComplianceReportScopingConfigurationResource
- string reportName = "testReportName";
- string scopingConfigurationName = "default";
- ResourceIdentifier appComplianceReportScopingConfigurationResourceId = AppComplianceReportScopingConfigurationResource.CreateResourceIdentifier(reportName, scopingConfigurationName);
- AppComplianceReportScopingConfigurationResource appComplianceReportScopingConfiguration = client.GetAppComplianceReportScopingConfigurationResource(appComplianceReportScopingConfigurationResourceId);
-
- // invoke the operation
- AppComplianceReportScopingConfigurationResource result = await appComplianceReportScopingConfiguration.GetAsync();
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportScopingConfigurationData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- // ScopingConfiguration_Delete
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Delete_ScopingConfigurationDelete()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ScopingConfiguration_Delete.json
- // this example is just showing the usage of "ScopingConfiguration_Delete" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportScopingConfigurationResource created on azure
- // for more information of creating AppComplianceReportScopingConfigurationResource, please refer to the document of AppComplianceReportScopingConfigurationResource
- string reportName = "testReportName";
- string scopingConfigurationName = "default";
- ResourceIdentifier appComplianceReportScopingConfigurationResourceId = AppComplianceReportScopingConfigurationResource.CreateResourceIdentifier(reportName, scopingConfigurationName);
- AppComplianceReportScopingConfigurationResource appComplianceReportScopingConfiguration = client.GetAppComplianceReportScopingConfigurationResource(appComplianceReportScopingConfigurationResourceId);
-
- // invoke the operation
- await appComplianceReportScopingConfiguration.DeleteAsync(WaitUntil.Completed);
-
- Console.WriteLine($"Succeeded");
- }
- }
-}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotCollection.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotCollection.cs
deleted file mode 100644
index aab5cc68c0ad..000000000000
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotCollection.cs
+++ /dev/null
@@ -1,157 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Threading.Tasks;
-using Azure.Core;
-using Azure.Identity;
-using Azure.ResourceManager.AppComplianceAutomation.Models;
-
-namespace Azure.ResourceManager.AppComplianceAutomation.Samples
-{
- public partial class Sample_AppComplianceReportSnapshotCollection
- {
- // Snapshot_List
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetAll_SnapshotList()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_List.json
- // this example is just showing the usage of "Snapshot_List" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportSnapshotResource
- AppComplianceReportSnapshotCollection collection = appComplianceReport.GetAppComplianceReportSnapshots();
-
- // invoke the operation and iterate over the result
- AppComplianceReportSnapshotCollectionGetAllOptions options = new AppComplianceReportSnapshotCollectionGetAllOptions() { SkipToken = "1", Top = 100, OfferGuid = "00000000-0000-0000-0000-000000000001", ReportCreatorTenantId = "00000000-0000-0000-0000-000000000000" };
- await foreach (AppComplianceReportSnapshotResource item in collection.GetAllAsync(options))
- {
- // the variable item is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportSnapshotData resourceData = item.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- Console.WriteLine($"Succeeded");
- }
-
- // Snapshot_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Get_SnapshotGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json
- // this example is just showing the usage of "Snapshot_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportSnapshotResource
- AppComplianceReportSnapshotCollection collection = appComplianceReport.GetAppComplianceReportSnapshots();
-
- // invoke the operation
- string snapshotName = "testSnapshot";
- AppComplianceReportSnapshotResource result = await collection.GetAsync(snapshotName);
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportSnapshotData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- // Snapshot_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Exists_SnapshotGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json
- // this example is just showing the usage of "Snapshot_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportSnapshotResource
- AppComplianceReportSnapshotCollection collection = appComplianceReport.GetAppComplianceReportSnapshots();
-
- // invoke the operation
- string snapshotName = "testSnapshot";
- bool result = await collection.ExistsAsync(snapshotName);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Snapshot_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetIfExists_SnapshotGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json
- // this example is just showing the usage of "Snapshot_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportSnapshotResource
- AppComplianceReportSnapshotCollection collection = appComplianceReport.GetAppComplianceReportSnapshots();
-
- // invoke the operation
- string snapshotName = "testSnapshot";
- NullableResponse response = await collection.GetIfExistsAsync(snapshotName);
- AppComplianceReportSnapshotResource result = response.HasValue ? response.Value : null;
-
- if (result == null)
- {
- Console.WriteLine($"Succeeded with null as result");
- }
- else
- {
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportSnapshotData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
- }
- }
-}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotResource.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotResource.cs
deleted file mode 100644
index eb18c8130ed7..000000000000
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportSnapshotResource.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Threading.Tasks;
-using Azure.Core;
-using Azure.Identity;
-
-namespace Azure.ResourceManager.AppComplianceAutomation.Samples
-{
- public partial class Sample_AppComplianceReportSnapshotResource
- {
- // Snapshot_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Get_SnapshotGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Snapshot_Get.json
- // this example is just showing the usage of "Snapshot_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportSnapshotResource created on azure
- // for more information of creating AppComplianceReportSnapshotResource, please refer to the document of AppComplianceReportSnapshotResource
- string reportName = "testReportName";
- string snapshotName = "testSnapshot";
- ResourceIdentifier appComplianceReportSnapshotResourceId = AppComplianceReportSnapshotResource.CreateResourceIdentifier(reportName, snapshotName);
- AppComplianceReportSnapshotResource appComplianceReportSnapshot = client.GetAppComplianceReportSnapshotResource(appComplianceReportSnapshotResourceId);
-
- // invoke the operation
- AppComplianceReportSnapshotResource result = await appComplianceReportSnapshot.GetAsync();
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportSnapshotData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
- }
-}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookCollection.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookCollection.cs
deleted file mode 100644
index 3c20de376b43..000000000000
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookCollection.cs
+++ /dev/null
@@ -1,157 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Threading.Tasks;
-using Azure.Core;
-using Azure.Identity;
-using Azure.ResourceManager.AppComplianceAutomation.Models;
-
-namespace Azure.ResourceManager.AppComplianceAutomation.Samples
-{
- public partial class Sample_AppComplianceReportWebhookCollection
- {
- // Webhook_List
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetAll_WebhookList()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_List.json
- // this example is just showing the usage of "Webhook_List" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportWebhookResource
- AppComplianceReportWebhookCollection collection = appComplianceReport.GetAppComplianceReportWebhooks();
-
- // invoke the operation and iterate over the result
- AppComplianceReportWebhookCollectionGetAllOptions options = new AppComplianceReportWebhookCollectionGetAllOptions() { SkipToken = "1", Top = 100 };
- await foreach (AppComplianceReportWebhookResource item in collection.GetAllAsync(options))
- {
- // the variable item is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportWebhookData resourceData = item.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- Console.WriteLine($"Succeeded");
- }
-
- // Webhook_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Get_WebhookGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json
- // this example is just showing the usage of "Webhook_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportWebhookResource
- AppComplianceReportWebhookCollection collection = appComplianceReport.GetAppComplianceReportWebhooks();
-
- // invoke the operation
- string webhookName = "testWebhookName";
- AppComplianceReportWebhookResource result = await collection.GetAsync(webhookName);
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportWebhookData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- // Webhook_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Exists_WebhookGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json
- // this example is just showing the usage of "Webhook_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportWebhookResource
- AppComplianceReportWebhookCollection collection = appComplianceReport.GetAppComplianceReportWebhooks();
-
- // invoke the operation
- string webhookName = "testWebhookName";
- bool result = await collection.ExistsAsync(webhookName);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Webhook_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetIfExists_WebhookGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json
- // this example is just showing the usage of "Webhook_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportResource created on azure
- // for more information of creating AppComplianceReportResource, please refer to the document of AppComplianceReportResource
- string reportName = "testReportName";
- ResourceIdentifier appComplianceReportResourceId = AppComplianceReportResource.CreateResourceIdentifier(reportName);
- AppComplianceReportResource appComplianceReport = client.GetAppComplianceReportResource(appComplianceReportResourceId);
-
- // get the collection of this AppComplianceReportWebhookResource
- AppComplianceReportWebhookCollection collection = appComplianceReport.GetAppComplianceReportWebhooks();
-
- // invoke the operation
- string webhookName = "testWebhookName";
- NullableResponse response = await collection.GetIfExistsAsync(webhookName);
- AppComplianceReportWebhookResource result = response.HasValue ? response.Value : null;
-
- if (result == null)
- {
- Console.WriteLine($"Succeeded with null as result");
- }
- else
- {
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportWebhookData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
- }
- }
-}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookResource.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookResource.cs
deleted file mode 100644
index deb744435a34..000000000000
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_AppComplianceReportWebhookResource.cs
+++ /dev/null
@@ -1,105 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Threading.Tasks;
-using Azure.Core;
-using Azure.Identity;
-using Azure.ResourceManager.AppComplianceAutomation.Models;
-
-namespace Azure.ResourceManager.AppComplianceAutomation.Samples
-{
- public partial class Sample_AppComplianceReportWebhookResource
- {
- // Webhook_Get
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Get_WebhookGet()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Get.json
- // this example is just showing the usage of "Webhook_Get" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportWebhookResource created on azure
- // for more information of creating AppComplianceReportWebhookResource, please refer to the document of AppComplianceReportWebhookResource
- string reportName = "testReportName";
- string webhookName = "testWebhookName";
- ResourceIdentifier appComplianceReportWebhookResourceId = AppComplianceReportWebhookResource.CreateResourceIdentifier(reportName, webhookName);
- AppComplianceReportWebhookResource appComplianceReportWebhook = client.GetAppComplianceReportWebhookResource(appComplianceReportWebhookResourceId);
-
- // invoke the operation
- AppComplianceReportWebhookResource result = await appComplianceReportWebhook.GetAsync();
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportWebhookData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- // Webhook_Update
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Update_WebhookUpdate()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Update.json
- // this example is just showing the usage of "Webhook_Update" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportWebhookResource created on azure
- // for more information of creating AppComplianceReportWebhookResource, please refer to the document of AppComplianceReportWebhookResource
- string reportName = "testReportName";
- string webhookName = "testWebhookName";
- ResourceIdentifier appComplianceReportWebhookResourceId = AppComplianceReportWebhookResource.CreateResourceIdentifier(reportName, webhookName);
- AppComplianceReportWebhookResource appComplianceReportWebhook = client.GetAppComplianceReportWebhookResource(appComplianceReportWebhookResourceId);
-
- // invoke the operation
- AppComplianceReportWebhookPatch patch = new AppComplianceReportWebhookPatch();
- AppComplianceReportWebhookResource result = await appComplianceReportWebhook.UpdateAsync(patch);
-
- // the variable result is a resource, you could call other operations on this instance as well
- // but just for demo, we get its data from this resource instance
- AppComplianceReportWebhookData resourceData = result.Data;
- // for demo we just print out the id
- Console.WriteLine($"Succeeded on id: {resourceData.Id}");
- }
-
- // Webhook_Delete
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task Delete_WebhookDelete()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Webhook_Delete.json
- // this example is just showing the usage of "Webhook_Delete" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this AppComplianceReportWebhookResource created on azure
- // for more information of creating AppComplianceReportWebhookResource, please refer to the document of AppComplianceReportWebhookResource
- string reportName = "testReportName";
- string webhookName = "testWebhookName";
- ResourceIdentifier appComplianceReportWebhookResourceId = AppComplianceReportWebhookResource.CreateResourceIdentifier(reportName, webhookName);
- AppComplianceReportWebhookResource appComplianceReportWebhook = client.GetAppComplianceReportWebhookResource(appComplianceReportWebhookResourceId);
-
- // invoke the operation
- await appComplianceReportWebhook.DeleteAsync(WaitUntil.Completed);
-
- Console.WriteLine($"Succeeded");
- }
- }
-}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_TenantResourceExtensions.cs b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_TenantResourceExtensions.cs
deleted file mode 100644
index 9f4eaaf2dbb6..000000000000
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/samples/Generated/Samples/Sample_TenantResourceExtensions.cs
+++ /dev/null
@@ -1,192 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License.
-
-//
-
-#nullable disable
-
-using System;
-using System.Threading.Tasks;
-using Azure.Core;
-using Azure.Identity;
-using Azure.ResourceManager.AppComplianceAutomation.Models;
-
-namespace Azure.ResourceManager.AppComplianceAutomation.Samples
-{
- public partial class Sample_TenantResourceExtensions
- {
- // Report_CheckNameAvailability
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task CheckAppComplianceReportNameAvailability_ReportCheckNameAvailability()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_CheckNameAvailability.json
- // this example is just showing the usage of "ProviderActions_CheckNameAvailability" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this TenantResource created on azure
- // for more information of creating TenantResource, please refer to the document of TenantResource
- var tenantResource = client.GetTenants().GetAllAsync().GetAsyncEnumerator().Current;
-
- // invoke the operation
- AppComplianceReportNameAvailabilityContent content = new AppComplianceReportNameAvailabilityContent();
- AppComplianceReportNameAvailabilityResult result = await tenantResource.CheckAppComplianceReportNameAvailabilityAsync(content);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Report_GetCollectionCount
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetCollectionCountProviderAction_ReportGetCollectionCount()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetCollectionCount.json
- // this example is just showing the usage of "ProviderActions_GetCollectionCount" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this TenantResource created on azure
- // for more information of creating TenantResource, please refer to the document of TenantResource
- var tenantResource = client.GetTenants().GetAllAsync().GetAsyncEnumerator().Current;
-
- // invoke the operation
- ReportCollectionGetCountContent content = new ReportCollectionGetCountContent();
- ReportCollectionGetCountResult result = await tenantResource.GetCollectionCountProviderActionAsync(content);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Report_GetOverviewStatus
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetOverviewStatusProviderAction_ReportGetOverviewStatus()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Report_GetOverviewStatus.json
- // this example is just showing the usage of "ProviderActions_GetOverviewStatus" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this TenantResource created on azure
- // for more information of creating TenantResource, please refer to the document of TenantResource
- var tenantResource = client.GetTenants().GetAllAsync().GetAsyncEnumerator().Current;
-
- // invoke the operation
- AppComplianceGetOverviewStatusContent content = new AppComplianceGetOverviewStatusContent();
- AppComplianceGetOverviewStatusResult result = await tenantResource.GetOverviewStatusProviderActionAsync(content);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // ListInUseStorageAccountsWithSubscriptions
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetInUseStorageAccountsProviderAction_ListInUseStorageAccountsWithSubscriptions()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithSubscriptions.json
- // this example is just showing the usage of "ProviderActions_ListInUseStorageAccounts" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this TenantResource created on azure
- // for more information of creating TenantResource, please refer to the document of TenantResource
- var tenantResource = client.GetTenants().GetAllAsync().GetAsyncEnumerator().Current;
-
- // invoke the operation
- ReportListInUseStorageAccountsContent content = new ReportListInUseStorageAccountsContent();
- ReportListInUseStorageAccountsResult result = await tenantResource.GetInUseStorageAccountsProviderActionAsync(content);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // ListInUseStorageAccountsWithoutSubscriptions
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task GetInUseStorageAccountsProviderAction_ListInUseStorageAccountsWithoutSubscriptions()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/ListInUseStorageAccountsWithoutSubscriptions.json
- // this example is just showing the usage of "ProviderActions_ListInUseStorageAccounts" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this TenantResource created on azure
- // for more information of creating TenantResource, please refer to the document of TenantResource
- var tenantResource = client.GetTenants().GetAllAsync().GetAsyncEnumerator().Current;
-
- // invoke the operation
- ReportListInUseStorageAccountsContent content = new ReportListInUseStorageAccountsContent();
- ReportListInUseStorageAccountsResult result = await tenantResource.GetInUseStorageAccountsProviderActionAsync(content);
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // Onboard
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task OnboardProviderAction_Onboard()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/Onboard.json
- // this example is just showing the usage of "ProviderActions_Onboard" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this TenantResource created on azure
- // for more information of creating TenantResource, please refer to the document of TenantResource
- var tenantResource = client.GetTenants().GetAllAsync().GetAsyncEnumerator().Current;
-
- // invoke the operation
- AppComplianceOnboardContent content = new AppComplianceOnboardContent(new string[]
- {
- });
- ArmOperation lro = await tenantResource.OnboardProviderActionAsync(WaitUntil.Completed, content);
- AppComplianceOnboardResult result = lro.Value;
-
- Console.WriteLine($"Succeeded: {result}");
- }
-
- // TriggerEvaluation
- [NUnit.Framework.Test]
- [NUnit.Framework.Ignore("Only verifying that the sample builds")]
- public async Task TriggerEvaluationProviderAction_TriggerEvaluation()
- {
- // Generated from example definition: specification/appcomplianceautomation/resource-manager/Microsoft.AppComplianceAutomation/stable/2024-06-27/examples/TriggerEvaluation.json
- // this example is just showing the usage of "ProviderActions_TriggerEvaluation" operation, for the dependent resources, they will have to be created separately.
-
- // get your azure access token, for more details of how Azure SDK get your access token, please refer to https://learn.microsoft.com/en-us/dotnet/azure/sdk/authentication?tabs=command-line
- TokenCredential cred = new DefaultAzureCredential();
- // authenticate your client
- ArmClient client = new ArmClient(cred);
-
- // this example assumes you already have this TenantResource created on azure
- // for more information of creating TenantResource, please refer to the document of TenantResource
- var tenantResource = client.GetTenants().GetAllAsync().GetAsyncEnumerator().Current;
-
- // invoke the operation
- TriggerEvaluationContent content = new TriggerEvaluationContent(new string[]
- {
- });
- ArmOperation lro = await tenantResource.TriggerEvaluationProviderActionAsync(WaitUntil.Completed, content);
- TriggerEvaluationResult result = lro.Value;
-
- Console.WriteLine($"Succeeded: {result}");
- }
- }
-}
diff --git a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/autorest.md b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/autorest.md
index 6be2dc492a58..969865e0404f 100644
--- a/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/autorest.md
+++ b/sdk/appcomplianceautomation/Azure.ResourceManager.AppComplianceAutomation/src/autorest.md
@@ -8,7 +8,7 @@ azure-arm: true
csharp: true
library-name: AppComplianceAutomation
namespace: Azure.ResourceManager.AppComplianceAutomation
-require: https://github.com/Azure/azure-rest-api-specs/blob/f28f14c35918513bd3c3cf9f30d31ee192602525/specification/appcomplianceautomation/resource-manager/readme.md
+require: /mnt/vss/_work/1/s/azure-rest-api-specs/specification/appcomplianceautomation/resource-manager/readme.md
#tag: package-2024-06
output-folder: $(this-folder)/Generated
clear-output-folder: true
diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json
new file mode 100644
index 000000000000..cfbe79f737bb
--- /dev/null
+++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/Configuration.json
@@ -0,0 +1,12 @@
+{
+ "output-folder": ".",
+ "namespace": "Azure.Data.AppConfiguration",
+ "library-name": "Azure.Data.AppConfiguration",
+ "model-namespace": false,
+ "flavor": "azure",
+ "use-model-reader-writer": true,
+ "shared-source-folders": [
+ "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Generator.Shared",
+ "../../TempTypeSpecFiles/node_modules/@autorest/csharp/Azure.Core.Shared"
+ ]
+}
diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/autorest.md b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/autorest.md
deleted file mode 100644
index af1f2ccf84c9..000000000000
--- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/autorest.md
+++ /dev/null
@@ -1,55 +0,0 @@
-# Azure SDK Code Generation for Data Plane
-
-Run `dotnet build /t:GenerateCode` to generate code.
-
-### AutoRest Configuration
-> see https://aka.ms/autorest
-``` yaml
-input-file:
-- https://github.com/Azure/azure-rest-api-specs/blob/c1af3ab8e803da2f40fc90217a6d023bc13b677f/specification/appconfiguration/data-plane/Microsoft.AppConfiguration/stable/2023-11-01/appconfiguration.json
-namespace: Azure.Data.AppConfiguration
-title: ConfigurationClient
-```
-
-### Change Endpoint type to Uri
-``` yaml
-directive:
- from: swagger-document
- where: $.parameters.Endpoint
- transform: $.format = "url"
- ```
-
-### Modify operation names
-``` yaml
-directive:
-- rename-operation:
- from: PutKeyValue
- to: SetConfigurationSetting
-- rename-operation:
- from: DeleteKeyValue
- to: DeleteConfigurationSetting
-- rename-operation:
- from: GetKeyValue
- to: GetConfigurationSetting
-- rename-operation:
- from: GetKeyValues
- to: GetConfigurationSettings
-- rename-operation:
- from: PutLock
- to: CreateReadOnlyLock
-- rename-operation:
- from: DeleteLock
- to: DeleteReadOnlyLock
-- rename-operation:
- from: UpdateSnapshot
- to: UpdateSnapshotStatus
-```
-
-### Internalize protocol methods
-``` yaml
-directive:
- from: swagger-document
- where: $.paths.*.*
- transform: >
- $["x-accessibility"] = "internal"
-```
diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tsp-location.yaml b/sdk/appconfiguration/Azure.Data.AppConfiguration/tsp-location.yaml
new file mode 100644
index 000000000000..17b882c21eb5
--- /dev/null
+++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tsp-location.yaml
@@ -0,0 +1,4 @@
+directory: specification/appconfiguration/AppConfiguration
+commit: c29452397f8d29456182b951987a765d1ae01bb1
+repo: test-repo-billy/azure-rest-api-specs
+additionalDirectories:
diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json
new file mode 100644
index 000000000000..2277826b0b4c
--- /dev/null
+++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tspCodeModel.json
@@ -0,0 +1,13481 @@
+{
+ "$id": "1",
+ "Name": "AzureAppConfiguration",
+ "ApiVersions": [
+ "2023-11-01"
+ ],
+ "Enums": [
+ {
+ "$id": "2",
+ "kind": "enum",
+ "name": "GetKeysResponseContentType",
+ "crossLanguageDefinitionId": "getKeys.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "3",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "4",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.keyset+json",
+ "value": "application/vnd.microsoft.appconfig.keyset+json",
+ "valueType": {
+ "$id": "5",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "6",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "7",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "2"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "8",
+ "kind": "enum",
+ "name": "KeyValueFields",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFields",
+ "valueType": {
+ "$id": "9",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "10",
+ "kind": "enumvalue",
+ "name": "key",
+ "value": "key",
+ "valueType": {
+ "$id": "11",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "description": "Key field.",
+ "decorators": []
+ },
+ {
+ "$id": "12",
+ "kind": "enumvalue",
+ "name": "label",
+ "value": "label",
+ "valueType": {
+ "$id": "13",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "description": "Label field.",
+ "decorators": []
+ },
+ {
+ "$id": "14",
+ "kind": "enumvalue",
+ "name": "content_type",
+ "value": "content_type",
+ "valueType": {
+ "$id": "15",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "description": "Content type field.",
+ "decorators": []
+ },
+ {
+ "$id": "16",
+ "kind": "enumvalue",
+ "name": "value",
+ "value": "value",
+ "valueType": {
+ "$id": "17",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "description": "Value field.",
+ "decorators": []
+ },
+ {
+ "$id": "18",
+ "kind": "enumvalue",
+ "name": "last_modified",
+ "value": "last_modified",
+ "valueType": {
+ "$id": "19",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "description": "Last modified field.",
+ "decorators": []
+ },
+ {
+ "$id": "20",
+ "kind": "enumvalue",
+ "name": "tags",
+ "value": "tags",
+ "valueType": {
+ "$id": "21",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "description": "Tags field.",
+ "decorators": []
+ },
+ {
+ "$id": "22",
+ "kind": "enumvalue",
+ "name": "locked",
+ "value": "locked",
+ "valueType": {
+ "$id": "23",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "description": "Locked field.",
+ "decorators": []
+ },
+ {
+ "$id": "24",
+ "kind": "enumvalue",
+ "name": "etag",
+ "value": "etag",
+ "valueType": {
+ "$id": "25",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "8"
+ },
+ "description": "Etag field.",
+ "decorators": []
+ }
+ ],
+ "description": "Key-value fields.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "26",
+ "kind": "enum",
+ "name": "GetKeyValuesResponseContentType",
+ "crossLanguageDefinitionId": "getKeyValues.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "27",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "28",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kvset+json",
+ "value": "application/vnd.microsoft.appconfig.kvset+json",
+ "valueType": {
+ "$id": "29",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "26"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "30",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "31",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "26"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "32",
+ "kind": "enum",
+ "name": "GetKeyValueResponseContentType",
+ "crossLanguageDefinitionId": "getKeyValue.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "33",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "34",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kv+json",
+ "value": "application/vnd.microsoft.appconfig.kv+json",
+ "valueType": {
+ "$id": "35",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "32"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "36",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "37",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "32"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "38",
+ "kind": "enum",
+ "name": "PutKeyValueRequestContentType",
+ "crossLanguageDefinitionId": "putKeyValue.RequestContentType.anonymous",
+ "valueType": {
+ "$id": "39",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "40",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kv+json",
+ "value": "application/vnd.microsoft.appconfig.kv+json",
+ "valueType": {
+ "$id": "41",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "42",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kvset+json",
+ "value": "application/vnd.microsoft.appconfig.kvset+json",
+ "valueType": {
+ "$id": "43",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "44",
+ "kind": "enumvalue",
+ "name": "application/json",
+ "value": "application/json",
+ "valueType": {
+ "$id": "45",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "46",
+ "kind": "enumvalue",
+ "name": "text/json",
+ "value": "text/json",
+ "valueType": {
+ "$id": "47",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "48",
+ "kind": "enumvalue",
+ "name": "application/*+json",
+ "value": "application/*+json",
+ "valueType": {
+ "$id": "49",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "50",
+ "kind": "enumvalue",
+ "name": "application/json-patch+json",
+ "value": "application/json-patch+json",
+ "valueType": {
+ "$id": "51",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "38"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "52",
+ "kind": "enum",
+ "name": "PutKeyValueResponseContentType",
+ "crossLanguageDefinitionId": "putKeyValue.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "53",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "54",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kv+json",
+ "value": "application/vnd.microsoft.appconfig.kv+json",
+ "valueType": {
+ "$id": "55",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "56",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "57",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "52"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "58",
+ "kind": "enum",
+ "name": "DeleteKeyValueResponseContentType",
+ "crossLanguageDefinitionId": "deleteKeyValue.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "59",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "60",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kv+json",
+ "value": "application/vnd.microsoft.appconfig.kv+json",
+ "valueType": {
+ "$id": "61",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "58"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "62",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "63",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "58"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "64",
+ "kind": "enum",
+ "name": "SnapshotFields",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotFields",
+ "valueType": {
+ "$id": "65",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "66",
+ "kind": "enumvalue",
+ "name": "name",
+ "value": "name",
+ "valueType": {
+ "$id": "67",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "description": "Name field.",
+ "decorators": []
+ },
+ {
+ "$id": "68",
+ "kind": "enumvalue",
+ "name": "status",
+ "value": "status",
+ "valueType": {
+ "$id": "69",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "description": "Status field.",
+ "decorators": []
+ },
+ {
+ "$id": "70",
+ "kind": "enumvalue",
+ "name": "filters",
+ "value": "filters",
+ "valueType": {
+ "$id": "71",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "description": "Filters field.",
+ "decorators": []
+ },
+ {
+ "$id": "72",
+ "kind": "enumvalue",
+ "name": "composition_type",
+ "value": "composition_type",
+ "valueType": {
+ "$id": "73",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "description": "Composition type field.",
+ "decorators": []
+ },
+ {
+ "$id": "74",
+ "kind": "enumvalue",
+ "name": "created",
+ "value": "created",
+ "valueType": {
+ "$id": "75",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "description": "Created field.",
+ "decorators": []
+ },
+ {
+ "$id": "76",
+ "kind": "enumvalue",
+ "name": "expires",
+ "value": "expires",
+ "valueType": {
+ "$id": "77",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "description": "Expires field.",
+ "decorators": []
+ },
+ {
+ "$id": "78",
+ "kind": "enumvalue",
+ "name": "retention_period",
+ "value": "retention_period",
+ "valueType": {
+ "$id": "79",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "description": "Retention period field.",
+ "decorators": []
+ },
+ {
+ "$id": "80",
+ "kind": "enumvalue",
+ "name": "size",
+ "value": "size",
+ "valueType": {
+ "$id": "81",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "description": "Size field.",
+ "decorators": []
+ },
+ {
+ "$id": "82",
+ "kind": "enumvalue",
+ "name": "items_count",
+ "value": "items_count",
+ "valueType": {
+ "$id": "83",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "description": "Items count field.",
+ "decorators": []
+ },
+ {
+ "$id": "84",
+ "kind": "enumvalue",
+ "name": "tags",
+ "value": "tags",
+ "valueType": {
+ "$id": "85",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "description": "Tags field.",
+ "decorators": []
+ },
+ {
+ "$id": "86",
+ "kind": "enumvalue",
+ "name": "etag",
+ "value": "etag",
+ "valueType": {
+ "$id": "87",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "64"
+ },
+ "description": "Etag field.",
+ "decorators": []
+ }
+ ],
+ "description": "Snapshot fields.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "88",
+ "kind": "enum",
+ "name": "SnapshotStatus",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotStatus",
+ "valueType": {
+ "$id": "89",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "90",
+ "kind": "enumvalue",
+ "name": "provisioning",
+ "value": "provisioning",
+ "valueType": {
+ "$id": "91",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "88"
+ },
+ "description": "Provisioning",
+ "decorators": []
+ },
+ {
+ "$id": "92",
+ "kind": "enumvalue",
+ "name": "ready",
+ "value": "ready",
+ "valueType": {
+ "$id": "93",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "88"
+ },
+ "description": "Ready",
+ "decorators": []
+ },
+ {
+ "$id": "94",
+ "kind": "enumvalue",
+ "name": "archived",
+ "value": "archived",
+ "valueType": {
+ "$id": "95",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "88"
+ },
+ "description": "Archived",
+ "decorators": []
+ },
+ {
+ "$id": "96",
+ "kind": "enumvalue",
+ "name": "failed",
+ "value": "failed",
+ "valueType": {
+ "$id": "97",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "88"
+ },
+ "description": "Failed",
+ "decorators": []
+ }
+ ],
+ "description": "Snapshot status.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,JsonMergePatch,Json",
+ "decorators": []
+ },
+ {
+ "$id": "98",
+ "kind": "enum",
+ "name": "CompositionType",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.CompositionType",
+ "valueType": {
+ "$id": "99",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "100",
+ "kind": "enumvalue",
+ "name": "key",
+ "value": "key",
+ "valueType": {
+ "$id": "101",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "98"
+ },
+ "description": "The 'key' composition type.",
+ "decorators": []
+ },
+ {
+ "$id": "102",
+ "kind": "enumvalue",
+ "name": "key_label",
+ "value": "key_label",
+ "valueType": {
+ "$id": "103",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "98"
+ },
+ "description": "The 'key_label' composition type.",
+ "decorators": []
+ }
+ ],
+ "description": "Composition types.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input,Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "104",
+ "kind": "enum",
+ "name": "GetSnapshotsResponseContentType",
+ "crossLanguageDefinitionId": "getSnapshots.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "105",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "106",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.snapshotset+json",
+ "value": "application/vnd.microsoft.appconfig.snapshotset+json",
+ "valueType": {
+ "$id": "107",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "104"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "108",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "109",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "104"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "110",
+ "kind": "enum",
+ "name": "GetSnapshotResponseContentType",
+ "crossLanguageDefinitionId": "getSnapshot.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "111",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "112",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.snapshot+json",
+ "value": "application/vnd.microsoft.appconfig.snapshot+json",
+ "valueType": {
+ "$id": "113",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "110"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "114",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "115",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "110"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "116",
+ "kind": "enum",
+ "name": "OperationState",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.OperationState",
+ "valueType": {
+ "$id": "117",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "118",
+ "kind": "enumvalue",
+ "name": "NotStarted",
+ "value": "NotStarted",
+ "valueType": {
+ "$id": "119",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "116"
+ },
+ "description": "The operation has not started.",
+ "decorators": []
+ },
+ {
+ "$id": "120",
+ "kind": "enumvalue",
+ "name": "Running",
+ "value": "Running",
+ "valueType": {
+ "$id": "121",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "116"
+ },
+ "description": "The operation is in progress.",
+ "decorators": []
+ },
+ {
+ "$id": "122",
+ "kind": "enumvalue",
+ "name": "Succeeded",
+ "value": "Succeeded",
+ "valueType": {
+ "$id": "123",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "116"
+ },
+ "description": "The operation has completed successfully.",
+ "decorators": []
+ },
+ {
+ "$id": "124",
+ "kind": "enumvalue",
+ "name": "Failed",
+ "value": "Failed",
+ "valueType": {
+ "$id": "125",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "116"
+ },
+ "description": "The operation has failed.",
+ "decorators": []
+ },
+ {
+ "$id": "126",
+ "kind": "enumvalue",
+ "name": "Canceled",
+ "value": "Canceled",
+ "valueType": {
+ "$id": "127",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "116"
+ },
+ "description": "The operation has been canceled by the user.",
+ "decorators": []
+ }
+ ],
+ "description": "Enum describing allowed operation states.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Output,Json",
+ "decorators": []
+ },
+ {
+ "$id": "128",
+ "kind": "enum",
+ "name": "CreateSnapshotRequestContentType",
+ "crossLanguageDefinitionId": "createSnapshot.RequestContentType.anonymous",
+ "valueType": {
+ "$id": "129",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "130",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.snapshot+json",
+ "value": "application/vnd.microsoft.appconfig.snapshot+json",
+ "valueType": {
+ "$id": "131",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "128"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "132",
+ "kind": "enumvalue",
+ "name": "application/json",
+ "value": "application/json",
+ "valueType": {
+ "$id": "133",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "128"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "134",
+ "kind": "enum",
+ "name": "CreateSnapshotResponseContentType",
+ "crossLanguageDefinitionId": "createSnapshot.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "135",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "136",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.snapshot+json",
+ "value": "application/vnd.microsoft.appconfig.snapshot+json",
+ "valueType": {
+ "$id": "137",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "134"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "138",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "139",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "134"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "140",
+ "kind": "enum",
+ "name": "UpdateSnapshotRequestContentType",
+ "crossLanguageDefinitionId": "updateSnapshot.RequestContentType.anonymous",
+ "valueType": {
+ "$id": "141",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "142",
+ "kind": "enumvalue",
+ "name": "application/merge-patch+json",
+ "value": "application/merge-patch+json",
+ "valueType": {
+ "$id": "143",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "140"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "144",
+ "kind": "enumvalue",
+ "name": "application/json",
+ "value": "application/json",
+ "valueType": {
+ "$id": "145",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "140"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "146",
+ "kind": "enum",
+ "name": "UpdateSnapshotResponseContentType",
+ "crossLanguageDefinitionId": "updateSnapshot.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "147",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "148",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.snapshot+json",
+ "value": "application/vnd.microsoft.appconfig.snapshot+json",
+ "valueType": {
+ "$id": "149",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "146"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "150",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "151",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "146"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "152",
+ "kind": "enum",
+ "name": "LabelFields",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.LabelFields",
+ "valueType": {
+ "$id": "153",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "154",
+ "kind": "enumvalue",
+ "name": "name",
+ "value": "name",
+ "valueType": {
+ "$id": "155",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "152"
+ },
+ "description": "Name field.",
+ "decorators": []
+ }
+ ],
+ "description": "Label fields.",
+ "isFixed": false,
+ "isFlags": false,
+ "usage": "Input",
+ "decorators": []
+ },
+ {
+ "$id": "156",
+ "kind": "enum",
+ "name": "GetLabelsResponseContentType",
+ "crossLanguageDefinitionId": "getLabels.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "157",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "158",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.labelset+json",
+ "value": "application/vnd.microsoft.appconfig.labelset+json",
+ "valueType": {
+ "$id": "159",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "156"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "160",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "161",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "156"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "162",
+ "kind": "enum",
+ "name": "PutLockResponseContentType",
+ "crossLanguageDefinitionId": "putLock.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "163",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "164",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kv+json",
+ "value": "application/vnd.microsoft.appconfig.kv+json",
+ "valueType": {
+ "$id": "165",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "162"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "166",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "167",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "162"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "168",
+ "kind": "enum",
+ "name": "DeleteLockResponseContentType",
+ "crossLanguageDefinitionId": "deleteLock.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "169",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "170",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kv+json",
+ "value": "application/vnd.microsoft.appconfig.kv+json",
+ "valueType": {
+ "$id": "171",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "168"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "172",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "173",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "168"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "174",
+ "kind": "enum",
+ "name": "GetRevisionsResponseContentType",
+ "crossLanguageDefinitionId": "getRevisions.ResponseContentType.anonymous",
+ "valueType": {
+ "$id": "175",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "176",
+ "kind": "enumvalue",
+ "name": "application/vnd.microsoft.appconfig.kvset+json",
+ "value": "application/vnd.microsoft.appconfig.kvset+json",
+ "valueType": {
+ "$id": "177",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "174"
+ },
+ "decorators": []
+ },
+ {
+ "$id": "178",
+ "kind": "enumvalue",
+ "name": "application/problem+json",
+ "value": "application/problem+json",
+ "valueType": {
+ "$id": "179",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "174"
+ },
+ "decorators": []
+ }
+ ],
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "Output",
+ "decorators": []
+ },
+ {
+ "$id": "180",
+ "kind": "enum",
+ "name": "Versions",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Versions",
+ "valueType": {
+ "$id": "181",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "values": [
+ {
+ "$id": "182",
+ "kind": "enumvalue",
+ "name": "v2023_11_01",
+ "value": "2023-11-01",
+ "valueType": {
+ "$id": "183",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "enumType": {
+ "$ref": "180"
+ },
+ "description": "The 2023-11-01 API version",
+ "decorators": []
+ }
+ ],
+ "description": "Service API versions",
+ "isFixed": true,
+ "isFlags": false,
+ "usage": "ApiVersionEnum",
+ "decorators": []
+ }
+ ],
+ "Models": [
+ {
+ "$id": "184",
+ "kind": "model",
+ "name": "KeyListResult",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult",
+ "usage": "Output,Json",
+ "description": "The result of a list request.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "185",
+ "kind": "property",
+ "name": "items",
+ "serializedName": "items",
+ "description": "The collection value.",
+ "type": {
+ "$id": "186",
+ "kind": "array",
+ "name": "ArrayKey",
+ "valueType": {
+ "$id": "187",
+ "kind": "model",
+ "name": "Key",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Key",
+ "usage": "Output,Json",
+ "description": "Keys serve as identifiers for key-values and are used to store and retrieve corresponding values.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "188",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "description": "The name of the key.",
+ "type": {
+ "$id": "189",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Key.name"
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult.items"
+ },
+ {
+ "$id": "190",
+ "kind": "property",
+ "name": "@nextLink",
+ "serializedName": "@nextLink",
+ "description": "The URI that can be used to request the next set of paged results.",
+ "type": {
+ "$id": "191",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyListResult.@nextLink"
+ }
+ ]
+ },
+ {
+ "$ref": "187"
+ },
+ {
+ "$id": "192",
+ "kind": "model",
+ "name": "Error",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error",
+ "usage": "Output,Error,Json",
+ "description": "Azure App Configuration error object.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "193",
+ "kind": "property",
+ "name": "type",
+ "serializedName": "type",
+ "description": "The type of the error.",
+ "type": {
+ "$id": "194",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error.type"
+ },
+ {
+ "$id": "195",
+ "kind": "property",
+ "name": "title",
+ "serializedName": "title",
+ "description": "A brief summary of the error.",
+ "type": {
+ "$id": "196",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error.title"
+ },
+ {
+ "$id": "197",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "description": "The name of the parameter that resulted in the error.",
+ "type": {
+ "$id": "198",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error.name"
+ },
+ {
+ "$id": "199",
+ "kind": "property",
+ "name": "detail",
+ "serializedName": "detail",
+ "description": "A detailed description of the error.",
+ "type": {
+ "$id": "200",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error.detail"
+ },
+ {
+ "$id": "201",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "description": "The HTTP status code that the error maps to.",
+ "type": {
+ "$id": "202",
+ "kind": "int32",
+ "name": "int32",
+ "crossLanguageDefinitionId": "TypeSpec.int32",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Error.status"
+ }
+ ]
+ },
+ {
+ "$id": "203",
+ "kind": "model",
+ "name": "KeyValueListResult",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult",
+ "usage": "Output,Json",
+ "description": "The result of a list request.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "204",
+ "kind": "property",
+ "name": "items",
+ "serializedName": "items",
+ "description": "The collection value.",
+ "type": {
+ "$id": "205",
+ "kind": "array",
+ "name": "ArrayKeyValue",
+ "valueType": {
+ "$id": "206",
+ "kind": "model",
+ "name": "KeyValue",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue",
+ "usage": "Input,Output,Json",
+ "description": "A key-value pair representing application settings.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "207",
+ "kind": "property",
+ "name": "key",
+ "serializedName": "key",
+ "description": "The key of the key-value.",
+ "type": {
+ "$id": "208",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.key"
+ },
+ {
+ "$id": "209",
+ "kind": "property",
+ "name": "label",
+ "serializedName": "label",
+ "description": "The label the key-value belongs to.",
+ "type": {
+ "$id": "210",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.label"
+ },
+ {
+ "$id": "211",
+ "kind": "property",
+ "name": "contentType",
+ "serializedName": "content_type",
+ "description": "The content type of the value stored within the key-value.",
+ "type": {
+ "$id": "212",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.contentType"
+ },
+ {
+ "$id": "213",
+ "kind": "property",
+ "name": "value",
+ "serializedName": "value",
+ "description": "The value of the key-value.",
+ "type": {
+ "$id": "214",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.value"
+ },
+ {
+ "$id": "215",
+ "kind": "property",
+ "name": "lastModified",
+ "serializedName": "last_modified",
+ "description": "A date representing the last time the key-value was modified.",
+ "type": {
+ "$id": "216",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "217",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.lastModified"
+ },
+ {
+ "$id": "218",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "description": "The tags of the key-value",
+ "type": {
+ "$id": "219",
+ "kind": "dict",
+ "keyType": {
+ "$id": "220",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "221",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.tags"
+ },
+ {
+ "$id": "222",
+ "kind": "property",
+ "name": "locked",
+ "serializedName": "locked",
+ "description": "Indicates whether the key-value is locked.",
+ "type": {
+ "$id": "223",
+ "kind": "boolean",
+ "name": "boolean",
+ "crossLanguageDefinitionId": "TypeSpec.boolean",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.locked"
+ },
+ {
+ "$id": "224",
+ "kind": "property",
+ "name": "etag",
+ "serializedName": "etag",
+ "description": "A value representing the current state of the resource.",
+ "type": {
+ "$id": "225",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValue.etag"
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.items"
+ },
+ {
+ "$id": "226",
+ "kind": "property",
+ "name": "etag",
+ "serializedName": "etag",
+ "description": "An identifier representing the returned state of the resource.",
+ "type": {
+ "$id": "227",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.etag"
+ },
+ {
+ "$id": "228",
+ "kind": "property",
+ "name": "@nextLink",
+ "serializedName": "@nextLink",
+ "description": "The URI that can be used to request the next set of paged results.",
+ "type": {
+ "$id": "229",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueListResult.@nextLink"
+ }
+ ]
+ },
+ {
+ "$ref": "206"
+ },
+ {
+ "$id": "230",
+ "kind": "model",
+ "name": "SnapshotListResult",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult",
+ "usage": "Output,Json",
+ "description": "The result of a snapshot list request.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "231",
+ "kind": "property",
+ "name": "items",
+ "serializedName": "items",
+ "description": "The collection value.",
+ "type": {
+ "$id": "232",
+ "kind": "array",
+ "name": "ArraySnapshot",
+ "valueType": {
+ "$id": "233",
+ "kind": "model",
+ "name": "Snapshot",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot",
+ "usage": "Input,Output,Json",
+ "description": "A snapshot is a named, immutable subset of an App Configuration store's key-values.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "234",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "description": "The name of the snapshot.",
+ "type": {
+ "$id": "235",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.name"
+ },
+ {
+ "$id": "236",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "description": "The current status of the snapshot.",
+ "type": {
+ "$ref": "88"
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.status"
+ },
+ {
+ "$id": "237",
+ "kind": "property",
+ "name": "filters",
+ "serializedName": "filters",
+ "description": "A list of filters used to filter the key-values included in the snapshot.",
+ "type": {
+ "$id": "238",
+ "kind": "array",
+ "name": "ArrayKeyValueFilter",
+ "valueType": {
+ "$id": "239",
+ "kind": "model",
+ "name": "KeyValueFilter",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter",
+ "usage": "Input,Output,Json",
+ "description": "Enables filtering of key-values. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapisnapshots",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "240",
+ "kind": "property",
+ "name": "key",
+ "serializedName": "key",
+ "description": "Filters key-values by their key field.",
+ "type": {
+ "$id": "241",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.key"
+ },
+ {
+ "$id": "242",
+ "kind": "property",
+ "name": "label",
+ "serializedName": "label",
+ "description": "Filters key-values by their label field.",
+ "type": {
+ "$id": "243",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.label"
+ },
+ {
+ "$id": "244",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "description": "Filters key-values by their tags field.",
+ "type": {
+ "$id": "245",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "246",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.KeyValueFilter.tags"
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.filters"
+ },
+ {
+ "$id": "247",
+ "kind": "property",
+ "name": "compositionType",
+ "serializedName": "composition_type",
+ "description": "The composition type describes how the key-values within the snapshot are\ncomposed. The 'key' composition type ensures there are no two key-values\ncontaining the same key. The 'key_label' composition type ensures there are no\ntwo key-values containing the same key and label.",
+ "type": {
+ "$ref": "98"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.compositionType"
+ },
+ {
+ "$id": "248",
+ "kind": "property",
+ "name": "created",
+ "serializedName": "created",
+ "description": "The time that the snapshot was created.",
+ "type": {
+ "$id": "249",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "250",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.created"
+ },
+ {
+ "$id": "251",
+ "kind": "property",
+ "name": "expires",
+ "serializedName": "expires",
+ "description": "The time that the snapshot will expire.",
+ "type": {
+ "$id": "252",
+ "kind": "offsetDateTime",
+ "name": "offsetDateTime",
+ "encode": "rfc3339",
+ "wireType": {
+ "$id": "253",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.offsetDateTime",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.expires"
+ },
+ {
+ "$id": "254",
+ "kind": "property",
+ "name": "retentionPeriod",
+ "serializedName": "retention_period",
+ "description": "The amount of time, in seconds, that a snapshot will remain in the archived\nstate before expiring. This property is only writable during the creation of a\nsnapshot. If not specified, the default lifetime of key-value revisions will be\nused.",
+ "type": {
+ "$id": "255",
+ "kind": "int64",
+ "name": "int64",
+ "crossLanguageDefinitionId": "TypeSpec.int64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.retentionPeriod"
+ },
+ {
+ "$id": "256",
+ "kind": "property",
+ "name": "size",
+ "serializedName": "size",
+ "description": "The size in bytes of the snapshot.",
+ "type": {
+ "$id": "257",
+ "kind": "int64",
+ "name": "int64",
+ "crossLanguageDefinitionId": "TypeSpec.int64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.size"
+ },
+ {
+ "$id": "258",
+ "kind": "property",
+ "name": "itemsCount",
+ "serializedName": "items_count",
+ "description": "The amount of key-values in the snapshot.",
+ "type": {
+ "$id": "259",
+ "kind": "int64",
+ "name": "int64",
+ "crossLanguageDefinitionId": "TypeSpec.int64",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.itemsCount"
+ },
+ {
+ "$id": "260",
+ "kind": "property",
+ "name": "tags",
+ "serializedName": "tags",
+ "description": "The tags of the snapshot.",
+ "type": {
+ "$id": "261",
+ "kind": "dict",
+ "keyType": {
+ "$id": "262",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "valueType": {
+ "$id": "263",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.tags"
+ },
+ {
+ "$id": "264",
+ "kind": "property",
+ "name": "etag",
+ "serializedName": "etag",
+ "description": "A value representing the current state of the snapshot.",
+ "type": {
+ "$id": "265",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": true,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Snapshot.etag"
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult.items"
+ },
+ {
+ "$id": "266",
+ "kind": "property",
+ "name": "@nextLink",
+ "serializedName": "@nextLink",
+ "description": "The URI that can be used to request the next set of paged results.",
+ "type": {
+ "$id": "267",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotListResult.@nextLink"
+ }
+ ]
+ },
+ {
+ "$ref": "233"
+ },
+ {
+ "$ref": "239"
+ },
+ {
+ "$id": "268",
+ "kind": "model",
+ "name": "OperationDetails",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails",
+ "usage": "Output,Json",
+ "description": "Details of a long running operation.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "269",
+ "kind": "property",
+ "name": "id",
+ "serializedName": "id",
+ "description": "The unique id of the operation.",
+ "type": {
+ "$id": "270",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.id"
+ },
+ {
+ "$id": "271",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "description": "The current status of the operation",
+ "type": {
+ "$ref": "116"
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.status"
+ },
+ {
+ "$id": "272",
+ "kind": "property",
+ "name": "error",
+ "serializedName": "error",
+ "description": "An error, available when the status is `Failed`, describing why the operation\nfailed.",
+ "type": {
+ "$id": "273",
+ "kind": "model",
+ "name": "ErrorDetail",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error",
+ "usage": "Output,Json",
+ "description": "The error object.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "274",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "description": "One of a server-defined set of error codes.",
+ "type": {
+ "$id": "275",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.code"
+ },
+ {
+ "$id": "276",
+ "kind": "property",
+ "name": "message",
+ "serializedName": "message",
+ "description": "A human-readable representation of the error.",
+ "type": {
+ "$id": "277",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": false,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.message"
+ },
+ {
+ "$id": "278",
+ "kind": "property",
+ "name": "target",
+ "serializedName": "target",
+ "description": "The target of the error.",
+ "type": {
+ "$id": "279",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.target"
+ },
+ {
+ "$id": "280",
+ "kind": "property",
+ "name": "details",
+ "serializedName": "details",
+ "description": "An array of details about specific errors that led to this reported error.",
+ "type": {
+ "$id": "281",
+ "kind": "array",
+ "name": "ArrayError",
+ "valueType": {
+ "$ref": "273"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.details"
+ },
+ {
+ "$id": "282",
+ "kind": "property",
+ "name": "innererror",
+ "serializedName": "innererror",
+ "description": "An object containing more specific information than the current object about the error.",
+ "type": {
+ "$id": "283",
+ "kind": "model",
+ "name": "InnerError",
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError",
+ "usage": "Output,Json",
+ "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "284",
+ "kind": "property",
+ "name": "code",
+ "serializedName": "code",
+ "description": "One of a server-defined set of error codes.",
+ "type": {
+ "$id": "285",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.code"
+ },
+ {
+ "$id": "286",
+ "kind": "property",
+ "name": "innererror",
+ "serializedName": "innererror",
+ "description": "Inner error.",
+ "type": {
+ "$ref": "283"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.InnerError.innererror"
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "Azure.Core.Foundations.Error.innererror"
+ }
+ ]
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.OperationDetails.error"
+ }
+ ]
+ },
+ {
+ "$ref": "273"
+ },
+ {
+ "$ref": "283"
+ },
+ {
+ "$id": "287",
+ "kind": "model",
+ "name": "SnapshotUpdateParameters",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotUpdateParameters",
+ "usage": "Input,JsonMergePatch,Json",
+ "description": "Parameters used to update a snapshot.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "288",
+ "kind": "property",
+ "name": "status",
+ "serializedName": "status",
+ "description": "The desired status of the snapshot.",
+ "type": {
+ "$ref": "88"
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.SnapshotUpdateParameters.status"
+ }
+ ]
+ },
+ {
+ "$id": "289",
+ "kind": "model",
+ "name": "LabelListResult",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult",
+ "usage": "Output,Json",
+ "description": "The result of a list request.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "290",
+ "kind": "property",
+ "name": "items",
+ "serializedName": "items",
+ "description": "The collection value.",
+ "type": {
+ "$id": "291",
+ "kind": "array",
+ "name": "ArrayLabel",
+ "valueType": {
+ "$id": "292",
+ "kind": "model",
+ "name": "Label",
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Label",
+ "usage": "Output,Json",
+ "description": "Labels are used to group key-values.",
+ "decorators": [],
+ "properties": [
+ {
+ "$id": "293",
+ "kind": "property",
+ "name": "name",
+ "serializedName": "name",
+ "description": "The name of the label.",
+ "type": {
+ "$id": "294",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.Label.name"
+ }
+ ]
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult.items"
+ },
+ {
+ "$id": "295",
+ "kind": "property",
+ "name": "@nextLink",
+ "serializedName": "@nextLink",
+ "description": "The URI that can be used to request the next set of paged results.",
+ "type": {
+ "$id": "296",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "optional": true,
+ "readOnly": false,
+ "discriminator": false,
+ "flatten": false,
+ "decorators": [],
+ "crossLanguageDefinitionId": "AzureAppConfiguration.LabelListResult.@nextLink"
+ }
+ ]
+ },
+ {
+ "$ref": "292"
+ }
+ ],
+ "Clients": [
+ {
+ "$id": "297",
+ "Name": "AzureAppConfigurationClient",
+ "Description": "Azure App Configuration REST API",
+ "Operations": [
+ {
+ "$id": "298",
+ "Name": "getKeys",
+ "ResourceName": "Key",
+ "Summary": "Gets a list of keys.",
+ "Description": "Gets a list of keys.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$id": "299",
+ "Name": "endpoint",
+ "NameInRequest": "endpoint",
+ "Type": {
+ "$id": "300",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url"
+ },
+ "Location": "Uri",
+ "IsApiVersion": false,
+ "IsResourceParameter": false,
+ "IsContentType": false,
+ "IsRequired": true,
+ "IsEndpoint": true,
+ "SkipUrlEncoding": false,
+ "Explode": false,
+ "Kind": "Client"
+ },
+ {
+ "$id": "301",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "302",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "303",
+ "Type": {
+ "$id": "304",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "305",
+ "Name": "name",
+ "NameInRequest": "name",
+ "Description": "A filter for the name of the returned keys.",
+ "Type": {
+ "$id": "306",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "307",
+ "Name": "after",
+ "NameInRequest": "After",
+ "Description": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "Type": {
+ "$id": "308",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "309",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "310",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "311",
+ "Name": "acceptDatetime",
+ "NameInRequest": "Accept-Datetime",
+ "Description": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "Type": {
+ "$id": "312",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "313",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "314",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "315",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "184"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "316",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "317",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "318",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "2"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.keyset+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "GET",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/keys",
+ "BufferResponse": true,
+ "Paging": {
+ "$id": "319",
+ "ItemName": "items",
+ "NextLinkName": "@nextLink"
+ },
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.getKeys",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "320",
+ "kind": "http",
+ "name": "Gets a list of keys.",
+ "description": "Gets a list of keys.",
+ "filePath": "2023-11-01/GetKeys.json",
+ "parameters": [
+ {
+ "$id": "321",
+ "parameter": {
+ "$ref": "301"
+ },
+ "value": {
+ "$id": "322",
+ "kind": "string",
+ "type": {
+ "$ref": "302"
+ },
+ "value": "2023-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "323",
+ "response": {
+ "$ref": "315"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "324",
+ "kind": "model",
+ "type": {
+ "$ref": "184"
+ },
+ "value": {
+ "$id": "325",
+ "items": {
+ "$id": "326",
+ "kind": "array",
+ "type": {
+ "$ref": "186"
+ },
+ "value": [
+ {
+ "$id": "327",
+ "kind": "model",
+ "type": {
+ "$ref": "187"
+ },
+ "value": {
+ "$id": "328",
+ "name": {
+ "$id": "329",
+ "kind": "string",
+ "type": {
+ "$ref": "189"
+ },
+ "value": "MaxRequests"
+ }
+ }
+ },
+ {
+ "$id": "330",
+ "kind": "model",
+ "type": {
+ "$ref": "187"
+ },
+ "value": {
+ "$id": "331",
+ "name": {
+ "$id": "332",
+ "kind": "string",
+ "type": {
+ "$ref": "189"
+ },
+ "value": "RequestTimeout"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "333",
+ "Name": "checkKeys",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Requests the headers and status of the given resource.",
+ "Description": "Requests the headers and status of the given resource.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "334",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "335",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "336",
+ "Type": {
+ "$id": "337",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "338",
+ "Name": "name",
+ "NameInRequest": "name",
+ "Description": "A filter for the name of the returned keys.",
+ "Type": {
+ "$id": "339",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "340",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "341",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "342",
+ "Name": "after",
+ "NameInRequest": "After",
+ "Description": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "Type": {
+ "$id": "343",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "344",
+ "Name": "acceptDatetime",
+ "NameInRequest": "Accept-Datetime",
+ "Description": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "Type": {
+ "$id": "345",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "346",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "347",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "348",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "349",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "350",
+ "kind": "constant",
+ "valueType": {
+ "$id": "351",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Constant",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "352",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "353",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "354",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "IsErrorResponse": false
+ }
+ ],
+ "HttpMethod": "HEAD",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/keys",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.checkKeys",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "355",
+ "kind": "http",
+ "name": "Check keys",
+ "description": "Check keys",
+ "filePath": "2023-11-01/CheckKeys.json",
+ "parameters": [
+ {
+ "$id": "356",
+ "parameter": {
+ "$ref": "334"
+ },
+ "value": {
+ "$id": "357",
+ "kind": "string",
+ "type": {
+ "$ref": "335"
+ },
+ "value": "2023-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "358",
+ "response": {
+ "$ref": "352"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "359",
+ "Name": "getKeyValues",
+ "ResourceName": "KeyValue",
+ "Summary": "Gets a list of key-values.",
+ "Description": "Gets a list of key-values.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "360",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "361",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "362",
+ "Type": {
+ "$id": "363",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "364",
+ "Name": "key",
+ "NameInRequest": "key",
+ "Description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "Type": {
+ "$id": "365",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "366",
+ "Name": "label",
+ "NameInRequest": "label",
+ "Description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "Type": {
+ "$id": "367",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "368",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "369",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "370",
+ "Name": "after",
+ "NameInRequest": "After",
+ "Description": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "Type": {
+ "$id": "371",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "372",
+ "Name": "acceptDatetime",
+ "NameInRequest": "Accept-Datetime",
+ "Description": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "Type": {
+ "$id": "373",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "374",
+ "Name": "select",
+ "NameInRequest": "$Select",
+ "Description": "Used to select what fields are present in the returned resource(s).",
+ "Type": {
+ "$id": "375",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "ArraySerializationDelimiter": ",",
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "376",
+ "Name": "snapshot",
+ "NameInRequest": "snapshot",
+ "Description": "A filter used get key-values for a snapshot. The value should be the name of\nthe snapshot. Not valid when used with 'key' and 'label' filters.",
+ "Type": {
+ "$id": "377",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "378",
+ "Name": "ifMatch",
+ "NameInRequest": "If-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "Type": {
+ "$id": "379",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "380",
+ "Name": "ifNoneMatch",
+ "NameInRequest": "If-None-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "Type": {
+ "$id": "381",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "382",
+ "Name": "tags",
+ "NameInRequest": "tags",
+ "Description": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "Type": {
+ "$id": "383",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "384",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": true,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "385",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "386",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "387",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "203"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "388",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "389",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "390",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "391",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "392",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "26"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.kvset+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "GET",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/kv",
+ "BufferResponse": true,
+ "Paging": {
+ "$id": "393",
+ "ItemName": "items",
+ "NextLinkName": "@nextLink"
+ },
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.getKeyValues",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "394",
+ "kind": "http",
+ "name": "Gets a list of key-values.",
+ "description": "Gets a list of key-values.",
+ "filePath": "2023-11-01/GetKeyValues.json",
+ "parameters": [
+ {
+ "$id": "395",
+ "parameter": {
+ "$ref": "360"
+ },
+ "value": {
+ "$id": "396",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "2023-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "397",
+ "response": {
+ "$ref": "387"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "398",
+ "kind": "model",
+ "type": {
+ "$ref": "203"
+ },
+ "value": {
+ "$id": "399",
+ "items": {
+ "$id": "400",
+ "kind": "array",
+ "type": {
+ "$ref": "205"
+ },
+ "value": [
+ {
+ "$id": "401",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "402",
+ "etag": {
+ "$id": "403",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv"
+ },
+ "key": {
+ "$id": "404",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Background"
+ },
+ "label": {
+ "$id": "405",
+ "kind": "string",
+ "type": {
+ "$ref": "210"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "406",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "407",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "408"
+ }
+ },
+ "locked": {
+ "$id": "409",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "410",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "411",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "412",
+ "etag": {
+ "$id": "413",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "UTSN1zePHbBQ0npbRB6elGRRuH7"
+ },
+ "key": {
+ "$id": "414",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "MaxLogFiles"
+ },
+ "label": {
+ "$id": "415",
+ "kind": "string",
+ "type": {
+ "$ref": "210"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "416",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "50"
+ },
+ "tags": {
+ "$id": "417",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "418"
+ }
+ },
+ "locked": {
+ "$id": "419",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "420",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "421",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "422",
+ "etag": {
+ "$id": "423",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "424",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "425",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World"
+ },
+ "tags": {
+ "$id": "426",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "427"
+ }
+ },
+ "locked": {
+ "$id": "428",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "429",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-06-20T16:52:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "430",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "431",
+ "etag": {
+ "$id": "432",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY"
+ },
+ "key": {
+ "$id": "433",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "WebDemo:Settings:BackgroundColor"
+ },
+ "value": {
+ "$id": "434",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "435",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "436"
+ }
+ },
+ "locked": {
+ "$id": "437",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "438",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-06-20T15:48:01+00:00"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "439",
+ "kind": "http",
+ "name": "Gets a list of key-values using the If-Match header.",
+ "description": "Gets a list of key-values using the If-Match header.",
+ "filePath": "2023-11-01/GetKeyValues_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "440",
+ "parameter": {
+ "$ref": "360"
+ },
+ "value": {
+ "$id": "441",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "442",
+ "parameter": {
+ "$ref": "378"
+ },
+ "value": {
+ "$id": "443",
+ "kind": "string",
+ "type": {
+ "$ref": "379"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "444",
+ "response": {
+ "$ref": "387"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "445",
+ "kind": "model",
+ "type": {
+ "$ref": "203"
+ },
+ "value": {
+ "$id": "446",
+ "items": {
+ "$id": "447",
+ "kind": "array",
+ "type": {
+ "$ref": "205"
+ },
+ "value": [
+ {
+ "$id": "448",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "449",
+ "etag": {
+ "$id": "450",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv"
+ },
+ "key": {
+ "$id": "451",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Background"
+ },
+ "label": {
+ "$id": "452",
+ "kind": "string",
+ "type": {
+ "$ref": "210"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "453",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "454",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "455"
+ }
+ },
+ "locked": {
+ "$id": "456",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "457",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "458",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "459",
+ "etag": {
+ "$id": "460",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "UTSN1zePHbBQ0npbRB6elGRRuH7"
+ },
+ "key": {
+ "$id": "461",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "MaxLogFiles"
+ },
+ "label": {
+ "$id": "462",
+ "kind": "string",
+ "type": {
+ "$ref": "210"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "463",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "50"
+ },
+ "tags": {
+ "$id": "464",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "465"
+ }
+ },
+ "locked": {
+ "$id": "466",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "467",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "468",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "469",
+ "etag": {
+ "$id": "470",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "471",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "472",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World"
+ },
+ "tags": {
+ "$id": "473",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "474"
+ }
+ },
+ "locked": {
+ "$id": "475",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "476",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-06-20T16:52:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "477",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "478",
+ "etag": {
+ "$id": "479",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY"
+ },
+ "key": {
+ "$id": "480",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "WebDemo:Settings:BackgroundColor"
+ },
+ "value": {
+ "$id": "481",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "482",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "483"
+ }
+ },
+ "locked": {
+ "$id": "484",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "485",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-06-20T15:48:01+00:00"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "486",
+ "kind": "http",
+ "name": "Gets a list of key-values using the If-None-Match header.",
+ "description": "Gets a list of key-values using the If-None-Match header.",
+ "filePath": "2023-11-01/GetKeyValues_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "487",
+ "parameter": {
+ "$ref": "360"
+ },
+ "value": {
+ "$id": "488",
+ "kind": "string",
+ "type": {
+ "$ref": "361"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "489",
+ "parameter": {
+ "$ref": "380"
+ },
+ "value": {
+ "$id": "490",
+ "kind": "string",
+ "type": {
+ "$ref": "381"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "491",
+ "response": {
+ "$ref": "387"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "492",
+ "kind": "model",
+ "type": {
+ "$ref": "203"
+ },
+ "value": {
+ "$id": "493",
+ "items": {
+ "$id": "494",
+ "kind": "array",
+ "type": {
+ "$ref": "205"
+ },
+ "value": [
+ {
+ "$id": "495",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "496",
+ "etag": {
+ "$id": "497",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "CTgHR5UrDKNj2nsoGWDOipST9Pv"
+ },
+ "key": {
+ "$id": "498",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Background"
+ },
+ "label": {
+ "$id": "499",
+ "kind": "string",
+ "type": {
+ "$ref": "210"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "500",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "501",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "502"
+ }
+ },
+ "locked": {
+ "$id": "503",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "504",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "505",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "506",
+ "etag": {
+ "$id": "507",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "UTSN1zePHbBQ0npbRB6elGRRuH7"
+ },
+ "key": {
+ "$id": "508",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "MaxLogFiles"
+ },
+ "label": {
+ "$id": "509",
+ "kind": "string",
+ "type": {
+ "$ref": "210"
+ },
+ "value": "Asset1"
+ },
+ "value": {
+ "$id": "510",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "50"
+ },
+ "tags": {
+ "$id": "511",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "512"
+ }
+ },
+ "locked": {
+ "$id": "513",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "514",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-03-04T17:12:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "515",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "516",
+ "etag": {
+ "$id": "517",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "518",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "519",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World"
+ },
+ "tags": {
+ "$id": "520",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "521"
+ }
+ },
+ "locked": {
+ "$id": "522",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "523",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-06-20T16:52:23+00:00"
+ }
+ }
+ },
+ {
+ "$id": "524",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "525",
+ "etag": {
+ "$id": "526",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "fAFm4jkGNB1hsIr4o0S5hnhCCvY"
+ },
+ "key": {
+ "$id": "527",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "WebDemo:Settings:BackgroundColor"
+ },
+ "value": {
+ "$id": "528",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "blue"
+ },
+ "tags": {
+ "$id": "529",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "530"
+ }
+ },
+ "locked": {
+ "$id": "531",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "532",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-06-20T15:48:01+00:00"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "533",
+ "Name": "checkKeyValues",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Requests the headers and status of the given resource.",
+ "Description": "Requests the headers and status of the given resource.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "534",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "535",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "536",
+ "Type": {
+ "$id": "537",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "538",
+ "Name": "key",
+ "NameInRequest": "key",
+ "Description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "Type": {
+ "$id": "539",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "540",
+ "Name": "label",
+ "NameInRequest": "label",
+ "Description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "Type": {
+ "$id": "541",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "542",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "543",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "544",
+ "Name": "after",
+ "NameInRequest": "After",
+ "Description": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "Type": {
+ "$id": "545",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "546",
+ "Name": "acceptDatetime",
+ "NameInRequest": "Accept-Datetime",
+ "Description": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "Type": {
+ "$id": "547",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "548",
+ "Name": "select",
+ "NameInRequest": "$Select",
+ "Description": "Used to select what fields are present in the returned resource(s).",
+ "Type": {
+ "$id": "549",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "ArraySerializationDelimiter": ",",
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "550",
+ "Name": "snapshot",
+ "NameInRequest": "snapshot",
+ "Description": "A filter used get key-values for a snapshot. Not valid when used with 'key' and 'label' filters.",
+ "Type": {
+ "$id": "551",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "552",
+ "Name": "ifMatch",
+ "NameInRequest": "If-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "Type": {
+ "$id": "553",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "554",
+ "Name": "ifNoneMatch",
+ "NameInRequest": "If-None-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "Type": {
+ "$id": "555",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "556",
+ "Name": "tags",
+ "NameInRequest": "tags",
+ "Description": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/keyvaluefiltering",
+ "Type": {
+ "$id": "557",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "558",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": true,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "559",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "560",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "561",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "562",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "563",
+ "kind": "constant",
+ "valueType": {
+ "$id": "564",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Constant",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "565",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "566",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "567",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "568",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "569",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "IsErrorResponse": false
+ }
+ ],
+ "HttpMethod": "HEAD",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/kv",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValues",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "570",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2023-11-01/CheckKeyValues.json",
+ "parameters": [
+ {
+ "$id": "571",
+ "parameter": {
+ "$ref": "534"
+ },
+ "value": {
+ "$id": "572",
+ "kind": "string",
+ "type": {
+ "$ref": "535"
+ },
+ "value": "2023-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "573",
+ "response": {
+ "$ref": "565"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "574",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using the If-Match header.",
+ "description": "Requests the headers and status of the given resource using the If-Match header.",
+ "filePath": "2023-11-01/CheckKeyValues_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "575",
+ "parameter": {
+ "$ref": "534"
+ },
+ "value": {
+ "$id": "576",
+ "kind": "string",
+ "type": {
+ "$ref": "535"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "577",
+ "parameter": {
+ "$ref": "552"
+ },
+ "value": {
+ "$id": "578",
+ "kind": "string",
+ "type": {
+ "$ref": "553"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "579",
+ "response": {
+ "$ref": "565"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "580",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using the If-None-Match header.",
+ "description": "Requests the headers and status of the given resource using the If-None-Match header.",
+ "filePath": "2023-11-01/CheckKeyValues_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "581",
+ "parameter": {
+ "$ref": "534"
+ },
+ "value": {
+ "$id": "582",
+ "kind": "string",
+ "type": {
+ "$ref": "535"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "583",
+ "parameter": {
+ "$ref": "554"
+ },
+ "value": {
+ "$id": "584",
+ "kind": "string",
+ "type": {
+ "$ref": "555"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "585",
+ "response": {
+ "$ref": "565"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "586",
+ "Name": "getKeyValue",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Gets a single key-value.",
+ "Description": "Gets a single key-value.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "587",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "588",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "589",
+ "Type": {
+ "$id": "590",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "591",
+ "Name": "key",
+ "NameInRequest": "key",
+ "Description": "The key of the key-value.",
+ "Type": {
+ "$id": "592",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Path",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "593",
+ "Name": "label",
+ "NameInRequest": "label",
+ "Description": "The label of the key-value to retrieve.",
+ "Type": {
+ "$id": "594",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "595",
+ "Name": "select",
+ "NameInRequest": "$Select",
+ "Description": "Used to select what fields are present in the returned resource(s).",
+ "Type": {
+ "$id": "596",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "ArraySerializationDelimiter": ",",
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "597",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "598",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "599",
+ "Name": "acceptDatetime",
+ "NameInRequest": "Accept-Datetime",
+ "Description": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "Type": {
+ "$id": "600",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "601",
+ "Name": "ifMatch",
+ "NameInRequest": "If-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "Type": {
+ "$id": "602",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "603",
+ "Name": "ifNoneMatch",
+ "NameInRequest": "If-None-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "Type": {
+ "$id": "604",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "605",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "606",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "607",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "608",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "609",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "610",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "206"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "611",
+ "Name": "clientRequestId",
+ "NameInResponse": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "612",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "613",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ }
+ },
+ {
+ "$id": "614",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "615",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "616",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "617",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "618",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "32"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "GET",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/kv/{key}",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.getKeyValue",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "619",
+ "kind": "http",
+ "name": "Gets a single key-value.",
+ "description": "Gets a single key-value.",
+ "filePath": "2023-11-01/GetKeyValue.json",
+ "parameters": [
+ {
+ "$id": "620",
+ "parameter": {
+ "$ref": "587"
+ },
+ "value": {
+ "$id": "621",
+ "kind": "string",
+ "type": {
+ "$ref": "588"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "622",
+ "parameter": {
+ "$ref": "591"
+ },
+ "value": {
+ "$id": "623",
+ "kind": "string",
+ "type": {
+ "$ref": "592"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "624",
+ "response": {
+ "$ref": "610"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "625",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "626",
+ "etag": {
+ "$id": "627",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "628",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "629",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "630",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "631"
+ }
+ },
+ "locked": {
+ "$id": "632",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "633",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "634",
+ "kind": "http",
+ "name": "Gets a single key-value using the If-Match header.",
+ "description": "Gets a single key-value using the If-Match header.",
+ "filePath": "2023-11-01/GetKeyValue_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "635",
+ "parameter": {
+ "$ref": "587"
+ },
+ "value": {
+ "$id": "636",
+ "kind": "string",
+ "type": {
+ "$ref": "588"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "637",
+ "parameter": {
+ "$ref": "591"
+ },
+ "value": {
+ "$id": "638",
+ "kind": "string",
+ "type": {
+ "$ref": "592"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "639",
+ "parameter": {
+ "$ref": "601"
+ },
+ "value": {
+ "$id": "640",
+ "kind": "string",
+ "type": {
+ "$ref": "602"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "641",
+ "response": {
+ "$ref": "610"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "642",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "643",
+ "etag": {
+ "$id": "644",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ },
+ "key": {
+ "$id": "645",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "646",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "647",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "648"
+ }
+ },
+ "locked": {
+ "$id": "649",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "650",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "651",
+ "kind": "http",
+ "name": "Gets a single key-value using the If-None-Match header.",
+ "description": "Gets a single key-value using the If-None-Match header.",
+ "filePath": "2023-11-01/GetKeyValue_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "652",
+ "parameter": {
+ "$ref": "587"
+ },
+ "value": {
+ "$id": "653",
+ "kind": "string",
+ "type": {
+ "$ref": "588"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "654",
+ "parameter": {
+ "$ref": "591"
+ },
+ "value": {
+ "$id": "655",
+ "kind": "string",
+ "type": {
+ "$ref": "592"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "656",
+ "parameter": {
+ "$ref": "603"
+ },
+ "value": {
+ "$id": "657",
+ "kind": "string",
+ "type": {
+ "$ref": "604"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "658",
+ "response": {
+ "$ref": "610"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "659",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "660",
+ "etag": {
+ "$id": "661",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "662",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "663",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "664",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "665"
+ }
+ },
+ "locked": {
+ "$id": "666",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "667",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "668",
+ "Name": "putKeyValue",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Creates a key-value.",
+ "Description": "Creates a key-value.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "669",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "670",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "671",
+ "Type": {
+ "$id": "672",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "673",
+ "Name": "contentType",
+ "NameInRequest": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "38"
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": true,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "674",
+ "Name": "key",
+ "NameInRequest": "key",
+ "Description": "The key of the key-value to create.",
+ "Type": {
+ "$id": "675",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Path",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "676",
+ "Name": "label",
+ "NameInRequest": "label",
+ "Description": "The label of the key-value to create.",
+ "Type": {
+ "$id": "677",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "678",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "679",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "680",
+ "Name": "ifMatch",
+ "NameInRequest": "If-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "Type": {
+ "$id": "681",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "682",
+ "Name": "ifNoneMatch",
+ "NameInRequest": "If-None-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "Type": {
+ "$id": "683",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "684",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "685",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "686",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "687",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "688",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "689",
+ "Name": "entity",
+ "NameInRequest": "entity",
+ "Description": "The key-value to create.",
+ "Type": {
+ "$ref": "206"
+ },
+ "Location": "Body",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "690",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "206"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "691",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "692",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "693",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "694",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "695",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "52"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "PUT",
+ "RequestBodyMediaType": "Json",
+ "Uri": "{endpoint}",
+ "Path": "/kv/{key}",
+ "RequestMediaTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/vnd.microsoft.appconfig.kvset+json",
+ "application/json",
+ "text/json",
+ "application/*+json",
+ "application/json-patch+json"
+ ],
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.putKeyValue",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "696",
+ "kind": "http",
+ "name": "Creates a key-value.",
+ "description": "Creates a key-value.",
+ "filePath": "2023-11-01/PutKeyValue.json",
+ "parameters": [
+ {
+ "$id": "697",
+ "parameter": {
+ "$ref": "669"
+ },
+ "value": {
+ "$id": "698",
+ "kind": "string",
+ "type": {
+ "$ref": "670"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "699",
+ "parameter": {
+ "$ref": "674"
+ },
+ "value": {
+ "$id": "700",
+ "kind": "string",
+ "type": {
+ "$ref": "675"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "701",
+ "response": {
+ "$ref": "690"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "702",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "703",
+ "etag": {
+ "$id": "704",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "tnIHBkDYQwtdNMLoWtr5aybkKwL"
+ },
+ "key": {
+ "$id": "705",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "706",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "707",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "708"
+ }
+ },
+ "locked": {
+ "$id": "709",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "710",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "711",
+ "kind": "http",
+ "name": "Creates a key-value with the If-Match header.",
+ "description": "Creates a key-value with the If-Match header.",
+ "filePath": "2023-11-01/PutKeyValue_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "712",
+ "parameter": {
+ "$ref": "669"
+ },
+ "value": {
+ "$id": "713",
+ "kind": "string",
+ "type": {
+ "$ref": "670"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "714",
+ "parameter": {
+ "$ref": "674"
+ },
+ "value": {
+ "$id": "715",
+ "kind": "string",
+ "type": {
+ "$ref": "675"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "716",
+ "parameter": {
+ "$ref": "680"
+ },
+ "value": {
+ "$id": "717",
+ "kind": "string",
+ "type": {
+ "$ref": "681"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "718",
+ "response": {
+ "$ref": "690"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "719",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "720",
+ "etag": {
+ "$id": "721",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ },
+ "key": {
+ "$id": "722",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "723",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "724",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "725"
+ }
+ },
+ "locked": {
+ "$id": "726",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "727",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "728",
+ "Name": "deleteKeyValue",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Deletes a key-value.",
+ "Description": "Deletes a key-value.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "729",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "730",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "731",
+ "Type": {
+ "$id": "732",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "733",
+ "Name": "key",
+ "NameInRequest": "key",
+ "Description": "The key of the key-value to delete.",
+ "Type": {
+ "$id": "734",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Path",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "735",
+ "Name": "label",
+ "NameInRequest": "label",
+ "Description": "The label of the key-value to delete.",
+ "Type": {
+ "$id": "736",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "737",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "738",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "739",
+ "Name": "ifMatch",
+ "NameInRequest": "If-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "Type": {
+ "$id": "740",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "741",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "742",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "743",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "744",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "745",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "746",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "206"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "747",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "748",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "749",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "750",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "751",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "58"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/problem+json"
+ ]
+ },
+ {
+ "$id": "752",
+ "StatusCodes": [
+ 204
+ ],
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "753",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "754",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "IsErrorResponse": false
+ }
+ ],
+ "HttpMethod": "DELETE",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/kv/{key}",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.deleteKeyValue",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "755",
+ "kind": "http",
+ "name": "Deletes a key-value.",
+ "description": "Deletes a key-value.",
+ "filePath": "2023-11-01/DeleteKeyValue.json",
+ "parameters": [
+ {
+ "$id": "756",
+ "parameter": {
+ "$ref": "729"
+ },
+ "value": {
+ "$id": "757",
+ "kind": "string",
+ "type": {
+ "$ref": "730"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "758",
+ "parameter": {
+ "$ref": "733"
+ },
+ "value": {
+ "$id": "759",
+ "kind": "string",
+ "type": {
+ "$ref": "734"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "760",
+ "response": {
+ "$ref": "746"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "761",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "762",
+ "etag": {
+ "$id": "763",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "7XpB48ET4VAlB9068ft6fKMyA3m"
+ },
+ "key": {
+ "$id": "764",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "765",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "766",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "767"
+ }
+ },
+ "locked": {
+ "$id": "768",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "769",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ },
+ {
+ "$id": "770",
+ "response": {
+ "$ref": "752"
+ },
+ "statusCode": 204
+ }
+ ]
+ },
+ {
+ "$id": "771",
+ "kind": "http",
+ "name": "Deletes a key-value using If-Match header",
+ "description": "Deletes a key-value using If-Match header",
+ "filePath": "2023-11-01/DeleteKeyValue_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "772",
+ "parameter": {
+ "$ref": "729"
+ },
+ "value": {
+ "$id": "773",
+ "kind": "string",
+ "type": {
+ "$ref": "730"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "774",
+ "parameter": {
+ "$ref": "733"
+ },
+ "value": {
+ "$id": "775",
+ "kind": "string",
+ "type": {
+ "$ref": "734"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "776",
+ "parameter": {
+ "$ref": "739"
+ },
+ "value": {
+ "$id": "777",
+ "kind": "string",
+ "type": {
+ "$ref": "740"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "778",
+ "response": {
+ "$ref": "746"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "779",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "780",
+ "etag": {
+ "$id": "781",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ },
+ "key": {
+ "$id": "782",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "783",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "784",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "785"
+ }
+ },
+ "locked": {
+ "$id": "786",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "787",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ },
+ {
+ "$id": "788",
+ "response": {
+ "$ref": "752"
+ },
+ "statusCode": 204
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "789",
+ "Name": "checkKeyValue",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Requests the headers and status of the given resource.",
+ "Description": "Requests the headers and status of the given resource.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "790",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "791",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "792",
+ "Type": {
+ "$id": "793",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "794",
+ "Name": "key",
+ "NameInRequest": "key",
+ "Description": "The key of the key-value to retrieve.",
+ "Type": {
+ "$id": "795",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Path",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "796",
+ "Name": "label",
+ "NameInRequest": "label",
+ "Description": "The label of the key-value to retrieve.",
+ "Type": {
+ "$id": "797",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "798",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "799",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "800",
+ "Name": "acceptDatetime",
+ "NameInRequest": "Accept-Datetime",
+ "Description": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "Type": {
+ "$id": "801",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "802",
+ "Name": "ifMatch",
+ "NameInRequest": "If-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "Type": {
+ "$id": "803",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "804",
+ "Name": "ifNoneMatch",
+ "NameInRequest": "If-None-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "Type": {
+ "$id": "805",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "806",
+ "Name": "select",
+ "NameInRequest": "$Select",
+ "Description": "Used to select what fields are present in the returned resource(s).",
+ "Type": {
+ "$id": "807",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "ArraySerializationDelimiter": ",",
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "808",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "809",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "810",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "811",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "812",
+ "kind": "constant",
+ "valueType": {
+ "$id": "813",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Constant",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "814",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "815",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "816",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "817",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "818",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "IsErrorResponse": false
+ }
+ ],
+ "HttpMethod": "HEAD",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/kv/{key}",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.checkKeyValue",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "819",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2023-11-01/CheckKeyValue.json",
+ "parameters": [
+ {
+ "$id": "820",
+ "parameter": {
+ "$ref": "790"
+ },
+ "value": {
+ "$id": "821",
+ "kind": "string",
+ "type": {
+ "$ref": "791"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "822",
+ "parameter": {
+ "$ref": "794"
+ },
+ "value": {
+ "$id": "823",
+ "kind": "string",
+ "type": {
+ "$ref": "795"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "824",
+ "response": {
+ "$ref": "814"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "825",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using the If-Match header.",
+ "description": "Requests the headers and status of the given resource using the If-Match header.",
+ "filePath": "2023-11-01/CheckKeyValue_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "826",
+ "parameter": {
+ "$ref": "790"
+ },
+ "value": {
+ "$id": "827",
+ "kind": "string",
+ "type": {
+ "$ref": "791"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "828",
+ "parameter": {
+ "$ref": "794"
+ },
+ "value": {
+ "$id": "829",
+ "kind": "string",
+ "type": {
+ "$ref": "795"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "830",
+ "parameter": {
+ "$ref": "802"
+ },
+ "value": {
+ "$id": "831",
+ "kind": "string",
+ "type": {
+ "$ref": "803"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "832",
+ "response": {
+ "$ref": "814"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "833",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using the If-None-Match header.",
+ "description": "Requests the headers and status of the given resource using the If-None-Match header.",
+ "filePath": "2023-11-01/CheckKeyValue_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "834",
+ "parameter": {
+ "$ref": "790"
+ },
+ "value": {
+ "$id": "835",
+ "kind": "string",
+ "type": {
+ "$ref": "791"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "836",
+ "parameter": {
+ "$ref": "794"
+ },
+ "value": {
+ "$id": "837",
+ "kind": "string",
+ "type": {
+ "$ref": "795"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "838",
+ "parameter": {
+ "$ref": "804"
+ },
+ "value": {
+ "$id": "839",
+ "kind": "string",
+ "type": {
+ "$ref": "805"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "840",
+ "response": {
+ "$ref": "814"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "841",
+ "Name": "getSnapshots",
+ "ResourceName": "Snapshot",
+ "Summary": "Gets a list of key-value snapshots.",
+ "Description": "Gets a list of key-value snapshots.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "842",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "843",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "844",
+ "Type": {
+ "$id": "845",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "846",
+ "Name": "name",
+ "NameInRequest": "name",
+ "Description": "A filter for the name of the returned snapshots.",
+ "Type": {
+ "$id": "847",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "848",
+ "Name": "after",
+ "NameInRequest": "After",
+ "Description": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "Type": {
+ "$id": "849",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "850",
+ "Name": "select",
+ "NameInRequest": "$Select",
+ "Description": "Used to select what fields are present in the returned resource(s).",
+ "Type": {
+ "$id": "851",
+ "kind": "array",
+ "name": "ArraySnapshotFields",
+ "valueType": {
+ "$ref": "64"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "ArraySerializationDelimiter": ",",
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "852",
+ "Name": "status",
+ "NameInRequest": "status",
+ "Description": "Used to filter returned snapshots by their status property.",
+ "Type": {
+ "$id": "853",
+ "kind": "array",
+ "name": "ArraySnapshotStatus",
+ "valueType": {
+ "$ref": "88"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "ArraySerializationDelimiter": ",",
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "854",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "855",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "856",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "857",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "858",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "230"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "859",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "860",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "861",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "104"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.snapshotset+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "GET",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/snapshots",
+ "BufferResponse": true,
+ "Paging": {
+ "$id": "862",
+ "ItemName": "items",
+ "NextLinkName": "@nextLink"
+ },
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.getSnapshots",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "863",
+ "kind": "http",
+ "name": "Gets a list of key-value snapshots.",
+ "description": "Gets a list of key-value snapshots.",
+ "filePath": "2023-11-01/GetSnapshots.json",
+ "parameters": [
+ {
+ "$id": "864",
+ "parameter": {
+ "$ref": "842"
+ },
+ "value": {
+ "$id": "865",
+ "kind": "string",
+ "type": {
+ "$ref": "843"
+ },
+ "value": "2023-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "866",
+ "response": {
+ "$ref": "858"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "867",
+ "kind": "model",
+ "type": {
+ "$ref": "230"
+ },
+ "value": {
+ "$id": "868",
+ "items": {
+ "$id": "869",
+ "kind": "array",
+ "type": {
+ "$ref": "232"
+ },
+ "value": [
+ {
+ "$id": "870",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "871",
+ "etag": {
+ "$id": "872",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "873",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "874",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "ready"
+ },
+ "filters": {
+ "$id": "875",
+ "kind": "array",
+ "type": {
+ "$ref": "238"
+ },
+ "value": [
+ {
+ "$id": "876",
+ "kind": "model",
+ "type": {
+ "$ref": "239"
+ },
+ "value": {
+ "$id": "877",
+ "key": {
+ "$id": "878",
+ "kind": "string",
+ "type": {
+ "$ref": "241"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "879",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "created": {
+ "$id": "880",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "881",
+ "kind": "number",
+ "type": {
+ "$ref": "257"
+ },
+ "value": 100000
+ },
+ "items_count": {
+ "$id": "882",
+ "kind": "number",
+ "type": {
+ "$ref": "259"
+ },
+ "value": 71
+ },
+ "retention_period": {
+ "$id": "883",
+ "kind": "number",
+ "type": {
+ "$ref": "255"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "884",
+ "kind": "dict",
+ "type": {
+ "$ref": "261"
+ },
+ "value": {
+ "$id": "885",
+ "release": {
+ "$id": "886",
+ "kind": "string",
+ "type": {
+ "$ref": "263"
+ },
+ "value": "{link/id}"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "887",
+ "Name": "checkSnapshots",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Requests the headers and status of the given resource.",
+ "Description": "Requests the headers and status of the given resource.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "888",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "889",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "890",
+ "Type": {
+ "$id": "891",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "892",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "893",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "894",
+ "Name": "after",
+ "NameInRequest": "After",
+ "Description": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "Type": {
+ "$id": "895",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "896",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "897",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "898",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "899",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "900",
+ "kind": "constant",
+ "valueType": {
+ "$id": "901",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Constant",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "902",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "903",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "904",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "IsErrorResponse": false
+ }
+ ],
+ "HttpMethod": "HEAD",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/snapshots",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshots",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "905",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2023-11-01/CheckSnapshots.json",
+ "parameters": [
+ {
+ "$id": "906",
+ "parameter": {
+ "$ref": "888"
+ },
+ "value": {
+ "$id": "907",
+ "kind": "string",
+ "type": {
+ "$ref": "889"
+ },
+ "value": "2023-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "908",
+ "response": {
+ "$ref": "902"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "909",
+ "Name": "getSnapshot",
+ "ResourceName": "Snapshot",
+ "Summary": "Gets a single key-value snapshot.",
+ "Description": "Gets a single key-value snapshot.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "910",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "911",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "912",
+ "Type": {
+ "$id": "913",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "914",
+ "Name": "name",
+ "NameInRequest": "name",
+ "Description": "The name of the snapshot.",
+ "Type": {
+ "$id": "915",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Path",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "916",
+ "Name": "select",
+ "NameInRequest": "$Select",
+ "Description": "Used to select what fields are present in the returned resource(s).",
+ "Type": {
+ "$id": "917",
+ "kind": "array",
+ "name": "ArraySnapshotFields",
+ "valueType": {
+ "$ref": "64"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "ArraySerializationDelimiter": ",",
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "918",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "919",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "920",
+ "Name": "ifMatch",
+ "NameInRequest": "If-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "Type": {
+ "$id": "921",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "922",
+ "Name": "ifNoneMatch",
+ "NameInRequest": "If-None-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "Type": {
+ "$id": "923",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "924",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "925",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "926",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "927",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "928",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "929",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "233"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "930",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "931",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "932",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "933",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "934",
+ "Name": "link",
+ "NameInResponse": "Link",
+ "Description": "Includes links to related resources.",
+ "Type": {
+ "$id": "935",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "936",
+ "Name": "clientRequestId",
+ "NameInResponse": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "937",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "938",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ }
+ },
+ {
+ "$id": "939",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "110"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.snapshot+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "GET",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/snapshots/{name}",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.getSnapshot",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "940",
+ "kind": "http",
+ "name": "Gets a single key-value snapshot.",
+ "description": "Gets a single key-value snapshot.",
+ "filePath": "2023-11-01/GetSnapshot.json",
+ "parameters": [
+ {
+ "$id": "941",
+ "parameter": {
+ "$ref": "910"
+ },
+ "value": {
+ "$id": "942",
+ "kind": "string",
+ "type": {
+ "$ref": "911"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "943",
+ "parameter": {
+ "$ref": "914"
+ },
+ "value": {
+ "$id": "944",
+ "kind": "string",
+ "type": {
+ "$ref": "915"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "945",
+ "response": {
+ "$ref": "929"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "946",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "947",
+ "etag": {
+ "$id": "948",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "949",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "950",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "ready"
+ },
+ "filters": {
+ "$id": "951",
+ "kind": "array",
+ "type": {
+ "$ref": "238"
+ },
+ "value": [
+ {
+ "$id": "952",
+ "kind": "model",
+ "type": {
+ "$ref": "239"
+ },
+ "value": {
+ "$id": "953",
+ "key": {
+ "$id": "954",
+ "kind": "string",
+ "type": {
+ "$ref": "241"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "955",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "created": {
+ "$id": "956",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "957",
+ "kind": "number",
+ "type": {
+ "$ref": "257"
+ },
+ "value": 100000
+ },
+ "items_count": {
+ "$id": "958",
+ "kind": "number",
+ "type": {
+ "$ref": "259"
+ },
+ "value": 71
+ },
+ "retention_period": {
+ "$id": "959",
+ "kind": "number",
+ "type": {
+ "$ref": "255"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "960",
+ "kind": "dict",
+ "type": {
+ "$ref": "261"
+ },
+ "value": {
+ "$id": "961",
+ "release": {
+ "$id": "962",
+ "kind": "string",
+ "type": {
+ "$ref": "263"
+ },
+ "value": "{link/id}"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "963",
+ "kind": "http",
+ "name": "Gets a single key-value snapshot failed.",
+ "description": "Gets a single key-value snapshot failed.",
+ "filePath": "2023-11-01/GetSnapshot_Failed.json",
+ "parameters": [
+ {
+ "$id": "964",
+ "parameter": {
+ "$ref": "910"
+ },
+ "value": {
+ "$id": "965",
+ "kind": "string",
+ "type": {
+ "$ref": "911"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "966",
+ "parameter": {
+ "$ref": "914"
+ },
+ "value": {
+ "$id": "967",
+ "kind": "string",
+ "type": {
+ "$ref": "915"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "968",
+ "parameter": {
+ "$ref": "920"
+ },
+ "value": {
+ "$id": "969",
+ "kind": "string",
+ "type": {
+ "$ref": "921"
+ },
+ "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "970",
+ "response": {
+ "$ref": "929"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "971",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "972",
+ "etag": {
+ "$id": "973",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "974",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "975",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "failed"
+ },
+ "filters": {
+ "$id": "976",
+ "kind": "array",
+ "type": {
+ "$ref": "238"
+ },
+ "value": [
+ {
+ "$id": "977",
+ "kind": "model",
+ "type": {
+ "$ref": "239"
+ },
+ "value": {
+ "$id": "978",
+ "key": {
+ "$id": "979",
+ "kind": "string",
+ "type": {
+ "$ref": "241"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "980",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "created": {
+ "$id": "981",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "982",
+ "kind": "number",
+ "type": {
+ "$ref": "257"
+ },
+ "value": 0
+ },
+ "items_count": {
+ "$id": "983",
+ "kind": "number",
+ "type": {
+ "$ref": "259"
+ },
+ "value": 0
+ },
+ "retention_period": {
+ "$id": "984",
+ "kind": "number",
+ "type": {
+ "$ref": "255"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "985",
+ "kind": "dict",
+ "type": {
+ "$ref": "261"
+ },
+ "value": {
+ "$id": "986",
+ "release": {
+ "$id": "987",
+ "kind": "string",
+ "type": {
+ "$ref": "263"
+ },
+ "value": "{link/id}"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "988",
+ "kind": "http",
+ "name": "Gets a single key-value snapshot using If-Match header.",
+ "description": "Gets a single key-value snapshot using If-Match header.",
+ "filePath": "2023-11-01/GetSnapshot_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "989",
+ "parameter": {
+ "$ref": "910"
+ },
+ "value": {
+ "$id": "990",
+ "kind": "string",
+ "type": {
+ "$ref": "911"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "991",
+ "parameter": {
+ "$ref": "914"
+ },
+ "value": {
+ "$id": "992",
+ "kind": "string",
+ "type": {
+ "$ref": "915"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "993",
+ "parameter": {
+ "$ref": "920"
+ },
+ "value": {
+ "$id": "994",
+ "kind": "string",
+ "type": {
+ "$ref": "921"
+ },
+ "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "995",
+ "response": {
+ "$ref": "929"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "996",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "997",
+ "etag": {
+ "$id": "998",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "999",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1000",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "ready"
+ },
+ "filters": {
+ "$id": "1001",
+ "kind": "array",
+ "type": {
+ "$ref": "238"
+ },
+ "value": [
+ {
+ "$id": "1002",
+ "kind": "model",
+ "type": {
+ "$ref": "239"
+ },
+ "value": {
+ "$id": "1003",
+ "key": {
+ "$id": "1004",
+ "kind": "string",
+ "type": {
+ "$ref": "241"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1005",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "created": {
+ "$id": "1006",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1007",
+ "kind": "number",
+ "type": {
+ "$ref": "257"
+ },
+ "value": 100000
+ },
+ "items_count": {
+ "$id": "1008",
+ "kind": "number",
+ "type": {
+ "$ref": "259"
+ },
+ "value": 71
+ },
+ "retention_period": {
+ "$id": "1009",
+ "kind": "number",
+ "type": {
+ "$ref": "255"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "1010",
+ "kind": "dict",
+ "type": {
+ "$ref": "261"
+ },
+ "value": {
+ "$id": "1011",
+ "release": {
+ "$id": "1012",
+ "kind": "string",
+ "type": {
+ "$ref": "263"
+ },
+ "value": "{link/id}"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1013",
+ "kind": "http",
+ "name": "Gets a single key-value snapshot using If-None-Match header.",
+ "description": "Gets a single key-value snapshot using If-None-Match header.",
+ "filePath": "2023-11-01/GetSnapshot_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "1014",
+ "parameter": {
+ "$ref": "910"
+ },
+ "value": {
+ "$id": "1015",
+ "kind": "string",
+ "type": {
+ "$ref": "911"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1016",
+ "parameter": {
+ "$ref": "914"
+ },
+ "value": {
+ "$id": "1017",
+ "kind": "string",
+ "type": {
+ "$ref": "915"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1018",
+ "parameter": {
+ "$ref": "922"
+ },
+ "value": {
+ "$id": "1019",
+ "kind": "string",
+ "type": {
+ "$ref": "923"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1020",
+ "response": {
+ "$ref": "929"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1021",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "1022",
+ "etag": {
+ "$id": "1023",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1024",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1025",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "ready"
+ },
+ "filters": {
+ "$id": "1026",
+ "kind": "array",
+ "type": {
+ "$ref": "238"
+ },
+ "value": [
+ {
+ "$id": "1027",
+ "kind": "model",
+ "type": {
+ "$ref": "239"
+ },
+ "value": {
+ "$id": "1028",
+ "key": {
+ "$id": "1029",
+ "kind": "string",
+ "type": {
+ "$ref": "241"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1030",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "created": {
+ "$id": "1031",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1032",
+ "kind": "number",
+ "type": {
+ "$ref": "257"
+ },
+ "value": 100000
+ },
+ "items_count": {
+ "$id": "1033",
+ "kind": "number",
+ "type": {
+ "$ref": "259"
+ },
+ "value": 71
+ },
+ "retention_period": {
+ "$id": "1034",
+ "kind": "number",
+ "type": {
+ "$ref": "255"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "1035",
+ "kind": "dict",
+ "type": {
+ "$ref": "261"
+ },
+ "value": {
+ "$id": "1036",
+ "release": {
+ "$id": "1037",
+ "kind": "string",
+ "type": {
+ "$ref": "263"
+ },
+ "value": "{link/id}"
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1038",
+ "Name": "getOperationDetails",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Gets the state of a long running operation.",
+ "Description": "Gets the state of a long running operation.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "1039",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "1040",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "1041",
+ "Type": {
+ "$id": "1042",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1043",
+ "Name": "snapshot",
+ "NameInRequest": "snapshot",
+ "Description": "Snapshot identifier for the long running operation.",
+ "Type": {
+ "$id": "1044",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1045",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "1046",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1047",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1048",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "1049",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1050",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Constant",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "1051",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "268"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/json"
+ ]
+ }
+ ],
+ "HttpMethod": "GET",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/operations",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.getOperationDetails",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "1052",
+ "kind": "http",
+ "name": "Gets the state of a long running operation.",
+ "description": "Gets the state of a long running operation.",
+ "filePath": "2023-11-01/GetOperationStatus.json",
+ "parameters": [
+ {
+ "$id": "1053",
+ "parameter": {
+ "$ref": "1039"
+ },
+ "value": {
+ "$id": "1054",
+ "kind": "string",
+ "type": {
+ "$ref": "1040"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1055",
+ "parameter": {
+ "$ref": "1043"
+ },
+ "value": {
+ "$id": "1056",
+ "kind": "string",
+ "type": {
+ "$ref": "1044"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1057",
+ "response": {
+ "$ref": "1051"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1058",
+ "kind": "model",
+ "type": {
+ "$ref": "268"
+ },
+ "value": {
+ "$id": "1059",
+ "id": {
+ "$id": "1060",
+ "kind": "string",
+ "type": {
+ "$ref": "270"
+ },
+ "value": "4yghgV_8lJJ5t7_kxhMpsyNCyjmZE5Q6zU0pXOp7Jvs"
+ },
+ "status": {
+ "$id": "1061",
+ "kind": "string",
+ "type": {
+ "$ref": "116"
+ },
+ "value": "Running"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1062",
+ "Name": "createSnapshot",
+ "ResourceName": "Snapshot",
+ "Summary": "Creates a key-value snapshot.",
+ "Description": "Creates a key-value snapshot.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "1063",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "1064",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "1065",
+ "Type": {
+ "$id": "1066",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1067",
+ "Name": "contentType",
+ "NameInRequest": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "128"
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": true,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1068",
+ "Name": "name",
+ "NameInRequest": "name",
+ "Description": "The name of the key-value snapshot to create.",
+ "Type": {
+ "$id": "1069",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Path",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1070",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1071",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1072",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "1073",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1074",
+ "Name": "entity",
+ "NameInRequest": "entity",
+ "Description": "The key-value snapshot to create.",
+ "Type": {
+ "$ref": "233"
+ },
+ "Location": "Body",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "1075",
+ "StatusCodes": [
+ 201
+ ],
+ "BodyType": {
+ "$ref": "233"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "1076",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1077",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1078",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "1079",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1080",
+ "Name": "link",
+ "NameInResponse": "Link",
+ "Description": "Includes links to related resources.",
+ "Type": {
+ "$id": "1081",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1082",
+ "Name": "operationLocation",
+ "NameInResponse": "Operation-Location",
+ "Description": "The location for monitoring the operation state.",
+ "Type": {
+ "$id": "1083",
+ "kind": "url",
+ "name": "ResourceLocation",
+ "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation",
+ "baseType": {
+ "$id": "1084",
+ "kind": "url",
+ "name": "url",
+ "crossLanguageDefinitionId": "TypeSpec.url",
+ "decorators": []
+ },
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1085",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "134"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.snapshot+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "PUT",
+ "RequestBodyMediaType": "Json",
+ "Uri": "{endpoint}",
+ "Path": "/snapshots/{name}",
+ "RequestMediaTypes": [
+ "application/vnd.microsoft.appconfig.snapshot+json",
+ "application/json"
+ ],
+ "BufferResponse": true,
+ "LongRunning": {
+ "$id": "1086",
+ "FinalStateVia": 2,
+ "FinalResponse": {
+ "$id": "1087",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "233"
+ },
+ "BodyMediaType": "Json"
+ }
+ },
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.createSnapshot",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "1088",
+ "kind": "http",
+ "name": "Creates a key-value snapshot.",
+ "description": "Creates a key-value snapshot.",
+ "filePath": "2023-11-01/CreateSnapshot.json",
+ "parameters": [
+ {
+ "$id": "1089",
+ "parameter": {
+ "$ref": "1063"
+ },
+ "value": {
+ "$id": "1090",
+ "kind": "string",
+ "type": {
+ "$ref": "1064"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1091",
+ "parameter": {
+ "$ref": "1068"
+ },
+ "value": {
+ "$id": "1092",
+ "kind": "string",
+ "type": {
+ "$ref": "1069"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1093",
+ "parameter": {
+ "$ref": "1074"
+ },
+ "value": {
+ "$id": "1094",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "1095",
+ "filters": {
+ "$id": "1096",
+ "kind": "array",
+ "type": {
+ "$ref": "238"
+ },
+ "value": [
+ {
+ "$id": "1097",
+ "kind": "model",
+ "type": {
+ "$ref": "239"
+ },
+ "value": {
+ "$id": "1098",
+ "key": {
+ "$id": "1099",
+ "kind": "string",
+ "type": {
+ "$ref": "241"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1100",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "retention_period": {
+ "$id": "1101",
+ "kind": "number",
+ "type": {
+ "$ref": "255"
+ },
+ "value": 3600
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1102",
+ "response": {
+ "$ref": "1075"
+ },
+ "statusCode": 201,
+ "bodyValue": {
+ "$id": "1103",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "1104",
+ "etag": {
+ "$id": "1105",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1106",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1107",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "provisioning"
+ },
+ "filters": {
+ "$id": "1108",
+ "kind": "array",
+ "type": {
+ "$ref": "238"
+ },
+ "value": [
+ {
+ "$id": "1109",
+ "kind": "model",
+ "type": {
+ "$ref": "239"
+ },
+ "value": {
+ "$id": "1110",
+ "key": {
+ "$id": "1111",
+ "kind": "string",
+ "type": {
+ "$ref": "241"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1112",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "created": {
+ "$id": "1113",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1114",
+ "kind": "number",
+ "type": {
+ "$ref": "257"
+ },
+ "value": 0
+ },
+ "items_count": {
+ "$id": "1115",
+ "kind": "number",
+ "type": {
+ "$ref": "259"
+ },
+ "value": 0
+ },
+ "retention_period": {
+ "$id": "1116",
+ "kind": "number",
+ "type": {
+ "$ref": "255"
+ },
+ "value": 3600
+ },
+ "tags": {
+ "$id": "1117",
+ "kind": "dict",
+ "type": {
+ "$ref": "261"
+ },
+ "value": {
+ "$id": "1118"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1119",
+ "Name": "updateSnapshot",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Updates the state of a key-value snapshot.",
+ "Description": "Updates the state of a key-value snapshot.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "1120",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "1121",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "1122",
+ "Type": {
+ "$id": "1123",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1124",
+ "Name": "contentType",
+ "NameInRequest": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "140"
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": true,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1125",
+ "Name": "name",
+ "NameInRequest": "name",
+ "Description": "The name of the key-value snapshot to update.",
+ "Type": {
+ "$id": "1126",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Path",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1127",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1128",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1129",
+ "Name": "ifMatch",
+ "NameInRequest": "If-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "Type": {
+ "$id": "1130",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1131",
+ "Name": "ifNoneMatch",
+ "NameInRequest": "If-None-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "Type": {
+ "$id": "1132",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1133",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "1134",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1135",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1136",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "1137",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1138",
+ "Name": "entity",
+ "NameInRequest": "entity",
+ "Description": "The parameters used to update the snapshot.",
+ "Type": {
+ "$ref": "287"
+ },
+ "Location": "Body",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "1139",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "233"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "1140",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1141",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1142",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "1143",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1144",
+ "Name": "link",
+ "NameInResponse": "Link",
+ "Description": "Includes links to related resources.",
+ "Type": {
+ "$id": "1145",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1146",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "146"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.snapshot+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "PATCH",
+ "RequestBodyMediaType": "Json",
+ "Uri": "{endpoint}",
+ "Path": "/snapshots/{name}",
+ "RequestMediaTypes": [
+ "application/merge-patch+json",
+ "application/json"
+ ],
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": false,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.updateSnapshot",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "1147",
+ "kind": "http",
+ "name": "Updates the state of a key-value snapshot.",
+ "description": "Updates the state of a key-value snapshot.",
+ "filePath": "2023-11-01/UpdateSnapshot.json",
+ "parameters": [
+ {
+ "$id": "1148",
+ "parameter": {
+ "$ref": "1120"
+ },
+ "value": {
+ "$id": "1149",
+ "kind": "string",
+ "type": {
+ "$ref": "1121"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1150",
+ "parameter": {
+ "$ref": "1125"
+ },
+ "value": {
+ "$id": "1151",
+ "kind": "string",
+ "type": {
+ "$ref": "1126"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1152",
+ "parameter": {
+ "$ref": "1138"
+ },
+ "value": {
+ "$id": "1153",
+ "kind": "model",
+ "type": {
+ "$ref": "287"
+ },
+ "value": {
+ "$id": "1154",
+ "status": {
+ "$id": "1155",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "archived"
+ }
+ }
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1156",
+ "response": {
+ "$ref": "1139"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1157",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "1158",
+ "etag": {
+ "$id": "1159",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1160",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1161",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "archived"
+ },
+ "filters": {
+ "$id": "1162",
+ "kind": "array",
+ "type": {
+ "$ref": "238"
+ },
+ "value": [
+ {
+ "$id": "1163",
+ "kind": "model",
+ "type": {
+ "$ref": "239"
+ },
+ "value": {
+ "$id": "1164",
+ "key": {
+ "$id": "1165",
+ "kind": "string",
+ "type": {
+ "$ref": "241"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1166",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "created": {
+ "$id": "1167",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "expires": {
+ "$id": "1168",
+ "kind": "string",
+ "type": {
+ "$ref": "252"
+ },
+ "value": "2022-09-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1169",
+ "kind": "number",
+ "type": {
+ "$ref": "257"
+ },
+ "value": 10000
+ },
+ "items_count": {
+ "$id": "1170",
+ "kind": "number",
+ "type": {
+ "$ref": "259"
+ },
+ "value": 70
+ },
+ "retention_period": {
+ "$id": "1171",
+ "kind": "number",
+ "type": {
+ "$ref": "255"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "1172",
+ "kind": "dict",
+ "type": {
+ "$ref": "261"
+ },
+ "value": {
+ "$id": "1173"
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1174",
+ "kind": "http",
+ "name": "Updates the state of a key-value snapshot using the If-Match header.",
+ "description": "Updates the state of a key-value snapshot using the If-Match header.",
+ "filePath": "2023-11-01/UpdateSnapshot_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "1175",
+ "parameter": {
+ "$ref": "1120"
+ },
+ "value": {
+ "$id": "1176",
+ "kind": "string",
+ "type": {
+ "$ref": "1121"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1177",
+ "parameter": {
+ "$ref": "1125"
+ },
+ "value": {
+ "$id": "1178",
+ "kind": "string",
+ "type": {
+ "$ref": "1126"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1179",
+ "parameter": {
+ "$ref": "1138"
+ },
+ "value": {
+ "$id": "1180",
+ "kind": "model",
+ "type": {
+ "$ref": "287"
+ },
+ "value": {
+ "$id": "1181",
+ "status": {
+ "$id": "1182",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "archived"
+ }
+ }
+ }
+ },
+ {
+ "$id": "1183",
+ "parameter": {
+ "$ref": "1129"
+ },
+ "value": {
+ "$id": "1184",
+ "kind": "string",
+ "type": {
+ "$ref": "1130"
+ },
+ "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1185",
+ "response": {
+ "$ref": "1139"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1186",
+ "kind": "model",
+ "type": {
+ "$ref": "233"
+ },
+ "value": {
+ "$id": "1187",
+ "etag": {
+ "$id": "1188",
+ "kind": "string",
+ "type": {
+ "$ref": "265"
+ },
+ "value": "4f6dd610dd5e4deebc7fbaef685fb903"
+ },
+ "name": {
+ "$id": "1189",
+ "kind": "string",
+ "type": {
+ "$ref": "235"
+ },
+ "value": "Prod-2022-08-01"
+ },
+ "status": {
+ "$id": "1190",
+ "kind": "string",
+ "type": {
+ "$ref": "88"
+ },
+ "value": "archived"
+ },
+ "filters": {
+ "$id": "1191",
+ "kind": "array",
+ "type": {
+ "$ref": "238"
+ },
+ "value": [
+ {
+ "$id": "1192",
+ "kind": "model",
+ "type": {
+ "$ref": "239"
+ },
+ "value": {
+ "$id": "1193",
+ "key": {
+ "$id": "1194",
+ "kind": "string",
+ "type": {
+ "$ref": "241"
+ },
+ "value": "app1/*"
+ },
+ "label": {
+ "$id": "1195",
+ "kind": "string",
+ "type": {
+ "$ref": "243"
+ },
+ "value": "Production"
+ }
+ }
+ }
+ ]
+ },
+ "created": {
+ "$id": "1196",
+ "kind": "string",
+ "type": {
+ "$ref": "249"
+ },
+ "value": "2022-08-01T22:19:40+00:00"
+ },
+ "expires": {
+ "$id": "1197",
+ "kind": "string",
+ "type": {
+ "$ref": "252"
+ },
+ "value": "2022-09-01T22:19:40+00:00"
+ },
+ "size": {
+ "$id": "1198",
+ "kind": "number",
+ "type": {
+ "$ref": "257"
+ },
+ "value": 10000
+ },
+ "items_count": {
+ "$id": "1199",
+ "kind": "number",
+ "type": {
+ "$ref": "259"
+ },
+ "value": 70
+ },
+ "retention_period": {
+ "$id": "1200",
+ "kind": "number",
+ "type": {
+ "$ref": "255"
+ },
+ "value": 2592000
+ },
+ "tags": {
+ "$id": "1201",
+ "kind": "dict",
+ "type": {
+ "$ref": "261"
+ },
+ "value": {
+ "$id": "1202"
+ }
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1203",
+ "Name": "checkSnapshot",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Requests the headers and status of the given resource.",
+ "Description": "Requests the headers and status of the given resource.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "1204",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "1205",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "1206",
+ "Type": {
+ "$id": "1207",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1208",
+ "Name": "name",
+ "NameInRequest": "name",
+ "Description": "The name of the key-value snapshot to check.",
+ "Type": {
+ "$id": "1209",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Path",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1210",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1211",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1212",
+ "Name": "ifMatch",
+ "NameInRequest": "If-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "Type": {
+ "$id": "1213",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1214",
+ "Name": "ifNoneMatch",
+ "NameInRequest": "If-None-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "Type": {
+ "$id": "1215",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1216",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "1217",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1218",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1219",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "1220",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1221",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Constant",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "1222",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "1223",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1224",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1225",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "1226",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1227",
+ "Name": "link",
+ "NameInResponse": "Link",
+ "Description": "Includes links to related resources.",
+ "Type": {
+ "$id": "1228",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "IsErrorResponse": false
+ }
+ ],
+ "HttpMethod": "HEAD",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/snapshots/{name}",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.checkSnapshot",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "1229",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2023-11-01/CheckSnapshot.json",
+ "parameters": [
+ {
+ "$id": "1230",
+ "parameter": {
+ "$ref": "1204"
+ },
+ "value": {
+ "$id": "1231",
+ "kind": "string",
+ "type": {
+ "$ref": "1205"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1232",
+ "parameter": {
+ "$ref": "1208"
+ },
+ "value": {
+ "$id": "1233",
+ "kind": "string",
+ "type": {
+ "$ref": "1209"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1234",
+ "response": {
+ "$ref": "1222"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "1235",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using If-Match header.",
+ "description": "Requests the headers and status of the given resource using If-Match header.",
+ "filePath": "2023-11-01/CheckSnapshot_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "1236",
+ "parameter": {
+ "$ref": "1204"
+ },
+ "value": {
+ "$id": "1237",
+ "kind": "string",
+ "type": {
+ "$ref": "1205"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1238",
+ "parameter": {
+ "$ref": "1208"
+ },
+ "value": {
+ "$id": "1239",
+ "kind": "string",
+ "type": {
+ "$ref": "1209"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1240",
+ "parameter": {
+ "$ref": "1212"
+ },
+ "value": {
+ "$id": "1241",
+ "kind": "string",
+ "type": {
+ "$ref": "1213"
+ },
+ "value": "\"4f6dd610dd5e4deebc7fbaef685fb903\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1242",
+ "response": {
+ "$ref": "1222"
+ },
+ "statusCode": 200
+ }
+ ]
+ },
+ {
+ "$id": "1243",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource using If-None-Match header",
+ "description": "Requests the headers and status of the given resource using If-None-Match header",
+ "filePath": "2023-11-01/CheckSnapshot_IfNoneMatch.json",
+ "parameters": [
+ {
+ "$id": "1244",
+ "parameter": {
+ "$ref": "1204"
+ },
+ "value": {
+ "$id": "1245",
+ "kind": "string",
+ "type": {
+ "$ref": "1205"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1246",
+ "parameter": {
+ "$ref": "1208"
+ },
+ "value": {
+ "$id": "1247",
+ "kind": "string",
+ "type": {
+ "$ref": "1209"
+ },
+ "value": "Prod-2022-08-01"
+ }
+ },
+ {
+ "$id": "1248",
+ "parameter": {
+ "$ref": "1214"
+ },
+ "value": {
+ "$id": "1249",
+ "kind": "string",
+ "type": {
+ "$ref": "1215"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1250",
+ "response": {
+ "$ref": "1222"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1251",
+ "Name": "getLabels",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Gets a list of labels.",
+ "Description": "Gets a list of labels.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "1252",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "1253",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "1254",
+ "Type": {
+ "$id": "1255",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1256",
+ "Name": "name",
+ "NameInRequest": "name",
+ "Description": "A filter for the name of the returned labels.",
+ "Type": {
+ "$id": "1257",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1258",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1259",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1260",
+ "Name": "after",
+ "NameInRequest": "After",
+ "Description": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "Type": {
+ "$id": "1261",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1262",
+ "Name": "acceptDatetime",
+ "NameInRequest": "Accept-Datetime",
+ "Description": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "Type": {
+ "$id": "1263",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1264",
+ "Name": "select",
+ "NameInRequest": "$Select",
+ "Description": "Used to select what fields are present in the returned resource(s).",
+ "Type": {
+ "$id": "1265",
+ "kind": "array",
+ "name": "ArrayLabelFields",
+ "valueType": {
+ "$ref": "152"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "ArraySerializationDelimiter": ",",
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1266",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "1267",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1268",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1269",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "1270",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "1271",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "289"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "1272",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1273",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1274",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "156"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.labelset+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "GET",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/labels",
+ "BufferResponse": true,
+ "Paging": {
+ "$id": "1275",
+ "ItemName": "items",
+ "NextLinkName": "@nextLink"
+ },
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.getLabels",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "1276",
+ "kind": "http",
+ "name": "Gets a list of labels.",
+ "description": "Gets a list of labels.",
+ "filePath": "2023-11-01/GetLabels.json",
+ "parameters": [
+ {
+ "$id": "1277",
+ "parameter": {
+ "$ref": "1252"
+ },
+ "value": {
+ "$id": "1278",
+ "kind": "string",
+ "type": {
+ "$ref": "1253"
+ },
+ "value": "2023-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1279",
+ "response": {
+ "$ref": "1271"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1280",
+ "kind": "model",
+ "type": {
+ "$ref": "289"
+ },
+ "value": {
+ "$id": "1281",
+ "items": {
+ "$id": "1282",
+ "kind": "array",
+ "type": {
+ "$ref": "291"
+ },
+ "value": [
+ {
+ "$id": "1283",
+ "kind": "model",
+ "type": {
+ "$ref": "292"
+ },
+ "value": {
+ "$id": "1284"
+ }
+ },
+ {
+ "$id": "1285",
+ "kind": "model",
+ "type": {
+ "$ref": "292"
+ },
+ "value": {
+ "$id": "1286",
+ "name": {
+ "$id": "1287",
+ "kind": "string",
+ "type": {
+ "$ref": "294"
+ },
+ "value": "Asset1"
+ }
+ }
+ },
+ {
+ "$id": "1288",
+ "kind": "model",
+ "type": {
+ "$ref": "292"
+ },
+ "value": {
+ "$id": "1289",
+ "name": {
+ "$id": "1290",
+ "kind": "string",
+ "type": {
+ "$ref": "294"
+ },
+ "value": "Asset1/devCi"
+ }
+ }
+ },
+ {
+ "$id": "1291",
+ "kind": "model",
+ "type": {
+ "$ref": "292"
+ },
+ "value": {
+ "$id": "1292",
+ "name": {
+ "$id": "1293",
+ "kind": "string",
+ "type": {
+ "$ref": "294"
+ },
+ "value": "Asset1/devCi/branch1"
+ }
+ }
+ },
+ {
+ "$id": "1294",
+ "kind": "model",
+ "type": {
+ "$ref": "292"
+ },
+ "value": {
+ "$id": "1295",
+ "name": {
+ "$id": "1296",
+ "kind": "string",
+ "type": {
+ "$ref": "294"
+ },
+ "value": "WestUs"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1297",
+ "Name": "checkLabels",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Requests the headers and status of the given resource.",
+ "Description": "Requests the headers and status of the given resource.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "1298",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "1299",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "1300",
+ "Type": {
+ "$id": "1301",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1302",
+ "Name": "name",
+ "NameInRequest": "name",
+ "Description": "A filter for the name of the returned labels.",
+ "Type": {
+ "$id": "1303",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1304",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1305",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1306",
+ "Name": "after",
+ "NameInRequest": "After",
+ "Description": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "Type": {
+ "$id": "1307",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1308",
+ "Name": "acceptDatetime",
+ "NameInRequest": "Accept-Datetime",
+ "Description": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "Type": {
+ "$id": "1309",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1310",
+ "Name": "select",
+ "NameInRequest": "$Select",
+ "Description": "Used to select what fields are present in the returned resource(s).",
+ "Type": {
+ "$id": "1311",
+ "kind": "array",
+ "name": "ArrayLabelFields",
+ "valueType": {
+ "$ref": "152"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "ArraySerializationDelimiter": ",",
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1312",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "1313",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1314",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1315",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "1316",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1317",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Constant",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "1318",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "1319",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1320",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "IsErrorResponse": false
+ }
+ ],
+ "HttpMethod": "HEAD",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/labels",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.checkLabels",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "1321",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2023-11-01/CheckLabels.json",
+ "parameters": [
+ {
+ "$id": "1322",
+ "parameter": {
+ "$ref": "1298"
+ },
+ "value": {
+ "$id": "1323",
+ "kind": "string",
+ "type": {
+ "$ref": "1299"
+ },
+ "value": "2023-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1324",
+ "response": {
+ "$ref": "1318"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1325",
+ "Name": "putLock",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Locks a key-value.",
+ "Description": "Locks a key-value.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "1326",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "1327",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "1328",
+ "Type": {
+ "$id": "1329",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1330",
+ "Name": "key",
+ "NameInRequest": "key",
+ "Description": "The key of the key-value to lock.",
+ "Type": {
+ "$id": "1331",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Path",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1332",
+ "Name": "label",
+ "NameInRequest": "label",
+ "Description": "The label, if any, of the key-value to lock.",
+ "Type": {
+ "$id": "1333",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1334",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1335",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1336",
+ "Name": "ifMatch",
+ "NameInRequest": "If-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "Type": {
+ "$id": "1337",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1338",
+ "Name": "ifNoneMatch",
+ "NameInRequest": "If-None-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "Type": {
+ "$id": "1339",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1340",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "1341",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1342",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1343",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "1344",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "1345",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "206"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "1346",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1347",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1348",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "1349",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1350",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "162"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "PUT",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/locks/{key}",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.putLock",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "1351",
+ "kind": "http",
+ "name": "Locks a key-value.",
+ "description": "Locks a key-value.",
+ "filePath": "2023-11-01/PutLock.json",
+ "parameters": [
+ {
+ "$id": "1352",
+ "parameter": {
+ "$ref": "1326"
+ },
+ "value": {
+ "$id": "1353",
+ "kind": "string",
+ "type": {
+ "$ref": "1327"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1354",
+ "parameter": {
+ "$ref": "1330"
+ },
+ "value": {
+ "$id": "1355",
+ "kind": "string",
+ "type": {
+ "$ref": "1331"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1356",
+ "response": {
+ "$ref": "1345"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1357",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "1358",
+ "etag": {
+ "$id": "1359",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV4"
+ },
+ "key": {
+ "$id": "1360",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1361",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1362",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "1363"
+ }
+ },
+ "locked": {
+ "$id": "1364",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": true
+ },
+ "last_modified": {
+ "$id": "1365",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1366",
+ "kind": "http",
+ "name": "Locks a key-value using If-Match header.",
+ "description": "Locks a key-value using If-Match header.",
+ "filePath": "2023-11-01/PutLock_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "1367",
+ "parameter": {
+ "$ref": "1326"
+ },
+ "value": {
+ "$id": "1368",
+ "kind": "string",
+ "type": {
+ "$ref": "1327"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1369",
+ "parameter": {
+ "$ref": "1330"
+ },
+ "value": {
+ "$id": "1370",
+ "kind": "string",
+ "type": {
+ "$ref": "1331"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "1371",
+ "parameter": {
+ "$ref": "1336"
+ },
+ "value": {
+ "$id": "1372",
+ "kind": "string",
+ "type": {
+ "$ref": "1337"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1373",
+ "response": {
+ "$ref": "1345"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1374",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "1375",
+ "etag": {
+ "$id": "1376",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ },
+ "key": {
+ "$id": "1377",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1378",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1379",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "1380"
+ }
+ },
+ "locked": {
+ "$id": "1381",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": true
+ },
+ "last_modified": {
+ "$id": "1382",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1383",
+ "Name": "deleteLock",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Unlocks a key-value.",
+ "Description": "Unlocks a key-value.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "1384",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "1385",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "1386",
+ "Type": {
+ "$id": "1387",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1388",
+ "Name": "key",
+ "NameInRequest": "key",
+ "Description": "The key of the key-value to unlock.",
+ "Type": {
+ "$id": "1389",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Path",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1390",
+ "Name": "label",
+ "NameInRequest": "label",
+ "Description": "The label, if any, of the key-value to unlock.",
+ "Type": {
+ "$id": "1391",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1392",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1393",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1394",
+ "Name": "ifMatch",
+ "NameInRequest": "If-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag matches the\nvalue provided.",
+ "Type": {
+ "$id": "1395",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1396",
+ "Name": "ifNoneMatch",
+ "NameInRequest": "If-None-Match",
+ "Description": "Used to perform an operation only if the targeted resource's etag does not\nmatch the value provided.",
+ "Type": {
+ "$id": "1397",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1398",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "1399",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1400",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1401",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "1402",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "1403",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "206"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "1404",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1405",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1406",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "1407",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1408",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "168"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.kv+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "DELETE",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/locks/{key}",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.deleteLock",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "1409",
+ "kind": "http",
+ "name": "Unlocks a key-value.",
+ "description": "Unlocks a key-value.",
+ "filePath": "2023-11-01/DeleteLock.json",
+ "parameters": [
+ {
+ "$id": "1410",
+ "parameter": {
+ "$ref": "1384"
+ },
+ "value": {
+ "$id": "1411",
+ "kind": "string",
+ "type": {
+ "$ref": "1385"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1412",
+ "parameter": {
+ "$ref": "1388"
+ },
+ "value": {
+ "$id": "1413",
+ "kind": "string",
+ "type": {
+ "$ref": "1389"
+ },
+ "value": "Message"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1414",
+ "response": {
+ "$ref": "1403"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1415",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "1416",
+ "etag": {
+ "$id": "1417",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "0BGYCoQ6iNdp5NtQ7N8shrobo6s"
+ },
+ "key": {
+ "$id": "1418",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1419",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1420",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "1421"
+ }
+ },
+ "locked": {
+ "$id": "1422",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "1423",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ },
+ {
+ "$id": "1424",
+ "kind": "http",
+ "name": "Unlocks a key-value using If-Match header.",
+ "description": "Unlocks a key-value using If-Match header.",
+ "filePath": "2023-11-01/DeleteLock_IfMatch.json",
+ "parameters": [
+ {
+ "$id": "1425",
+ "parameter": {
+ "$ref": "1384"
+ },
+ "value": {
+ "$id": "1426",
+ "kind": "string",
+ "type": {
+ "$ref": "1385"
+ },
+ "value": "2023-11-01"
+ }
+ },
+ {
+ "$id": "1427",
+ "parameter": {
+ "$ref": "1388"
+ },
+ "value": {
+ "$id": "1428",
+ "kind": "string",
+ "type": {
+ "$ref": "1389"
+ },
+ "value": "Message"
+ }
+ },
+ {
+ "$id": "1429",
+ "parameter": {
+ "$ref": "1394"
+ },
+ "value": {
+ "$id": "1430",
+ "kind": "string",
+ "type": {
+ "$ref": "1395"
+ },
+ "value": "\"L10qpBghN693OaxydgTkLmrBbV5\""
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1431",
+ "response": {
+ "$ref": "1403"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1432",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "1433",
+ "etag": {
+ "$id": "1434",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV5"
+ },
+ "key": {
+ "$id": "1435",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1436",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1437",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "1438"
+ }
+ },
+ "locked": {
+ "$id": "1439",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "1440",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1441",
+ "Name": "getRevisions",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Gets a list of key-value revisions.",
+ "Description": "Gets a list of key-value revisions.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "1442",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "1443",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "1444",
+ "Type": {
+ "$id": "1445",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1446",
+ "Name": "key",
+ "NameInRequest": "key",
+ "Description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "Type": {
+ "$id": "1447",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1448",
+ "Name": "label",
+ "NameInRequest": "label",
+ "Description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "Type": {
+ "$id": "1449",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1450",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1451",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1452",
+ "Name": "after",
+ "NameInRequest": "After",
+ "Description": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "Type": {
+ "$id": "1453",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1454",
+ "Name": "acceptDatetime",
+ "NameInRequest": "Accept-Datetime",
+ "Description": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "Type": {
+ "$id": "1455",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1456",
+ "Name": "select",
+ "NameInRequest": "$Select",
+ "Description": "Used to select what fields are present in the returned resource(s).",
+ "Type": {
+ "$id": "1457",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "ArraySerializationDelimiter": ",",
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1458",
+ "Name": "tags",
+ "NameInRequest": "tags",
+ "Description": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "Type": {
+ "$id": "1459",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "1460",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": true,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1461",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "1462",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1463",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1464",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "1465",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "1466",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyType": {
+ "$ref": "203"
+ },
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "1467",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1468",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1469",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "1470",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1471",
+ "Name": "contentType",
+ "NameInResponse": "Content-Type",
+ "Description": "Content-Type header",
+ "Type": {
+ "$ref": "174"
+ }
+ }
+ ],
+ "IsErrorResponse": false,
+ "ContentTypes": [
+ "application/vnd.microsoft.appconfig.kvset+json",
+ "application/problem+json"
+ ]
+ }
+ ],
+ "HttpMethod": "GET",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/revisions",
+ "BufferResponse": true,
+ "Paging": {
+ "$id": "1472",
+ "ItemName": "items",
+ "NextLinkName": "@nextLink"
+ },
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.getRevisions",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "1473",
+ "kind": "http",
+ "name": "Gets a list of key-value revisions.",
+ "description": "Gets a list of key-value revisions.",
+ "filePath": "2023-11-01/GetRevisions.json",
+ "parameters": [
+ {
+ "$id": "1474",
+ "parameter": {
+ "$ref": "1442"
+ },
+ "value": {
+ "$id": "1475",
+ "kind": "string",
+ "type": {
+ "$ref": "1443"
+ },
+ "value": "2023-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1476",
+ "response": {
+ "$ref": "1466"
+ },
+ "statusCode": 200,
+ "bodyValue": {
+ "$id": "1477",
+ "kind": "model",
+ "type": {
+ "$ref": "203"
+ },
+ "value": {
+ "$id": "1478",
+ "items": {
+ "$id": "1479",
+ "kind": "array",
+ "type": {
+ "$ref": "205"
+ },
+ "value": [
+ {
+ "$id": "1480",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "1481",
+ "etag": {
+ "$id": "1482",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "0BGYCoQ6iNdp5NtQ7N8shrobo6s"
+ },
+ "key": {
+ "$id": "1483",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1484",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1485",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "1486"
+ }
+ },
+ "locked": {
+ "$id": "1487",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "1488",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:32+00:00"
+ }
+ }
+ },
+ {
+ "$id": "1489",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "1490",
+ "etag": {
+ "$id": "1491",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "L10qpBghN693OaxydgTkLmrBbV4"
+ },
+ "key": {
+ "$id": "1492",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1493",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "A new message."
+ },
+ "tags": {
+ "$id": "1494",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "1495"
+ }
+ },
+ "locked": {
+ "$id": "1496",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "1497",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:52:20+00:00"
+ }
+ }
+ },
+ {
+ "$id": "1498",
+ "kind": "model",
+ "type": {
+ "$ref": "206"
+ },
+ "value": {
+ "$id": "1499",
+ "etag": {
+ "$id": "1500",
+ "kind": "string",
+ "type": {
+ "$ref": "225"
+ },
+ "value": "tnIHBkDYQwtdNMLoWtr5aybkKwL"
+ },
+ "key": {
+ "$id": "1501",
+ "kind": "string",
+ "type": {
+ "$ref": "208"
+ },
+ "value": "Message"
+ },
+ "value": {
+ "$id": "1502",
+ "kind": "string",
+ "type": {
+ "$ref": "214"
+ },
+ "value": "Hello World!"
+ },
+ "tags": {
+ "$id": "1503",
+ "kind": "dict",
+ "type": {
+ "$ref": "219"
+ },
+ "value": {
+ "$id": "1504"
+ }
+ },
+ "locked": {
+ "$id": "1505",
+ "kind": "boolean",
+ "type": {
+ "$ref": "223"
+ },
+ "value": false
+ },
+ "last_modified": {
+ "$id": "1506",
+ "kind": "string",
+ "type": {
+ "$ref": "216"
+ },
+ "value": "2019-08-27T16:50:47+00:00"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "$id": "1507",
+ "Name": "checkRevisions",
+ "ResourceName": "AzureAppConfiguration",
+ "Summary": "Requests the headers and status of the given resource.",
+ "Description": "Requests the headers and status of the given resource.",
+ "Accessibility": "public",
+ "Parameters": [
+ {
+ "$ref": "299"
+ },
+ {
+ "$id": "1508",
+ "Name": "apiVersion",
+ "NameInRequest": "api-version",
+ "Description": "The API version to use for this operation.",
+ "Type": {
+ "$id": "1509",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": true,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Client",
+ "DefaultValue": {
+ "$id": "1510",
+ "Type": {
+ "$id": "1511",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string"
+ },
+ "Value": "2023-11-01"
+ },
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1512",
+ "Name": "key",
+ "NameInRequest": "key",
+ "Description": "A filter used to match keys. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "Type": {
+ "$id": "1513",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1514",
+ "Name": "label",
+ "NameInRequest": "label",
+ "Description": "A filter used to match labels. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "Type": {
+ "$id": "1515",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1516",
+ "Name": "syncToken",
+ "NameInRequest": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1517",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1518",
+ "Name": "after",
+ "NameInRequest": "After",
+ "Description": "Instructs the server to return elements that appear after the element referred\nto by the specified token.",
+ "Type": {
+ "$id": "1519",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1520",
+ "Name": "acceptDatetime",
+ "NameInRequest": "Accept-Datetime",
+ "Description": "Requests the server to respond with the state of the resource at the specified\ntime.",
+ "Type": {
+ "$id": "1521",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1522",
+ "Name": "select",
+ "NameInRequest": "$Select",
+ "Description": "Used to select what fields are present in the returned resource(s).",
+ "Type": {
+ "$id": "1523",
+ "kind": "array",
+ "name": "ArrayKeyValueFields",
+ "valueType": {
+ "$ref": "8"
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "ArraySerializationDelimiter": ",",
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1524",
+ "Name": "tags",
+ "NameInRequest": "tags",
+ "Description": "A filter used to query by tags. Syntax reference:\nhttps://aka.ms/azconfig/docs/restapirevisions",
+ "Type": {
+ "$id": "1525",
+ "kind": "array",
+ "name": "Array",
+ "valueType": {
+ "$id": "1526",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "crossLanguageDefinitionId": "TypeSpec.Array",
+ "decorators": []
+ },
+ "Location": "Query",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": true,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1527",
+ "Name": "clientRequestId",
+ "NameInRequest": "x-ms-client-request-id",
+ "Description": "An opaque, globally-unique, client-generated string identifier for the request.",
+ "Type": {
+ "$id": "1528",
+ "kind": "string",
+ "name": "uuid",
+ "crossLanguageDefinitionId": "Azure.Core.uuid",
+ "baseType": {
+ "$id": "1529",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": false,
+ "Kind": "Method",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ },
+ {
+ "$id": "1530",
+ "Name": "accept",
+ "NameInRequest": "Accept",
+ "Type": {
+ "$id": "1531",
+ "kind": "constant",
+ "valueType": {
+ "$id": "1532",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ },
+ "value": "application/json",
+ "decorators": []
+ },
+ "Location": "Header",
+ "IsApiVersion": false,
+ "IsContentType": false,
+ "IsEndpoint": false,
+ "Explode": false,
+ "IsRequired": true,
+ "Kind": "Constant",
+ "Decorators": [],
+ "SkipUrlEncoding": false
+ }
+ ],
+ "Responses": [
+ {
+ "$id": "1533",
+ "StatusCodes": [
+ 200
+ ],
+ "BodyMediaType": "Json",
+ "Headers": [
+ {
+ "$id": "1534",
+ "Name": "syncToken",
+ "NameInResponse": "Sync-Token",
+ "Description": "Used to guarantee real-time consistency between requests.",
+ "Type": {
+ "$id": "1535",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ },
+ {
+ "$id": "1536",
+ "Name": "etagHeader",
+ "NameInResponse": "ETag",
+ "Description": "A value representing the current state of the resource.",
+ "Type": {
+ "$id": "1537",
+ "kind": "string",
+ "name": "string",
+ "crossLanguageDefinitionId": "TypeSpec.string",
+ "decorators": []
+ }
+ }
+ ],
+ "IsErrorResponse": false
+ }
+ ],
+ "HttpMethod": "HEAD",
+ "RequestBodyMediaType": "None",
+ "Uri": "{endpoint}",
+ "Path": "/revisions",
+ "BufferResponse": true,
+ "GenerateProtocolMethod": true,
+ "GenerateConvenienceMethod": true,
+ "CrossLanguageDefinitionId": "AzureAppConfiguration.checkRevisions",
+ "Decorators": [],
+ "Examples": [
+ {
+ "$id": "1538",
+ "kind": "http",
+ "name": "Requests the headers and status of the given resource.",
+ "description": "Requests the headers and status of the given resource.",
+ "filePath": "2023-11-01/CheckRevisions.json",
+ "parameters": [
+ {
+ "$id": "1539",
+ "parameter": {
+ "$ref": "1508"
+ },
+ "value": {
+ "$id": "1540",
+ "kind": "string",
+ "type": {
+ "$ref": "1509"
+ },
+ "value": "2023-11-01"
+ }
+ }
+ ],
+ "responses": [
+ {
+ "$id": "1541",
+ "response": {
+ "$ref": "1533"
+ },
+ "statusCode": 200
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "Protocol": {
+ "$id": "1542"
+ },
+ "Parameters": [
+ {
+ "$ref": "299"
+ }
+ ],
+ "Decorators": []
+ }
+ ],
+ "Auth": {
+ "$id": "1543",
+ "ApiKey": {
+ "$id": "1544",
+ "Name": "Connection String"
+ },
+ "OAuth2": {
+ "$id": "1545",
+ "Scopes": [
+ "https://azconfig.io/.default"
+ ]
+ }
+ }
+}
diff --git a/sdk/batch/Azure.Compute.Batch/api/Azure.Compute.Batch.netstandard2.0.cs b/sdk/batch/Azure.Compute.Batch/api/Azure.Compute.Batch.netstandard2.0.cs
index 1d2de51fc632..f5329e370121 100644
--- a/sdk/batch/Azure.Compute.Batch/api/Azure.Compute.Batch.netstandard2.0.cs
+++ b/sdk/batch/Azure.Compute.Batch/api/Azure.Compute.Batch.netstandard2.0.cs
@@ -220,10 +220,14 @@ public BatchClient(System.Uri endpoint, Azure.Core.TokenCredential credential, A
public virtual Azure.Response CreateTaskCollection(string jobId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestContext context = null) { throw null; }
public virtual System.Threading.Tasks.Task> CreateTaskCollectionAsync(string jobId, Azure.Compute.Batch.BatchTaskGroup taskCollection, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task CreateTaskCollectionAsync(string jobId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestContext context = null) { throw null; }
- public virtual Azure.Response DeleteJob(string jobId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
- public virtual System.Threading.Tasks.Task DeleteJobAsync(string jobId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
- public virtual Azure.Response DeleteJobSchedule(string jobScheduleId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
- public virtual System.Threading.Tasks.Task DeleteJobScheduleAsync(string jobScheduleId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
+ public virtual Azure.Response DeallocateNode(string poolId, string nodeId, Azure.Compute.Batch.BatchNodeDeallocateContent parameters = null, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response DeallocateNode(string poolId, string nodeId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestContext context = null) { throw null; }
+ public virtual System.Threading.Tasks.Task DeallocateNodeAsync(string poolId, string nodeId, Azure.Compute.Batch.BatchNodeDeallocateContent parameters = null, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task DeallocateNodeAsync(string poolId, string nodeId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestContext context = null) { throw null; }
+ public virtual Azure.Response DeleteJob(string jobId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? force = default(bool?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
+ public virtual System.Threading.Tasks.Task DeleteJobAsync(string jobId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? force = default(bool?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
+ public virtual Azure.Response DeleteJobSchedule(string jobScheduleId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? force = default(bool?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
+ public virtual System.Threading.Tasks.Task DeleteJobScheduleAsync(string jobScheduleId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? force = default(bool?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
public virtual Azure.Response DeleteNodeFile(string poolId, string nodeId, string filePath, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? recursive = default(bool?), Azure.RequestContext context = null) { throw null; }
public virtual System.Threading.Tasks.Task DeleteNodeFileAsync(string poolId, string nodeId, string filePath, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? recursive = default(bool?), Azure.RequestContext context = null) { throw null; }
public virtual Azure.Response DeleteNodeUser(string poolId, string nodeId, string userName, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestContext context = null) { throw null; }
@@ -338,10 +342,10 @@ public BatchClient(System.Uri endpoint, Azure.Core.TokenCredential credential, A
public virtual Azure.Pageable GetPools(int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), int? maxresults = default(int?), string filter = null, System.Collections.Generic.IEnumerable select = null, System.Collections.Generic.IEnumerable expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.AsyncPageable GetPoolsAsync(int? timeOutInSeconds, System.DateTimeOffset? ocpdate, int? maxresults, string filter, System.Collections.Generic.IEnumerable select, System.Collections.Generic.IEnumerable expand, Azure.RequestContext context) { throw null; }
public virtual Azure.AsyncPageable GetPoolsAsync(int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), int? maxresults = default(int?), string filter = null, System.Collections.Generic.IEnumerable select = null, System.Collections.Generic.IEnumerable expand = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public virtual Azure.Pageable GetPoolUsageMetrics(int? timeOutInSeconds, System.DateTimeOffset? ocpdate, int? maxresults, System.DateTimeOffset? starttime, System.DateTimeOffset? endtime, string filter, Azure.RequestContext context) { throw null; }
- public virtual Azure.Pageable GetPoolUsageMetrics(int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), int? maxresults = default(int?), System.DateTimeOffset? starttime = default(System.DateTimeOffset?), System.DateTimeOffset? endtime = default(System.DateTimeOffset?), string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public virtual Azure.AsyncPageable GetPoolUsageMetricsAsync(int? timeOutInSeconds, System.DateTimeOffset? ocpdate, int? maxresults, System.DateTimeOffset? starttime, System.DateTimeOffset? endtime, string filter, Azure.RequestContext context) { throw null; }
- public virtual Azure.AsyncPageable GetPoolUsageMetricsAsync(int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), int? maxresults = default(int?), System.DateTimeOffset? starttime = default(System.DateTimeOffset?), System.DateTimeOffset? endtime = default(System.DateTimeOffset?), string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Pageable GetPoolUsageMetrics(int? timeOutInSeconds, System.DateTimeOffset? ocpdate, int? maxresults, System.DateTimeOffset? startTime, System.DateTimeOffset? endtime, string filter, Azure.RequestContext context) { throw null; }
+ public virtual Azure.Pageable GetPoolUsageMetrics(int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), int? maxresults = default(int?), System.DateTimeOffset? startTime = default(System.DateTimeOffset?), System.DateTimeOffset? endtime = default(System.DateTimeOffset?), string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.AsyncPageable GetPoolUsageMetricsAsync(int? timeOutInSeconds, System.DateTimeOffset? ocpdate, int? maxresults, System.DateTimeOffset? startTime, System.DateTimeOffset? endtime, string filter, Azure.RequestContext context) { throw null; }
+ public virtual Azure.AsyncPageable GetPoolUsageMetricsAsync(int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), int? maxresults = default(int?), System.DateTimeOffset? startTime = default(System.DateTimeOffset?), System.DateTimeOffset? endtime = default(System.DateTimeOffset?), string filter = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Pageable GetSubTasks(string jobId, string taskId, int? timeOutInSeconds, System.DateTimeOffset? ocpdate, System.Collections.Generic.IEnumerable select, Azure.RequestContext context) { throw null; }
public virtual Azure.Pageable GetSubTasks(string jobId, string taskId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), System.Collections.Generic.IEnumerable select = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.AsyncPageable GetSubTasksAsync(string jobId, string taskId, int? timeOutInSeconds, System.DateTimeOffset? ocpdate, System.Collections.Generic.IEnumerable select, Azure.RequestContext context) { throw null; }
@@ -378,6 +382,10 @@ public BatchClient(System.Uri endpoint, Azure.Core.TokenCredential credential, A
public virtual Azure.Response RebootNode(string poolId, string nodeId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestContext context = null) { throw null; }
public virtual System.Threading.Tasks.Task RebootNodeAsync(string poolId, string nodeId, Azure.Compute.Batch.BatchNodeRebootContent parameters = null, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task RebootNodeAsync(string poolId, string nodeId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestContext context = null) { throw null; }
+ public virtual Azure.Response ReimageNode(string poolId, string nodeId, Azure.Compute.Batch.BatchNodeReimageContent parameters = null, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response ReimageNode(string poolId, string nodeId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestContext context = null) { throw null; }
+ public virtual System.Threading.Tasks.Task ReimageNodeAsync(string poolId, string nodeId, Azure.Compute.Batch.BatchNodeReimageContent parameters = null, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task ReimageNodeAsync(string poolId, string nodeId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestContext context = null) { throw null; }
public virtual Azure.Response RemoveNodes(string poolId, Azure.Compute.Batch.BatchNodeRemoveContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual Azure.Response RemoveNodes(string poolId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
public virtual System.Threading.Tasks.Task RemoveNodesAsync(string poolId, Azure.Compute.Batch.BatchNodeRemoveContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
@@ -406,14 +414,16 @@ public BatchClient(System.Uri endpoint, Azure.Core.TokenCredential credential, A
public virtual Azure.Response ResizePool(string poolId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
public virtual System.Threading.Tasks.Task ResizePoolAsync(string poolId, Azure.Compute.Batch.BatchPoolResizeContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public virtual System.Threading.Tasks.Task ResizePoolAsync(string poolId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
+ public virtual Azure.Response StartNode(string poolId, string nodeId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestContext context = null) { throw null; }
+ public virtual System.Threading.Tasks.Task StartNodeAsync(string poolId, string nodeId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestContext context = null) { throw null; }
public virtual Azure.Response StopPoolResize(string poolId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
public virtual System.Threading.Tasks.Task StopPoolResizeAsync(string poolId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
- public virtual Azure.Response TerminateJob(string jobId, Azure.Compute.Batch.BatchJobTerminateContent parameters = null, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public virtual Azure.Response TerminateJob(string jobId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
- public virtual System.Threading.Tasks.Task TerminateJobAsync(string jobId, Azure.Compute.Batch.BatchJobTerminateContent parameters = null, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public virtual System.Threading.Tasks.Task TerminateJobAsync(string jobId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
- public virtual Azure.Response TerminateJobSchedule(string jobScheduleId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
- public virtual System.Threading.Tasks.Task TerminateJobScheduleAsync(string jobScheduleId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
+ public virtual Azure.Response TerminateJob(string jobId, Azure.Compute.Batch.BatchJobTerminateContent parameters = null, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? force = default(bool?), Azure.RequestConditions requestConditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual Azure.Response TerminateJob(string jobId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? force = default(bool?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
+ public virtual System.Threading.Tasks.Task TerminateJobAsync(string jobId, Azure.Compute.Batch.BatchJobTerminateContent parameters = null, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? force = default(bool?), Azure.RequestConditions requestConditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public virtual System.Threading.Tasks.Task TerminateJobAsync(string jobId, Azure.Core.RequestContent content, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? force = default(bool?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
+ public virtual Azure.Response TerminateJobSchedule(string jobScheduleId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? force = default(bool?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
+ public virtual System.Threading.Tasks.Task TerminateJobScheduleAsync(string jobScheduleId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), bool? force = default(bool?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
public virtual Azure.Response TerminateTask(string jobId, string taskId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
public virtual System.Threading.Tasks.Task TerminateTaskAsync(string jobId, string taskId, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, Azure.RequestContext context = null) { throw null; }
public virtual Azure.Response UpdateJob(string jobId, Azure.Compute.Batch.BatchJobUpdateContent job, int? timeOutInSeconds = default(int?), System.DateTimeOffset? ocpdate = default(System.DateTimeOffset?), Azure.RequestConditions requestConditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
@@ -435,10 +445,10 @@ public BatchClient(System.Uri endpoint, Azure.Core.TokenCredential credential, A
}
public partial class BatchClientOptions : Azure.Core.ClientOptions
{
- public BatchClientOptions(Azure.Compute.Batch.BatchClientOptions.ServiceVersion version = Azure.Compute.Batch.BatchClientOptions.ServiceVersion.V2024_02_01_19_0) { }
+ public BatchClientOptions(Azure.Compute.Batch.BatchClientOptions.ServiceVersion version = Azure.Compute.Batch.BatchClientOptions.ServiceVersion.V2024_07_01_20_0) { }
public enum ServiceVersion
{
- V2024_02_01_19_0 = 1,
+ V2024_07_01_20_0 = 1,
}
}
public partial class BatchError : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
@@ -623,7 +633,8 @@ public BatchJobManagerTask(string id, string commandLine) { }
}
public partial class BatchJobNetworkConfiguration : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
- public BatchJobNetworkConfiguration(string subnetId) { }
+ public BatchJobNetworkConfiguration(string subnetId, bool skipWithdrawFromVNet) { }
+ public bool SkipWithdrawFromVNet { get { throw null; } set { } }
public string SubnetId { get { throw null; } set { } }
Azure.Compute.Batch.BatchJobNetworkConfiguration System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
@@ -973,6 +984,7 @@ public BatchJobUpdateContent() { }
public Azure.Compute.Batch.BatchJobConstraints Constraints { get { throw null; } set { } }
public int? MaxParallelTasks { get { throw null; } set { } }
public System.Collections.Generic.IList Metadata { get { throw null; } }
+ public Azure.Compute.Batch.BatchJobNetworkConfiguration NetworkConfiguration { get { throw null; } set { } }
public Azure.Compute.Batch.OnAllBatchTasksComplete? OnAllTasksComplete { get { throw null; } set { } }
public Azure.Compute.Batch.BatchPoolInfo PoolInfo { get { throw null; } set { } }
public int? Priority { get { throw null; } set { } }
@@ -1047,6 +1059,8 @@ public partial class BatchNodeCounts : System.ClientModel.Primitives.IJsonModel<
{
internal BatchNodeCounts() { }
public int Creating { get { throw null; } }
+ public int Deallocated { get { throw null; } }
+ public int Deallocating { get { throw null; } }
public int Idle { get { throw null; } }
public int LeavingPool { get { throw null; } }
public int Offline { get { throw null; } }
@@ -1067,6 +1081,36 @@ internal BatchNodeCounts() { }
string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
}
+ public partial class BatchNodeDeallocateContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public BatchNodeDeallocateContent() { }
+ public Azure.Compute.Batch.BatchNodeDeallocateOption? NodeDeallocateOption { get { throw null; } set { } }
+ Azure.Compute.Batch.BatchNodeDeallocateContent System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Compute.Batch.BatchNodeDeallocateContent System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct BatchNodeDeallocateOption : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public BatchNodeDeallocateOption(string value) { throw null; }
+ public static Azure.Compute.Batch.BatchNodeDeallocateOption Requeue { get { throw null; } }
+ public static Azure.Compute.Batch.BatchNodeDeallocateOption RetainedData { get { throw null; } }
+ public static Azure.Compute.Batch.BatchNodeDeallocateOption TaskCompletion { get { throw null; } }
+ public static Azure.Compute.Batch.BatchNodeDeallocateOption Terminate { get { throw null; } }
+ public bool Equals(Azure.Compute.Batch.BatchNodeDeallocateOption other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.Compute.Batch.BatchNodeDeallocateOption left, Azure.Compute.Batch.BatchNodeDeallocateOption right) { throw null; }
+ public static implicit operator Azure.Compute.Batch.BatchNodeDeallocateOption (string value) { throw null; }
+ public static bool operator !=(Azure.Compute.Batch.BatchNodeDeallocateOption left, Azure.Compute.Batch.BatchNodeDeallocateOption right) { throw null; }
+ public override string ToString() { throw null; }
+ }
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct BatchNodeDeallocationOption : System.IEquatable
{
@@ -1252,6 +1296,36 @@ public BatchNodeRebootContent() { }
public static bool operator !=(Azure.Compute.Batch.BatchNodeRebootOption left, Azure.Compute.Batch.BatchNodeRebootOption right) { throw null; }
public override string ToString() { throw null; }
}
+ public partial class BatchNodeReimageContent : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public BatchNodeReimageContent() { }
+ public Azure.Compute.Batch.BatchNodeReimageOption? NodeReimageOption { get { throw null; } set { } }
+ Azure.Compute.Batch.BatchNodeReimageContent System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Compute.Batch.BatchNodeReimageContent System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct BatchNodeReimageOption : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public BatchNodeReimageOption(string value) { throw null; }
+ public static Azure.Compute.Batch.BatchNodeReimageOption Requeue { get { throw null; } }
+ public static Azure.Compute.Batch.BatchNodeReimageOption RetainedData { get { throw null; } }
+ public static Azure.Compute.Batch.BatchNodeReimageOption TaskCompletion { get { throw null; } }
+ public static Azure.Compute.Batch.BatchNodeReimageOption Terminate { get { throw null; } }
+ public bool Equals(Azure.Compute.Batch.BatchNodeReimageOption other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.Compute.Batch.BatchNodeReimageOption left, Azure.Compute.Batch.BatchNodeReimageOption right) { throw null; }
+ public static implicit operator Azure.Compute.Batch.BatchNodeReimageOption (string value) { throw null; }
+ public static bool operator !=(Azure.Compute.Batch.BatchNodeReimageOption left, Azure.Compute.Batch.BatchNodeReimageOption right) { throw null; }
+ public override string ToString() { throw null; }
+ }
public partial class BatchNodeRemoteLoginSettings : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
internal BatchNodeRemoteLoginSettings() { }
@@ -1282,6 +1356,8 @@ public BatchNodeRemoveContent(System.Collections.Generic.IEnumerable nod
private readonly int _dummyPrimitive;
public BatchNodeState(string value) { throw null; }
public static Azure.Compute.Batch.BatchNodeState Creating { get { throw null; } }
+ public static Azure.Compute.Batch.BatchNodeState Deallocated { get { throw null; } }
+ public static Azure.Compute.Batch.BatchNodeState Deallocating { get { throw null; } }
public static Azure.Compute.Batch.BatchNodeState Idle { get { throw null; } }
public static Azure.Compute.Batch.BatchNodeState LeavingPool { get { throw null; } }
public static Azure.Compute.Batch.BatchNodeState Offline { get { throw null; } }
@@ -1635,9 +1711,20 @@ public partial class BatchPoolUpdateContent : System.ClientModel.Primitives.IJso
{
public BatchPoolUpdateContent() { }
public System.Collections.Generic.IList ApplicationPackageReferences { get { throw null; } }
+ public string DisplayName { get { throw null; } set { } }
+ public bool? EnableInterNodeCommunication { get { throw null; } set { } }
public System.Collections.Generic.IList Metadata { get { throw null; } }
+ public System.Collections.Generic.IList MountConfiguration { get { throw null; } }
+ public Azure.Compute.Batch.NetworkConfiguration NetworkConfiguration { get { throw null; } set { } }
+ public System.Collections.Generic.IDictionary ResourceTags { get { throw null; } }
public Azure.Compute.Batch.BatchStartTask StartTask { get { throw null; } set { } }
public Azure.Compute.Batch.BatchNodeCommunicationMode? TargetNodeCommunicationMode { get { throw null; } set { } }
+ public Azure.Compute.Batch.BatchTaskSchedulingPolicy TaskSchedulingPolicy { get { throw null; } set { } }
+ public int? TaskSlotsPerNode { get { throw null; } set { } }
+ public Azure.Compute.Batch.UpgradePolicy UpgradePolicy { get { throw null; } set { } }
+ public System.Collections.Generic.IList UserAccounts { get { throw null; } }
+ public Azure.Compute.Batch.VirtualMachineConfiguration VirtualMachineConfiguration { get { throw null; } set { } }
+ public string VmSize { get { throw null; } set { } }
Azure.Compute.Batch.BatchPoolUpdateContent System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.Compute.Batch.BatchPoolUpdateContent System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
@@ -1884,6 +1971,7 @@ internal BatchTaskContainerExecutionInfo() { }
public partial class BatchTaskContainerSettings : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
public BatchTaskContainerSettings(string imageName) { }
+ public System.Collections.Generic.IList ContainerHostBatchBindMounts { get { throw null; } }
public string ContainerRunOptions { get { throw null; } set { } }
public string ImageName { get { throw null; } set { } }
public Azure.Compute.Batch.ContainerRegistryReference Registry { get { throw null; } set { } }
@@ -2160,7 +2248,7 @@ public static partial class ComputeBatchModelFactory
public static Azure.Compute.Batch.BatchJobStatistics BatchJobStatistics(string url = null, System.DateTimeOffset startTime = default(System.DateTimeOffset), System.DateTimeOffset lastUpdateTime = default(System.DateTimeOffset), System.TimeSpan userCpuTime = default(System.TimeSpan), System.TimeSpan kernelCpuTime = default(System.TimeSpan), System.TimeSpan wallClockTime = default(System.TimeSpan), long readIOps = (long)0, long writeIOps = (long)0, float readIOGiB = 0f, float writeIOGiB = 0f, long numSucceededTasks = (long)0, long numFailedTasks = (long)0, long numTaskRetries = (long)0, System.TimeSpan waitTime = default(System.TimeSpan)) { throw null; }
public static Azure.Compute.Batch.BatchNode BatchNode(string id = null, string url = null, Azure.Compute.Batch.BatchNodeState? state = default(Azure.Compute.Batch.BatchNodeState?), Azure.Compute.Batch.SchedulingState? schedulingState = default(Azure.Compute.Batch.SchedulingState?), System.DateTimeOffset? stateTransitionTime = default(System.DateTimeOffset?), System.DateTimeOffset? lastBootTime = default(System.DateTimeOffset?), System.DateTimeOffset? allocationTime = default(System.DateTimeOffset?), string ipAddress = null, string affinityId = null, string vmSize = null, int? totalTasksRun = default(int?), int? runningTasksCount = default(int?), int? runningTaskSlotsCount = default(int?), int? totalTasksSucceeded = default(int?), System.Collections.Generic.IEnumerable recentTasks = null, Azure.Compute.Batch.BatchStartTask startTask = null, Azure.Compute.Batch.BatchStartTaskInfo startTaskInfo = null, System.Collections.Generic.IEnumerable errors = null, bool? isDedicated = default(bool?), Azure.Compute.Batch.BatchNodeEndpointConfiguration endpointConfiguration = null, Azure.Compute.Batch.BatchNodeAgentInfo nodeAgentInfo = null, Azure.Compute.Batch.VirtualMachineInfo virtualMachineInfo = null) { throw null; }
public static Azure.Compute.Batch.BatchNodeAgentInfo BatchNodeAgentInfo(string version = null, System.DateTimeOffset lastUpdateTime = default(System.DateTimeOffset)) { throw null; }
- public static Azure.Compute.Batch.BatchNodeCounts BatchNodeCounts(int creating = 0, int idle = 0, int offline = 0, int preempted = 0, int rebooting = 0, int reimaging = 0, int running = 0, int starting = 0, int startTaskFailed = 0, int leavingPool = 0, int unknown = 0, int unusable = 0, int waitingForStartTask = 0, int total = 0, int upgradingOs = 0) { throw null; }
+ public static Azure.Compute.Batch.BatchNodeCounts BatchNodeCounts(int creating = 0, int idle = 0, int offline = 0, int preempted = 0, int rebooting = 0, int reimaging = 0, int running = 0, int starting = 0, int startTaskFailed = 0, int leavingPool = 0, int unknown = 0, int unusable = 0, int waitingForStartTask = 0, int deallocated = 0, int deallocating = 0, int total = 0, int upgradingOs = 0) { throw null; }
public static Azure.Compute.Batch.BatchNodeEndpointConfiguration BatchNodeEndpointConfiguration(System.Collections.Generic.IEnumerable inboundEndpoints = null) { throw null; }
public static Azure.Compute.Batch.BatchNodeError BatchNodeError(string code = null, string message = null, System.Collections.Generic.IEnumerable errorDetails = null) { throw null; }
public static Azure.Compute.Batch.BatchNodeFile BatchNodeFile(string name = null, string url = null, bool? isDirectory = default(bool?), Azure.Compute.Batch.FileProperties properties = null) { throw null; }
@@ -2191,8 +2279,8 @@ public static partial class ComputeBatchModelFactory
public static Azure.Compute.Batch.BatchTaskInfo BatchTaskInfo(string taskUrl = null, string jobId = null, string taskId = null, int? subtaskId = default(int?), Azure.Compute.Batch.BatchTaskState taskState = default(Azure.Compute.Batch.BatchTaskState), Azure.Compute.Batch.BatchTaskExecutionInfo executionInfo = null) { throw null; }
public static Azure.Compute.Batch.BatchTaskSlotCounts BatchTaskSlotCounts(int active = 0, int running = 0, int completed = 0, int succeeded = 0, int failed = 0) { throw null; }
public static Azure.Compute.Batch.BatchTaskStatistics BatchTaskStatistics(string url = null, System.DateTimeOffset startTime = default(System.DateTimeOffset), System.DateTimeOffset lastUpdateTime = default(System.DateTimeOffset), System.TimeSpan userCpuTime = default(System.TimeSpan), System.TimeSpan kernelCpuTime = default(System.TimeSpan), System.TimeSpan wallClockTime = default(System.TimeSpan), long readIOps = (long)0, long writeIOps = (long)0, float readIOGiB = 0f, float writeIOGiB = 0f, System.TimeSpan waitTime = default(System.TimeSpan)) { throw null; }
- public static Azure.Compute.Batch.FileProperties FileProperties(System.DateTimeOffset? creationTime = default(System.DateTimeOffset?), System.DateTimeOffset lastModified = default(System.DateTimeOffset), long contentLength = (long)0, string contentType = null, string fileMode = null) { throw null; }
- public static Azure.Compute.Batch.ImageReference ImageReference(string publisher = null, string offer = null, string sku = null, string version = null, string virtualMachineImageId = null, string exactVersion = null) { throw null; }
+ public static Azure.Compute.Batch.FileProperties FileProperties(System.DateTimeOffset? creationTime = default(System.DateTimeOffset?), System.DateTimeOffset lastModified = default(System.DateTimeOffset), string contentLength = null, string contentType = null, string fileMode = null) { throw null; }
+ public static Azure.Compute.Batch.ImageReference ImageReference(string publisher = null, string offer = null, string sku = null, string version = null, string virtualMachineImageId = null, string exactVersion = null, string sharedGalleryImageId = null, string communityGalleryImageId = null) { throw null; }
public static Azure.Compute.Batch.InboundEndpoint InboundEndpoint(string name = null, Azure.Compute.Batch.InboundEndpointProtocol protocol = default(Azure.Compute.Batch.InboundEndpointProtocol), string publicIpAddress = null, string publicFQDN = null, int frontendPort = 0, int backendPort = 0) { throw null; }
public static Azure.Compute.Batch.InstanceViewStatus InstanceViewStatus(string code = null, string displayStatus = null, Azure.Compute.Batch.StatusLevelTypes? level = default(Azure.Compute.Batch.StatusLevelTypes?), string message = null, System.DateTimeOffset? time = default(System.DateTimeOffset?)) { throw null; }
public static Azure.Compute.Batch.NameValuePair NameValuePair(string name = null, string value = null) { throw null; }
@@ -2216,6 +2304,39 @@ public ContainerConfiguration(Azure.Compute.Batch.ContainerType type) { }
string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
}
+ public partial class ContainerHostBatchBindMountEntry : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public ContainerHostBatchBindMountEntry() { }
+ public bool? IsReadOnly { get { throw null; } set { } }
+ public Azure.Compute.Batch.ContainerHostDataPath? Source { get { throw null; } set { } }
+ Azure.Compute.Batch.ContainerHostBatchBindMountEntry System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Compute.Batch.ContainerHostBatchBindMountEntry System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct ContainerHostDataPath : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public ContainerHostDataPath(string value) { throw null; }
+ public static Azure.Compute.Batch.ContainerHostDataPath Applications { get { throw null; } }
+ public static Azure.Compute.Batch.ContainerHostDataPath JobPrep { get { throw null; } }
+ public static Azure.Compute.Batch.ContainerHostDataPath Shared { get { throw null; } }
+ public static Azure.Compute.Batch.ContainerHostDataPath Startup { get { throw null; } }
+ public static Azure.Compute.Batch.ContainerHostDataPath Task { get { throw null; } }
+ public static Azure.Compute.Batch.ContainerHostDataPath VfsMounts { get { throw null; } }
+ public bool Equals(Azure.Compute.Batch.ContainerHostDataPath other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.Compute.Batch.ContainerHostDataPath left, Azure.Compute.Batch.ContainerHostDataPath right) { throw null; }
+ public static implicit operator Azure.Compute.Batch.ContainerHostDataPath (string value) { throw null; }
+ public static bool operator !=(Azure.Compute.Batch.ContainerHostDataPath left, Azure.Compute.Batch.ContainerHostDataPath right) { throw null; }
+ public override string ToString() { throw null; }
+ }
public partial class ContainerRegistryReference : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
public ContainerRegistryReference() { }
@@ -2486,7 +2607,7 @@ public ExitOptions() { }
public partial class FileProperties : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
internal FileProperties() { }
- public long ContentLength { get { throw null; } }
+ public string ContentLength { get { throw null; } }
public string ContentType { get { throw null; } }
public System.DateTimeOffset? CreationTime { get { throw null; } }
public string FileMode { get { throw null; } }
@@ -2511,9 +2632,11 @@ public HttpHeader(string name) { }
public partial class ImageReference : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
public ImageReference() { }
+ public string CommunityGalleryImageId { get { throw null; } set { } }
public string ExactVersion { get { throw null; } }
public string Offer { get { throw null; } set { } }
public string Publisher { get { throw null; } set { } }
+ public string SharedGalleryImageId { get { throw null; } set { } }
public string Sku { get { throw null; } set { } }
public string Version { get { throw null; } set { } }
public string VirtualMachineImageId { get { throw null; } set { } }
@@ -2654,8 +2777,9 @@ public LinuxUserConfiguration() { }
}
public partial class ManagedDisk : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
- public ManagedDisk(Azure.Compute.Batch.StorageAccountType storageAccountType) { }
- public Azure.Compute.Batch.StorageAccountType StorageAccountType { get { throw null; } set { } }
+ public ManagedDisk() { }
+ public Azure.Compute.Batch.VMDiskSecurityProfile SecurityProfile { get { throw null; } set { } }
+ public Azure.Compute.Batch.StorageAccountType? StorageAccountType { get { throw null; } set { } }
Azure.Compute.Batch.ManagedDisk System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.Compute.Batch.ManagedDisk System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
@@ -2982,6 +3106,24 @@ public RollingUpgradePolicy() { }
public static bool operator !=(Azure.Compute.Batch.SchedulingState left, Azure.Compute.Batch.SchedulingState right) { throw null; }
public override string ToString() { throw null; }
}
+ [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
+ public readonly partial struct SecurityEncryptionTypes : System.IEquatable
+ {
+ private readonly object _dummy;
+ private readonly int _dummyPrimitive;
+ public SecurityEncryptionTypes(string value) { throw null; }
+ public static Azure.Compute.Batch.SecurityEncryptionTypes NonPersistedTPM { get { throw null; } }
+ public static Azure.Compute.Batch.SecurityEncryptionTypes VMGuestStateOnly { get { throw null; } }
+ public bool Equals(Azure.Compute.Batch.SecurityEncryptionTypes other) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override bool Equals(object obj) { throw null; }
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+ public override int GetHashCode() { throw null; }
+ public static bool operator ==(Azure.Compute.Batch.SecurityEncryptionTypes left, Azure.Compute.Batch.SecurityEncryptionTypes right) { throw null; }
+ public static implicit operator Azure.Compute.Batch.SecurityEncryptionTypes (string value) { throw null; }
+ public static bool operator !=(Azure.Compute.Batch.SecurityEncryptionTypes left, Azure.Compute.Batch.SecurityEncryptionTypes right) { throw null; }
+ public override string ToString() { throw null; }
+ }
public partial class SecurityProfile : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
public SecurityProfile(bool encryptionAtHost, Azure.Compute.Batch.SecurityTypes securityType, Azure.Compute.Batch.UefiSettings uefiSettings) { }
@@ -3000,6 +3142,7 @@ public SecurityProfile(bool encryptionAtHost, Azure.Compute.Batch.SecurityTypes
private readonly object _dummy;
private readonly int _dummyPrimitive;
public SecurityTypes(string value) { throw null; }
+ public static Azure.Compute.Batch.SecurityTypes ConfidentialVM { get { throw null; } }
public static Azure.Compute.Batch.SecurityTypes TrustedLaunch { get { throw null; } }
public bool Equals(Azure.Compute.Batch.SecurityTypes other) { throw null; }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
@@ -3194,6 +3337,16 @@ internal VirtualMachineInfo() { }
string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
}
+ public partial class VMDiskSecurityProfile : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
+ {
+ public VMDiskSecurityProfile() { }
+ public Azure.Compute.Batch.SecurityEncryptionTypes? SecurityEncryptionType { get { throw null; } set { } }
+ Azure.Compute.Batch.VMDiskSecurityProfile System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ void System.ClientModel.Primitives.IJsonModel.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
+ Azure.Compute.Batch.VMDiskSecurityProfile System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
+ }
public partial class VMExtension : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel
{
public VMExtension(string name, string publisher, string type) { }
diff --git a/sdk/batch/Azure.Compute.Batch/src/Generated/AutomaticOsUpgradePolicy.cs b/sdk/batch/Azure.Compute.Batch/src/Generated/AutomaticOsUpgradePolicy.cs
index a55f474ba013..c3b9be08a2f0 100644
--- a/sdk/batch/Azure.Compute.Batch/src/Generated/AutomaticOsUpgradePolicy.cs
+++ b/sdk/batch/Azure.Compute.Batch/src/Generated/AutomaticOsUpgradePolicy.cs
@@ -52,7 +52,7 @@ public AutomaticOsUpgradePolicy()
/// Initializes a new instance of .
/// Whether OS image rollback feature should be disabled.
- /// Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. <br /><br /> If this is set to true for Windows based pools, [WindowsConfiguration.enableAutomaticUpdates](https://learn.microsoft.com/en-us/rest/api/batchservice/pool/add?tabs=HTTP#windowsconfiguration) cannot be set to true.
+ /// Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. <br /><br /> If this is set to true for Windows based pools, [WindowsConfiguration.enableAutomaticUpdates](https://learn.microsoft.com/rest/api/batchservice/pool/add?tabs=HTTP#windowsconfiguration) cannot be set to true.
/// Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
/// Defer OS upgrades on the TVMs if they are running tasks.
/// Keeps track of any properties unknown to the library.
@@ -67,7 +67,7 @@ internal AutomaticOsUpgradePolicy(bool? disableAutomaticRollback, bool? enableAu
/// Whether OS image rollback feature should be disabled.
public bool? DisableAutomaticRollback { get; set; }
- /// Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. <br /><br /> If this is set to true for Windows based pools, [WindowsConfiguration.enableAutomaticUpdates](https://learn.microsoft.com/en-us/rest/api/batchservice/pool/add?tabs=HTTP#windowsconfiguration) cannot be set to true.
+ /// Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. <br /><br /> If this is set to true for Windows based pools, [WindowsConfiguration.enableAutomaticUpdates](https://learn.microsoft.com/rest/api/batchservice/pool/add?tabs=HTTP#windowsconfiguration) cannot be set to true.
public bool? EnableAutomaticOsUpgrade { get; set; }
/// Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS.
public bool? UseRollingUpgradePolicy { get; set; }
diff --git a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchClient.cs b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchClient.cs
index 47672eb0c12f..c77bfa624c58 100644
--- a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchClient.cs
+++ b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchClient.cs
@@ -1656,14 +1656,15 @@ public virtual Response RemoveNodes(string poolId, RequestContent content, int?
/// current system clock time; set it explicitly if you are calling the REST API
/// directly.
///
+ /// If true, the server will delete the Job even if the corresponding nodes have not fully processed the deletion. The default value is false.
/// The content to send as the request conditions of the request.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// is null.
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
- ///
- public virtual async Task DeleteJobAsync(string jobId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestConditions requestConditions = null, RequestContext context = null)
+ ///
+ public virtual async Task DeleteJobAsync(string jobId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, bool? force = null, RequestConditions requestConditions = null, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(jobId, nameof(jobId));
@@ -1671,7 +1672,7 @@ public virtual async Task DeleteJobAsync(string jobId, int? timeOutInS
scope.Start();
try
{
- using HttpMessage message = CreateDeleteJobRequest(jobId, timeOutInSeconds, ocpdate, requestConditions, context);
+ using HttpMessage message = CreateDeleteJobRequest(jobId, timeOutInSeconds, ocpdate, force, requestConditions, context);
return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
}
catch (Exception e)
@@ -1699,14 +1700,15 @@ public virtual async Task DeleteJobAsync(string jobId, int? timeOutInS
/// current system clock time; set it explicitly if you are calling the REST API
/// directly.
///
+ /// If true, the server will delete the Job even if the corresponding nodes have not fully processed the deletion. The default value is false.
/// The content to send as the request conditions of the request.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// is null.
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
- ///
- public virtual Response DeleteJob(string jobId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestConditions requestConditions = null, RequestContext context = null)
+ ///
+ public virtual Response DeleteJob(string jobId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, bool? force = null, RequestConditions requestConditions = null, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(jobId, nameof(jobId));
@@ -1714,7 +1716,7 @@ public virtual Response DeleteJob(string jobId, int? timeOutInSeconds = null, Da
scope.Start();
try
{
- using HttpMessage message = CreateDeleteJobRequest(jobId, timeOutInSeconds, ocpdate, requestConditions, context);
+ using HttpMessage message = CreateDeleteJobRequest(jobId, timeOutInSeconds, ocpdate, force, requestConditions, context);
return _pipeline.ProcessMessage(message, context);
}
catch (Exception e)
@@ -2379,6 +2381,7 @@ public virtual Response EnableJob(string jobId, int? timeOutInSeconds = null, Da
/// current system clock time; set it explicitly if you are calling the REST API
/// directly.
///
+ /// If true, the server will terminate the Job even if the corresponding nodes have not fully processed the termination. The default value is false.
/// The content to send as the request conditions of the request.
/// The cancellation token to use.
/// is null.
@@ -2391,14 +2394,14 @@ public virtual Response EnableJob(string jobId, int? timeOutInSeconds = null, Da
/// state, they will remain in the active state. Once a Job is terminated, new
/// Tasks cannot be added and any remaining active Tasks will not be scheduled.
///
- ///
- public virtual async Task TerminateJobAsync(string jobId, BatchJobTerminateContent parameters = null, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestConditions requestConditions = null, CancellationToken cancellationToken = default)
+ ///
+ public virtual async Task TerminateJobAsync(string jobId, BatchJobTerminateContent parameters = null, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, bool? force = null, RequestConditions requestConditions = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(jobId, nameof(jobId));
using RequestContent content = parameters?.ToRequestContent();
RequestContext context = FromCancellationToken(cancellationToken);
- Response response = await TerminateJobAsync(jobId, content, timeOutInSeconds, ocpdate, requestConditions, context).ConfigureAwait(false);
+ Response response = await TerminateJobAsync(jobId, content, timeOutInSeconds, ocpdate, force, requestConditions, context).ConfigureAwait(false);
return response;
}
@@ -2411,6 +2414,7 @@ public virtual async Task TerminateJobAsync(string jobId, BatchJobTerm
/// current system clock time; set it explicitly if you are calling the REST API
/// directly.
///
+ /// If true, the server will terminate the Job even if the corresponding nodes have not fully processed the termination. The default value is false.
/// The content to send as the request conditions of the request.
/// The cancellation token to use.
/// is null.
@@ -2423,14 +2427,14 @@ public virtual async Task TerminateJobAsync(string jobId, BatchJobTerm
/// state, they will remain in the active state. Once a Job is terminated, new
/// Tasks cannot be added and any remaining active Tasks will not be scheduled.
///
- ///
- public virtual Response TerminateJob(string jobId, BatchJobTerminateContent parameters = null, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestConditions requestConditions = null, CancellationToken cancellationToken = default)
+ ///
+ public virtual Response TerminateJob(string jobId, BatchJobTerminateContent parameters = null, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, bool? force = null, RequestConditions requestConditions = null, CancellationToken cancellationToken = default)
{
Argument.AssertNotNullOrEmpty(jobId, nameof(jobId));
using RequestContent content = parameters?.ToRequestContent();
RequestContext context = FromCancellationToken(cancellationToken);
- Response response = TerminateJob(jobId, content, timeOutInSeconds, ocpdate, requestConditions, context);
+ Response response = TerminateJob(jobId, content, timeOutInSeconds, ocpdate, force, requestConditions, context);
return response;
}
@@ -2444,7 +2448,7 @@ public virtual Response TerminateJob(string jobId, BatchJobTerminateContent para
///
/// -
///
- /// Please try the simpler convenience overload with strongly typed models first.
+ /// Please try the simpler convenience overload with strongly typed models first.
///
///
///
@@ -2457,14 +2461,15 @@ public virtual Response TerminateJob(string jobId, BatchJobTerminateContent para
/// current system clock time; set it explicitly if you are calling the REST API
/// directly.
///
+ /// If true, the server will terminate the Job even if the corresponding nodes have not fully processed the termination. The default value is false.
/// The content to send as the request conditions of the request.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// is null.
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
- ///
- public virtual async Task TerminateJobAsync(string jobId, RequestContent content, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestConditions requestConditions = null, RequestContext context = null)
+ ///
+ public virtual async Task TerminateJobAsync(string jobId, RequestContent content, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, bool? force = null, RequestConditions requestConditions = null, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(jobId, nameof(jobId));
@@ -2472,7 +2477,7 @@ public virtual async Task TerminateJobAsync(string jobId, RequestConte
scope.Start();
try
{
- using HttpMessage message = CreateTerminateJobRequest(jobId, content, timeOutInSeconds, ocpdate, requestConditions, context);
+ using HttpMessage message = CreateTerminateJobRequest(jobId, content, timeOutInSeconds, ocpdate, force, requestConditions, context);
return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
}
catch (Exception e)
@@ -2492,7 +2497,7 @@ public virtual async Task TerminateJobAsync(string jobId, RequestConte
///
/// -
///
- /// Please try the simpler convenience overload with strongly typed models first.
+ /// Please try the simpler convenience overload with strongly typed models first.
///
///
///
@@ -2505,14 +2510,15 @@ public virtual async Task TerminateJobAsync(string jobId, RequestConte
/// current system clock time; set it explicitly if you are calling the REST API
/// directly.
///
+ /// If true, the server will terminate the Job even if the corresponding nodes have not fully processed the termination. The default value is false.
/// The content to send as the request conditions of the request.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// is null.
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
- ///
- public virtual Response TerminateJob(string jobId, RequestContent content, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestConditions requestConditions = null, RequestContext context = null)
+ ///
+ public virtual Response TerminateJob(string jobId, RequestContent content, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, bool? force = null, RequestConditions requestConditions = null, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(jobId, nameof(jobId));
@@ -2520,7 +2526,7 @@ public virtual Response TerminateJob(string jobId, RequestContent content, int?
scope.Start();
try
{
- using HttpMessage message = CreateTerminateJobRequest(jobId, content, timeOutInSeconds, ocpdate, requestConditions, context);
+ using HttpMessage message = CreateTerminateJobRequest(jobId, content, timeOutInSeconds, ocpdate, force, requestConditions, context);
return _pipeline.ProcessMessage(message, context);
}
catch (Exception e)
@@ -2848,14 +2854,15 @@ public virtual Response GetJobTaskCounts(string jobId, int? timeOutInSeconds, Da
/// current system clock time; set it explicitly if you are calling the REST API
/// directly.
///
+ /// If true, the server will delete the JobSchedule even if the corresponding nodes have not fully processed the deletion. The default value is false.
/// The content to send as the request conditions of the request.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// is null.
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
- ///
- public virtual async Task DeleteJobScheduleAsync(string jobScheduleId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestConditions requestConditions = null, RequestContext context = null)
+ ///
+ public virtual async Task DeleteJobScheduleAsync(string jobScheduleId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, bool? force = null, RequestConditions requestConditions = null, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(jobScheduleId, nameof(jobScheduleId));
@@ -2863,7 +2870,7 @@ public virtual async Task DeleteJobScheduleAsync(string jobScheduleId,
scope.Start();
try
{
- using HttpMessage message = CreateDeleteJobScheduleRequest(jobScheduleId, timeOutInSeconds, ocpdate, requestConditions, context);
+ using HttpMessage message = CreateDeleteJobScheduleRequest(jobScheduleId, timeOutInSeconds, ocpdate, force, requestConditions, context);
return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
}
catch (Exception e)
@@ -2891,14 +2898,15 @@ public virtual async Task DeleteJobScheduleAsync(string jobScheduleId,
/// current system clock time; set it explicitly if you are calling the REST API
/// directly.
///
+ /// If true, the server will delete the JobSchedule even if the corresponding nodes have not fully processed the deletion. The default value is false.
/// The content to send as the request conditions of the request.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// is null.
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
- ///
- public virtual Response DeleteJobSchedule(string jobScheduleId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestConditions requestConditions = null, RequestContext context = null)
+ ///
+ public virtual Response DeleteJobSchedule(string jobScheduleId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, bool? force = null, RequestConditions requestConditions = null, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(jobScheduleId, nameof(jobScheduleId));
@@ -2906,7 +2914,7 @@ public virtual Response DeleteJobSchedule(string jobScheduleId, int? timeOutInSe
scope.Start();
try
{
- using HttpMessage message = CreateDeleteJobScheduleRequest(jobScheduleId, timeOutInSeconds, ocpdate, requestConditions, context);
+ using HttpMessage message = CreateDeleteJobScheduleRequest(jobScheduleId, timeOutInSeconds, ocpdate, force, requestConditions, context);
return _pipeline.ProcessMessage(message, context);
}
catch (Exception e)
@@ -3502,14 +3510,15 @@ public virtual Response EnableJobSchedule(string jobScheduleId, int? timeOutInSe
/// current system clock time; set it explicitly if you are calling the REST API
/// directly.
///
+ /// If true, the server will terminate the JobSchedule even if the corresponding nodes have not fully processed the termination. The default value is false.
/// The content to send as the request conditions of the request.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// is null.
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
- ///
- public virtual async Task TerminateJobScheduleAsync(string jobScheduleId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestConditions requestConditions = null, RequestContext context = null)
+ ///
+ public virtual async Task TerminateJobScheduleAsync(string jobScheduleId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, bool? force = null, RequestConditions requestConditions = null, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(jobScheduleId, nameof(jobScheduleId));
@@ -3517,7 +3526,7 @@ public virtual async Task TerminateJobScheduleAsync(string jobSchedule
scope.Start();
try
{
- using HttpMessage message = CreateTerminateJobScheduleRequest(jobScheduleId, timeOutInSeconds, ocpdate, requestConditions, context);
+ using HttpMessage message = CreateTerminateJobScheduleRequest(jobScheduleId, timeOutInSeconds, ocpdate, force, requestConditions, context);
return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
}
catch (Exception e)
@@ -3545,14 +3554,15 @@ public virtual async Task TerminateJobScheduleAsync(string jobSchedule
/// current system clock time; set it explicitly if you are calling the REST API
/// directly.
///
+ /// If true, the server will terminate the JobSchedule even if the corresponding nodes have not fully processed the termination. The default value is false.
/// The content to send as the request conditions of the request.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// is null.
/// is an empty string, and was expected to be non-empty.
/// Service returned a non-success status code.
/// The response returned from the service.
- ///
- public virtual Response TerminateJobSchedule(string jobScheduleId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestConditions requestConditions = null, RequestContext context = null)
+ ///
+ public virtual Response TerminateJobSchedule(string jobScheduleId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, bool? force = null, RequestConditions requestConditions = null, RequestContext context = null)
{
Argument.AssertNotNullOrEmpty(jobScheduleId, nameof(jobScheduleId));
@@ -3560,7 +3570,7 @@ public virtual Response TerminateJobSchedule(string jobScheduleId, int? timeOutI
scope.Start();
try
{
- using HttpMessage message = CreateTerminateJobScheduleRequest(jobScheduleId, timeOutInSeconds, ocpdate, requestConditions, context);
+ using HttpMessage message = CreateTerminateJobScheduleRequest(jobScheduleId, timeOutInSeconds, ocpdate, force, requestConditions, context);
return _pipeline.ProcessMessage(message, context);
}
catch (Exception e)
@@ -5746,6 +5756,402 @@ public virtual Response RebootNode(string poolId, string nodeId, RequestContent
}
}
+ // The convenience method is omitted here because it has exactly the same parameter list as the corresponding protocol method
+ ///
+ /// [Protocol Method] Starts the specified Compute Node.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ ///
+ ///
+ /// The ID of the Pool that contains the Compute Node.
+ /// The ID of the Compute Node that you want to restart.
+ /// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
+ ///
+ /// The time the request was issued. Client libraries typically set this to the
+ /// current system clock time; set it explicitly if you are calling the REST API
+ /// directly.
+ ///
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ ///
+ public virtual async Task StartNodeAsync(string poolId, string nodeId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(poolId, nameof(poolId));
+ Argument.AssertNotNullOrEmpty(nodeId, nameof(nodeId));
+
+ using var scope = ClientDiagnostics.CreateScope("BatchClient.StartNode");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateStartNodeRequest(poolId, nodeId, timeOutInSeconds, ocpdate, context);
+ return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ // The convenience method is omitted here because it has exactly the same parameter list as the corresponding protocol method
+ ///
+ /// [Protocol Method] Starts the specified Compute Node.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ ///
+ ///
+ /// The ID of the Pool that contains the Compute Node.
+ /// The ID of the Compute Node that you want to restart.
+ /// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
+ ///
+ /// The time the request was issued. Client libraries typically set this to the
+ /// current system clock time; set it explicitly if you are calling the REST API
+ /// directly.
+ ///
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ ///
+ public virtual Response StartNode(string poolId, string nodeId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(poolId, nameof(poolId));
+ Argument.AssertNotNullOrEmpty(nodeId, nameof(nodeId));
+
+ using var scope = ClientDiagnostics.CreateScope("BatchClient.StartNode");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateStartNodeRequest(poolId, nodeId, timeOutInSeconds, ocpdate, context);
+ return _pipeline.ProcessMessage(message, context);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Reinstalls the operating system on the specified Compute Node.
+ /// The ID of the Pool that contains the Compute Node.
+ /// The ID of the Compute Node that you want to restart.
+ /// The options to use for reimaging the Compute Node.
+ /// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
+ ///
+ /// The time the request was issued. Client libraries typically set this to the
+ /// current system clock time; set it explicitly if you are calling the REST API
+ /// directly.
+ ///
+ /// The cancellation token to use.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ ///
+ /// You can reinstall the operating system on a Compute Node only if it is in an
+ /// idle or running state. This API can be invoked only on Pools created with the
+ /// cloud service configuration property.
+ ///
+ ///
+ public virtual async Task ReimageNodeAsync(string poolId, string nodeId, BatchNodeReimageContent parameters = null, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(poolId, nameof(poolId));
+ Argument.AssertNotNullOrEmpty(nodeId, nameof(nodeId));
+
+ using RequestContent content = parameters?.ToRequestContent();
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = await ReimageNodeAsync(poolId, nodeId, content, timeOutInSeconds, ocpdate, context).ConfigureAwait(false);
+ return response;
+ }
+
+ /// Reinstalls the operating system on the specified Compute Node.
+ /// The ID of the Pool that contains the Compute Node.
+ /// The ID of the Compute Node that you want to restart.
+ /// The options to use for reimaging the Compute Node.
+ /// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
+ ///
+ /// The time the request was issued. Client libraries typically set this to the
+ /// current system clock time; set it explicitly if you are calling the REST API
+ /// directly.
+ ///
+ /// The cancellation token to use.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ ///
+ /// You can reinstall the operating system on a Compute Node only if it is in an
+ /// idle or running state. This API can be invoked only on Pools created with the
+ /// cloud service configuration property.
+ ///
+ ///
+ public virtual Response ReimageNode(string poolId, string nodeId, BatchNodeReimageContent parameters = null, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(poolId, nameof(poolId));
+ Argument.AssertNotNullOrEmpty(nodeId, nameof(nodeId));
+
+ using RequestContent content = parameters?.ToRequestContent();
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = ReimageNode(poolId, nodeId, content, timeOutInSeconds, ocpdate, context);
+ return response;
+ }
+
+ ///
+ /// [Protocol Method] Reinstalls the operating system on the specified Compute Node.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// The ID of the Pool that contains the Compute Node.
+ /// The ID of the Compute Node that you want to restart.
+ /// The content to send as the body of the request.
+ /// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
+ ///
+ /// The time the request was issued. Client libraries typically set this to the
+ /// current system clock time; set it explicitly if you are calling the REST API
+ /// directly.
+ ///
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ ///
+ public virtual async Task ReimageNodeAsync(string poolId, string nodeId, RequestContent content, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(poolId, nameof(poolId));
+ Argument.AssertNotNullOrEmpty(nodeId, nameof(nodeId));
+
+ using var scope = ClientDiagnostics.CreateScope("BatchClient.ReimageNode");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateReimageNodeRequest(poolId, nodeId, content, timeOutInSeconds, ocpdate, context);
+ return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// [Protocol Method] Reinstalls the operating system on the specified Compute Node.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// The ID of the Pool that contains the Compute Node.
+ /// The ID of the Compute Node that you want to restart.
+ /// The content to send as the body of the request.
+ /// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
+ ///
+ /// The time the request was issued. Client libraries typically set this to the
+ /// current system clock time; set it explicitly if you are calling the REST API
+ /// directly.
+ ///
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ ///
+ public virtual Response ReimageNode(string poolId, string nodeId, RequestContent content, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(poolId, nameof(poolId));
+ Argument.AssertNotNullOrEmpty(nodeId, nameof(nodeId));
+
+ using var scope = ClientDiagnostics.CreateScope("BatchClient.ReimageNode");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateReimageNodeRequest(poolId, nodeId, content, timeOutInSeconds, ocpdate, context);
+ return _pipeline.ProcessMessage(message, context);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ /// Deallocates the specified Compute Node.
+ /// The ID of the Pool that contains the Compute Node.
+ /// The ID of the Compute Node that you want to restart.
+ /// The options to use for deallocating the Compute Node.
+ /// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
+ ///
+ /// The time the request was issued. Client libraries typically set this to the
+ /// current system clock time; set it explicitly if you are calling the REST API
+ /// directly.
+ ///
+ /// The cancellation token to use.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// You can deallocate a Compute Node only if it is in an idle or running state.
+ ///
+ public virtual async Task DeallocateNodeAsync(string poolId, string nodeId, BatchNodeDeallocateContent parameters = null, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(poolId, nameof(poolId));
+ Argument.AssertNotNullOrEmpty(nodeId, nameof(nodeId));
+
+ using RequestContent content = parameters?.ToRequestContent();
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = await DeallocateNodeAsync(poolId, nodeId, content, timeOutInSeconds, ocpdate, context).ConfigureAwait(false);
+ return response;
+ }
+
+ /// Deallocates the specified Compute Node.
+ /// The ID of the Pool that contains the Compute Node.
+ /// The ID of the Compute Node that you want to restart.
+ /// The options to use for deallocating the Compute Node.
+ /// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
+ ///
+ /// The time the request was issued. Client libraries typically set this to the
+ /// current system clock time; set it explicitly if you are calling the REST API
+ /// directly.
+ ///
+ /// The cancellation token to use.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// You can deallocate a Compute Node only if it is in an idle or running state.
+ ///
+ public virtual Response DeallocateNode(string poolId, string nodeId, BatchNodeDeallocateContent parameters = null, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, CancellationToken cancellationToken = default)
+ {
+ Argument.AssertNotNullOrEmpty(poolId, nameof(poolId));
+ Argument.AssertNotNullOrEmpty(nodeId, nameof(nodeId));
+
+ using RequestContent content = parameters?.ToRequestContent();
+ RequestContext context = FromCancellationToken(cancellationToken);
+ Response response = DeallocateNode(poolId, nodeId, content, timeOutInSeconds, ocpdate, context);
+ return response;
+ }
+
+ ///
+ /// [Protocol Method] Deallocates the specified Compute Node.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// The ID of the Pool that contains the Compute Node.
+ /// The ID of the Compute Node that you want to restart.
+ /// The content to send as the body of the request.
+ /// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
+ ///
+ /// The time the request was issued. Client libraries typically set this to the
+ /// current system clock time; set it explicitly if you are calling the REST API
+ /// directly.
+ ///
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ ///
+ public virtual async Task DeallocateNodeAsync(string poolId, string nodeId, RequestContent content, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(poolId, nameof(poolId));
+ Argument.AssertNotNullOrEmpty(nodeId, nameof(nodeId));
+
+ using var scope = ClientDiagnostics.CreateScope("BatchClient.DeallocateNode");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateDeallocateNodeRequest(poolId, nodeId, content, timeOutInSeconds, ocpdate, context);
+ return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
+ ///
+ /// [Protocol Method] Deallocates the specified Compute Node.
+ ///
+ /// -
+ ///
+ /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
+ ///
+ ///
+ /// -
+ ///
+ /// Please try the simpler convenience overload with strongly typed models first.
+ ///
+ ///
+ ///
+ ///
+ /// The ID of the Pool that contains the Compute Node.
+ /// The ID of the Compute Node that you want to restart.
+ /// The content to send as the body of the request.
+ /// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
+ ///
+ /// The time the request was issued. Client libraries typically set this to the
+ /// current system clock time; set it explicitly if you are calling the REST API
+ /// directly.
+ ///
+ /// The request context, which can override default behaviors of the client pipeline on a per-call basis.
+ /// or is null.
+ /// or is an empty string, and was expected to be non-empty.
+ /// Service returned a non-success status code.
+ /// The response returned from the service.
+ ///
+ public virtual Response DeallocateNode(string poolId, string nodeId, RequestContent content, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, RequestContext context = null)
+ {
+ Argument.AssertNotNullOrEmpty(poolId, nameof(poolId));
+ Argument.AssertNotNullOrEmpty(nodeId, nameof(nodeId));
+
+ using var scope = ClientDiagnostics.CreateScope("BatchClient.DeallocateNode");
+ scope.Start();
+ try
+ {
+ using HttpMessage message = CreateDeallocateNodeRequest(poolId, nodeId, content, timeOutInSeconds, ocpdate, context);
+ return _pipeline.ProcessMessage(message, context);
+ }
+ catch (Exception e)
+ {
+ scope.Failed(e);
+ throw;
+ }
+ }
+
/// Disables Task scheduling on the specified Compute Node.
/// The ID of the Pool that contains the Compute Node.
/// The ID of the Compute Node on which you want to disable Task scheduling.
@@ -6003,9 +6409,8 @@ public virtual Response EnableNodeScheduling(string poolId, string nodeId, int?
/// or is null.
/// or is an empty string, and was expected to be non-empty.
///
- /// Before you can remotely login to a Compute Node using the remote login
- /// settings, you must create a user Account on the Compute Node. This API can be
- /// invoked only on Pools created with the virtual machine configuration property.
+ /// Before you can remotely login to a Compute Node using the remote login settings,
+ /// you must create a user Account on the Compute Node.
///
///
public virtual async Task> GetNodeRemoteLoginSettingsAsync(string poolId, string nodeId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, CancellationToken cancellationToken = default)
@@ -6031,9 +6436,8 @@ public virtual async Task> GetNodeRemoteL
/// or is null.
/// or is an empty string, and was expected to be non-empty.
///
- /// Before you can remotely login to a Compute Node using the remote login
- /// settings, you must create a user Account on the Compute Node. This API can be
- /// invoked only on Pools created with the virtual machine configuration property.
+ /// Before you can remotely login to a Compute Node using the remote login settings,
+ /// you must create a user Account on the Compute Node.
///
///
public virtual Response GetNodeRemoteLoginSettings(string poolId, string nodeId, int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, CancellationToken cancellationToken = default)
@@ -7024,7 +7428,7 @@ public virtual Pageable GetApplications(int? timeOutInSeconds, DateT
/// The maximum number of items to return in the response. A maximum of 1000
/// applications can be returned.
///
- ///
+ ///
/// The earliest time from which to include metrics. This must be at least two and
/// a half hours before the current time. If not specified this defaults to the
/// start time of the last aggregation interval currently available.
@@ -7036,7 +7440,7 @@ public virtual Pageable GetApplications(int? timeOutInSeconds, DateT
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
///
/// The cancellation token to use.
///
@@ -7048,11 +7452,11 @@ public virtual Pageable GetApplications(int? timeOutInSeconds, DateT
/// last aggregation interval is returned.
///
///
- public virtual AsyncPageable GetPoolUsageMetricsAsync(int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, int? maxresults = null, DateTimeOffset? starttime = null, DateTimeOffset? endtime = null, string filter = null, CancellationToken cancellationToken = default)
+ public virtual AsyncPageable GetPoolUsageMetricsAsync(int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, int? maxresults = null, DateTimeOffset? startTime = null, DateTimeOffset? endtime = null, string filter = null, CancellationToken cancellationToken = default)
{
RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null;
- HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetPoolUsageMetricsRequest(timeOutInSeconds, ocpdate, maxresults, starttime, endtime, filter, context);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetPoolUsageMetricsNextPageRequest(nextLink, timeOutInSeconds, ocpdate, maxresults, starttime, endtime, filter, context);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetPoolUsageMetricsRequest(timeOutInSeconds, ocpdate, maxresults, startTime, endtime, filter, context);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetPoolUsageMetricsNextPageRequest(nextLink, timeOutInSeconds, ocpdate, maxresults, startTime, endtime, filter, context);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => BatchPoolUsageMetrics.DeserializeBatchPoolUsageMetrics(e), ClientDiagnostics, _pipeline, "BatchClient.GetPoolUsageMetrics", "value", "odata.nextLink", context);
}
@@ -7070,7 +7474,7 @@ public virtual AsyncPageable GetPoolUsageMetricsAsync(int
/// The maximum number of items to return in the response. A maximum of 1000
/// applications can be returned.
///
- ///
+ ///
/// The earliest time from which to include metrics. This must be at least two and
/// a half hours before the current time. If not specified this defaults to the
/// start time of the last aggregation interval currently available.
@@ -7082,7 +7486,7 @@ public virtual AsyncPageable GetPoolUsageMetricsAsync(int
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
///
/// The cancellation token to use.
///
@@ -7094,11 +7498,11 @@ public virtual AsyncPageable GetPoolUsageMetricsAsync(int
/// last aggregation interval is returned.
///
///
- public virtual Pageable GetPoolUsageMetrics(int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, int? maxresults = null, DateTimeOffset? starttime = null, DateTimeOffset? endtime = null, string filter = null, CancellationToken cancellationToken = default)
+ public virtual Pageable GetPoolUsageMetrics(int? timeOutInSeconds = null, DateTimeOffset? ocpdate = null, int? maxresults = null, DateTimeOffset? startTime = null, DateTimeOffset? endtime = null, string filter = null, CancellationToken cancellationToken = default)
{
RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null;
- HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetPoolUsageMetricsRequest(timeOutInSeconds, ocpdate, maxresults, starttime, endtime, filter, context);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetPoolUsageMetricsNextPageRequest(nextLink, timeOutInSeconds, ocpdate, maxresults, starttime, endtime, filter, context);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetPoolUsageMetricsRequest(timeOutInSeconds, ocpdate, maxresults, startTime, endtime, filter, context);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetPoolUsageMetricsNextPageRequest(nextLink, timeOutInSeconds, ocpdate, maxresults, startTime, endtime, filter, context);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => BatchPoolUsageMetrics.DeserializeBatchPoolUsageMetrics(e), ClientDiagnostics, _pipeline, "BatchClient.GetPoolUsageMetrics", "value", "odata.nextLink", context);
}
@@ -7128,7 +7532,7 @@ public virtual Pageable GetPoolUsageMetrics(int? timeOutI
/// The maximum number of items to return in the response. A maximum of 1000
/// applications can be returned.
///
- ///
+ ///
/// The earliest time from which to include metrics. This must be at least two and
/// a half hours before the current time. If not specified this defaults to the
/// start time of the last aggregation interval currently available.
@@ -7140,16 +7544,16 @@ public virtual Pageable GetPoolUsageMetrics(int? timeOutI
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
///
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// Service returned a non-success status code.
/// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below.
///
- public virtual AsyncPageable GetPoolUsageMetricsAsync(int? timeOutInSeconds, DateTimeOffset? ocpdate, int? maxresults, DateTimeOffset? starttime, DateTimeOffset? endtime, string filter, RequestContext context)
+ public virtual AsyncPageable GetPoolUsageMetricsAsync(int? timeOutInSeconds, DateTimeOffset? ocpdate, int? maxresults, DateTimeOffset? startTime, DateTimeOffset? endtime, string filter, RequestContext context)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetPoolUsageMetricsRequest(timeOutInSeconds, ocpdate, maxresults, starttime, endtime, filter, context);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetPoolUsageMetricsNextPageRequest(nextLink, timeOutInSeconds, ocpdate, maxresults, starttime, endtime, filter, context);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetPoolUsageMetricsRequest(timeOutInSeconds, ocpdate, maxresults, startTime, endtime, filter, context);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetPoolUsageMetricsNextPageRequest(nextLink, timeOutInSeconds, ocpdate, maxresults, startTime, endtime, filter, context);
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => BinaryData.FromString(e.GetRawText()), ClientDiagnostics, _pipeline, "BatchClient.GetPoolUsageMetrics", "value", "odata.nextLink", context);
}
@@ -7179,7 +7583,7 @@ public virtual AsyncPageable GetPoolUsageMetricsAsync(int? timeOutIn
/// The maximum number of items to return in the response. A maximum of 1000
/// applications can be returned.
///
- ///
+ ///
/// The earliest time from which to include metrics. This must be at least two and
/// a half hours before the current time. If not specified this defaults to the
/// start time of the last aggregation interval currently available.
@@ -7191,20 +7595,20 @@ public virtual AsyncPageable GetPoolUsageMetricsAsync(int? timeOutIn
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
///
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// Service returned a non-success status code.
/// The from the service containing a list of objects. Details of the body schema for each item in the collection are in the Remarks section below.
///
- public virtual Pageable GetPoolUsageMetrics(int? timeOutInSeconds, DateTimeOffset? ocpdate, int? maxresults, DateTimeOffset? starttime, DateTimeOffset? endtime, string filter, RequestContext context)
+ public virtual Pageable GetPoolUsageMetrics(int? timeOutInSeconds, DateTimeOffset? ocpdate, int? maxresults, DateTimeOffset? startTime, DateTimeOffset? endtime, string filter, RequestContext context)
{
- HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetPoolUsageMetricsRequest(timeOutInSeconds, ocpdate, maxresults, starttime, endtime, filter, context);
- HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetPoolUsageMetricsNextPageRequest(nextLink, timeOutInSeconds, ocpdate, maxresults, starttime, endtime, filter, context);
+ HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetPoolUsageMetricsRequest(timeOutInSeconds, ocpdate, maxresults, startTime, endtime, filter, context);
+ HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetPoolUsageMetricsNextPageRequest(nextLink, timeOutInSeconds, ocpdate, maxresults, startTime, endtime, filter, context);
return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => BinaryData.FromString(e.GetRawText()), ClientDiagnostics, _pipeline, "BatchClient.GetPoolUsageMetrics", "value", "odata.nextLink", context);
}
- /// Lists all of the Pools in the specified Account.
+ /// Lists all of the Pools which be mounted.
/// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
///
/// The time the request was issued. Client libraries typically set this to the
@@ -7217,7 +7621,7 @@ public virtual Pageable GetPoolUsageMetrics(int? timeOutInSeconds, D
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-pools.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-pools.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7231,7 +7635,7 @@ public virtual AsyncPageable GetPoolsAsync(int? timeOutInSeconds = nu
return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => BatchPool.DeserializeBatchPool(e), ClientDiagnostics, _pipeline, "BatchClient.GetPools", "value", "odata.nextLink", context);
}
- /// Lists all of the Pools in the specified Account.
+ /// Lists all of the Pools which be mounted.
/// The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.".
///
/// The time the request was issued. Client libraries typically set this to the
@@ -7244,7 +7648,7 @@ public virtual AsyncPageable GetPoolsAsync(int? timeOutInSeconds = nu
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-pools.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-pools.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7259,7 +7663,7 @@ public virtual Pageable GetPools(int? timeOutInSeconds = null, DateTi
}
///
- /// [Protocol Method] Lists all of the Pools in the specified Account.
+ /// [Protocol Method] Lists all of the Pools which be mounted.
///
/// -
///
@@ -7285,7 +7689,7 @@ public virtual Pageable GetPools(int? timeOutInSeconds = null, DateTi
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-pools.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-pools.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7301,7 +7705,7 @@ public virtual AsyncPageable GetPoolsAsync(int? timeOutInSeconds, Da
}
///
- /// [Protocol Method] Lists all of the Pools in the specified Account.
+ /// [Protocol Method] Lists all of the Pools which be mounted.
///
/// -
///
@@ -7327,7 +7731,7 @@ public virtual AsyncPageable GetPoolsAsync(int? timeOutInSeconds, Da
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-pools.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-pools.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7355,7 +7759,7 @@ public virtual Pageable GetPools(int? timeOutInSeconds, DateTimeOffs
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-support-images.
///
/// The cancellation token to use.
///
@@ -7380,7 +7784,7 @@ public virtual AsyncPageable GetSupportedImagesAsync(int? t
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-support-images.
///
/// The cancellation token to use.
///
@@ -7419,7 +7823,7 @@ public virtual Pageable GetSupportedImages(int? timeOutInSe
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-support-images.
///
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// Service returned a non-success status code.
@@ -7459,7 +7863,7 @@ public virtual AsyncPageable GetSupportedImagesAsync(int? timeOutInS
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-support-images.
///
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// Service returned a non-success status code.
@@ -7489,7 +7893,7 @@ public virtual Pageable GetSupportedImages(int? timeOutInSeconds, Da
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-support-images.
///
/// The cancellation token to use.
///
@@ -7518,7 +7922,7 @@ public virtual AsyncPageable GetPoolNodeCountsAsync(int? ti
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-support-images.
///
/// The cancellation token to use.
///
@@ -7559,7 +7963,7 @@ public virtual Pageable GetPoolNodeCounts(int? timeOutInSec
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-support-images.
///
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// Service returned a non-success status code.
@@ -7601,7 +8005,7 @@ public virtual AsyncPageable GetPoolNodeCountsAsync(int? timeOutInSe
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-support-images.
///
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
/// Service returned a non-success status code.
@@ -7627,7 +8031,7 @@ public virtual Pageable GetPoolNodeCounts(int? timeOutInSeconds, Dat
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-jobs.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7654,7 +8058,7 @@ public virtual AsyncPageable GetJobsAsync(int? timeOutInSeconds = null
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-jobs.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7695,7 +8099,7 @@ public virtual Pageable GetJobs(int? timeOutInSeconds = null, DateTime
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-jobs.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7737,7 +8141,7 @@ public virtual AsyncPageable GetJobsAsync(int? timeOutInSeconds, Dat
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-jobs.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7766,7 +8170,7 @@ public virtual Pageable GetJobs(int? timeOutInSeconds, DateTimeOffse
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7798,7 +8202,7 @@ public virtual AsyncPageable GetJobsFromSchedulesAsync(string jobSched
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7844,7 +8248,7 @@ public virtual Pageable GetJobsFromSchedules(string jobScheduleId, int
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7891,7 +8295,7 @@ public virtual AsyncPageable GetJobsFromSchedulesAsync(string jobSch
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -7927,7 +8331,7 @@ public virtual Pageable GetJobsFromSchedules(string jobScheduleId, i
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.
///
/// An OData $select clause.
/// The cancellation token to use.
@@ -7969,7 +8373,7 @@ public virtual AsyncPageable GetJobPrep
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.
///
/// An OData $select clause.
/// The cancellation token to use.
@@ -8023,7 +8427,7 @@ public virtual Pageable GetJobPreparati
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.
///
/// An OData $select clause.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
@@ -8070,7 +8474,7 @@ public virtual AsyncPageable GetJobPreparationAndReleaseTaskStatuses
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.
///
/// An OData $select clause.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
@@ -8101,7 +8505,7 @@ public virtual Pageable GetJobPreparationAndReleaseTaskStatuses(stri
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -8128,7 +8532,7 @@ public virtual AsyncPageable GetJobSchedulesAsync(int? timeOut
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -8169,7 +8573,7 @@ public virtual Pageable GetJobSchedules(int? timeOutInSeconds
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -8211,7 +8615,7 @@ public virtual AsyncPageable GetJobSchedulesAsync(int? timeOutInSeco
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -8240,7 +8644,7 @@ public virtual Pageable GetJobSchedules(int? timeOutInSeconds, DateT
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-tasks.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-tasks.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -8277,7 +8681,7 @@ public virtual AsyncPageable GetTasksAsync(string jobId, int? timeOut
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-tasks.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-tasks.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -8328,7 +8732,7 @@ public virtual Pageable GetTasks(string jobId, int? timeOutInSeconds
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-tasks.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-tasks.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -8375,7 +8779,7 @@ public virtual AsyncPageable GetTasksAsync(string jobId, int? timeOu
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-tasks.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-tasks.
///
/// An OData $select clause.
/// An OData $expand clause.
@@ -8549,7 +8953,7 @@ public virtual Pageable GetSubTasks(string jobId, string taskId, int
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-task-files.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-task-files.
///
///
/// Whether to list children of the Task directory. This parameter can be used in
@@ -8585,7 +8989,7 @@ public virtual AsyncPageable GetTaskFilesAsync(string jobId, stri
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-task-files.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-task-files.
///
///
/// Whether to list children of the Task directory. This parameter can be used in
@@ -8635,7 +9039,7 @@ public virtual Pageable GetTaskFiles(string jobId, string taskId,
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-task-files.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-task-files.
///
///
/// Whether to list children of the Task directory. This parameter can be used in
@@ -8686,7 +9090,7 @@ public virtual AsyncPageable GetTaskFilesAsync(string jobId, string
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-task-files.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-task-files.
///
///
/// Whether to list children of the Task directory. This parameter can be used in
@@ -8722,7 +9126,7 @@ public virtual Pageable GetTaskFiles(string jobId, string taskId, in
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.
///
/// An OData $select clause.
/// The cancellation token to use.
@@ -8753,7 +9157,7 @@ public virtual AsyncPageable GetNodesAsync(string poolId, int? timeOu
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.
///
/// An OData $select clause.
/// The cancellation token to use.
@@ -8798,7 +9202,7 @@ public virtual Pageable GetNodes(string poolId, int? timeOutInSeconds
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.
///
/// An OData $select clause.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
@@ -8844,7 +9248,7 @@ public virtual AsyncPageable GetNodesAsync(string poolId, int? timeO
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.
///
/// An OData $select clause.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
@@ -9023,7 +9427,7 @@ public virtual Pageable GetNodeExtensions(string poolId, string node
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.
///
/// Whether to list children of a directory.
/// The cancellation token to use.
@@ -9056,7 +9460,7 @@ public virtual AsyncPageable GetNodeFilesAsync(string poolId, str
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.
///
/// Whether to list children of a directory.
/// The cancellation token to use.
@@ -9103,7 +9507,7 @@ public virtual Pageable GetNodeFiles(string poolId, string nodeId
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.
///
/// Whether to list children of a directory.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
@@ -9151,7 +9555,7 @@ public virtual AsyncPageable GetNodeFilesAsync(string poolId, string
///
///
/// An OData $filter clause. For more information on constructing this filter, see
- /// https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.
+ /// https://docs.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.
///
/// Whether to list children of a directory.
/// The request context, which can override default behaviors of the client pipeline on a per-call basis.
@@ -9223,7 +9627,7 @@ internal HttpMessage CreateGetApplicationRequest(string applicationId, int? time
return message;
}
- internal HttpMessage CreateGetPoolUsageMetricsRequest(int? timeOutInSeconds, DateTimeOffset? ocpdate, int? maxresults, DateTimeOffset? starttime, DateTimeOffset? endtime, string filter, RequestContext context)
+ internal HttpMessage CreateGetPoolUsageMetricsRequest(int? timeOutInSeconds, DateTimeOffset? ocpdate, int? maxresults, DateTimeOffset? startTime, DateTimeOffset? endtime, string filter, RequestContext context)
{
var message = _pipeline.CreateMessage(context, ResponseClassifier200);
var request = message.Request;
@@ -9240,9 +9644,9 @@ internal HttpMessage CreateGetPoolUsageMetricsRequest(int? timeOutInSeconds, Dat
{
uri.AppendQuery("maxresults", maxresults.Value, true);
}
- if (starttime != null)
+ if (startTime != null)
{
- uri.AppendQuery("startTime", starttime.Value, "O", true);
+ uri.AppendQuery("startTime", startTime.Value, "O", true);
}
if (endtime != null)
{
@@ -9727,7 +10131,7 @@ internal HttpMessage CreateGetPoolNodeCountsRequest(int? timeOutInSeconds, DateT
return message;
}
- internal HttpMessage CreateDeleteJobRequest(string jobId, int? timeOutInSeconds, DateTimeOffset? ocpdate, RequestConditions requestConditions, RequestContext context)
+ internal HttpMessage CreateDeleteJobRequest(string jobId, int? timeOutInSeconds, DateTimeOffset? ocpdate, bool? force, RequestConditions requestConditions, RequestContext context)
{
var message = _pipeline.CreateMessage(context, ResponseClassifier202);
var request = message.Request;
@@ -9741,6 +10145,10 @@ internal HttpMessage CreateDeleteJobRequest(string jobId, int? timeOutInSeconds,
{
uri.AppendQuery("timeOut", timeOutInSeconds.Value, true);
}
+ if (force != null)
+ {
+ uri.AppendQuery("force", force.Value, true);
+ }
request.Uri = uri;
request.Headers.Add("Accept", "application/json");
request.Headers.Add("client-request-id", message.Request.ClientRequestId);
@@ -9917,7 +10325,7 @@ internal HttpMessage CreateEnableJobRequest(string jobId, int? timeOutInSeconds,
return message;
}
- internal HttpMessage CreateTerminateJobRequest(string jobId, RequestContent content, int? timeOutInSeconds, DateTimeOffset? ocpdate, RequestConditions requestConditions, RequestContext context)
+ internal HttpMessage CreateTerminateJobRequest(string jobId, RequestContent content, int? timeOutInSeconds, DateTimeOffset? ocpdate, bool? force, RequestConditions requestConditions, RequestContext context)
{
var message = _pipeline.CreateMessage(context, ResponseClassifier202);
var request = message.Request;
@@ -9932,6 +10340,10 @@ internal HttpMessage CreateTerminateJobRequest(string jobId, RequestContent cont
{
uri.AppendQuery("timeOut", timeOutInSeconds.Value, true);
}
+ if (force != null)
+ {
+ uri.AppendQuery("force", force.Value, true);
+ }
request.Uri = uri;
request.Headers.Add("Accept", "application/json");
request.Headers.Add("client-request-id", message.Request.ClientRequestId);
@@ -10150,7 +10562,7 @@ internal HttpMessage CreateJobScheduleExistsRequest(string jobScheduleId, int? t
return message;
}
- internal HttpMessage CreateDeleteJobScheduleRequest(string jobScheduleId, int? timeOutInSeconds, DateTimeOffset? ocpdate, RequestConditions requestConditions, RequestContext context)
+ internal HttpMessage CreateDeleteJobScheduleRequest(string jobScheduleId, int? timeOutInSeconds, DateTimeOffset? ocpdate, bool? force, RequestConditions requestConditions, RequestContext context)
{
var message = _pipeline.CreateMessage(context, ResponseClassifier202);
var request = message.Request;
@@ -10164,6 +10576,10 @@ internal HttpMessage CreateDeleteJobScheduleRequest(string jobScheduleId, int? t
{
uri.AppendQuery("timeOut", timeOutInSeconds.Value, true);
}
+ if (force != null)
+ {
+ uri.AppendQuery("force", force.Value, true);
+ }
request.Uri = uri;
request.Headers.Add("Accept", "application/json");
request.Headers.Add("client-request-id", message.Request.ClientRequestId);
@@ -10338,7 +10754,7 @@ internal HttpMessage CreateEnableJobScheduleRequest(string jobScheduleId, int? t
return message;
}
- internal HttpMessage CreateTerminateJobScheduleRequest(string jobScheduleId, int? timeOutInSeconds, DateTimeOffset? ocpdate, RequestConditions requestConditions, RequestContext context)
+ internal HttpMessage CreateTerminateJobScheduleRequest(string jobScheduleId, int? timeOutInSeconds, DateTimeOffset? ocpdate, bool? force, RequestConditions requestConditions, RequestContext context)
{
var message = _pipeline.CreateMessage(context, ResponseClassifier202);
var request = message.Request;
@@ -10353,6 +10769,10 @@ internal HttpMessage CreateTerminateJobScheduleRequest(string jobScheduleId, int
{
uri.AppendQuery("timeOut", timeOutInSeconds.Value, true);
}
+ if (force != null)
+ {
+ uri.AppendQuery("force", force.Value, true);
+ }
request.Uri = uri;
request.Headers.Add("Accept", "application/json");
request.Headers.Add("client-request-id", message.Request.ClientRequestId);
@@ -11025,6 +11445,94 @@ internal HttpMessage CreateRebootNodeRequest(string poolId, string nodeId, Reque
return message;
}
+ internal HttpMessage CreateStartNodeRequest(string poolId, string nodeId, int? timeOutInSeconds, DateTimeOffset? ocpdate, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier202);
+ var request = message.Request;
+ request.Method = RequestMethod.Post;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/pools/", false);
+ uri.AppendPath(poolId, true);
+ uri.AppendPath("/nodes/", false);
+ uri.AppendPath(nodeId, true);
+ uri.AppendPath("/start", false);
+ uri.AppendQuery("api-version", _apiVersion, true);
+ if (timeOutInSeconds != null)
+ {
+ uri.AppendQuery("timeOut", timeOutInSeconds.Value, true);
+ }
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ request.Headers.Add("client-request-id", message.Request.ClientRequestId);
+ request.Headers.Add("return-client-request-id", "true");
+ if (ocpdate != null)
+ {
+ request.Headers.Add("ocp-date", ocpdate.Value, "R");
+ }
+ return message;
+ }
+
+ internal HttpMessage CreateReimageNodeRequest(string poolId, string nodeId, RequestContent content, int? timeOutInSeconds, DateTimeOffset? ocpdate, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier202);
+ var request = message.Request;
+ request.Method = RequestMethod.Post;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/pools/", false);
+ uri.AppendPath(poolId, true);
+ uri.AppendPath("/nodes/", false);
+ uri.AppendPath(nodeId, true);
+ uri.AppendPath("/reimage", false);
+ uri.AppendQuery("api-version", _apiVersion, true);
+ if (timeOutInSeconds != null)
+ {
+ uri.AppendQuery("timeOut", timeOutInSeconds.Value, true);
+ }
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ request.Headers.Add("client-request-id", message.Request.ClientRequestId);
+ request.Headers.Add("return-client-request-id", "true");
+ if (ocpdate != null)
+ {
+ request.Headers.Add("ocp-date", ocpdate.Value, "R");
+ }
+ request.Headers.Add("Content-Type", "application/json; odata=minimalmetadata");
+ request.Content = content;
+ return message;
+ }
+
+ internal HttpMessage CreateDeallocateNodeRequest(string poolId, string nodeId, RequestContent content, int? timeOutInSeconds, DateTimeOffset? ocpdate, RequestContext context)
+ {
+ var message = _pipeline.CreateMessage(context, ResponseClassifier202);
+ var request = message.Request;
+ request.Method = RequestMethod.Post;
+ var uri = new RawRequestUriBuilder();
+ uri.Reset(_endpoint);
+ uri.AppendPath("/pools/", false);
+ uri.AppendPath(poolId, true);
+ uri.AppendPath("/nodes/", false);
+ uri.AppendPath(nodeId, true);
+ uri.AppendPath("/deallocate", false);
+ uri.AppendQuery("api-version", _apiVersion, true);
+ if (timeOutInSeconds != null)
+ {
+ uri.AppendQuery("timeOut", timeOutInSeconds.Value, true);
+ }
+ request.Uri = uri;
+ request.Headers.Add("Accept", "application/json");
+ request.Headers.Add("client-request-id", message.Request.ClientRequestId);
+ request.Headers.Add("return-client-request-id", "true");
+ if (ocpdate != null)
+ {
+ request.Headers.Add("ocp-date", ocpdate.Value, "R");
+ }
+ request.Headers.Add("Content-Type", "application/json; odata=minimalmetadata");
+ request.Content = content;
+ return message;
+ }
+
internal HttpMessage CreateDisableNodeSchedulingRequest(string poolId, string nodeId, RequestContent content, int? timeOutInSeconds, DateTimeOffset? ocpdate, RequestContext context)
{
var message = _pipeline.CreateMessage(context, ResponseClassifier200);
@@ -11410,7 +11918,7 @@ internal HttpMessage CreateGetApplicationsNextPageRequest(string nextLink, int?
return message;
}
- internal HttpMessage CreateGetPoolUsageMetricsNextPageRequest(string nextLink, int? timeOutInSeconds, DateTimeOffset? ocpdate, int? maxresults, DateTimeOffset? starttime, DateTimeOffset? endtime, string filter, RequestContext context)
+ internal HttpMessage CreateGetPoolUsageMetricsNextPageRequest(string nextLink, int? timeOutInSeconds, DateTimeOffset? ocpdate, int? maxresults, DateTimeOffset? startTime, DateTimeOffset? endtime, string filter, RequestContext context)
{
var message = _pipeline.CreateMessage(context, ResponseClassifier200);
var request = message.Request;
diff --git a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchClientOptions.cs b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchClientOptions.cs
index eab2e5942414..c4f6c163cc57 100644
--- a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchClientOptions.cs
+++ b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchClientOptions.cs
@@ -13,13 +13,13 @@ namespace Azure.Compute.Batch
/// Client options for BatchClient.
public partial class BatchClientOptions : ClientOptions
{
- private const ServiceVersion LatestVersion = ServiceVersion.V2024_02_01_19_0;
+ private const ServiceVersion LatestVersion = ServiceVersion.V2024_07_01_20_0;
/// The version of the service to use.
public enum ServiceVersion
{
- /// Service version "2024-02-01.19.0".
- V2024_02_01_19_0 = 1,
+ /// Service version "2024-07-01.20.0".
+ V2024_07_01_20_0 = 1,
}
internal string Version { get; }
@@ -29,7 +29,7 @@ public BatchClientOptions(ServiceVersion version = LatestVersion)
{
Version = version switch
{
- ServiceVersion.V2024_02_01_19_0 => "2024-02-01.19.0",
+ ServiceVersion.V2024_07_01_20_0 => "2024-07-01.20.0",
_ => throw new NotSupportedException()
};
}
diff --git a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJob.cs b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJob.cs
index b516fefc1292..3084acc36928 100644
--- a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJob.cs
+++ b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJob.cs
@@ -83,7 +83,7 @@ public BatchJob(BatchPoolInfo poolInfo)
/// The network configuration for the Job.
/// A list of name-value pairs associated with the Job as metadata. The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
/// The execution information for the Job.
- /// Resource usage statistics for the entire lifetime of the Job. This property is populated only if the CloudJob was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.
+ /// Resource usage statistics for the entire lifetime of the Job. This property is populated only if the BatchJob was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.
/// Keeps track of any properties unknown to the library.
internal BatchJob(string id, string displayName, bool? usesTaskDependencies, string url, string eTag, DateTimeOffset? lastModified, DateTimeOffset? creationTime, BatchJobState? state, DateTimeOffset? stateTransitionTime, BatchJobState? previousState, DateTimeOffset? previousStateTransitionTime, int? priority, bool? allowTaskPreemption, int? maxParallelTasks, BatchJobConstraints constraints, BatchJobManagerTask jobManagerTask, BatchJobPreparationTask jobPreparationTask, BatchJobReleaseTask jobReleaseTask, IReadOnlyList commonEnvironmentSettings, BatchPoolInfo poolInfo, OnAllBatchTasksComplete? onAllTasksComplete, OnBatchTaskFailure? onTaskFailure, BatchJobNetworkConfiguration networkConfiguration, IList metadata, BatchJobExecutionInfo executionInfo, BatchJobStatistics stats, IDictionary serializedAdditionalRawData)
{
@@ -171,7 +171,7 @@ internal BatchJob()
public IList Metadata { get; }
/// The execution information for the Job.
public BatchJobExecutionInfo ExecutionInfo { get; }
- /// Resource usage statistics for the entire lifetime of the Job. This property is populated only if the CloudJob was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.
+ /// Resource usage statistics for the entire lifetime of the Job. This property is populated only if the BatchJob was retrieved with an expand clause including the 'stats' attribute; otherwise it is null. The statistics may not be immediately available. The Batch service performs periodic roll-up of statistics. The typical delay is about 30 minutes.
public BatchJobStatistics Stats { get; }
}
}
diff --git a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobManagerTask.cs b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobManagerTask.cs
index 7f679bb2fb59..ef3f26a7fbaa 100644
--- a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobManagerTask.cs
+++ b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobManagerTask.cs
@@ -71,7 +71,7 @@ public partial class BatchJobManagerTask
/// Initializes a new instance of .
/// A string that uniquely identifies the Job Manager Task within the Job. The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters.
- /// The command line of the Job Manager Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
+ /// The command line of the Job Manager Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
/// or is null.
public BatchJobManagerTask(string id, string commandLine)
{
@@ -89,7 +89,7 @@ public BatchJobManagerTask(string id, string commandLine)
/// Initializes a new instance of .
/// A string that uniquely identifies the Job Manager Task within the Job. The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters.
/// The display name of the Job Manager Task. It need not be unique and can contain any Unicode characters up to a maximum length of 1024.
- /// The command line of the Job Manager Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
+ /// The command line of the Job Manager Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
/// The settings for the container under which the Job Manager Task runs. If the Pool that will run this Task has containerConfiguration set, this must be set as well. If the Pool that will run this Task doesn't have containerConfiguration set, this must not be set. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files.
/// A list of files that the Batch service will download to the Compute Node before running the command line. Files listed under this element are located in the Task's working directory. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers.
/// A list of files that the Batch service will upload from the Compute Node after running the command line. For multi-instance Tasks, the files will only be uploaded from the Compute Node on which the primary Task is executed.
@@ -141,7 +141,7 @@ internal BatchJobManagerTask()
public string Id { get; set; }
/// The display name of the Job Manager Task. It need not be unique and can contain any Unicode characters up to a maximum length of 1024.
public string DisplayName { get; set; }
- /// The command line of the Job Manager Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
+ /// The command line of the Job Manager Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
public string CommandLine { get; set; }
/// The settings for the container under which the Job Manager Task runs. If the Pool that will run this Task has containerConfiguration set, this must be set as well. If the Pool that will run this Task doesn't have containerConfiguration set, this must not be set. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files.
public BatchTaskContainerSettings ContainerSettings { get; set; }
diff --git a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobNetworkConfiguration.Serialization.cs b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobNetworkConfiguration.Serialization.cs
index 9345163de435..769793d1e726 100644
--- a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobNetworkConfiguration.Serialization.cs
+++ b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobNetworkConfiguration.Serialization.cs
@@ -28,6 +28,8 @@ void IJsonModel.Write(Utf8JsonWriter writer, Model
writer.WriteStartObject();
writer.WritePropertyName("subnetId"u8);
writer.WriteStringValue(SubnetId);
+ writer.WritePropertyName("skipWithdrawFromVNet"u8);
+ writer.WriteBooleanValue(SkipWithdrawFromVNet);
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
foreach (var item in _serializedAdditionalRawData)
@@ -67,6 +69,7 @@ internal static BatchJobNetworkConfiguration DeserializeBatchJobNetworkConfigura
return null;
}
string subnetId = default;
+ bool skipWithdrawFromVNet = default;
IDictionary serializedAdditionalRawData = default;
Dictionary rawDataDictionary = new Dictionary();
foreach (var property in element.EnumerateObject())
@@ -76,13 +79,18 @@ internal static BatchJobNetworkConfiguration DeserializeBatchJobNetworkConfigura
subnetId = property.Value.GetString();
continue;
}
+ if (property.NameEquals("skipWithdrawFromVNet"u8))
+ {
+ skipWithdrawFromVNet = property.Value.GetBoolean();
+ continue;
+ }
if (options.Format != "W")
{
rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText()));
}
}
serializedAdditionalRawData = rawDataDictionary;
- return new BatchJobNetworkConfiguration(subnetId, serializedAdditionalRawData);
+ return new BatchJobNetworkConfiguration(subnetId, skipWithdrawFromVNet, serializedAdditionalRawData);
}
BinaryData IPersistableModel.Write(ModelReaderWriterOptions options)
diff --git a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobNetworkConfiguration.cs b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobNetworkConfiguration.cs
index d6697158bf5e..c00f0c2ef2e4 100644
--- a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobNetworkConfiguration.cs
+++ b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobNetworkConfiguration.cs
@@ -46,21 +46,25 @@ public partial class BatchJobNetworkConfiguration
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- /// The ARM resource identifier of the virtual network subnet which Compute Nodes running Tasks from the Job will join for the duration of the Task. This will only work with a VirtualMachineConfiguration Pool. The virtual network must be in the same region and subscription as the Azure Batch Account. The specified subnet should have enough free IP addresses to accommodate the number of Compute Nodes which will run Tasks from the Job. This can be up to the number of Compute Nodes in the Pool. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet so that Azure Batch service can schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication from the Azure Batch service. For Pools created with a Virtual Machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Port 443 is also required to be open for outbound connections for communications to Azure Storage. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
+ /// The ARM resource identifier of the virtual network subnet which Compute Nodes running Tasks from the Job will join for the duration of the Task. The virtual network must be in the same region and subscription as the Azure Batch Account. The specified subnet should have enough free IP addresses to accommodate the number of Compute Nodes which will run Tasks from the Job. This can be up to the number of Compute Nodes in the Pool. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet so that Azure Batch service can schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication from the Azure Batch service. For Pools created with a Virtual Machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Port 443 is also required to be open for outbound connections for communications to Azure Storage. For more details see: https://docs.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
+ /// Whether to withdraw Compute Nodes from the virtual network to DNC when the job is terminated or deleted. If true, nodes will remain joined to the virtual network to DNC. If false, nodes will automatically withdraw when the job ends. Defaults to false.
/// is null.
- public BatchJobNetworkConfiguration(string subnetId)
+ public BatchJobNetworkConfiguration(string subnetId, bool skipWithdrawFromVNet)
{
Argument.AssertNotNull(subnetId, nameof(subnetId));
SubnetId = subnetId;
+ SkipWithdrawFromVNet = skipWithdrawFromVNet;
}
/// Initializes a new instance of .
- /// The ARM resource identifier of the virtual network subnet which Compute Nodes running Tasks from the Job will join for the duration of the Task. This will only work with a VirtualMachineConfiguration Pool. The virtual network must be in the same region and subscription as the Azure Batch Account. The specified subnet should have enough free IP addresses to accommodate the number of Compute Nodes which will run Tasks from the Job. This can be up to the number of Compute Nodes in the Pool. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet so that Azure Batch service can schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication from the Azure Batch service. For Pools created with a Virtual Machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Port 443 is also required to be open for outbound connections for communications to Azure Storage. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
+ /// The ARM resource identifier of the virtual network subnet which Compute Nodes running Tasks from the Job will join for the duration of the Task. The virtual network must be in the same region and subscription as the Azure Batch Account. The specified subnet should have enough free IP addresses to accommodate the number of Compute Nodes which will run Tasks from the Job. This can be up to the number of Compute Nodes in the Pool. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet so that Azure Batch service can schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication from the Azure Batch service. For Pools created with a Virtual Machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Port 443 is also required to be open for outbound connections for communications to Azure Storage. For more details see: https://docs.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
+ /// Whether to withdraw Compute Nodes from the virtual network to DNC when the job is terminated or deleted. If true, nodes will remain joined to the virtual network to DNC. If false, nodes will automatically withdraw when the job ends. Defaults to false.
/// Keeps track of any properties unknown to the library.
- internal BatchJobNetworkConfiguration(string subnetId, IDictionary serializedAdditionalRawData)
+ internal BatchJobNetworkConfiguration(string subnetId, bool skipWithdrawFromVNet, IDictionary serializedAdditionalRawData)
{
SubnetId = subnetId;
+ SkipWithdrawFromVNet = skipWithdrawFromVNet;
_serializedAdditionalRawData = serializedAdditionalRawData;
}
@@ -69,7 +73,9 @@ internal BatchJobNetworkConfiguration()
{
}
- /// The ARM resource identifier of the virtual network subnet which Compute Nodes running Tasks from the Job will join for the duration of the Task. This will only work with a VirtualMachineConfiguration Pool. The virtual network must be in the same region and subscription as the Azure Batch Account. The specified subnet should have enough free IP addresses to accommodate the number of Compute Nodes which will run Tasks from the Job. This can be up to the number of Compute Nodes in the Pool. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet so that Azure Batch service can schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication from the Azure Batch service. For Pools created with a Virtual Machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Port 443 is also required to be open for outbound connections for communications to Azure Storage. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
+ /// The ARM resource identifier of the virtual network subnet which Compute Nodes running Tasks from the Job will join for the duration of the Task. The virtual network must be in the same region and subscription as the Azure Batch Account. The specified subnet should have enough free IP addresses to accommodate the number of Compute Nodes which will run Tasks from the Job. This can be up to the number of Compute Nodes in the Pool. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet so that Azure Batch service can schedule Tasks on the Nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the Nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the Compute Nodes to unusable. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication from the Azure Batch service. For Pools created with a Virtual Machine configuration, enable ports 29876 and 29877, as well as port 22 for Linux and port 3389 for Windows. Port 443 is also required to be open for outbound connections for communications to Azure Storage. For more details see: https://docs.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration.
public string SubnetId { get; set; }
+ /// Whether to withdraw Compute Nodes from the virtual network to DNC when the job is terminated or deleted. If true, nodes will remain joined to the virtual network to DNC. If false, nodes will automatically withdraw when the job ends. Defaults to false.
+ public bool SkipWithdrawFromVNet { get; set; }
}
}
diff --git a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobPreparationTask.cs b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobPreparationTask.cs
index ce02002b17a0..8e8129290683 100644
--- a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobPreparationTask.cs
+++ b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobPreparationTask.cs
@@ -73,7 +73,7 @@ public partial class BatchJobPreparationTask
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- /// The command line of the Job Preparation Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
+ /// The command line of the Job Preparation Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
/// is null.
public BatchJobPreparationTask(string commandLine)
{
@@ -86,7 +86,7 @@ public BatchJobPreparationTask(string commandLine)
/// Initializes a new instance of .
/// A string that uniquely identifies the Job Preparation Task within the Job. The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters. If you do not specify this property, the Batch service assigns a default value of 'jobpreparation'. No other Task in the Job can have the same ID as the Job Preparation Task. If you try to submit a Task with the same id, the Batch service rejects the request with error code TaskIdSameAsJobPreparationTask; if you are calling the REST API directly, the HTTP status code is 409 (Conflict).
- /// The command line of the Job Preparation Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
+ /// The command line of the Job Preparation Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
/// The settings for the container under which the Job Preparation Task runs. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files.
/// A list of files that the Batch service will download to the Compute Node before running the command line. Files listed under this element are located in the Task's working directory. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers.
/// A list of environment variable settings for the Job Preparation Task.
@@ -116,7 +116,7 @@ internal BatchJobPreparationTask()
/// A string that uniquely identifies the Job Preparation Task within the Job. The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters. If you do not specify this property, the Batch service assigns a default value of 'jobpreparation'. No other Task in the Job can have the same ID as the Job Preparation Task. If you try to submit a Task with the same id, the Batch service rejects the request with error code TaskIdSameAsJobPreparationTask; if you are calling the REST API directly, the HTTP status code is 409 (Conflict).
public string Id { get; set; }
- /// The command line of the Job Preparation Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
+ /// The command line of the Job Preparation Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
public string CommandLine { get; set; }
/// The settings for the container under which the Job Preparation Task runs. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files.
public BatchTaskContainerSettings ContainerSettings { get; set; }
diff --git a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobReleaseTask.cs b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobReleaseTask.cs
index acbf28a11f7d..ac84972b80ef 100644
--- a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobReleaseTask.cs
+++ b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobReleaseTask.cs
@@ -63,7 +63,7 @@ public partial class BatchJobReleaseTask
private IDictionary _serializedAdditionalRawData;
/// Initializes a new instance of .
- /// The command line of the Job Release Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
+ /// The command line of the Job Release Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
/// is null.
public BatchJobReleaseTask(string commandLine)
{
@@ -76,7 +76,7 @@ public BatchJobReleaseTask(string commandLine)
/// Initializes a new instance of .
/// A string that uniquely identifies the Job Release Task within the Job. The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters. If you do not specify this property, the Batch service assigns a default value of 'jobrelease'. No other Task in the Job can have the same ID as the Job Release Task. If you try to submit a Task with the same id, the Batch service rejects the request with error code TaskIdSameAsJobReleaseTask; if you are calling the REST API directly, the HTTP status code is 409 (Conflict).
- /// The command line of the Job Release Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
+ /// The command line of the Job Release Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
/// The settings for the container under which the Job Release Task runs. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files.
/// A list of files that the Batch service will download to the Compute Node before running the command line. There is a maximum size for the list of resource files. When the max size is exceeded, the request will fail and the response error code will be RequestEntityTooLarge. If this occurs, the collection of ResourceFiles must be reduced in size. This can be achieved using .zip files, Application Packages, or Docker Containers. Files listed under this element are located in the Task's working directory.
/// A list of environment variable settings for the Job Release Task.
@@ -104,7 +104,7 @@ internal BatchJobReleaseTask()
/// A string that uniquely identifies the Job Release Task within the Job. The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters. If you do not specify this property, the Batch service assigns a default value of 'jobrelease'. No other Task in the Job can have the same ID as the Job Release Task. If you try to submit a Task with the same id, the Batch service rejects the request with error code TaskIdSameAsJobReleaseTask; if you are calling the REST API directly, the HTTP status code is 409 (Conflict).
public string Id { get; set; }
- /// The command line of the Job Release Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/en-us/azure/batch/batch-compute-node-environment-variables).
+ /// The command line of the Job Release Task. The command line does not run under a shell, and therefore cannot take advantage of shell features such as environment variable expansion. If you want to take advantage of such features, you should invoke the shell in the command line, for example using "cmd /c MyCommand" in Windows or "/bin/sh -c MyCommand" in Linux. If the command line refers to file paths, it should use a relative path (relative to the Task working directory), or use the Batch provided environment variable (https://docs.microsoft.com/azure/batch/batch-compute-node-environment-variables).
public string CommandLine { get; set; }
/// The settings for the container under which the Job Release Task runs. When this is specified, all directories recursively below the AZ_BATCH_NODE_ROOT_DIR (the root of Azure Batch directories on the node) are mapped into the container, all Task environment variables are mapped into the container, and the Task command line is executed in the container. Files produced in the container outside of AZ_BATCH_NODE_ROOT_DIR might not be reflected to the host disk, meaning that Batch file APIs will not be able to access those files.
public BatchTaskContainerSettings ContainerSettings { get; set; }
diff --git a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobUpdateContent.Serialization.cs b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobUpdateContent.Serialization.cs
index 6f849ee7b585..9de4750302a0 100644
--- a/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobUpdateContent.Serialization.cs
+++ b/sdk/batch/Azure.Compute.Batch/src/Generated/BatchJobUpdateContent.Serialization.cs
@@ -66,6 +66,11 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderW
}
writer.WriteEndArray();
}
+ if (Optional.IsDefined(NetworkConfiguration))
+ {
+ writer.WritePropertyName("networkConfiguration"u8);
+ writer.WriteObjectValue(NetworkConfiguration, options);
+ }
if (options.Format != "W" && _serializedAdditionalRawData != null)
{
foreach (var item in _serializedAdditionalRawData)
@@ -111,6 +116,7 @@ internal static BatchJobUpdateContent DeserializeBatchJobUpdateContent(JsonEleme
BatchPoolInfo poolInfo = default;
OnAllBatchTasksComplete? onAllTasksComplete = default;
IList metadata = default;
+ BatchJobNetworkConfiguration networkConfiguration = default;
IDictionary serializedAdditionalRawData = default;
Dictionary