From aebdfaa9fbad3ff1b9a865d4af379c44861c4c35 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 24 Mar 2025 07:31:45 +0000 Subject: [PATCH] CodeGen from PR 33348 in Azure/azure-rest-api-specs Merge e8a5688659580426014c61677819ac0bc88d0793 into bc79b816272c7e12d79e8bc63d689327fc37d11f --- .../tsp-location.yaml | 4 +- .../Configuration.json | 13 + .../tsp-location.yaml | 4 +- .../tspCodeModel.json | 37446 ++++++++++++++++ .../src/Generated/CodeTransparencyClient.cs | 766 +- .../CodeTransparencyClientOptions.cs | 8 +- ...TransparencyConfiguration.Serialization.cs | 175 - .../CodeTransparencyConfiguration.cs | 73 - ...nfigurationAuthentication.Serialization.cs | 157 - ...TransparencyConfigurationAuthentication.cs | 76 - ...gurationAuthenticationJwt.Serialization.cs | 153 - ...nsparencyConfigurationAuthenticationJwt.cs | 75 - ...arencyConfigurationPolicy.Serialization.cs | 184 - .../src/Generated/CreateEntryResult.cs | 75 - .../src/Generated/DidDocument.cs | 83 - .../Generated/DidDocumentKey.Serialization.cs | 166 - .../src/Generated/DidDocumentKey.cs | 94 - .../src/Generated/DidDocumentKeyType.cs | 48 - .../Generated/Docs/CodeTransparencyClient.xml | 352 +- .../GetOperationResult.Serialization.cs | 172 - .../src/Generated/GetOperationResult.cs | 89 - ...ation.cs => JwksDocument.Serialization.cs} | 56 +- .../{VersionResult.cs => JwksDocument.cs} | 33 +- .../src/Generated/ListOperationResult.cs | 76 - .../src/Generated/OperationStatus.cs | 54 - .../ParametersResult.Serialization.cs | 166 - .../src/Generated/ParametersResult.cs | 96 - .../SecurityCodeTransparencyModelFactory.cs | 113 +- .../Generated/VersionResult.Serialization.cs | 142 - .../Samples/Samples_CodeTransparencyClient.cs | 312 +- .../tsp-location.yaml | 7 +- ...ure.ResourceManager.MongoCluster.net8.0.cs | 22 +- ...urceManager.MongoCluster.netstandard2.0.cs | 22 +- .../Samples/Sample_MongoClusterCollection.cs | 14 +- ...mple_MongoClusterFirewallRuleCollection.cs | 10 +- ...Sample_MongoClusterFirewallRuleResource.cs | 6 +- ...lusterPrivateEndpointConnectionResource.cs | 6 +- ...ateEndpointConnectionResourceCollection.cs | 10 +- .../Samples/Sample_MongoClusterResource.cs | 58 +- .../Sample_SubscriptionResourceExtensions.cs | 6 +- .../Generated/ArmMongoClusterModelFactory.cs | 4 +- ...ckableMongoClusterResourceGroupResource.cs | 4 +- ...ockableMongoClusterSubscriptionResource.cs | 8 +- .../Extensions/MongoClusterExtensions.cs | 12 +- .../src/Generated/Models/DataApiMode.cs | 51 + .../DataApiProperties.Serialization.cs} | 73 +- .../Generated/Models/DataApiProperties.cs} | 28 +- .../MongoClusterProperties.Serialization.cs | 16 + .../Models/MongoClusterProperties.cs | 18 +- ...goClusterUpdateProperties.Serialization.cs | 16 + .../Models/MongoClusterUpdateProperties.cs | 18 +- .../src/Generated/MongoClusterCollection.cs | 20 +- .../MongoClusterFirewallRuleCollection.cs | 20 +- .../MongoClusterFirewallRuleResource.cs | 12 +- ...lusterPrivateEndpointConnectionResource.cs | 12 +- ...ateEndpointConnectionResourceCollection.cs | 20 +- .../src/Generated/MongoClusterResource.cs | 48 +- .../FirewallRulesRestOperations.cs | 2 +- .../MongoClustersRestOperations.cs | 2 +- ...rivateEndpointConnectionsRestOperations.cs | 2 +- .../PrivateLinksRestOperations.cs | 2 +- .../RestOperations/ReplicasRestOperations.cs | 2 +- .../tsp-location.yaml | 7 +- ...e.Developer.MicrosoftPlaywrightTesting.sln | 56 + .../CHANGELOG.md | 11 + .../Directory.Build.props | 6 + .../README.md | 107 + ...eveloper.MicrosoftPlaywrightTesting.csproj | 19 + .../Generated/AccessToken.Serialization.cs} | 119 +- .../src/Generated/AccessToken.cs | 97 + .../src/Generated/AccessTokenState.cs | 51 + .../src/Generated/AccessTokens.cs | 562 + .../src/Generated/Account.Serialization.cs | 295 + .../src/Generated/Account.cs | 109 + .../src/Generated/AccountState.cs | 51 + .../src/Generated/Accounts.cs | 340 + .../src/Generated/AuthManagerClient.cs | 85 + .../src/Generated/AuthManagerClientOptions.cs | 37 + ...laywrightTestingClientBuilderExtensions.cs | 38 + ...rMicrosoftPlaywrightTestingModelFactory.cs | 69 + .../src/Generated/Docs/AccessTokens.xml | 225 + .../src/Generated/Docs/Accounts.xml | 117 + .../src/Generated/EnablementStatus.cs | 51 + .../src/Generated/Internal/Argument.cs | 129 + .../Internal/ChangeTrackingDictionary.cs | 167 + .../Generated/Internal/ChangeTrackingList.cs | 153 + .../Internal/ModelSerializationExtensions.cs | 399 + .../src/Generated/Internal/Optional.cs | 51 + .../Internal/Utf8JsonRequestContent.cs | 55 + .../src/Generated/OS.cs | 51 + .../src/Generated/SubscriptionState.cs | 60 + .../src/Properties/AssemblyInfo.cs | 11 + ...er.MicrosoftPlaywrightTesting.Tests.csproj | 20 + .../Generated/Samples/Samples_AccessTokens.cs | 239 + .../Generated/Samples/Samples_Accounts.cs | 131 + .../tsp-location.yaml | 5 + .../Azure.Analytics.Purview.DataMap.net8.0.cs | 8 +- ...nalytics.Purview.DataMap.netstandard2.0.cs | 8 +- .../AnalyticsPurviewDataMapModelFactory.cs | 10 +- .../src/Generated/Docs/Discovery.xml | 888 +- .../SearchResultValue.Serialization.cs | 24 +- .../src/Generated/SearchResultValue.cs | 5 +- .../SuggestResultValue.Serialization.cs | 24 +- .../src/Generated/SuggestResultValue.cs | 5 +- .../Generated/Samples/Samples_Discovery.cs | 888 +- .../tsp-location.yaml | 6 +- .../Configuration.json | 12 + .../tsp-location.yaml | 3 +- .../tspCodeModel.json | 13757 ++++++ sdk/storage/ci.yml | 2 + 110 files changed, 56761 insertions(+), 4614 deletions(-) create mode 100644 sdk/computefleet/Azure.ResourceManager.ComputeFleet/Configuration.json create mode 100644 sdk/computefleet/Azure.ResourceManager.ComputeFleet/tspCodeModel.json delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfiguration.Serialization.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfiguration.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthentication.Serialization.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthentication.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthenticationJwt.Serialization.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthenticationJwt.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationPolicy.Serialization.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CreateEntryResult.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocument.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKey.Serialization.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKey.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKeyType.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/GetOperationResult.Serialization.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/GetOperationResult.cs rename sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/{ListOperationResult.Serialization.cs => JwksDocument.Serialization.cs} (62%) rename sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/{VersionResult.cs => JwksDocument.cs} (63%) delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ListOperationResult.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/OperationStatus.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ParametersResult.Serialization.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ParametersResult.cs delete mode 100644 sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/VersionResult.Serialization.cs create mode 100644 sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiMode.cs rename sdk/{confidentialledger/Azure.Security.CodeTransparency/src/Generated/CreateEntryResult.Serialization.cs => mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiProperties.Serialization.cs} (58%) rename sdk/{confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationPolicy.cs => mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiProperties.cs} (58%) create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/Azure.Developer.MicrosoftPlaywrightTesting.sln create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/CHANGELOG.md create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/Directory.Build.props create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/README.md create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Azure.Developer.MicrosoftPlaywrightTesting.csproj rename sdk/{confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocument.Serialization.cs => playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessToken.Serialization.cs} (54%) create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessToken.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessTokenState.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessTokens.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Account.Serialization.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Account.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccountState.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Accounts.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AuthManagerClient.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AuthManagerClientOptions.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/DeveloperMicrosoftPlaywrightTestingClientBuilderExtensions.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/DeveloperMicrosoftPlaywrightTestingModelFactory.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Docs/AccessTokens.xml create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Docs/Accounts.xml create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/EnablementStatus.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Argument.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ChangeTrackingDictionary.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ChangeTrackingList.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ModelSerializationExtensions.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Optional.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Utf8JsonRequestContent.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/OS.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/SubscriptionState.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Properties/AssemblyInfo.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Azure.Developer.MicrosoftPlaywrightTesting.Tests.csproj create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Generated/Samples/Samples_AccessTokens.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Generated/Samples/Samples_Accounts.cs create mode 100644 sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tsp-location.yaml create mode 100644 sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/Configuration.json create mode 100644 sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/tspCodeModel.json diff --git a/sdk/communication/Azure.Communication.Messages/tsp-location.yaml b/sdk/communication/Azure.Communication.Messages/tsp-location.yaml index 7039e1880d9b..4044eec33017 100644 --- a/sdk/communication/Azure.Communication.Messages/tsp-location.yaml +++ b/sdk/communication/Azure.Communication.Messages/tsp-location.yaml @@ -1,4 +1,4 @@ -commit: 462574dbd02088c209bb1da3eef0d93f699e8de2 directory: specification/communication/Communication.Messages -additionalDirectories: [] +commit: a2bd6a405683c01ba4bf92b47380d20e2306d991 repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/computefleet/Azure.ResourceManager.ComputeFleet/Configuration.json b/sdk/computefleet/Azure.ResourceManager.ComputeFleet/Configuration.json new file mode 100644 index 000000000000..950808ed35b8 --- /dev/null +++ b/sdk/computefleet/Azure.ResourceManager.ComputeFleet/Configuration.json @@ -0,0 +1,13 @@ +{ + "output-folder": ".", + "namespace": "Azure.ResourceManager.ComputeFleet", + "library-name": "Azure.ResourceManager.ComputeFleet", + "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" + ], + "model-namespace": false, + "azure-arm": true +} diff --git a/sdk/computefleet/Azure.ResourceManager.ComputeFleet/tsp-location.yaml b/sdk/computefleet/Azure.ResourceManager.ComputeFleet/tsp-location.yaml index 4b6a31091856..48751fe53d56 100644 --- a/sdk/computefleet/Azure.ResourceManager.ComputeFleet/tsp-location.yaml +++ b/sdk/computefleet/Azure.ResourceManager.ComputeFleet/tsp-location.yaml @@ -1,4 +1,4 @@ directory: specification/azurefleet/AzureFleet.Management -commit: 462574dbd02088c209bb1da3eef0d93f699e8de2 +commit: a2bd6a405683c01ba4bf92b47380d20e2306d991 repo: Azure/azure-rest-api-specs - +additionalDirectories: diff --git a/sdk/computefleet/Azure.ResourceManager.ComputeFleet/tspCodeModel.json b/sdk/computefleet/Azure.ResourceManager.ComputeFleet/tspCodeModel.json new file mode 100644 index 000000000000..84383337667e --- /dev/null +++ b/sdk/computefleet/Azure.ResourceManager.ComputeFleet/tspCodeModel.json @@ -0,0 +1,37446 @@ +{ + "$id": "1", + "name": "Microsoft.AzureFleet", + "apiVersions": [ + "2024-11-01" + ], + "enums": [ + { + "$id": "2", + "kind": "enum", + "name": "ComputeFleetProvisioningState", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ProvisioningState", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "4", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "6", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "8", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + }, + { + "$id": "10", + "kind": "enumvalue", + "name": "Creating", + "value": "Creating", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Initial creation in progress.", + "decorators": [] + }, + { + "$id": "12", + "kind": "enumvalue", + "name": "Updating", + "value": "Updating", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Update in progress.", + "decorators": [] + }, + { + "$id": "14", + "kind": "enumvalue", + "name": "Deleting", + "value": "Deleting", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Deletion in progress.", + "decorators": [] + }, + { + "$id": "16", + "kind": "enumvalue", + "name": "Migrating", + "value": "Migrating", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Resource is being migrated from one subscription or resource group to another.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "The status of the current operation.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "18", + "kind": "enum", + "name": "ComputeFleetEvictionPolicy", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.EvictionPolicy", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "20", + "kind": "enumvalue", + "name": "Delete", + "value": "Delete", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "18" + }, + "doc": "When evicted, the Spot VM will be deleted and the corresponding capacity will be updated to reflect this.", + "decorators": [] + }, + { + "$id": "22", + "kind": "enumvalue", + "name": "Deallocate", + "value": "Deallocate", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "18" + }, + "doc": "When evicted, the Spot VM will be deallocated/stopped", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Different kind of eviction policies", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "24", + "kind": "enum", + "name": "SpotAllocationStrategy", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SpotAllocationStrategy", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "26", + "kind": "enumvalue", + "name": "PriceCapacityOptimized", + "value": "PriceCapacityOptimized", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "24" + }, + "doc": "Default. VM sizes distribution will be determined to optimize for both price and capacity.", + "decorators": [] + }, + { + "$id": "28", + "kind": "enumvalue", + "name": "LowestPrice", + "value": "LowestPrice", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "24" + }, + "doc": "VM sizes distribution will be determined to optimize for price. Note: Capacity will still be considered here but will be given much less weight.", + "decorators": [] + }, + { + "$id": "30", + "kind": "enumvalue", + "name": "CapacityOptimized", + "value": "CapacityOptimized", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "24" + }, + "doc": "VM sizes distribution will be determined to optimize for capacity.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Spot allocation strategy types for Compute Fleet", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "32", + "kind": "enum", + "name": "RegularPriorityAllocationStrategy", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.RegularPriorityAllocationStrategy", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "34", + "kind": "enumvalue", + "name": "LowestPrice", + "value": "LowestPrice", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "32" + }, + "doc": "Default. VM sizes distribution will be determined to optimize for price.", + "decorators": [] + }, + { + "$id": "36", + "kind": "enumvalue", + "name": "Prioritized", + "value": "Prioritized", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "32" + }, + "doc": "VM sizes distribution will be determined to optimize for the 'priority' as specified for each vm size.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Regular VM Allocation strategy types for Compute Fleet", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "38", + "kind": "enum", + "name": "ComputeFleetVMAttributeSupport", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributeSupport", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "40", + "kind": "enumvalue", + "name": "Excluded", + "value": "Excluded", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "38" + }, + "doc": "All VMSizes having the feature support will be excluded.", + "decorators": [] + }, + { + "$id": "42", + "kind": "enumvalue", + "name": "Included", + "value": "Included", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "38" + }, + "doc": " VMSizes that have the feature support and that do not have the feature support will be used. Included is a union of Excluded and Required.", + "decorators": [] + }, + { + "$id": "44", + "kind": "enumvalue", + "name": "Required", + "value": "Required", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "38" + }, + "doc": "Only the VMSizes having the feature support will be used.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "VMSizes supported by Azure VMs. Included is a union of Excluded and Required.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "46", + "kind": "enum", + "name": "LocalStorageDiskType", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LocalStorageDiskType", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "48", + "kind": "enumvalue", + "name": "HDD", + "value": "HDD", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "46" + }, + "doc": "HDD DiskType.", + "decorators": [] + }, + { + "$id": "50", + "kind": "enumvalue", + "name": "SSD", + "value": "SSD", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "46" + }, + "doc": "SDD DiskType.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Different kind of Local storage disk types supported by Azure VMs.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "52", + "kind": "enum", + "name": "AcceleratorManufacturer", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AcceleratorManufacturer", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "54", + "kind": "enumvalue", + "name": "AMD", + "value": "AMD", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "AMD GpuType", + "decorators": [] + }, + { + "$id": "56", + "kind": "enumvalue", + "name": "Nvidia", + "value": "Nvidia", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Nvidia GpuType", + "decorators": [] + }, + { + "$id": "58", + "kind": "enumvalue", + "name": "Xilinx", + "value": "Xilinx", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "52" + }, + "doc": "Xilinx GpuType", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Accelerator manufacturers supported by Azure VMs.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "60", + "kind": "enum", + "name": "AcceleratorType", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AcceleratorType", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "62", + "kind": "enumvalue", + "name": "GPU", + "value": "GPU", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "60" + }, + "doc": "GPU Accelerator", + "decorators": [] + }, + { + "$id": "64", + "kind": "enumvalue", + "name": "FPGA", + "value": "FPGA", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "60" + }, + "doc": "FPGA Accelerator", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Accelerator types supported by Azure VMs.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "66", + "kind": "enum", + "name": "ComputeFleetVmCategory", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMCategory", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "68", + "kind": "enumvalue", + "name": "GeneralPurpose", + "value": "GeneralPurpose", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "66" + }, + "doc": "General purpose VM sizes provide balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers.", + "decorators": [] + }, + { + "$id": "70", + "kind": "enumvalue", + "name": "ComputeOptimized", + "value": "ComputeOptimized", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "66" + }, + "doc": "Compute optimized VM sizes have a high CPU-to-memory ratio. These sizes are good for medium traffic web servers, network appliances, batch processes, and application servers.", + "decorators": [] + }, + { + "$id": "72", + "kind": "enumvalue", + "name": "MemoryOptimized", + "value": "MemoryOptimized", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "66" + }, + "doc": "Memory optimized VM sizes offer a high memory-to-CPU ratio that is great for relational database servers, medium to large caches, and in-memory analytics.", + "decorators": [] + }, + { + "$id": "74", + "kind": "enumvalue", + "name": "StorageOptimized", + "value": "StorageOptimized", + "valueType": { + "$id": "75", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "66" + }, + "doc": "Storage optimized virtual machine (VM) sizes offer high disk throughput and IO, and are ideal for Big Data, SQL, NoSQL databases, data warehousing, and large transactional databases. \nExamples include Cassandra, MongoDB, Cloudera, and Redis.", + "decorators": [] + }, + { + "$id": "76", + "kind": "enumvalue", + "name": "GpuAccelerated", + "value": "GpuAccelerated", + "valueType": { + "$id": "77", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "66" + }, + "doc": "GPU optimized VM sizes are specialized virtual machines available with single, multiple, or fractional GPUs. \nThese sizes are designed for compute-intensive, graphics-intensive, and visualization workloads.", + "decorators": [] + }, + { + "$id": "78", + "kind": "enumvalue", + "name": "FpgaAccelerated", + "value": "FpgaAccelerated", + "valueType": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "66" + }, + "doc": "FPGA optimized VM sizes are specialized virtual machines available with single or multiple FPGA. \nThese sizes are designed for compute-intensive workloads. This article provides information about the number and type of FPGA, vCPUs, data disks, and NICs. \nStorage throughput and network bandwidth are also included for each size in this grouping.", + "decorators": [] + }, + { + "$id": "80", + "kind": "enumvalue", + "name": "HighPerformanceCompute", + "value": "HighPerformanceCompute", + "valueType": { + "$id": "81", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "66" + }, + "doc": "Azure High Performance Compute VMs are optimized for various HPC workloads such as computational fluid dynamics, finite element analysis, frontend and backend EDA, \nrendering, molecular dynamics, computational geo science, weather simulation, and financial risk analysis.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "VMCategories defined for Azure VMs.\nSee: https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/overview?tabs=breakdownseries%2Cgeneralsizelist%2Ccomputesizelist%2Cmemorysizelist%2Cstoragesizelist%2Cgpusizelist%2Cfpgasizelist%2Chpcsizelist#general-purpose", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "82", + "kind": "enum", + "name": "ArchitectureType", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ArchitectureType", + "valueType": { + "$id": "83", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "84", + "kind": "enumvalue", + "name": "ARM64", + "value": "ARM64", + "valueType": { + "$id": "85", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "82" + }, + "doc": "ARM64 Architecture", + "decorators": [] + }, + { + "$id": "86", + "kind": "enumvalue", + "name": "X64", + "value": "X64", + "valueType": { + "$id": "87", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "82" + }, + "doc": "X64 Architecture", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Architecture types supported by Azure VMs.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "88", + "kind": "enum", + "name": "CpuManufacturer", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.CpuManufacturer", + "valueType": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "90", + "kind": "enumvalue", + "name": "Intel", + "value": "Intel", + "valueType": { + "$id": "91", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "88" + }, + "doc": "Intel CPU.", + "decorators": [] + }, + { + "$id": "92", + "kind": "enumvalue", + "name": "AMD", + "value": "AMD", + "valueType": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "88" + }, + "doc": "AMD CPU.", + "decorators": [] + }, + { + "$id": "94", + "kind": "enumvalue", + "name": "Microsoft", + "value": "Microsoft", + "valueType": { + "$id": "95", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "88" + }, + "doc": "Microsoft CPU.", + "decorators": [] + }, + { + "$id": "96", + "kind": "enumvalue", + "name": "Ampere", + "value": "Ampere", + "valueType": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "88" + }, + "doc": "Ampere CPU.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Cpu Manufacturers supported by Azure VMs.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "98", + "kind": "enum", + "name": "WindowsSetupAdditionalInformation_passName", + "valueType": { + "$id": "99", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "100", + "kind": "enumvalue", + "name": "OobeSystem", + "value": "OobeSystem", + "doc": "OobeSystem", + "valueType": { + "$ref": "99" + }, + "enumType": { + "$ref": "98" + } + } + ], + "crossLanguageDefinitionId": "", + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "The WindowsSetupAdditionalInformation_passName", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "101", + "kind": "enum", + "name": "WindowsSetupAdditionalInformation_componentName", + "valueType": { + "$id": "102", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "103", + "kind": "enumvalue", + "name": "Microsoft-Windows-Shell-Setup", + "value": "Microsoft-Windows-Shell-Setup", + "doc": "Microsoft-Windows-Shell-Setup", + "valueType": { + "$ref": "102" + }, + "enumType": { + "$ref": "101" + } + } + ], + "crossLanguageDefinitionId": "", + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "The WindowsSetupAdditionalInformation_componentName", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "104", + "kind": "enum", + "name": "AdditionalInformationSettingNames", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SettingNames", + "valueType": { + "$id": "105", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "106", + "kind": "enumvalue", + "name": "AutoLogon", + "value": "AutoLogon", + "valueType": { + "$id": "107", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "104" + }, + "doc": "AutoLogon setting", + "decorators": [] + }, + { + "$id": "108", + "kind": "enumvalue", + "name": "FirstLogonCommands", + "value": "FirstLogonCommands", + "valueType": { + "$id": "109", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "104" + }, + "doc": "FirstLogonCommands setting", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the name of the setting to which the content applies. Possible values\nare: FirstLogonCommands and AutoLogon.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "110", + "kind": "enum", + "name": "ComputeFleetWindowsVMGuestPatchMode", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsVMGuestPatchMode", + "valueType": { + "$id": "111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "112", + "kind": "enumvalue", + "name": "Manual", + "value": "Manual", + "valueType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "110" + }, + "doc": "You control the application of patches to a virtual machine.\nYou do this by applying patches manually inside the VM. In this mode,\nautomatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates\nmust be false", + "decorators": [] + }, + { + "$id": "114", + "kind": "enumvalue", + "name": "AutomaticByOS", + "value": "AutomaticByOS", + "valueType": { + "$id": "115", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "110" + }, + "doc": "The virtual machine will automatically be updated by the OS.\nThe property WindowsConfiguration.enableAutomaticUpdates must be true.", + "decorators": [] + }, + { + "$id": "116", + "kind": "enumvalue", + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform", + "valueType": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "110" + }, + "doc": "The virtual machine will automatically updated by the platform. The properties\nprovisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "118", + "kind": "enum", + "name": "ComputeFleetWindowsPatchAssessmentMode", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsPatchAssessmentMode", + "valueType": { + "$id": "119", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "120", + "kind": "enumvalue", + "name": "ImageDefault", + "value": "ImageDefault", + "valueType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "118" + }, + "doc": "You control the timing of patch assessments on a virtual machine.", + "decorators": [] + }, + { + "$id": "122", + "kind": "enumvalue", + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform", + "valueType": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "118" + }, + "doc": "The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "124", + "kind": "enum", + "name": "ComputeFleetWindowsVMGuestPatchAutomaticByPlatformRebootSetting", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsVMGuestPatchAutomaticByPlatformRebootSetting", + "valueType": { + "$id": "125", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "126", + "kind": "enumvalue", + "name": "Unknown", + "value": "Unknown", + "valueType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "124" + }, + "doc": "Unknown Reboot setting", + "decorators": [] + }, + { + "$id": "128", + "kind": "enumvalue", + "name": "IfRequired", + "value": "IfRequired", + "valueType": { + "$id": "129", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "124" + }, + "doc": "IfRequired Reboot setting", + "decorators": [] + }, + { + "$id": "130", + "kind": "enumvalue", + "name": "Never", + "value": "Never", + "valueType": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "124" + }, + "doc": "Never Reboot setting", + "decorators": [] + }, + { + "$id": "132", + "kind": "enumvalue", + "name": "Always", + "value": "Always", + "valueType": { + "$id": "133", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "124" + }, + "doc": "Always Reboot setting", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "134", + "kind": "enum", + "name": "ComputeFleetProtocolTypes", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ProtocolTypes", + "valueType": { + "$id": "135", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "136", + "kind": "enumvalue", + "name": "Http", + "value": "Http", + "valueType": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "134" + }, + "doc": "Http protocol", + "decorators": [] + }, + { + "$id": "138", + "kind": "enumvalue", + "name": "Https", + "value": "Https", + "valueType": { + "$id": "139", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "134" + }, + "doc": "Https protocol", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the protocol of WinRM listener. Possible values are: **http,**\n**https.**", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "140", + "kind": "enum", + "name": "ComputeFleetLinuxVMGuestPatchMode", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxVMGuestPatchMode", + "valueType": { + "$id": "141", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "142", + "kind": "enumvalue", + "name": "ImageDefault", + "value": "ImageDefault", + "valueType": { + "$id": "143", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "140" + }, + "doc": "The virtual machine's default patching configuration is used.", + "decorators": [] + }, + { + "$id": "144", + "kind": "enumvalue", + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform", + "valueType": { + "$id": "145", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "140" + }, + "doc": "The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "146", + "kind": "enum", + "name": "ComputeFleetLinuxPatchAssessmentMode", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxPatchAssessmentMode", + "valueType": { + "$id": "147", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "148", + "kind": "enumvalue", + "name": "ImageDefault", + "value": "ImageDefault", + "valueType": { + "$id": "149", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "146" + }, + "doc": "You control the timing of patch assessments on a virtual machine.", + "decorators": [] + }, + { + "$id": "150", + "kind": "enumvalue", + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform", + "valueType": { + "$id": "151", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "146" + }, + "doc": "The platform will trigger periodic patch assessments.The property provisionVMAgent must be true.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "152", + "kind": "enum", + "name": "ComputeFleetLinuxVMGuestPatchAutomaticByPlatformRebootSetting", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxVMGuestPatchAutomaticByPlatformRebootSetting", + "valueType": { + "$id": "153", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "154", + "kind": "enumvalue", + "name": "Unknown", + "value": "Unknown", + "valueType": { + "$id": "155", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "152" + }, + "doc": "Unknown Reboot setting", + "decorators": [] + }, + { + "$id": "156", + "kind": "enumvalue", + "name": "IfRequired", + "value": "IfRequired", + "valueType": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "152" + }, + "doc": "IfRequired Reboot setting", + "decorators": [] + }, + { + "$id": "158", + "kind": "enumvalue", + "name": "Never", + "value": "Never", + "valueType": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "152" + }, + "doc": "Never Reboot setting", + "decorators": [] + }, + { + "$id": "160", + "kind": "enumvalue", + "name": "Always", + "value": "Always", + "valueType": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "152" + }, + "doc": "Always Reboot setting", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "162", + "kind": "enum", + "name": "ComputeFleetCachingTypes", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.CachingTypes", + "valueType": { + "$id": "163", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "164", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$id": "165", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "162" + }, + "doc": "'None' is default for Standard Storage", + "decorators": [] + }, + { + "$id": "166", + "kind": "enumvalue", + "name": "ReadOnly", + "value": "ReadOnly", + "valueType": { + "$id": "167", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "162" + }, + "doc": "'ReadOnly' is default for Premium Storage", + "decorators": [] + }, + { + "$id": "168", + "kind": "enumvalue", + "name": "ReadWrite", + "value": "ReadWrite", + "valueType": { + "$id": "169", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "162" + }, + "doc": "'ReadWrite' is default for OS Disk", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the caching requirements.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "170", + "kind": "enum", + "name": "ComputeFleetDiskCreateOptionTypes", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiskCreateOptionTypes", + "valueType": { + "$id": "171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "172", + "kind": "enumvalue", + "name": "FromImage", + "value": "FromImage", + "valueType": { + "$id": "173", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "170" + }, + "doc": "This value is used when you are using an image to create the virtual machine.\nIf you are using a platform image, you also use the imageReference element\ndescribed above. If you are using a marketplace image, you also use the\nplan element previously described.", + "decorators": [] + }, + { + "$id": "174", + "kind": "enumvalue", + "name": "Empty", + "value": "Empty", + "valueType": { + "$id": "175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "170" + }, + "doc": "This value is used when creating an empty data disk.", + "decorators": [] + }, + { + "$id": "176", + "kind": "enumvalue", + "name": "Attach", + "value": "Attach", + "valueType": { + "$id": "177", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "170" + }, + "doc": "This value is used when you are using a specialized disk to create the virtual machine.", + "decorators": [] + }, + { + "$id": "178", + "kind": "enumvalue", + "name": "Copy", + "value": "Copy", + "valueType": { + "$id": "179", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "170" + }, + "doc": "This value is used to create a data disk from a snapshot or another disk.", + "decorators": [] + }, + { + "$id": "180", + "kind": "enumvalue", + "name": "Restore", + "value": "Restore", + "valueType": { + "$id": "181", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "170" + }, + "doc": "This value is used to create a data disk from a disk restore point.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies how the virtual machine should be created.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "182", + "kind": "enum", + "name": "ComputeFleetDiffDiskOptions", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiffDiskOptions", + "valueType": { + "$id": "183", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "184", + "kind": "enumvalue", + "name": "Local", + "value": "Local", + "valueType": { + "$id": "185", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "182" + }, + "doc": "Local Option.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the ephemeral disk option for operating system disk.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "186", + "kind": "enum", + "name": "ComputeFleetDiffDiskPlacement", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiffDiskPlacement", + "valueType": { + "$id": "187", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "188", + "kind": "enumvalue", + "name": "CacheDisk", + "value": "CacheDisk", + "valueType": { + "$id": "189", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "186" + }, + "doc": "CacheDisk option.", + "decorators": [] + }, + { + "$id": "190", + "kind": "enumvalue", + "name": "ResourceDisk", + "value": "ResourceDisk", + "valueType": { + "$id": "191", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "186" + }, + "doc": "Resource Disk option.", + "decorators": [] + }, + { + "$id": "192", + "kind": "enumvalue", + "name": "NvmeDisk", + "value": "NvmeDisk", + "valueType": { + "$id": "193", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "186" + }, + "doc": "NvmeDisk option.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the ephemeral disk placement for operating system disk. This property\ncan be used by user in the request to choose the location i.e, cache disk or\nresource disk space for Ephemeral OS disk provisioning. For more information on\nEphemeral OS disk size requirements, please refer Ephemeral OS disk size\nrequirements for Windows VM at\nhttps://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements\nand Linux VM at\nhttps://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements\nMinimum api-version for NvmeDisk: 2024-03-01.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "194", + "kind": "enum", + "name": "ComputeFleetOperatingSystemTypes", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.OperatingSystemTypes", + "valueType": { + "$id": "195", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "196", + "kind": "enumvalue", + "name": "Windows", + "value": "Windows", + "valueType": { + "$id": "197", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "194" + }, + "doc": "Windows OS type", + "decorators": [] + }, + { + "$id": "198", + "kind": "enumvalue", + "name": "Linux", + "value": "Linux", + "valueType": { + "$id": "199", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "194" + }, + "doc": "Linux OS type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "This property allows you to specify the type of the OS that is included in the\ndisk if creating a VM from user-image or a specialized VHD. Possible values\nare: **Windows,** **Linux.**", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "200", + "kind": "enum", + "name": "ComputeFleetStorageAccountTypes", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.StorageAccountTypes", + "valueType": { + "$id": "201", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "202", + "kind": "enumvalue", + "name": "StandardLrs", + "value": "Standard_LRS", + "valueType": { + "$id": "203", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "200" + }, + "doc": "Standard_LRS option.", + "decorators": [] + }, + { + "$id": "204", + "kind": "enumvalue", + "name": "PremiumLrs", + "value": "Premium_LRS", + "valueType": { + "$id": "205", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "200" + }, + "doc": "Premium_LRS option.", + "decorators": [] + }, + { + "$id": "206", + "kind": "enumvalue", + "name": "StandardSsdLrd", + "value": "StandardSSD_LRS", + "valueType": { + "$id": "207", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "200" + }, + "doc": "StandardSSD_LRS option.", + "decorators": [] + }, + { + "$id": "208", + "kind": "enumvalue", + "name": "UltraSsdLrs", + "value": "UltraSSD_LRS", + "valueType": { + "$id": "209", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "200" + }, + "doc": "UltraSSD_LRS option.", + "decorators": [] + }, + { + "$id": "210", + "kind": "enumvalue", + "name": "PremiumZrs", + "value": "Premium_ZRS", + "valueType": { + "$id": "211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "200" + }, + "doc": "Premium_ZRS option.", + "decorators": [] + }, + { + "$id": "212", + "kind": "enumvalue", + "name": "StandardSsdZrs", + "value": "StandardSSD_ZRS", + "valueType": { + "$id": "213", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "200" + }, + "doc": "StandardSSD_ZRS option.", + "decorators": [] + }, + { + "$id": "214", + "kind": "enumvalue", + "name": "PremiumV2_LRS", + "value": "PremiumV2_LRS", + "valueType": { + "$id": "215", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "200" + }, + "doc": "PremiumV2_LRS option.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the storage account type for the managed disk. Managed OS disk\nstorage account type can only be set when you create the scale set. NOTE:\nUltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk.\nStandard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS\nuses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD\nzone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant\nstorage. For more information regarding disks supported for Windows Virtual\nMachines, refer to\nhttps://learn.microsoft.com/azure/virtual-machines/windows/disks-types and, for\nLinux Virtual Machines, refer to\nhttps://learn.microsoft.com/azure/virtual-machines/linux/disks-types", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "216", + "kind": "enum", + "name": "ComputeFleetSecurityEncryptionTypes", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityEncryptionTypes", + "valueType": { + "$id": "217", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "218", + "kind": "enumvalue", + "name": "VMGuestStateOnly", + "value": "VMGuestStateOnly", + "valueType": { + "$id": "219", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "216" + }, + "doc": "EncryptionType of the managed disk is set to VMGuestStateOnly for encryption\nof just the VMGuestState blob.", + "decorators": [] + }, + { + "$id": "220", + "kind": "enumvalue", + "name": "DiskWithVMGuestState", + "value": "DiskWithVMGuestState", + "valueType": { + "$id": "221", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "216" + }, + "doc": "EncryptionType of the managed disk is set to DiskWithVMGuestState for encryption\nof the managed disk along with VMGuestState blob.", + "decorators": [] + }, + { + "$id": "222", + "kind": "enumvalue", + "name": "NonPersistedTpm", + "value": "NonPersistedTPM", + "valueType": { + "$id": "223", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "216" + }, + "doc": "EncryptionType of the managed disk is set to NonPersistedTPM for not persisting\nfirmware state in the VMGuestState blob.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the EncryptionType of the managed disk.\n**Note:** It can be set for only Confidential VMs.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "224", + "kind": "enum", + "name": "ComputeFleetDiskDeleteOptionTypes", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiskDeleteOptionTypes", + "valueType": { + "$id": "225", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "226", + "kind": "enumvalue", + "name": "Delete", + "value": "Delete", + "valueType": { + "$id": "227", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "224" + }, + "doc": "If this value is used, the managed disk is deleted when VM gets deleted.", + "decorators": [] + }, + { + "$id": "228", + "kind": "enumvalue", + "name": "Detach", + "value": "Detach", + "valueType": { + "$id": "229", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "224" + }, + "doc": "If this value is used, the managed disk is retained after VM gets deleted.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the behavior of the managed disk when the VM gets deleted, for\nexample whether the managed disk is deleted or detached. Supported values are:\n**Delete.** If this value is used, the managed disk is deleted when VM gets\ndeleted. **Detach.** If this value is used, the managed disk is retained after\nVM gets deleted. Minimum api-version: 2021-03-01.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "230", + "kind": "enum", + "name": "ComputeFleetDiskControllerTypes", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiskControllerTypes", + "valueType": { + "$id": "231", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "232", + "kind": "enumvalue", + "name": "Scsi", + "value": "SCSI", + "valueType": { + "$id": "233", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "230" + }, + "doc": "SCSI disk type", + "decorators": [] + }, + { + "$id": "234", + "kind": "enumvalue", + "name": "Nvme", + "value": "NVMe", + "valueType": { + "$id": "235", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "230" + }, + "doc": "NVMe disk type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the disk controller type configured for the VM and\nVirtualMachineScaleSet. This property is only supported for virtual machines\nwhose operating system disk and VM sku supports Generation 2\n(https://learn.microsoft.com/en-us/azure/virtual-machines/generation-2), please\ncheck the HyperVGenerations capability returned as part of VM sku capabilities\nin the response of Microsoft.Compute SKUs api for the region contains V2\n(https://learn.microsoft.com/rest/api/compute/resourceskus/list). For more\ninformation about Disk Controller Types supported please refer to\nhttps://aka.ms/azure-diskcontrollertypes.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "236", + "kind": "enum", + "name": "ComputeFleetDomainNameLabelScopeTypes", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DomainNameLabelScopeTypes", + "valueType": { + "$id": "237", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "238", + "kind": "enumvalue", + "name": "TenantReuse", + "value": "TenantReuse", + "valueType": { + "$id": "239", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "236" + }, + "doc": "TenantReuse type", + "decorators": [] + }, + { + "$id": "240", + "kind": "enumvalue", + "name": "SubscriptionReuse", + "value": "SubscriptionReuse", + "valueType": { + "$id": "241", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "236" + }, + "doc": "SubscriptionReuse type", + "decorators": [] + }, + { + "$id": "242", + "kind": "enumvalue", + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse", + "valueType": { + "$id": "243", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "236" + }, + "doc": "ResourceGroupReuse type", + "decorators": [] + }, + { + "$id": "244", + "kind": "enumvalue", + "name": "NoReuse", + "value": "NoReuse", + "valueType": { + "$id": "245", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "236" + }, + "doc": "NoReuse type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "The Domain name label scope.The concatenation of the hashed domain name label\nthat generated according to the policy from domain name label scope and vm\nindex will be the domain name labels of the PublicIPAddress resources that will\nbe created", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "246", + "kind": "enum", + "name": "ComputeFleetIPVersion", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.IPVersion", + "valueType": { + "$id": "247", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "248", + "kind": "enumvalue", + "name": "IPv4", + "value": "IPv4", + "valueType": { + "$id": "249", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "246" + }, + "doc": "IPv4 version", + "decorators": [] + }, + { + "$id": "250", + "kind": "enumvalue", + "name": "IPv6", + "value": "IPv6", + "valueType": { + "$id": "251", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "246" + }, + "doc": "IPv6 version", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Available from Api-Version 2017-03-30 onwards, it represents whether the\nspecific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible\nvalues are: 'IPv4' and 'IPv6'.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "252", + "kind": "enum", + "name": "ComputeFleetVmDeleteOptions", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DeleteOptions", + "valueType": { + "$id": "253", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "254", + "kind": "enumvalue", + "name": "Delete", + "value": "Delete", + "valueType": { + "$id": "255", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "252" + }, + "doc": "Delete Option", + "decorators": [] + }, + { + "$id": "256", + "kind": "enumvalue", + "name": "Detach", + "value": "Detach", + "valueType": { + "$id": "257", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "252" + }, + "doc": "Detach Option", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specify what happens to the network interface when the VM is deleted", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "258", + "kind": "enum", + "name": "ComputeFleetPublicIPAddressSkuName", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.PublicIPAddressSkuName", + "valueType": { + "$id": "259", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "260", + "kind": "enumvalue", + "name": "Basic", + "value": "Basic", + "valueType": { + "$id": "261", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "258" + }, + "doc": "Basic sku name", + "decorators": [] + }, + { + "$id": "262", + "kind": "enumvalue", + "name": "Standard", + "value": "Standard", + "valueType": { + "$id": "263", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "258" + }, + "doc": "Standard sku name", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specify public IP sku name.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "264", + "kind": "enum", + "name": "ComputeFleetPublicIPAddressSkuTier", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.PublicIPAddressSkuTier", + "valueType": { + "$id": "265", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "266", + "kind": "enumvalue", + "name": "Regional", + "value": "Regional", + "valueType": { + "$id": "267", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "264" + }, + "doc": "Regional sku tier", + "decorators": [] + }, + { + "$id": "268", + "kind": "enumvalue", + "name": "Global", + "value": "Global", + "valueType": { + "$id": "269", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "264" + }, + "doc": "Global sku tier", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specify public IP sku tier", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "270", + "kind": "enum", + "name": "ComputeFleetNetworkInterfaceAuxiliaryMode", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.NetworkInterfaceAuxiliaryMode", + "valueType": { + "$id": "271", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "272", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$id": "273", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "270" + }, + "doc": "None Mode", + "decorators": [] + }, + { + "$id": "274", + "kind": "enumvalue", + "name": "AcceleratedConnections", + "value": "AcceleratedConnections", + "valueType": { + "$id": "275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "270" + }, + "doc": "AcceleratedConnections Mode", + "decorators": [] + }, + { + "$id": "276", + "kind": "enumvalue", + "name": "Floating", + "value": "Floating", + "valueType": { + "$id": "277", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "270" + }, + "doc": "Floating Mode", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies whether the Auxiliary mode is enabled for the Network Interface\nresource.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "278", + "kind": "enum", + "name": "ComputeFleetNetworkInterfaceAuxiliarySku", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.NetworkInterfaceAuxiliarySku", + "valueType": { + "$id": "279", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "280", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$id": "281", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "278" + }, + "doc": "no sku", + "decorators": [] + }, + { + "$id": "282", + "kind": "enumvalue", + "name": "A1", + "value": "A1", + "valueType": { + "$id": "283", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "278" + }, + "doc": "A1 sku", + "decorators": [] + }, + { + "$id": "284", + "kind": "enumvalue", + "name": "A2", + "value": "A2", + "valueType": { + "$id": "285", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "278" + }, + "doc": "A2 sku", + "decorators": [] + }, + { + "$id": "286", + "kind": "enumvalue", + "name": "A4", + "value": "A4", + "valueType": { + "$id": "287", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "278" + }, + "doc": "A4 sku", + "decorators": [] + }, + { + "$id": "288", + "kind": "enumvalue", + "name": "A8", + "value": "A8", + "valueType": { + "$id": "289", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "278" + }, + "doc": "A8 sku", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies whether the Auxiliary sku is enabled for the Network Interface\nresource.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "290", + "kind": "enum", + "name": "ComputeFleetNetworkApiVersion", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.NetworkApiVersion", + "valueType": { + "$id": "291", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "292", + "kind": "enumvalue", + "name": "v2020_11_01", + "value": "2020-11-01", + "valueType": { + "$id": "293", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "290" + }, + "doc": "Initial version supported. Later versions are supported as well.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "specifies the Microsoft.Network API version used when creating networking\nresources in the Network Interface Configurations for Virtual Machine Scale Set\nwith orchestration mode 'Flexible'", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "294", + "kind": "enum", + "name": "ComputeFleetSecurityTypes", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityTypes", + "valueType": { + "$id": "295", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "296", + "kind": "enumvalue", + "name": "TrustedLaunch", + "value": "TrustedLaunch", + "valueType": { + "$id": "297", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "294" + }, + "doc": "TrustedLaunch security type", + "decorators": [] + }, + { + "$id": "298", + "kind": "enumvalue", + "name": "ConfidentialVM", + "value": "ConfidentialVM", + "valueType": { + "$id": "299", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "294" + }, + "doc": "ConfidentialVM security type", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the SecurityType of the virtual machine. It has to be set to any\nspecified value to enable UefiSettings. The default behavior is: UefiSettings\nwill not be enabled unless this property is set.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "300", + "kind": "enum", + "name": "ProxyAgentExecuteMode", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Mode", + "valueType": { + "$id": "301", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "302", + "kind": "enumvalue", + "name": "Audit", + "value": "Audit", + "valueType": { + "$id": "303", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "300" + }, + "doc": "Audit Mode", + "decorators": [] + }, + { + "$id": "304", + "kind": "enumvalue", + "name": "Enforce", + "value": "Enforce", + "valueType": { + "$id": "305", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "300" + }, + "doc": "Enforce Mode", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Specifies the mode that ProxyAgent will execute on if the feature is enabled.\nProxyAgent will start to audit or monitor but not enforce access control over\nrequests to host endpoints in Audit mode, while in Enforce mode it will enforce\naccess control. The default value is Enforce mode.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "306", + "kind": "enum", + "name": "ManagedServiceIdentityType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", + "valueType": { + "$id": "307", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "308", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$id": "309", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "306" + }, + "doc": "No managed identity.", + "decorators": [] + }, + { + "$id": "310", + "kind": "enumvalue", + "name": "SystemAssigned", + "value": "SystemAssigned", + "valueType": { + "$id": "311", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "306" + }, + "doc": "System assigned managed identity.", + "decorators": [] + }, + { + "$id": "312", + "kind": "enumvalue", + "name": "UserAssigned", + "value": "UserAssigned", + "valueType": { + "$id": "313", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "306" + }, + "doc": "User assigned managed identity.", + "decorators": [] + }, + { + "$id": "314", + "kind": "enumvalue", + "name": "SystemAssigned,UserAssigned", + "value": "SystemAssigned,UserAssigned", + "valueType": { + "$id": "315", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "306" + }, + "doc": "System and user assigned managed identity.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "316", + "kind": "enum", + "name": "createdByType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", + "valueType": { + "$id": "317", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "318", + "kind": "enumvalue", + "name": "User", + "value": "User", + "valueType": { + "$id": "319", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "316" + }, + "doc": "The entity was created by a user.", + "decorators": [] + }, + { + "$id": "320", + "kind": "enumvalue", + "name": "Application", + "value": "Application", + "valueType": { + "$id": "321", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "316" + }, + "doc": "The entity was created by an application.", + "decorators": [] + }, + { + "$id": "322", + "kind": "enumvalue", + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "valueType": { + "$id": "323", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "316" + }, + "doc": "The entity was created by a managed identity.", + "decorators": [] + }, + { + "$id": "324", + "kind": "enumvalue", + "name": "Key", + "value": "Key", + "valueType": { + "$id": "325", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "316" + }, + "doc": "The entity was created by a key.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "The kind of entity that created the resource.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "326", + "kind": "enum", + "name": "ResourceProvisioningState", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState", + "valueType": { + "$id": "327", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "328", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$id": "329", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "326" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "330", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$id": "331", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "326" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "332", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$id": "333", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "326" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "The provisioning state of a resource type.", + "isFixed": false, + "isFlags": false, + "usage": "LroPolling", + "decorators": [] + }, + { + "$id": "334", + "kind": "enum", + "name": "Origin", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin", + "valueType": { + "$id": "335", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "336", + "kind": "enumvalue", + "name": "user", + "value": "user", + "valueType": { + "$id": "337", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "334" + }, + "doc": "Indicates the operation is initiated by a user.", + "decorators": [] + }, + { + "$id": "338", + "kind": "enumvalue", + "name": "system", + "value": "system", + "valueType": { + "$id": "339", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "334" + }, + "doc": "Indicates the operation is initiated by a system.", + "decorators": [] + }, + { + "$id": "340", + "kind": "enumvalue", + "name": "user,system", + "value": "user,system", + "valueType": { + "$id": "341", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "334" + }, + "doc": "Indicates the operation is initiated by a user or system.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "342", + "kind": "enum", + "name": "ActionType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType", + "valueType": { + "$id": "343", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "344", + "kind": "enumvalue", + "name": "Internal", + "value": "Internal", + "valueType": { + "$id": "345", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "342" + }, + "doc": "Actions are for internal-only APIs.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "346", + "kind": "enum", + "name": "Versions", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Versions", + "valueType": { + "$id": "347", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "348", + "kind": "enumvalue", + "name": "v2024_11_01", + "value": "2024-11-01", + "valueType": { + "$id": "349", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "346" + }, + "doc": "Public Api version", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ComputeFleet", + "doc": "Api versions", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + } + ], + "models": [ + { + "$id": "350", + "kind": "model", + "name": "ComputeFleet", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleet", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "An Compute Fleet resource", + "decorators": [], + "baseModel": { + "$id": "351", + "kind": "model", + "name": "TrackedResource", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "decorators": [], + "baseModel": { + "$id": "352", + "kind": "model", + "name": "Resource", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Common fields that are returned in the response for all Azure Resource Manager resources", + "decorators": [], + "properties": [ + { + "$id": "353", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", + "type": { + "$id": "354", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "355", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id", + "serializationOptions": { + "$id": "356", + "json": { + "$id": "357", + "name": "id" + } + } + }, + { + "$id": "358", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the resource", + "type": { + "$id": "359", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", + "serializationOptions": { + "$id": "360", + "json": { + "$id": "361", + "name": "name" + } + } + }, + { + "$id": "362", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "type": { + "$id": "363", + "kind": "string", + "name": "armResourceType", + "crossLanguageDefinitionId": "Azure.Core.armResourceType", + "baseType": { + "$id": "364", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type", + "serializationOptions": { + "$id": "365", + "json": { + "$id": "366", + "name": "type" + } + } + }, + { + "$id": "367", + "kind": "property", + "name": "systemData", + "serializedName": "systemData", + "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "type": { + "$id": "368", + "kind": "model", + "name": "SystemData", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Metadata pertaining to creation and last modification of the resource.", + "decorators": [], + "properties": [ + { + "$id": "369", + "kind": "property", + "name": "createdBy", + "serializedName": "createdBy", + "doc": "The identity that created the resource.", + "type": { + "$id": "370", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", + "serializationOptions": { + "$id": "371", + "json": { + "$id": "372", + "name": "createdBy" + } + } + }, + { + "$id": "373", + "kind": "property", + "name": "createdByType", + "serializedName": "createdByType", + "doc": "The type of identity that created the resource.", + "type": { + "$ref": "316" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", + "serializationOptions": { + "$id": "374", + "json": { + "$id": "375", + "name": "createdByType" + } + } + }, + { + "$id": "376", + "kind": "property", + "name": "createdAt", + "serializedName": "createdAt", + "doc": "The timestamp of resource creation (UTC).", + "type": { + "$id": "377", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "378", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdAt", + "serializationOptions": { + "$id": "379", + "json": { + "$id": "380", + "name": "createdAt" + } + } + }, + { + "$id": "381", + "kind": "property", + "name": "lastModifiedBy", + "serializedName": "lastModifiedBy", + "doc": "The identity that last modified the resource.", + "type": { + "$id": "382", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", + "serializationOptions": { + "$id": "383", + "json": { + "$id": "384", + "name": "lastModifiedBy" + } + } + }, + { + "$id": "385", + "kind": "property", + "name": "lastModifiedByType", + "serializedName": "lastModifiedByType", + "doc": "The type of identity that last modified the resource.", + "type": { + "$ref": "316" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", + "serializationOptions": { + "$id": "386", + "json": { + "$id": "387", + "name": "lastModifiedByType" + } + } + }, + { + "$id": "388", + "kind": "property", + "name": "lastModifiedAt", + "serializedName": "lastModifiedAt", + "doc": "The timestamp of resource last modification (UTC)", + "type": { + "$id": "389", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "390", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedAt", + "serializationOptions": { + "$id": "391", + "json": { + "$id": "392", + "name": "lastModifiedAt" + } + } + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", + "serializationOptions": { + "$id": "393", + "json": { + "$id": "394", + "name": "systemData" + } + } + } + ] + }, + "properties": [ + { + "$id": "395", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "396", + "kind": "dict", + "keyType": { + "$id": "397", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "398", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.tags", + "serializationOptions": { + "$id": "399", + "json": { + "$id": "400", + "name": "tags" + } + } + }, + { + "$id": "401", + "kind": "property", + "name": "location", + "serializedName": "location", + "doc": "The geo-location where the resource lives", + "type": { + "$id": "402", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", + "serializationOptions": { + "$id": "403", + "json": { + "$id": "404", + "name": "location" + } + } + } + ] + }, + "properties": [ + { + "$id": "405", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "406", + "kind": "model", + "name": "ComputeFleetProperties", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetProperties", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Details of the Compute Fleet.", + "decorators": [], + "properties": [ + { + "$id": "407", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "2" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetProperties.provisioningState", + "serializationOptions": { + "$id": "408", + "json": { + "$id": "409", + "name": "provisioningState" + } + } + }, + { + "$id": "410", + "kind": "property", + "name": "spotPriorityProfile", + "serializedName": "spotPriorityProfile", + "doc": "Configuration Options for Spot instances in Compute Fleet.", + "type": { + "$id": "411", + "kind": "model", + "name": "SpotPriorityProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SpotPriorityProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Configuration Options for Spot instances in Compute Fleet.", + "decorators": [], + "properties": [ + { + "$id": "412", + "kind": "property", + "name": "capacity", + "serializedName": "capacity", + "doc": "Total capacity to achieve. It is currently in terms of number of VMs.", + "type": { + "$id": "413", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SpotPriorityProfile.capacity", + "serializationOptions": { + "$id": "414", + "json": { + "$id": "415", + "name": "capacity" + } + } + }, + { + "$id": "416", + "kind": "property", + "name": "minCapacity", + "serializedName": "minCapacity", + "doc": "Minimum capacity to achieve which cannot be updated. If we will not be able to \"guarantee\" minimum capacity, we will reject the request in the sync path itself.", + "type": { + "$id": "417", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SpotPriorityProfile.minCapacity", + "serializationOptions": { + "$id": "418", + "json": { + "$id": "419", + "name": "minCapacity" + } + } + }, + { + "$id": "420", + "kind": "property", + "name": "maxPricePerVM", + "serializedName": "maxPricePerVM", + "doc": "Price per hour of each Spot VM will never exceed this.", + "type": { + "$id": "421", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SpotPriorityProfile.maxPricePerVM", + "serializationOptions": { + "$id": "422", + "json": { + "$id": "423", + "name": "maxPricePerVM" + } + } + }, + { + "$id": "424", + "kind": "property", + "name": "evictionPolicy", + "serializedName": "evictionPolicy", + "doc": "Eviction Policy to follow when evicting Spot VMs.", + "type": { + "$ref": "18" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SpotPriorityProfile.evictionPolicy", + "serializationOptions": { + "$id": "425", + "json": { + "$id": "426", + "name": "evictionPolicy" + } + } + }, + { + "$id": "427", + "kind": "property", + "name": "allocationStrategy", + "serializedName": "allocationStrategy", + "doc": "Allocation strategy to follow when determining the VM sizes distribution for Spot VMs.", + "type": { + "$ref": "24" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SpotPriorityProfile.allocationStrategy", + "serializationOptions": { + "$id": "428", + "json": { + "$id": "429", + "name": "allocationStrategy" + } + } + }, + { + "$id": "430", + "kind": "property", + "name": "IsMaintainEnabled", + "serializedName": "maintain", + "doc": "Flag to enable/disable continuous goal seeking for the desired capacity and restoration of evicted Spot VMs.\nIf maintain is enabled, AzureFleetRP will use all VM sizes in vmSizesProfile to create new VMs (if VMs are evicted deleted)\nor update existing VMs with new VM sizes (if VMs are evicted deallocated or failed to allocate due to capacity constraint) in order to achieve the desired capacity.\nMaintain is enabled by default.", + "type": { + "$id": "431", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SpotPriorityProfile.maintain", + "serializationOptions": { + "$id": "432", + "json": { + "$id": "433", + "name": "maintain" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetProperties.spotPriorityProfile", + "serializationOptions": { + "$id": "434", + "json": { + "$id": "435", + "name": "spotPriorityProfile" + } + } + }, + { + "$id": "436", + "kind": "property", + "name": "regularPriorityProfile", + "serializedName": "regularPriorityProfile", + "doc": "Configuration Options for Regular instances in Compute Fleet.", + "type": { + "$id": "437", + "kind": "model", + "name": "RegularPriorityProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.RegularPriorityProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Configuration Options for Regular instances in Compute Fleet.", + "decorators": [], + "properties": [ + { + "$id": "438", + "kind": "property", + "name": "capacity", + "serializedName": "capacity", + "doc": "Total capacity to achieve. It is currently in terms of number of VMs.", + "type": { + "$id": "439", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.RegularPriorityProfile.capacity", + "serializationOptions": { + "$id": "440", + "json": { + "$id": "441", + "name": "capacity" + } + } + }, + { + "$id": "442", + "kind": "property", + "name": "minCapacity", + "serializedName": "minCapacity", + "doc": "Minimum capacity to achieve which cannot be updated. If we will not be able to \"guarantee\" minimum capacity, we will reject the request in the sync path itself.", + "type": { + "$id": "443", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.RegularPriorityProfile.minCapacity", + "serializationOptions": { + "$id": "444", + "json": { + "$id": "445", + "name": "minCapacity" + } + } + }, + { + "$id": "446", + "kind": "property", + "name": "allocationStrategy", + "serializedName": "allocationStrategy", + "doc": "Allocation strategy to follow when determining the VM sizes distribution for Regular VMs.", + "type": { + "$ref": "32" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.RegularPriorityProfile.allocationStrategy", + "serializationOptions": { + "$id": "447", + "json": { + "$id": "448", + "name": "allocationStrategy" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetProperties.regularPriorityProfile", + "serializationOptions": { + "$id": "449", + "json": { + "$id": "450", + "name": "regularPriorityProfile" + } + } + }, + { + "$id": "451", + "kind": "property", + "name": "vmSizesProfile", + "serializedName": "vmSizesProfile", + "doc": "List of VM sizes supported for Compute Fleet", + "type": { + "$id": "452", + "kind": "array", + "name": "ArrayVmSizeProfile", + "valueType": { + "$id": "453", + "kind": "model", + "name": "ComputeFleetVmSizeProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VmSizeProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifications about a VM Size. This will also contain the corresponding rank and weight in future.", + "decorators": [], + "properties": [ + { + "$id": "454", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The Sku name (e.g. 'Standard_DS1_v2')", + "type": { + "$id": "455", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VmSizeProfile.name", + "serializationOptions": { + "$id": "456", + "json": { + "$id": "457", + "name": "name" + } + } + }, + { + "$id": "458", + "kind": "property", + "name": "rank", + "serializedName": "rank", + "doc": "The rank of the VM size. This is used with 'RegularPriorityAllocationStrategy.Prioritized'\nThe lower the number, the higher the priority. Starting with 0.", + "type": { + "$id": "459", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VmSizeProfile.rank", + "serializationOptions": { + "$id": "460", + "json": { + "$id": "461", + "name": "rank" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetProperties.vmSizesProfile", + "serializationOptions": { + "$id": "462", + "json": { + "$id": "463", + "name": "vmSizesProfile" + } + } + }, + { + "$id": "464", + "kind": "property", + "name": "vmAttributes", + "serializedName": "vmAttributes", + "doc": "Attribute based Fleet.", + "type": { + "$id": "465", + "kind": "model", + "name": "ComputeFleetVMAttributes", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "VMAttributes that will be used to filter VMSizes which will be used to build Fleet.", + "decorators": [], + "properties": [ + { + "$id": "466", + "kind": "property", + "name": "vCpuCount", + "serializedName": "vCpuCount", + "doc": "The range of vCpuCount specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified.", + "type": { + "$id": "467", + "kind": "model", + "name": "ComputeFleetVmAttributeMinMaxInteger", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributeMinMaxInteger", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "While retrieving VMSizes from CRS, Min = 0 (uint.MinValue) if not specified, Max = 4294967295 (uint.MaxValue) if not specified. This allows to filter VMAttributes on all available VMSizes.", + "decorators": [], + "properties": [ + { + "$id": "468", + "kind": "property", + "name": "min", + "serializedName": "min", + "doc": "Min VMSize from CRS, Min = 0 (uint.MinValue) if not specified.", + "type": { + "$id": "469", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributeMinMaxInteger.min", + "serializationOptions": { + "$id": "470", + "json": { + "$id": "471", + "name": "min" + } + } + }, + { + "$id": "472", + "kind": "property", + "name": "max", + "serializedName": "max", + "doc": "Max VMSize from CRS, Max = 4294967295 (uint.MaxValue) if not specified.", + "type": { + "$id": "473", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributeMinMaxInteger.max", + "serializationOptions": { + "$id": "474", + "json": { + "$id": "475", + "name": "max" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.vCpuCount", + "serializationOptions": { + "$id": "476", + "json": { + "$id": "477", + "name": "vCpuCount" + } + } + }, + { + "$id": "478", + "kind": "property", + "name": "memoryInGiB", + "serializedName": "memoryInGiB", + "doc": "The range of memory specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified.", + "type": { + "$id": "479", + "kind": "model", + "name": "ComputeFleetVmAttributeMinMaxDouble", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributeMinMaxDouble", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "VMAttributes using double values.", + "decorators": [], + "properties": [ + { + "$id": "480", + "kind": "property", + "name": "min", + "serializedName": "min", + "doc": "Minimum value. default 0. Double.MinValue()", + "type": { + "$id": "481", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributeMinMaxDouble.min", + "serializationOptions": { + "$id": "482", + "json": { + "$id": "483", + "name": "min" + } + } + }, + { + "$id": "484", + "kind": "property", + "name": "max", + "serializedName": "max", + "doc": "Maximum value. Double.MaxValue(1.7976931348623157E+308)", + "type": { + "$id": "485", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributeMinMaxDouble.max", + "serializationOptions": { + "$id": "486", + "json": { + "$id": "487", + "name": "max" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.memoryInGiB", + "serializationOptions": { + "$id": "488", + "json": { + "$id": "489", + "name": "memoryInGiB" + } + } + }, + { + "$id": "490", + "kind": "property", + "name": "memoryInGiBPerVCpu", + "serializedName": "memoryInGiBPerVCpu", + "doc": "The range of memory in GiB per vCPU specified from min to max. Optional parameter. Either Min or Max is required if specified.", + "type": { + "$ref": "479" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.memoryInGiBPerVCpu", + "serializationOptions": { + "$id": "491", + "json": { + "$id": "492", + "name": "memoryInGiBPerVCpu" + } + } + }, + { + "$id": "493", + "kind": "property", + "name": "localStorageSupport", + "serializedName": "localStorageSupport", + "doc": "Specifies whether the VMSize supporting local storage should be used to build Fleet or not.\nIncluded - Default if not specified as most Azure VMs support local storage.", + "type": { + "$ref": "38" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.localStorageSupport", + "serializationOptions": { + "$id": "494", + "json": { + "$id": "495", + "name": "localStorageSupport" + } + } + }, + { + "$id": "496", + "kind": "property", + "name": "localStorageInGiB", + "serializedName": "localStorageInGiB", + "doc": "LocalStorageSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf localStorageSupport is \"Excluded\", this VMAttribute can not be used.", + "type": { + "$ref": "479" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.localStorageInGiB", + "serializationOptions": { + "$id": "497", + "json": { + "$id": "498", + "name": "localStorageInGiB" + } + } + }, + { + "$id": "499", + "kind": "property", + "name": "localStorageDiskTypes", + "serializedName": "localStorageDiskTypes", + "doc": "The local storage disk types specified as a list. LocalStorageSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf localStorageSupport is \"Excluded\", this VMAttribute can not be used.", + "type": { + "$id": "500", + "kind": "array", + "name": "ArrayLocalStorageDiskType", + "valueType": { + "$ref": "46" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.localStorageDiskTypes", + "serializationOptions": { + "$id": "501", + "json": { + "$id": "502", + "name": "localStorageDiskTypes" + } + } + }, + { + "$id": "503", + "kind": "property", + "name": "dataDiskCount", + "serializedName": "dataDiskCount", + "doc": "The range of data disk count specified from Min to Max. Optional parameter. Either Min or Max is required if specified.", + "type": { + "$ref": "467" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.dataDiskCount", + "serializationOptions": { + "$id": "504", + "json": { + "$id": "505", + "name": "dataDiskCount" + } + } + }, + { + "$id": "506", + "kind": "property", + "name": "networkInterfaceCount", + "serializedName": "networkInterfaceCount", + "doc": "The range of network interface count specified from Min to Max. Optional parameter. Either Min or Max is required if specified.", + "type": { + "$ref": "467" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.networkInterfaceCount", + "serializationOptions": { + "$id": "507", + "json": { + "$id": "508", + "name": "networkInterfaceCount" + } + } + }, + { + "$id": "509", + "kind": "property", + "name": "networkBandwidthInMbps", + "serializedName": "networkBandwidthInMbps", + "doc": "The range of network bandwidth in Mbps specified from Min to Max. Optional parameter. Either Min or Max is required if specified.", + "type": { + "$ref": "479" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.networkBandwidthInMbps", + "serializationOptions": { + "$id": "510", + "json": { + "$id": "511", + "name": "networkBandwidthInMbps" + } + } + }, + { + "$id": "512", + "kind": "property", + "name": "rdmaSupport", + "serializedName": "rdmaSupport", + "doc": "Specifies whether the VMSize supporting RDMA (Remote Direct Memory Access) should be used to build Fleet or not.", + "type": { + "$ref": "38" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.rdmaSupport", + "serializationOptions": { + "$id": "513", + "json": { + "$id": "514", + "name": "rdmaSupport" + } + } + }, + { + "$id": "515", + "kind": "property", + "name": "rdmaNetworkInterfaceCount", + "serializedName": "rdmaNetworkInterfaceCount", + "doc": "The range of RDMA (Remote Direct Memory Access) network interface count specified from Min to Max. Optional parameter. Either Min or Max is required if specified.\nrdmaSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf rdmaSupport is \"Excluded\", this VMAttribute can not be used.", + "type": { + "$ref": "467" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.rdmaNetworkInterfaceCount", + "serializationOptions": { + "$id": "516", + "json": { + "$id": "517", + "name": "rdmaNetworkInterfaceCount" + } + } + }, + { + "$id": "518", + "kind": "property", + "name": "acceleratorSupport", + "serializedName": "acceleratorSupport", + "doc": "Specifies whether the VMSize supporting accelerator should be used to build Fleet or not.\nacceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used.", + "type": { + "$ref": "38" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.acceleratorSupport", + "serializationOptions": { + "$id": "519", + "json": { + "$id": "520", + "name": "acceleratorSupport" + } + } + }, + { + "$id": "521", + "kind": "property", + "name": "acceleratorManufacturers", + "serializedName": "acceleratorManufacturers", + "doc": "The accelerator manufacturers specified as a list. \nacceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used.", + "type": { + "$id": "522", + "kind": "array", + "name": "ArrayAcceleratorManufacturer", + "valueType": { + "$ref": "52" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.acceleratorManufacturers", + "serializationOptions": { + "$id": "523", + "json": { + "$id": "524", + "name": "acceleratorManufacturers" + } + } + }, + { + "$id": "525", + "kind": "property", + "name": "acceleratorTypes", + "serializedName": "acceleratorTypes", + "doc": "The accelerator types specified as a list. acceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used.", + "type": { + "$id": "526", + "kind": "array", + "name": "ArrayAcceleratorType", + "valueType": { + "$ref": "60" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.acceleratorTypes", + "serializationOptions": { + "$id": "527", + "json": { + "$id": "528", + "name": "acceleratorTypes" + } + } + }, + { + "$id": "529", + "kind": "property", + "name": "acceleratorCount", + "serializedName": "acceleratorCount", + "doc": "The range of accelerator count specified from min to max. Optional parameter. Either Min or Max is required if specified.\nacceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used.", + "type": { + "$ref": "467" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.acceleratorCount", + "serializationOptions": { + "$id": "530", + "json": { + "$id": "531", + "name": "acceleratorCount" + } + } + }, + { + "$id": "532", + "kind": "property", + "name": "vmCategories", + "serializedName": "vmCategories", + "doc": "The VM category specified as a list. Optional parameter.", + "type": { + "$id": "533", + "kind": "array", + "name": "ArrayVmCategory", + "valueType": { + "$ref": "66" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.vmCategories", + "serializationOptions": { + "$id": "534", + "json": { + "$id": "535", + "name": "vmCategories" + } + } + }, + { + "$id": "536", + "kind": "property", + "name": "architectureTypes", + "serializedName": "architectureTypes", + "doc": "The VM architecture types specified as a list. Optional parameter.", + "type": { + "$id": "537", + "kind": "array", + "name": "ArrayArchitectureType", + "valueType": { + "$ref": "82" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.architectureTypes", + "serializationOptions": { + "$id": "538", + "json": { + "$id": "539", + "name": "architectureTypes" + } + } + }, + { + "$id": "540", + "kind": "property", + "name": "cpuManufacturers", + "serializedName": "cpuManufacturers", + "doc": "The VM CPU manufacturers specified as a list. Optional parameter.", + "type": { + "$id": "541", + "kind": "array", + "name": "ArrayCpuManufacturer", + "valueType": { + "$ref": "88" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.cpuManufacturers", + "serializationOptions": { + "$id": "542", + "json": { + "$id": "543", + "name": "cpuManufacturers" + } + } + }, + { + "$id": "544", + "kind": "property", + "name": "burstableSupport", + "serializedName": "burstableSupport", + "doc": "Specifies whether the VMSize supporting burstable capability should be used to build Fleet or not.", + "type": { + "$ref": "38" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.burstableSupport", + "serializationOptions": { + "$id": "545", + "json": { + "$id": "546", + "name": "burstableSupport" + } + } + }, + { + "$id": "547", + "kind": "property", + "name": "excludedVMSizes", + "serializedName": "excludedVMSizes", + "doc": "Specifies which VMSizes should be excluded while building Fleet. Optional parameter.", + "type": { + "$id": "548", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "549", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMAttributes.excludedVMSizes", + "serializationOptions": { + "$id": "550", + "json": { + "$id": "551", + "name": "excludedVMSizes" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetProperties.vmAttributes", + "serializationOptions": { + "$id": "552", + "json": { + "$id": "553", + "name": "vmAttributes" + } + } + }, + { + "$id": "554", + "kind": "property", + "name": "additionalLocationsProfile", + "serializedName": "additionalLocationsProfile", + "doc": "Represents the configuration for additional locations where Fleet resources may be deployed.", + "type": { + "$id": "555", + "kind": "model", + "name": "AdditionalLocationsProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AdditionalLocationsProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Represents the configuration for additional locations where Fleet resources may be deployed.", + "decorators": [], + "properties": [ + { + "$id": "556", + "kind": "property", + "name": "locationProfiles", + "serializedName": "locationProfiles", + "doc": "The list of location profiles.", + "type": { + "$id": "557", + "kind": "array", + "name": "ArrayLocationProfile", + "valueType": { + "$id": "558", + "kind": "model", + "name": "LocationProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LocationProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Represents the profile for a single additional location in the Fleet. The location and the virtualMachineProfileOverride (optional).", + "decorators": [], + "properties": [ + { + "$id": "559", + "kind": "property", + "name": "location", + "serializedName": "location", + "doc": "The ARM location name of the additional region. If LocationProfile is specified, then location is required.", + "type": { + "$id": "560", + "kind": "string", + "name": "azureLocation", + "crossLanguageDefinitionId": "Azure.Core.azureLocation", + "baseType": { + "$id": "561", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LocationProfile.location", + "serializationOptions": { + "$id": "562", + "json": { + "$id": "563", + "name": "location" + } + } + }, + { + "$id": "564", + "kind": "property", + "name": "virtualMachineProfileOverride", + "serializedName": "virtualMachineProfileOverride", + "doc": "An override for computeProfile.baseVirtualMachineProfile specific to this region. \nThis override is merged with the base virtual machine profile to define the final virtual machine profile for the resources deployed in this location.", + "type": { + "$id": "565", + "kind": "model", + "name": "ComputeFleetVmProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes the base virtual machine profile for fleet", + "decorators": [], + "properties": [ + { + "$id": "566", + "kind": "property", + "name": "osProfile", + "serializedName": "osProfile", + "doc": "Specifies the operating system settings for the virtual machines in the scale\nset.", + "type": { + "$id": "567", + "kind": "model", + "name": "ComputeFleetVmssOSProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machine scale set OS profile.", + "decorators": [], + "properties": [ + { + "$id": "568", + "kind": "property", + "name": "computerNamePrefix", + "serializedName": "computerNamePrefix", + "doc": "Specifies the computer name prefix for all of the virtual machines in the scale\nset. Computer name prefixes must be 1 to 15 characters long.", + "type": { + "$id": "569", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSProfile.computerNamePrefix", + "serializationOptions": { + "$id": "570", + "json": { + "$id": "571", + "name": "computerNamePrefix" + } + } + }, + { + "$id": "572", + "kind": "property", + "name": "adminUsername", + "serializedName": "adminUsername", + "doc": "Specifies the name of the administrator account.

**Windows-only\nrestriction:** Cannot end in \".\"

**Disallowed values:**\n\"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\",\n\"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\",\n\"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\",\n\"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".\n

**Minimum-length (Linux):** 1 character

**Max-length\n(Linux):** 64 characters

**Max-length (Windows):** 20 characters", + "type": { + "$id": "573", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSProfile.adminUsername", + "serializationOptions": { + "$id": "574", + "json": { + "$id": "575", + "name": "adminUsername" + } + } + }, + { + "$id": "576", + "kind": "property", + "name": "adminPassword", + "serializedName": "adminPassword", + "doc": "Specifies the password of the administrator account.

**Minimum-length\n(Windows):** 8 characters

**Minimum-length (Linux):** 6 characters\n

**Max-length (Windows):** 123 characters

**Max-length\n(Linux):** 72 characters

**Complexity requirements:** 3 out of 4\nconditions below need to be fulfilled
Has lower characters
Has upper\ncharacters
Has a digit
Has a special character (Regex match [\\W_])\n

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\",\n\"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\",\n\"Password22\", \"iloveyou!\"

For resetting the password, see [How to\nreset the Remote Desktop service or its login password in a Windows\nVM](https://learn.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)\n

For resetting root password, see [Manage users, SSH, and check or\nrepair disks on Azure Linux VMs using the VMAccess\nExtension](https://learn.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)", + "type": { + "$id": "577", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSProfile.adminPassword", + "serializationOptions": { + "$id": "578", + "json": { + "$id": "579", + "name": "adminPassword" + } + } + }, + { + "$id": "580", + "kind": "property", + "name": "customData", + "serializedName": "customData", + "doc": "Specifies a base-64 encoded string of custom data. The base-64 encoded string\nis decoded to a binary array that is saved as a file on the Virtual Machine.\nThe maximum length of the binary array is 65535 bytes. For using cloud-init for\nyour VM, see [Using cloud-init to customize a Linux VM during\ncreation](https://learn.microsoft.com/azure/virtual-machines/linux/using-cloud-init)", + "type": { + "$id": "581", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSProfile.customData", + "serializationOptions": { + "$id": "582", + "json": { + "$id": "583", + "name": "customData" + } + } + }, + { + "$id": "584", + "kind": "property", + "name": "windowsConfiguration", + "serializedName": "windowsConfiguration", + "doc": "Specifies Windows operating system settings on the virtual machine.", + "type": { + "$id": "585", + "kind": "model", + "name": "ComputeFleetWindowsConfiguration", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsConfiguration", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies Windows operating system settings on the virtual machine.", + "decorators": [], + "properties": [ + { + "$id": "586", + "kind": "property", + "name": "IsVmAgentProvisioned", + "serializedName": "provisionVMAgent", + "doc": "Indicates whether virtual machine agent should be provisioned on the virtual\nmachine. When this property is not specified in the request body, it is set to\ntrue by default. This will ensure that VM Agent is installed on the VM so that\nextensions can be added to the VM later.", + "type": { + "$id": "587", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsConfiguration.provisionVMAgent", + "serializationOptions": { + "$id": "588", + "json": { + "$id": "589", + "name": "provisionVMAgent" + } + } + }, + { + "$id": "590", + "kind": "property", + "name": "IsAutomaticUpdatesEnabled", + "serializedName": "enableAutomaticUpdates", + "doc": "Indicates whether Automatic Updates is enabled for the Windows virtual machine.\nDefault value is true. For virtual machine scale sets, this property can be\nupdated and updates will take effect on OS reprovisioning.", + "type": { + "$id": "591", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsConfiguration.enableAutomaticUpdates", + "serializationOptions": { + "$id": "592", + "json": { + "$id": "593", + "name": "enableAutomaticUpdates" + } + } + }, + { + "$id": "594", + "kind": "property", + "name": "timeZone", + "serializedName": "timeZone", + "doc": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\".\nPossible values can be\n[TimeZoneInfo.Id](https://learn.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id)\nvalue from time zones returned by\n[TimeZoneInfo.GetSystemTimeZones](https://learn.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones).", + "type": { + "$id": "595", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsConfiguration.timeZone", + "serializationOptions": { + "$id": "596", + "json": { + "$id": "597", + "name": "timeZone" + } + } + }, + { + "$id": "598", + "kind": "property", + "name": "additionalUnattendContent", + "serializedName": "additionalUnattendContent", + "doc": "Specifies additional base-64 encoded XML formatted information that can be\nincluded in the Unattend.xml file, which is used by Windows Setup.", + "type": { + "$id": "599", + "kind": "array", + "name": "ArrayAdditionalUnattendContent", + "valueType": { + "$id": "600", + "kind": "model", + "name": "WindowsSetupAdditionalInformation", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AdditionalUnattendContent", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies additional XML formatted information that can be included in the\nUnattend.xml file, which is used by Windows Setup. Contents are defined by\nsetting name, component name, and the pass in which the content is applied.", + "decorators": [], + "properties": [ + { + "$id": "601", + "kind": "property", + "name": "passName", + "serializedName": "passName", + "doc": "The pass name. Currently, the only allowable value is OobeSystem.", + "type": { + "$id": "602", + "kind": "constant", + "valueType": { + "$ref": "98" + }, + "value": "OobeSystem", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AdditionalUnattendContent.passName", + "serializationOptions": { + "$id": "603", + "json": { + "$id": "604", + "name": "passName" + } + } + }, + { + "$id": "605", + "kind": "property", + "name": "componentName", + "serializedName": "componentName", + "doc": "The component name. Currently, the only allowable value is\nMicrosoft-Windows-Shell-Setup.", + "type": { + "$id": "606", + "kind": "constant", + "valueType": { + "$ref": "101" + }, + "value": "Microsoft-Windows-Shell-Setup", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AdditionalUnattendContent.componentName", + "serializationOptions": { + "$id": "607", + "json": { + "$id": "608", + "name": "componentName" + } + } + }, + { + "$id": "609", + "kind": "property", + "name": "settingName", + "serializedName": "settingName", + "doc": "Specifies the name of the setting to which the content applies. Possible values\nare: FirstLogonCommands and AutoLogon.", + "type": { + "$ref": "104" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AdditionalUnattendContent.settingName", + "serializationOptions": { + "$id": "610", + "json": { + "$id": "611", + "name": "settingName" + } + } + }, + { + "$id": "612", + "kind": "property", + "name": "content", + "serializedName": "content", + "doc": "Specifies the XML formatted content that is added to the unattend.xml file for\nthe specified path and component. The XML must be less than 4KB and must\ninclude the root element for the setting or feature that is being inserted.", + "type": { + "$id": "613", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AdditionalUnattendContent.content", + "serializationOptions": { + "$id": "614", + "json": { + "$id": "615", + "name": "content" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsConfiguration.additionalUnattendContent", + "serializationOptions": { + "$id": "616", + "json": { + "$id": "617", + "name": "additionalUnattendContent" + } + } + }, + { + "$id": "618", + "kind": "property", + "name": "patchSettings", + "serializedName": "patchSettings", + "doc": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows.", + "type": { + "$id": "619", + "kind": "model", + "name": "ComputeFleetVmGuestPatchSettings", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.PatchSettings", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies settings related to VM Guest Patching on Windows.", + "decorators": [], + "properties": [ + { + "$id": "620", + "kind": "property", + "name": "patchMode", + "serializedName": "patchMode", + "doc": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**Manual** - You\ncontrol the application of patches to a virtual machine. You do this by\napplying patches manually inside the VM. In this mode, automatic updates are\ndisabled; the property WindowsConfiguration.enableAutomaticUpdates must be\nfalse

**AutomaticByOS** - The virtual machine will automatically be\nupdated by the OS. The property WindowsConfiguration.enableAutomaticUpdates\nmust be true.

**AutomaticByPlatform** - the virtual machine will\nautomatically updated by the platform. The properties provisionVMAgent and\nWindowsConfiguration.enableAutomaticUpdates must be true", + "type": { + "$ref": "110" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.PatchSettings.patchMode", + "serializationOptions": { + "$id": "621", + "json": { + "$id": "622", + "name": "patchMode" + } + } + }, + { + "$id": "623", + "kind": "property", + "name": "IsHotPatchingEnabled", + "serializedName": "enableHotpatching", + "doc": "Enables customers to patch their Azure VMs without requiring a reboot. For\nenableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode'\nmust be set to 'AutomaticByPlatform'.", + "type": { + "$id": "624", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.PatchSettings.enableHotpatching", + "serializationOptions": { + "$id": "625", + "json": { + "$id": "626", + "name": "enableHotpatching" + } + } + }, + { + "$id": "627", + "kind": "property", + "name": "assessmentMode", + "serializedName": "assessmentMode", + "doc": "Specifies the mode of VM Guest patch assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true.", + "type": { + "$ref": "118" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.PatchSettings.assessmentMode", + "serializationOptions": { + "$id": "628", + "json": { + "$id": "629", + "name": "assessmentMode" + } + } + }, + { + "$id": "630", + "kind": "property", + "name": "automaticByPlatformSettings", + "serializedName": "automaticByPlatformSettings", + "doc": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest\nPatching on Windows.", + "type": { + "$id": "631", + "kind": "model", + "name": "ComputeFleetWindowsVMGuestPatchAutomaticByPlatformSettings", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsVMGuestPatchAutomaticByPlatformSettings", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies additional settings to be applied when patch mode AutomaticByPlatform\nis selected in Windows patch settings.", + "decorators": [], + "properties": [ + { + "$id": "632", + "kind": "property", + "name": "rebootSetting", + "serializedName": "rebootSetting", + "doc": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations.", + "type": { + "$ref": "124" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsVMGuestPatchAutomaticByPlatformSettings.rebootSetting", + "serializationOptions": { + "$id": "633", + "json": { + "$id": "634", + "name": "rebootSetting" + } + } + }, + { + "$id": "635", + "kind": "property", + "name": "IsBypassPlatformSafetyChecksOnUserScheduleEnabled", + "serializedName": "bypassPlatformSafetyChecksOnUserSchedule", + "doc": "Enables customer to schedule patching without accidental upgrades", + "type": { + "$id": "636", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsVMGuestPatchAutomaticByPlatformSettings.bypassPlatformSafetyChecksOnUserSchedule", + "serializationOptions": { + "$id": "637", + "json": { + "$id": "638", + "name": "bypassPlatformSafetyChecksOnUserSchedule" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.PatchSettings.automaticByPlatformSettings", + "serializationOptions": { + "$id": "639", + "json": { + "$id": "640", + "name": "automaticByPlatformSettings" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsConfiguration.patchSettings", + "serializationOptions": { + "$id": "641", + "json": { + "$id": "642", + "name": "patchSettings" + } + } + }, + { + "$id": "643", + "kind": "property", + "name": "winRM", + "serializedName": "winRM", + "doc": "Specifies the Windows Remote Management listeners. This enables remote Windows\nPowerShell.", + "type": { + "$id": "644", + "kind": "model", + "name": "WinRMConfiguration", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WinRMConfiguration", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes Windows Remote Management configuration of the VM", + "decorators": [], + "properties": [ + { + "$id": "645", + "kind": "property", + "name": "listeners", + "serializedName": "listeners", + "doc": "The list of Windows Remote Management listeners", + "type": { + "$id": "646", + "kind": "array", + "name": "ArrayWinRmListener", + "valueType": { + "$id": "647", + "kind": "model", + "name": "ComputeFleetWinRMListener", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WinRMListener", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes Protocol and thumbprint of Windows Remote Management listener", + "decorators": [], + "properties": [ + { + "$id": "648", + "kind": "property", + "name": "protocol", + "serializedName": "protocol", + "doc": "Specifies the protocol of WinRM listener. Possible values are: **http,**\n**https.**", + "type": { + "$ref": "134" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WinRMListener.protocol", + "serializationOptions": { + "$id": "649", + "json": { + "$id": "650", + "name": "protocol" + } + } + }, + { + "$id": "651", + "kind": "property", + "name": "certificateUrl", + "serializedName": "certificateUrl", + "doc": "This is the URL of a certificate that has been uploaded to Key Vault as a\nsecret. For adding a secret to the Key Vault, see [Add a key or secret to the\nkey\nvault](https://learn.microsoft.com/azure/key-vault/key-vault-get-started/#add).\nIn this case, your certificate needs to be the Base64 encoding of the following\nJSON Object which is encoded in UTF-8:

{
\n\"data\":\"\",
\"dataType\":\"pfx\",
\n\"password\":\"\"
}
To install certificates on a virtual\nmachine it is recommended to use the [Azure Key Vault virtual machine extension\nfor\nLinux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)\nor the [Azure Key Vault virtual machine extension for\nWindows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).", + "type": { + "$id": "652", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WinRMListener.certificateUrl", + "serializationOptions": { + "$id": "653", + "json": { + "$id": "654", + "name": "certificateUrl" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WinRMConfiguration.listeners", + "serializationOptions": { + "$id": "655", + "json": { + "$id": "656", + "name": "listeners" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsConfiguration.winRM", + "serializationOptions": { + "$id": "657", + "json": { + "$id": "658", + "name": "winRM" + } + } + }, + { + "$id": "659", + "kind": "property", + "name": "IsVmAgentPlatformUpdatesEnabled", + "serializedName": "enableVMAgentPlatformUpdates", + "doc": "Indicates whether VMAgent Platform Updates is enabled for the Windows virtual\nmachine. Default value is false.", + "type": { + "$id": "660", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.WindowsConfiguration.enableVMAgentPlatformUpdates", + "serializationOptions": { + "$id": "661", + "json": { + "$id": "662", + "name": "enableVMAgentPlatformUpdates" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSProfile.windowsConfiguration", + "serializationOptions": { + "$id": "663", + "json": { + "$id": "664", + "name": "windowsConfiguration" + } + } + }, + { + "$id": "665", + "kind": "property", + "name": "linuxConfiguration", + "serializedName": "linuxConfiguration", + "doc": "Specifies the Linux operating system settings on the virtual machine. For a\nlist of supported Linux distributions, see [Linux on Azure-Endorsed\nDistributions](https://learn.microsoft.com/azure/virtual-machines/linux/endorsed-distros).", + "type": { + "$id": "666", + "kind": "model", + "name": "ComputeFleetLinuxConfiguration", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxConfiguration", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies the Linux operating system settings on the virtual machine. For a\nlist of supported Linux distributions, see [Linux on Azure-Endorsed\nDistributions](https://learn.microsoft.com/azure/virtual-machines/linux/endorsed-distros).", + "decorators": [], + "properties": [ + { + "$id": "667", + "kind": "property", + "name": "IsPasswordAuthenticationDisabled", + "serializedName": "disablePasswordAuthentication", + "doc": "Specifies whether password authentication should be disabled.", + "type": { + "$id": "668", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxConfiguration.disablePasswordAuthentication", + "serializationOptions": { + "$id": "669", + "json": { + "$id": "670", + "name": "disablePasswordAuthentication" + } + } + }, + { + "$id": "671", + "kind": "property", + "name": "ssh", + "serializedName": "ssh", + "doc": "Specifies the ssh key configuration for a Linux OS.", + "type": { + "$id": "672", + "kind": "model", + "name": "ComputeFleetSshConfiguration", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SshConfiguration", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "SSH configuration for Linux based VMs running on Azure", + "decorators": [], + "properties": [ + { + "$id": "673", + "kind": "property", + "name": "publicKeys", + "serializedName": "publicKeys", + "doc": "The list of SSH public keys used to authenticate with linux based VMs.", + "type": { + "$id": "674", + "kind": "array", + "name": "ArraySshPublicKey", + "valueType": { + "$id": "675", + "kind": "model", + "name": "ComputeFleetSshPublicKey", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SshPublicKey", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Contains information about SSH certificate public key and the path on the Linux\nVM where the public key is placed.", + "decorators": [], + "properties": [ + { + "$id": "676", + "kind": "property", + "name": "path", + "serializedName": "path", + "doc": "Specifies the full path on the created VM where ssh public key is stored. If\nthe file already exists, the specified key is appended to the file. Example:\n/home/user/.ssh/authorized_keys", + "type": { + "$id": "677", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SshPublicKey.path", + "serializationOptions": { + "$id": "678", + "json": { + "$id": "679", + "name": "path" + } + } + }, + { + "$id": "680", + "kind": "property", + "name": "keyData", + "serializedName": "keyData", + "doc": "SSH public key certificate used to authenticate with the VM through ssh. The\nkey needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys,\nsee [Create SSH keys on Linux and Mac for Linux VMs in\nAzure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).", + "type": { + "$id": "681", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SshPublicKey.keyData", + "serializationOptions": { + "$id": "682", + "json": { + "$id": "683", + "name": "keyData" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SshConfiguration.publicKeys", + "serializationOptions": { + "$id": "684", + "json": { + "$id": "685", + "name": "publicKeys" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxConfiguration.ssh", + "serializationOptions": { + "$id": "686", + "json": { + "$id": "687", + "name": "ssh" + } + } + }, + { + "$id": "688", + "kind": "property", + "name": "IsVmAgentProvisioned", + "serializedName": "provisionVMAgent", + "doc": "Indicates whether virtual machine agent should be provisioned on the virtual\nmachine. When this property is not specified in the request body, default\nbehavior is to set it to true. This will ensure that VM Agent is installed on\nthe VM so that extensions can be added to the VM later.", + "type": { + "$id": "689", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxConfiguration.provisionVMAgent", + "serializationOptions": { + "$id": "690", + "json": { + "$id": "691", + "name": "provisionVMAgent" + } + } + }, + { + "$id": "692", + "kind": "property", + "name": "patchSettings", + "serializedName": "patchSettings", + "doc": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux.", + "type": { + "$id": "693", + "kind": "model", + "name": "ComputeFleetLinuxPatchSettings", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxPatchSettings", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies settings related to VM Guest Patching on Linux.", + "decorators": [], + "properties": [ + { + "$id": "694", + "kind": "property", + "name": "patchMode", + "serializedName": "patchMode", + "doc": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual\nmachines associated to virtual machine scale set with OrchestrationMode as\nFlexible.

Possible values are:

**ImageDefault** - The\nvirtual machine's default patching configuration is used.

\n**AutomaticByPlatform** - The virtual machine will be automatically updated by\nthe platform. The property provisionVMAgent must be true", + "type": { + "$ref": "140" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxPatchSettings.patchMode", + "serializationOptions": { + "$id": "695", + "json": { + "$id": "696", + "name": "patchMode" + } + } + }, + { + "$id": "697", + "kind": "property", + "name": "assessmentMode", + "serializedName": "assessmentMode", + "doc": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual\nmachine.

Possible values are:

**ImageDefault** - You\ncontrol the timing of patch assessments on a virtual machine.

\n**AutomaticByPlatform** - The platform will trigger periodic patch assessments.\nThe property provisionVMAgent must be true.", + "type": { + "$ref": "146" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxPatchSettings.assessmentMode", + "serializationOptions": { + "$id": "698", + "json": { + "$id": "699", + "name": "assessmentMode" + } + } + }, + { + "$id": "700", + "kind": "property", + "name": "automaticByPlatformSettings", + "serializedName": "automaticByPlatformSettings", + "doc": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest\nPatching on Linux.", + "type": { + "$id": "701", + "kind": "model", + "name": "ComputeFleetLinuxVMGuestPatchAutomaticByPlatformSettings", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxVMGuestPatchAutomaticByPlatformSettings", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies additional settings to be applied when patch mode AutomaticByPlatform\nis selected in Linux patch settings.", + "decorators": [], + "properties": [ + { + "$id": "702", + "kind": "property", + "name": "rebootSetting", + "serializedName": "rebootSetting", + "doc": "Specifies the reboot setting for all AutomaticByPlatform patch installation\noperations.", + "type": { + "$ref": "152" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxVMGuestPatchAutomaticByPlatformSettings.rebootSetting", + "serializationOptions": { + "$id": "703", + "json": { + "$id": "704", + "name": "rebootSetting" + } + } + }, + { + "$id": "705", + "kind": "property", + "name": "IsBypassPlatformSafetyChecksOnUserScheduleEnabled", + "serializedName": "bypassPlatformSafetyChecksOnUserSchedule", + "doc": "Enables customer to schedule patching without accidental upgrades", + "type": { + "$id": "706", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxVMGuestPatchAutomaticByPlatformSettings.bypassPlatformSafetyChecksOnUserSchedule", + "serializationOptions": { + "$id": "707", + "json": { + "$id": "708", + "name": "bypassPlatformSafetyChecksOnUserSchedule" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxPatchSettings.automaticByPlatformSettings", + "serializationOptions": { + "$id": "709", + "json": { + "$id": "710", + "name": "automaticByPlatformSettings" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxConfiguration.patchSettings", + "serializationOptions": { + "$id": "711", + "json": { + "$id": "712", + "name": "patchSettings" + } + } + }, + { + "$id": "713", + "kind": "property", + "name": "IsVmAgentPlatformUpdatesEnabled", + "serializedName": "enableVMAgentPlatformUpdates", + "doc": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual\nmachine. Default value is false.", + "type": { + "$id": "714", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LinuxConfiguration.enableVMAgentPlatformUpdates", + "serializationOptions": { + "$id": "715", + "json": { + "$id": "716", + "name": "enableVMAgentPlatformUpdates" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSProfile.linuxConfiguration", + "serializationOptions": { + "$id": "717", + "json": { + "$id": "718", + "name": "linuxConfiguration" + } + } + }, + { + "$id": "719", + "kind": "property", + "name": "secrets", + "serializedName": "secrets", + "doc": "Specifies set of certificates that should be installed onto the virtual\nmachines in the scale set. To install certificates on a virtual machine it is\nrecommended to use the [Azure Key Vault virtual machine extension for\nLinux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)\nor the [Azure Key Vault virtual machine extension for\nWindows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).", + "type": { + "$id": "720", + "kind": "array", + "name": "ArrayVaultSecretGroup", + "valueType": { + "$id": "721", + "kind": "model", + "name": "ComputeFleetVaultSecretGroup", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VaultSecretGroup", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a set of certificates which are all in the same Key Vault.", + "decorators": [], + "properties": [ + { + "$id": "722", + "kind": "property", + "name": "sourceVault", + "serializedName": "sourceVault", + "doc": "The relative URL of the Key Vault containing all of the certificates in\nVaultCertificates.", + "type": { + "$id": "723", + "kind": "model", + "name": "SubResource", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SubResource", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes SubResource", + "decorators": [], + "properties": [ + { + "$id": "724", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Resource Id", + "type": { + "$id": "725", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "726", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SubResource.id", + "serializationOptions": { + "$id": "727", + "json": { + "$id": "728", + "name": "id" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VaultSecretGroup.sourceVault", + "serializationOptions": { + "$id": "729", + "json": { + "$id": "730", + "name": "sourceVault" + } + } + }, + { + "$id": "731", + "kind": "property", + "name": "vaultCertificates", + "serializedName": "vaultCertificates", + "doc": "The list of key vault references in SourceVault which contain certificates.", + "type": { + "$id": "732", + "kind": "array", + "name": "ArrayVaultCertificate", + "valueType": { + "$id": "733", + "kind": "model", + "name": "ComputeFleetVaultCertificate", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VaultCertificate", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a single certificate reference in a Key Vault, and where the\ncertificate should reside on the VM.", + "decorators": [], + "properties": [ + { + "$id": "734", + "kind": "property", + "name": "certificateUrl", + "serializedName": "certificateUrl", + "doc": "This is the URL of a certificate that has been uploaded to Key Vault as a\nsecret. For adding a secret to the Key Vault, see [Add a key or secret to the\nkey\nvault](https://learn.microsoft.com/azure/key-vault/key-vault-get-started/#add).\nIn this case, your certificate needs to be It is the Base64 encoding of the\nfollowing JSON Object which is encoded in UTF-8:

{
\n\"data\":\"\",
\"dataType\":\"pfx\",
\n\"password\":\"\"
}
To install certificates on a virtual\nmachine it is recommended to use the [Azure Key Vault virtual machine extension\nfor\nLinux](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-linux)\nor the [Azure Key Vault virtual machine extension for\nWindows](https://learn.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).", + "type": { + "$id": "735", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VaultCertificate.certificateUrl", + "serializationOptions": { + "$id": "736", + "json": { + "$id": "737", + "name": "certificateUrl" + } + } + }, + { + "$id": "738", + "kind": "property", + "name": "certificateStore", + "serializedName": "certificateStore", + "doc": "For Windows VMs, specifies the certificate store on the Virtual Machine to\nwhich the certificate should be added. The specified certificate store is\nimplicitly in the LocalMachine account. For Linux VMs, the certificate file is\nplaced under the /var/lib/waagent directory, with the file name\n<UppercaseThumbprint>.crt for the X509 certificate file and\n<UppercaseThumbprint>.prv for private key. Both of these files are .pem\nformatted.", + "type": { + "$id": "739", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VaultCertificate.certificateStore", + "serializationOptions": { + "$id": "740", + "json": { + "$id": "741", + "name": "certificateStore" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VaultSecretGroup.vaultCertificates", + "serializationOptions": { + "$id": "742", + "json": { + "$id": "743", + "name": "vaultCertificates" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSProfile.secrets", + "serializationOptions": { + "$id": "744", + "json": { + "$id": "745", + "name": "secrets" + } + } + }, + { + "$id": "746", + "kind": "property", + "name": "AreExtensionOperationsAllowed", + "serializedName": "allowExtensionOperations", + "doc": "Specifies whether extension operations should be allowed on the virtual machine\nscale set. This may only be set to False when no extensions are present on the\nvirtual machine scale set.", + "type": { + "$id": "747", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSProfile.allowExtensionOperations", + "serializationOptions": { + "$id": "748", + "json": { + "$id": "749", + "name": "allowExtensionOperations" + } + } + }, + { + "$id": "750", + "kind": "property", + "name": "IsGuestProvisionSignalRequired", + "serializedName": "requireGuestProvisionSignal", + "doc": "Optional property which must either be set to True or omitted.", + "type": { + "$id": "751", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSProfile.requireGuestProvisionSignal", + "serializationOptions": { + "$id": "752", + "json": { + "$id": "753", + "name": "requireGuestProvisionSignal" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.osProfile", + "serializationOptions": { + "$id": "754", + "json": { + "$id": "755", + "name": "osProfile" + } + } + }, + { + "$id": "756", + "kind": "property", + "name": "storageProfile", + "serializedName": "storageProfile", + "doc": "Specifies the storage settings for the virtual machine disks.", + "type": { + "$id": "757", + "kind": "model", + "name": "ComputeFleetVmssStorageProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetStorageProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machine scale set storage profile.", + "decorators": [], + "properties": [ + { + "$id": "758", + "kind": "property", + "name": "imageReference", + "serializedName": "imageReference", + "doc": "Specifies information about the image to use. You can specify information about\nplatform images, marketplace images, or virtual machine images. This element is\nrequired when you want to use a platform image, marketplace image, or virtual\nmachine image, but is not used in other creation operations.", + "type": { + "$id": "759", + "kind": "model", + "name": "ComputeFleetImageReference", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ImageReference", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies information about the image to use. You can specify information about\nplatform images, marketplace images, or virtual machine images. This element is\nrequired when you want to use a platform image, marketplace image, or virtual\nmachine image, but is not used in other creation operations. NOTE: Image\nreference publisher and offer can only be set when you create the scale set.", + "decorators": [], + "properties": [ + { + "$id": "760", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Resource Id", + "type": { + "$id": "761", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "762", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ImageReference.id", + "serializationOptions": { + "$id": "763", + "json": { + "$id": "764", + "name": "id" + } + } + }, + { + "$id": "765", + "kind": "property", + "name": "publisher", + "serializedName": "publisher", + "doc": "The image publisher.", + "type": { + "$id": "766", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ImageReference.publisher", + "serializationOptions": { + "$id": "767", + "json": { + "$id": "768", + "name": "publisher" + } + } + }, + { + "$id": "769", + "kind": "property", + "name": "offer", + "serializedName": "offer", + "doc": "Specifies the offer of the platform image or marketplace image used to create\nthe virtual machine.", + "type": { + "$id": "770", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ImageReference.offer", + "serializationOptions": { + "$id": "771", + "json": { + "$id": "772", + "name": "offer" + } + } + }, + { + "$id": "773", + "kind": "property", + "name": "sku", + "serializedName": "sku", + "doc": "The image SKU.", + "type": { + "$id": "774", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ImageReference.sku", + "serializationOptions": { + "$id": "775", + "json": { + "$id": "776", + "name": "sku" + } + } + }, + { + "$id": "777", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "Specifies the version of the platform image or marketplace image used to create\nthe virtual machine. The allowed formats are Major.Minor.Build or 'latest'.\nMajor, Minor, and Build are decimal numbers. Specify 'latest' to use the latest\nversion of an image available at deploy time. Even if you use 'latest', the VM\nimage will not automatically update after deploy time even if a new version\nbecomes available. Please do not use field 'version' for gallery image\ndeployment, gallery image should always use 'id' field for deployment, to use 'latest'\nversion of gallery image, just set\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}'\nin the 'id' field without version input.", + "type": { + "$id": "778", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ImageReference.version", + "serializationOptions": { + "$id": "779", + "json": { + "$id": "780", + "name": "version" + } + } + }, + { + "$id": "781", + "kind": "property", + "name": "exactVersion", + "serializedName": "exactVersion", + "doc": "Specifies in decimal numbers, the version of platform image or marketplace\nimage used to create the virtual machine. This readonly field differs from 'version',\nonly if the value specified in 'version' field is 'latest'.", + "type": { + "$id": "782", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ImageReference.exactVersion", + "serializationOptions": { + "$id": "783", + "json": { + "$id": "784", + "name": "exactVersion" + } + } + }, + { + "$id": "785", + "kind": "property", + "name": "sharedGalleryImageId", + "serializedName": "sharedGalleryImageId", + "doc": "Specified the shared gallery image unique id for vm deployment. This can be\nfetched from shared gallery image GET call.", + "type": { + "$id": "786", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ImageReference.sharedGalleryImageId", + "serializationOptions": { + "$id": "787", + "json": { + "$id": "788", + "name": "sharedGalleryImageId" + } + } + }, + { + "$id": "789", + "kind": "property", + "name": "communityGalleryImageId", + "serializedName": "communityGalleryImageId", + "doc": "Specified the community gallery image unique id for vm deployment. This can be\nfetched from community gallery image GET call.", + "type": { + "$id": "790", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ImageReference.communityGalleryImageId", + "serializationOptions": { + "$id": "791", + "json": { + "$id": "792", + "name": "communityGalleryImageId" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetStorageProfile.imageReference", + "serializationOptions": { + "$id": "793", + "json": { + "$id": "794", + "name": "imageReference" + } + } + }, + { + "$id": "795", + "kind": "property", + "name": "osDisk", + "serializedName": "osDisk", + "doc": "Specifies information about the operating system disk used by the virtual\nmachines in the scale set. For more information about disks, see [About disks\nand VHDs for Azure virtual\nmachines](https://learn.microsoft.com/azure/virtual-machines/managed-disks-overview).", + "type": { + "$id": "796", + "kind": "model", + "name": "ComputeFleetVmssOSDisk", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machine scale set operating system disk.", + "decorators": [], + "properties": [ + { + "$id": "797", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The disk name.", + "type": { + "$id": "798", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk.name", + "serializationOptions": { + "$id": "799", + "json": { + "$id": "800", + "name": "name" + } + } + }, + { + "$id": "801", + "kind": "property", + "name": "caching", + "serializedName": "caching", + "doc": "Specifies the caching requirements. Possible values are: **None,**\n**ReadOnly,** **ReadWrite.** The default values are: **None for Standard\nstorage. ReadOnly for Premium storage.**", + "type": { + "$ref": "162" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk.caching", + "serializationOptions": { + "$id": "802", + "json": { + "$id": "803", + "name": "caching" + } + } + }, + { + "$id": "804", + "kind": "property", + "name": "IsWriteAcceleratorEnabled", + "serializedName": "writeAcceleratorEnabled", + "doc": "Specifies whether writeAccelerator should be enabled or disabled on the disk.", + "type": { + "$id": "805", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk.writeAcceleratorEnabled", + "serializationOptions": { + "$id": "806", + "json": { + "$id": "807", + "name": "writeAcceleratorEnabled" + } + } + }, + { + "$id": "808", + "kind": "property", + "name": "createOption", + "serializedName": "createOption", + "doc": "Specifies how the virtual machines in the scale set should be created. The only\nallowed value is: **FromImage.** This value is used when you are using an image\nto create the virtual machine. If you are using a platform image, you also use\nthe imageReference element described above. If you are using a marketplace\nimage, you also use the plan element previously described.", + "type": { + "$ref": "170" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk.createOption", + "serializationOptions": { + "$id": "809", + "json": { + "$id": "810", + "name": "createOption" + } + } + }, + { + "$id": "811", + "kind": "property", + "name": "diffDiskSettings", + "serializedName": "diffDiskSettings", + "doc": "Specifies the ephemeral disk Settings for the operating system disk used by the\nvirtual machine scale set.", + "type": { + "$id": "812", + "kind": "model", + "name": "ComputeFleetDiffDiskSettings", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiffDiskSettings", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes the parameters of ephemeral disk settings that can be specified for\noperating system disk. **Note:** The ephemeral disk settings can only be\nspecified for managed disk.", + "decorators": [], + "properties": [ + { + "$id": "813", + "kind": "property", + "name": "option", + "serializedName": "option", + "doc": "Specifies the ephemeral disk settings for operating system disk.", + "type": { + "$ref": "182" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiffDiskSettings.option", + "serializationOptions": { + "$id": "814", + "json": { + "$id": "815", + "name": "option" + } + } + }, + { + "$id": "816", + "kind": "property", + "name": "placement", + "serializedName": "placement", + "doc": "Specifies the ephemeral disk placement for operating system disk. Possible\nvalues are: **CacheDisk,** **ResourceDisk.** The defaulting behavior is:\n**CacheDisk** if one is configured for the VM size otherwise **ResourceDisk**\nis used. Refer to the VM size documentation for Windows VM at\nhttps://learn.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at\nhttps://learn.microsoft.com/azure/virtual-machines/linux/sizes to check which VM\nsizes exposes a cache disk.", + "type": { + "$ref": "186" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiffDiskSettings.placement", + "serializationOptions": { + "$id": "817", + "json": { + "$id": "818", + "name": "placement" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk.diffDiskSettings", + "serializationOptions": { + "$id": "819", + "json": { + "$id": "820", + "name": "diffDiskSettings" + } + } + }, + { + "$id": "821", + "kind": "property", + "name": "diskSizeGB", + "serializedName": "diskSizeGB", + "doc": "Specifies the size of an empty data disk in gigabytes. This element can be used\nto overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB'\nis the number of bytes x 1024^3 for the disk and the value cannot\nbe larger than 1023.", + "type": { + "$id": "822", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk.diskSizeGB", + "serializationOptions": { + "$id": "823", + "json": { + "$id": "824", + "name": "diskSizeGB" + } + } + }, + { + "$id": "825", + "kind": "property", + "name": "osType", + "serializedName": "osType", + "doc": "This property allows you to specify the type of the OS that is included in the\ndisk if creating a VM from user-image or a specialized VHD. Possible values\nare: **Windows,** **Linux.**", + "type": { + "$ref": "194" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk.osType", + "serializationOptions": { + "$id": "826", + "json": { + "$id": "827", + "name": "osType" + } + } + }, + { + "$id": "828", + "kind": "property", + "name": "image", + "serializedName": "image", + "doc": "Specifies information about the unmanaged user image to base the scale set on.", + "type": { + "$id": "829", + "kind": "model", + "name": "ComputeFleetVirtualHardDisk", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualHardDisk", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes the uri of a disk.", + "decorators": [], + "properties": [ + { + "$id": "830", + "kind": "property", + "name": "uri", + "serializedName": "uri", + "doc": "Specifies the virtual hard disk's uri.", + "type": { + "$id": "831", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualHardDisk.uri", + "serializationOptions": { + "$id": "832", + "json": { + "$id": "833", + "name": "uri" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk.image", + "serializationOptions": { + "$id": "834", + "json": { + "$id": "835", + "name": "image" + } + } + }, + { + "$id": "836", + "kind": "property", + "name": "vhdContainers", + "serializedName": "vhdContainers", + "doc": "Specifies the container urls that are used to store operating system disks for\nthe scale set.", + "type": { + "$id": "837", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "838", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk.vhdContainers", + "serializationOptions": { + "$id": "839", + "json": { + "$id": "840", + "name": "vhdContainers" + } + } + }, + { + "$id": "841", + "kind": "property", + "name": "managedDisk", + "serializedName": "managedDisk", + "doc": "The managed disk parameters.", + "type": { + "$id": "842", + "kind": "model", + "name": "ComputeFleetVmssManagedDisk", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetManagedDiskParameters", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes the parameters of a ScaleSet managed disk.", + "decorators": [], + "properties": [ + { + "$id": "843", + "kind": "property", + "name": "storageAccountType", + "serializedName": "storageAccountType", + "doc": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can\nonly be used with data disks, it cannot be used with OS Disk.", + "type": { + "$ref": "200" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetManagedDiskParameters.storageAccountType", + "serializationOptions": { + "$id": "844", + "json": { + "$id": "845", + "name": "storageAccountType" + } + } + }, + { + "$id": "846", + "kind": "property", + "name": "diskEncryptionSet", + "serializedName": "diskEncryptionSet", + "doc": "Specifies the customer managed disk encryption set resource id for the managed\ndisk.", + "type": { + "$id": "847", + "kind": "model", + "name": "DiskEncryptionSetParameters", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiskEncryptionSetParameters", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes the parameter of customer managed disk encryption set resource id\nthat can be specified for disk. **Note:** The disk encryption set resource id\ncan only be specified for managed disk. Please refer\nhttps://aka.ms/mdssewithcmkoverview for more details.", + "decorators": [], + "properties": [ + { + "$id": "848", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Resource Id", + "type": { + "$id": "849", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "850", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiskEncryptionSetParameters.id", + "serializationOptions": { + "$id": "851", + "json": { + "$id": "852", + "name": "id" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetManagedDiskParameters.diskEncryptionSet", + "serializationOptions": { + "$id": "853", + "json": { + "$id": "854", + "name": "diskEncryptionSet" + } + } + }, + { + "$id": "855", + "kind": "property", + "name": "securityProfile", + "serializedName": "securityProfile", + "doc": "Specifies the security profile for the managed disk.", + "type": { + "$id": "856", + "kind": "model", + "name": "ComputeFleetVMDiskSecurityProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMDiskSecurityProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies the security profile settings for the managed disk. **Note:** It can\nonly be set for Confidential VMs.", + "decorators": [], + "properties": [ + { + "$id": "857", + "kind": "property", + "name": "securityEncryptionType", + "serializedName": "securityEncryptionType", + "doc": "Specifies the EncryptionType of the managed disk. It is set to\nDiskWithVMGuestState for encryption of the managed disk along with VMGuestState\nblob, VMGuestStateOnly for encryption of just the VMGuestState blob, and\nNonPersistedTPM for not persisting firmware state in the VMGuestState blob..\n**Note:** It can be set for only Confidential VMs.", + "type": { + "$ref": "216" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMDiskSecurityProfile.securityEncryptionType", + "serializationOptions": { + "$id": "858", + "json": { + "$id": "859", + "name": "securityEncryptionType" + } + } + }, + { + "$id": "860", + "kind": "property", + "name": "diskEncryptionSet", + "serializedName": "diskEncryptionSet", + "doc": "Specifies the customer managed disk encryption set resource id for the managed\ndisk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and\nVMGuest blob.", + "type": { + "$ref": "847" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMDiskSecurityProfile.diskEncryptionSet", + "serializationOptions": { + "$id": "861", + "json": { + "$id": "862", + "name": "diskEncryptionSet" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetManagedDiskParameters.securityProfile", + "serializationOptions": { + "$id": "863", + "json": { + "$id": "864", + "name": "securityProfile" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk.managedDisk", + "serializationOptions": { + "$id": "865", + "json": { + "$id": "866", + "name": "managedDisk" + } + } + }, + { + "$id": "867", + "kind": "property", + "name": "deleteOption", + "serializedName": "deleteOption", + "doc": "Specifies whether OS Disk should be deleted or detached upon VMSS Flex deletion\n(This feature is available for VMSS with Flexible OrchestrationMode only).\n

Possible values:

**Delete** If this value is used, the OS\ndisk is deleted when VMSS Flex VM is deleted.

**Detach** If this value\nis used, the OS disk is retained after VMSS Flex VM is deleted.

The\ndefault value is set to **Delete**. For an Ephemeral OS Disk, the default value\nis set to **Delete**. User cannot change the delete option for Ephemeral OS\nDisk.", + "type": { + "$ref": "224" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetOSDisk.deleteOption", + "serializationOptions": { + "$id": "868", + "json": { + "$id": "869", + "name": "deleteOption" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetStorageProfile.osDisk", + "serializationOptions": { + "$id": "870", + "json": { + "$id": "871", + "name": "osDisk" + } + } + }, + { + "$id": "872", + "kind": "property", + "name": "dataDisks", + "serializedName": "dataDisks", + "doc": "Specifies the parameters that are used to add data disks to the virtual\nmachines in the scale set. For more information about disks, see [About disks\nand VHDs for Azure virtual\nmachines](https://learn.microsoft.com/azure/virtual-machines/managed-disks-overview).", + "type": { + "$id": "873", + "kind": "array", + "name": "ArrayVirtualMachineScaleSetDataDisk", + "valueType": { + "$id": "874", + "kind": "model", + "name": "ComputeFleetVmssDataDisk", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetDataDisk", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machine scale set data disk.", + "decorators": [], + "properties": [ + { + "$id": "875", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The disk name.", + "type": { + "$id": "876", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetDataDisk.name", + "serializationOptions": { + "$id": "877", + "json": { + "$id": "878", + "name": "name" + } + } + }, + { + "$id": "879", + "kind": "property", + "name": "lun", + "serializedName": "lun", + "doc": "Specifies the logical unit number of the data disk. This value is used to\nidentify data disks within the VM and therefore must be unique for each data\ndisk attached to a VM.", + "type": { + "$id": "880", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetDataDisk.lun", + "serializationOptions": { + "$id": "881", + "json": { + "$id": "882", + "name": "lun" + } + } + }, + { + "$id": "883", + "kind": "property", + "name": "caching", + "serializedName": "caching", + "doc": "Specifies the caching requirements. Possible values are: **None,**\n**ReadOnly,** **ReadWrite.** The default values are: **None for Standard\nstorage. ReadOnly for Premium storage.**", + "type": { + "$ref": "162" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetDataDisk.caching", + "serializationOptions": { + "$id": "884", + "json": { + "$id": "885", + "name": "caching" + } + } + }, + { + "$id": "886", + "kind": "property", + "name": "IsWriteAcceleratorEnabled", + "serializedName": "writeAcceleratorEnabled", + "doc": "Specifies whether writeAccelerator should be enabled or disabled on the disk.", + "type": { + "$id": "887", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetDataDisk.writeAcceleratorEnabled", + "serializationOptions": { + "$id": "888", + "json": { + "$id": "889", + "name": "writeAcceleratorEnabled" + } + } + }, + { + "$id": "890", + "kind": "property", + "name": "createOption", + "serializedName": "createOption", + "doc": "The create option.", + "type": { + "$ref": "170" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetDataDisk.createOption", + "serializationOptions": { + "$id": "891", + "json": { + "$id": "892", + "name": "createOption" + } + } + }, + { + "$id": "893", + "kind": "property", + "name": "diskSizeGB", + "serializedName": "diskSizeGB", + "doc": "Specifies the size of an empty data disk in gigabytes. This element can be used\nto overwrite the size of the disk in a virtual machine image. The property\ndiskSizeGB is the number of bytes x 1024^3 for the disk and the value cannot be\nlarger than 1023.", + "type": { + "$id": "894", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetDataDisk.diskSizeGB", + "serializationOptions": { + "$id": "895", + "json": { + "$id": "896", + "name": "diskSizeGB" + } + } + }, + { + "$id": "897", + "kind": "property", + "name": "managedDisk", + "serializedName": "managedDisk", + "doc": "The managed disk parameters.", + "type": { + "$ref": "842" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetDataDisk.managedDisk", + "serializationOptions": { + "$id": "898", + "json": { + "$id": "899", + "name": "managedDisk" + } + } + }, + { + "$id": "900", + "kind": "property", + "name": "DiskIopsReadWrite", + "serializedName": "diskIOPSReadWrite", + "doc": "Specifies the Read-Write IOPS for the managed disk. Should be used only when\nStorageAccountType is UltraSSD_LRS. If not specified, a default value would be\nassigned based on diskSizeGB.", + "type": { + "$id": "901", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetDataDisk.diskIOPSReadWrite", + "serializationOptions": { + "$id": "902", + "json": { + "$id": "903", + "name": "diskIOPSReadWrite" + } + } + }, + { + "$id": "904", + "kind": "property", + "name": "DiskMbpsReadWrite", + "serializedName": "diskMBpsReadWrite", + "doc": "Specifies the bandwidth in MB per second for the managed disk. Should be used\nonly when StorageAccountType is UltraSSD_LRS. If not specified, a default value\nwould be assigned based on diskSizeGB.", + "type": { + "$id": "905", + "kind": "int64", + "name": "int64", + "crossLanguageDefinitionId": "TypeSpec.int64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetDataDisk.diskMBpsReadWrite", + "serializationOptions": { + "$id": "906", + "json": { + "$id": "907", + "name": "diskMBpsReadWrite" + } + } + }, + { + "$id": "908", + "kind": "property", + "name": "deleteOption", + "serializedName": "deleteOption", + "doc": "Specifies whether data disk should be deleted or detached upon VMSS Flex\ndeletion (This feature is available for VMSS with Flexible OrchestrationMode\nonly).

Possible values:

**Delete** If this value is used, the\ndata disk is deleted when the VMSS Flex VM is deleted.

**Detach** If\nthis value is used, the data disk is retained after VMSS Flex VM is\ndeleted.

The default value is set to **Delete**.", + "type": { + "$ref": "224" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetDataDisk.deleteOption", + "serializationOptions": { + "$id": "909", + "json": { + "$id": "910", + "name": "deleteOption" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetStorageProfile.dataDisks", + "serializationOptions": { + "$id": "911", + "json": { + "$id": "912", + "name": "dataDisks" + } + } + }, + { + "$id": "913", + "kind": "property", + "name": "diskControllerType", + "serializedName": "diskControllerType", + "doc": "Specifies the disk controller type configured for the virtual machines in the scale set. Minimum api-version: 2022-08-01", + "type": { + "$ref": "230" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetStorageProfile.diskControllerType", + "serializationOptions": { + "$id": "914", + "json": { + "$id": "915", + "name": "diskControllerType" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.storageProfile", + "serializationOptions": { + "$id": "916", + "json": { + "$id": "917", + "name": "storageProfile" + } + } + }, + { + "$id": "918", + "kind": "property", + "name": "networkProfile", + "serializedName": "networkProfile", + "doc": "Specifies properties of the network interfaces of the virtual machines in the\nscale set.", + "type": { + "$id": "919", + "kind": "model", + "name": "ComputeFleetVmssNetworkProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machine scale set network profile.", + "decorators": [], + "properties": [ + { + "$id": "920", + "kind": "property", + "name": "healthProbe", + "serializedName": "healthProbe", + "doc": "A reference to a load balancer probe used to determine the health of an\ninstance in the virtual machine scale set. The reference will be in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}'.", + "type": { + "$id": "921", + "kind": "model", + "name": "ApiEntityReference", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiEntityReference", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "The API entity reference.", + "decorators": [], + "properties": [ + { + "$id": "922", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The ARM resource id in the form of\n/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...", + "type": { + "$id": "923", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "924", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiEntityReference.id", + "serializationOptions": { + "$id": "925", + "json": { + "$id": "926", + "name": "id" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkProfile.healthProbe", + "serializationOptions": { + "$id": "927", + "json": { + "$id": "928", + "name": "healthProbe" + } + } + }, + { + "$id": "929", + "kind": "property", + "name": "networkInterfaceConfigurations", + "serializedName": "networkInterfaceConfigurations", + "doc": "The list of network configurations.", + "type": { + "$id": "930", + "kind": "array", + "name": "ArrayVirtualMachineScaleSetNetworkConfiguration", + "valueType": { + "$id": "931", + "kind": "model", + "name": "ComputeFleetVmssNetworkConfiguration", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfiguration", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machine scale set network profile's network configurations.", + "decorators": [], + "properties": [ + { + "$id": "932", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The network configuration name.", + "type": { + "$id": "933", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfiguration.name", + "serializationOptions": { + "$id": "934", + "json": { + "$id": "935", + "name": "name" + } + } + }, + { + "$id": "936", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "Describes a virtual machine scale set network profile's IP configuration.", + "type": { + "$id": "937", + "kind": "model", + "name": "ComputeFleetVmssNetworkConfigurationProperties", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machine scale set network profile's IP configuration.", + "decorators": [], + "properties": [ + { + "$id": "938", + "kind": "property", + "name": "IsPrimary", + "serializedName": "primary", + "doc": "Specifies the primary network interface in case the virtual machine has more\nthan 1 network interface.", + "type": { + "$id": "939", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties.primary", + "serializationOptions": { + "$id": "940", + "json": { + "$id": "941", + "name": "primary" + } + } + }, + { + "$id": "942", + "kind": "property", + "name": "IsAcceleratedNetworkingEnabled", + "serializedName": "enableAcceleratedNetworking", + "doc": "Specifies whether the network interface is accelerated networking-enabled.", + "type": { + "$id": "943", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties.enableAcceleratedNetworking", + "serializationOptions": { + "$id": "944", + "json": { + "$id": "945", + "name": "enableAcceleratedNetworking" + } + } + }, + { + "$id": "946", + "kind": "property", + "name": "IsTcpStateTrackingDisabled", + "serializedName": "disableTcpStateTracking", + "doc": "Specifies whether the network interface is disabled for tcp state tracking.", + "type": { + "$id": "947", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties.disableTcpStateTracking", + "serializationOptions": { + "$id": "948", + "json": { + "$id": "949", + "name": "disableTcpStateTracking" + } + } + }, + { + "$id": "950", + "kind": "property", + "name": "IsFpgaEnabled", + "serializedName": "enableFpga", + "doc": "Specifies whether the network interface is FPGA networking-enabled.", + "type": { + "$id": "951", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties.enableFpga", + "serializationOptions": { + "$id": "952", + "json": { + "$id": "953", + "name": "enableFpga" + } + } + }, + { + "$id": "954", + "kind": "property", + "name": "networkSecurityGroup", + "serializedName": "networkSecurityGroup", + "doc": "The network security group.", + "type": { + "$ref": "723" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties.networkSecurityGroup", + "serializationOptions": { + "$id": "955", + "json": { + "$id": "956", + "name": "networkSecurityGroup" + } + } + }, + { + "$id": "957", + "kind": "property", + "name": "dnsSettings", + "serializedName": "dnsSettings", + "doc": "The dns settings to be applied on the network interfaces.", + "type": { + "$id": "958", + "kind": "model", + "name": "ComputeFleetVmssNetworkDnsSettings", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationDnsSettings", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machines scale sets network configuration's DNS settings.", + "decorators": [], + "properties": [ + { + "$id": "959", + "kind": "property", + "name": "dnsServers", + "serializedName": "dnsServers", + "doc": "List of DNS servers IP addresses", + "type": { + "$id": "960", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "961", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationDnsSettings.dnsServers", + "serializationOptions": { + "$id": "962", + "json": { + "$id": "963", + "name": "dnsServers" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties.dnsSettings", + "serializationOptions": { + "$id": "964", + "json": { + "$id": "965", + "name": "dnsSettings" + } + } + }, + { + "$id": "966", + "kind": "property", + "name": "ipConfigurations", + "serializedName": "ipConfigurations", + "doc": "Specifies the IP configurations of the network interface.", + "type": { + "$id": "967", + "kind": "array", + "name": "ArrayVirtualMachineScaleSetIpConfiguration", + "valueType": { + "$id": "968", + "kind": "model", + "name": "ComputeFleetVmssIPConfiguration", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfiguration", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machine scale set network profile's IP configuration.", + "decorators": [], + "properties": [ + { + "$id": "969", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The IP configuration name.", + "type": { + "$id": "970", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfiguration.name", + "serializationOptions": { + "$id": "971", + "json": { + "$id": "972", + "name": "name" + } + } + }, + { + "$id": "973", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "Describes a virtual machine scale set network profile's IP configuration\nproperties.", + "type": { + "$id": "974", + "kind": "model", + "name": "ComputeFleetVmssIPConfigurationProperties", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfigurationProperties", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machine scale set network profile's IP configuration\nproperties.", + "decorators": [], + "properties": [ + { + "$id": "975", + "kind": "property", + "name": "subnet", + "serializedName": "subnet", + "doc": "Specifies the identifier of the subnet.", + "type": { + "$ref": "921" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfigurationProperties.subnet", + "serializationOptions": { + "$id": "976", + "json": { + "$id": "977", + "name": "subnet" + } + } + }, + { + "$id": "978", + "kind": "property", + "name": "IsPrimary", + "serializedName": "primary", + "doc": "Specifies the primary network interface in case the virtual machine has more\nthan 1 network interface.", + "type": { + "$id": "979", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfigurationProperties.primary", + "serializationOptions": { + "$id": "980", + "json": { + "$id": "981", + "name": "primary" + } + } + }, + { + "$id": "982", + "kind": "property", + "name": "publicIPAddressConfiguration", + "serializedName": "publicIPAddressConfiguration", + "doc": "The publicIPAddressConfiguration.", + "type": { + "$id": "983", + "kind": "model", + "name": "ComputeFleetVmssPublicIPAddressConfiguration", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfiguration", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machines scale set IP Configuration's PublicIPAddress\nconfiguration", + "decorators": [], + "properties": [ + { + "$id": "984", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The publicIP address configuration name.", + "type": { + "$id": "985", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfiguration.name", + "serializationOptions": { + "$id": "986", + "json": { + "$id": "987", + "name": "name" + } + } + }, + { + "$id": "988", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "Describes a virtual machines scale set IP Configuration's PublicIPAddress\nconfiguration", + "type": { + "$id": "989", + "kind": "model", + "name": "ComputeFleetVmssPublicIPAddressConfigurationProperties", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfigurationProperties", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machines scale set IP Configuration's PublicIPAddress\nconfiguration", + "decorators": [], + "properties": [ + { + "$id": "990", + "kind": "property", + "name": "idleTimeoutInMinutes", + "serializedName": "idleTimeoutInMinutes", + "doc": "The idle timeout of the public IP address.", + "type": { + "$id": "991", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfigurationProperties.idleTimeoutInMinutes", + "serializationOptions": { + "$id": "992", + "json": { + "$id": "993", + "name": "idleTimeoutInMinutes" + } + } + }, + { + "$id": "994", + "kind": "property", + "name": "dnsSettings", + "serializedName": "dnsSettings", + "doc": "The dns settings to be applied on the publicIP addresses .", + "type": { + "$id": "995", + "kind": "model", + "name": "ComputeFleetVmssPublicIPAddressDnsSettings", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machines scale sets network configuration's DNS settings.", + "decorators": [], + "properties": [ + { + "$id": "996", + "kind": "property", + "name": "domainNameLabel", + "serializedName": "domainNameLabel", + "doc": "The Domain name label.The concatenation of the domain name label and vm index\nwill be the domain name labels of the PublicIPAddress resources that will be\ncreated", + "type": { + "$id": "997", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings.domainNameLabel", + "serializationOptions": { + "$id": "998", + "json": { + "$id": "999", + "name": "domainNameLabel" + } + } + }, + { + "$id": "1000", + "kind": "property", + "name": "domainNameLabelScope", + "serializedName": "domainNameLabelScope", + "doc": "The Domain name label scope.The concatenation of the hashed domain name label\nthat generated according to the policy from domain name label scope and vm\nindex will be the domain name labels of the PublicIPAddress resources that will\nbe created", + "type": { + "$ref": "236" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings.domainNameLabelScope", + "serializationOptions": { + "$id": "1001", + "json": { + "$id": "1002", + "name": "domainNameLabelScope" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfigurationProperties.dnsSettings", + "serializationOptions": { + "$id": "1003", + "json": { + "$id": "1004", + "name": "dnsSettings" + } + } + }, + { + "$id": "1005", + "kind": "property", + "name": "ipTags", + "serializedName": "ipTags", + "doc": "The list of IP tags associated with the public IP address.", + "type": { + "$id": "1006", + "kind": "array", + "name": "ArrayVirtualMachineScaleSetIpTag", + "valueType": { + "$id": "1007", + "kind": "model", + "name": "ComputeFleetVmssIPTag", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIpTag", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Contains the IP tag associated with the public IP address.", + "decorators": [], + "properties": [ + { + "$id": "1008", + "kind": "property", + "name": "ipTagType", + "serializedName": "ipTagType", + "doc": "IP tag type. Example: FirstPartyUsage.", + "type": { + "$id": "1009", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIpTag.ipTagType", + "serializationOptions": { + "$id": "1010", + "json": { + "$id": "1011", + "name": "ipTagType" + } + } + }, + { + "$id": "1012", + "kind": "property", + "name": "tag", + "serializedName": "tag", + "doc": "IP tag associated with the public IP. Example: SQL, Storage etc.", + "type": { + "$id": "1013", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIpTag.tag", + "serializationOptions": { + "$id": "1014", + "json": { + "$id": "1015", + "name": "tag" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfigurationProperties.ipTags", + "serializationOptions": { + "$id": "1016", + "json": { + "$id": "1017", + "name": "ipTags" + } + } + }, + { + "$id": "1018", + "kind": "property", + "name": "publicIPPrefix", + "serializedName": "publicIPPrefix", + "doc": "The PublicIPPrefix from which to allocate publicIP addresses.", + "type": { + "$ref": "723" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfigurationProperties.publicIPPrefix", + "serializationOptions": { + "$id": "1019", + "json": { + "$id": "1020", + "name": "publicIPPrefix" + } + } + }, + { + "$id": "1021", + "kind": "property", + "name": "publicIPAddressVersion", + "serializedName": "publicIPAddressVersion", + "doc": "Available from Api-Version 2019-07-01 onwards, it represents whether the\nspecific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible\nvalues are: 'IPv4' and 'IPv6'.", + "type": { + "$ref": "246" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfigurationProperties.publicIPAddressVersion", + "serializationOptions": { + "$id": "1022", + "json": { + "$id": "1023", + "name": "publicIPAddressVersion" + } + } + }, + { + "$id": "1024", + "kind": "property", + "name": "deleteOption", + "serializedName": "deleteOption", + "doc": "Specify what happens to the public IP when the VM is deleted", + "type": { + "$ref": "252" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfigurationProperties.deleteOption", + "serializationOptions": { + "$id": "1025", + "json": { + "$id": "1026", + "name": "deleteOption" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfiguration.properties", + "serializationOptions": { + "$id": "1027", + "json": { + "$id": "1028", + "name": "properties" + } + } + }, + { + "$id": "1029", + "kind": "property", + "name": "sku", + "serializedName": "sku", + "doc": "Describes the public IP Sku. It can only be set with OrchestrationMode as\nFlexible.", + "type": { + "$id": "1030", + "kind": "model", + "name": "ComputeFleetPublicIPAddressSku", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.PublicIPAddressSku", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes the public IP Sku. It can only be set with OrchestrationMode as\nFlexible.", + "decorators": [], + "properties": [ + { + "$id": "1031", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Specify public IP sku name", + "type": { + "$ref": "258" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.PublicIPAddressSku.name", + "serializationOptions": { + "$id": "1032", + "json": { + "$id": "1033", + "name": "name" + } + } + }, + { + "$id": "1034", + "kind": "property", + "name": "tier", + "serializedName": "tier", + "doc": "Specify public IP sku tier", + "type": { + "$ref": "264" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.PublicIPAddressSku.tier", + "serializationOptions": { + "$id": "1035", + "json": { + "$id": "1036", + "name": "tier" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetPublicIPAddressConfiguration.sku", + "serializationOptions": { + "$id": "1037", + "json": { + "$id": "1038", + "name": "sku" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfigurationProperties.publicIPAddressConfiguration", + "serializationOptions": { + "$id": "1039", + "json": { + "$id": "1040", + "name": "publicIPAddressConfiguration" + } + } + }, + { + "$id": "1041", + "kind": "property", + "name": "privateIPAddressVersion", + "serializedName": "privateIPAddressVersion", + "doc": "Available from Api-Version 2017-03-30 onwards, it represents whether the\nspecific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible\nvalues are: 'IPv4' and 'IPv6'.", + "type": { + "$ref": "246" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfigurationProperties.privateIPAddressVersion", + "serializationOptions": { + "$id": "1042", + "json": { + "$id": "1043", + "name": "privateIPAddressVersion" + } + } + }, + { + "$id": "1044", + "kind": "property", + "name": "applicationGatewayBackendAddressPools", + "serializedName": "applicationGatewayBackendAddressPools", + "doc": "Specifies an array of references to backend address pools of application\ngateways. A scale set can reference backend address pools of multiple\napplication gateways. Multiple scale sets cannot use the same application\ngateway.", + "type": { + "$id": "1045", + "kind": "array", + "name": "ArraySubResource", + "valueType": { + "$ref": "723" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfigurationProperties.applicationGatewayBackendAddressPools", + "serializationOptions": { + "$id": "1046", + "json": { + "$id": "1047", + "name": "applicationGatewayBackendAddressPools" + } + } + }, + { + "$id": "1048", + "kind": "property", + "name": "applicationSecurityGroups", + "serializedName": "applicationSecurityGroups", + "doc": "Specifies an array of references to application security group.", + "type": { + "$id": "1049", + "kind": "array", + "name": "ArraySubResource", + "valueType": { + "$ref": "723" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfigurationProperties.applicationSecurityGroups", + "serializationOptions": { + "$id": "1050", + "json": { + "$id": "1051", + "name": "applicationSecurityGroups" + } + } + }, + { + "$id": "1052", + "kind": "property", + "name": "loadBalancerBackendAddressPools", + "serializedName": "loadBalancerBackendAddressPools", + "doc": "Specifies an array of references to backend address pools of load balancers. A\nscale set can reference backend address pools of one public and one internal\nload balancer. Multiple scale sets cannot use the same basic sku load balancer.", + "type": { + "$id": "1053", + "kind": "array", + "name": "ArraySubResource", + "valueType": { + "$ref": "723" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfigurationProperties.loadBalancerBackendAddressPools", + "serializationOptions": { + "$id": "1054", + "json": { + "$id": "1055", + "name": "loadBalancerBackendAddressPools" + } + } + }, + { + "$id": "1056", + "kind": "property", + "name": "loadBalancerInboundNatPools", + "serializedName": "loadBalancerInboundNatPools", + "doc": "Specifies an array of references to inbound Nat pools of the load balancers. A\nscale set can reference inbound nat pools of one public and one internal load\nbalancer. Multiple scale sets cannot use the same basic sku load balancer.", + "type": { + "$id": "1057", + "kind": "array", + "name": "ArraySubResource", + "valueType": { + "$ref": "723" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfigurationProperties.loadBalancerInboundNatPools", + "serializationOptions": { + "$id": "1058", + "json": { + "$id": "1059", + "name": "loadBalancerInboundNatPools" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetIPConfiguration.properties", + "serializationOptions": { + "$id": "1060", + "json": { + "$id": "1061", + "name": "properties" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties.ipConfigurations", + "serializationOptions": { + "$id": "1062", + "json": { + "$id": "1063", + "name": "ipConfigurations" + } + } + }, + { + "$id": "1064", + "kind": "property", + "name": "IsIPForwardingEnabled", + "serializedName": "enableIPForwarding", + "doc": "Whether IP forwarding enabled on this NIC.", + "type": { + "$id": "1065", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties.enableIPForwarding", + "serializationOptions": { + "$id": "1066", + "json": { + "$id": "1067", + "name": "enableIPForwarding" + } + } + }, + { + "$id": "1068", + "kind": "property", + "name": "deleteOption", + "serializedName": "deleteOption", + "doc": "Specify what happens to the network interface when the VM is deleted", + "type": { + "$ref": "252" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties.deleteOption", + "serializationOptions": { + "$id": "1069", + "json": { + "$id": "1070", + "name": "deleteOption" + } + } + }, + { + "$id": "1071", + "kind": "property", + "name": "auxiliaryMode", + "serializedName": "auxiliaryMode", + "doc": "Specifies whether the Auxiliary mode is enabled for the Network Interface\nresource.", + "type": { + "$ref": "270" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties.auxiliaryMode", + "serializationOptions": { + "$id": "1072", + "json": { + "$id": "1073", + "name": "auxiliaryMode" + } + } + }, + { + "$id": "1074", + "kind": "property", + "name": "auxiliarySku", + "serializedName": "auxiliarySku", + "doc": "Specifies whether the Auxiliary sku is enabled for the Network Interface\nresource.", + "type": { + "$ref": "278" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfigurationProperties.auxiliarySku", + "serializationOptions": { + "$id": "1075", + "json": { + "$id": "1076", + "name": "auxiliarySku" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkConfiguration.properties", + "serializationOptions": { + "$id": "1077", + "json": { + "$id": "1078", + "name": "properties" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkProfile.networkInterfaceConfigurations", + "serializationOptions": { + "$id": "1079", + "json": { + "$id": "1080", + "name": "networkInterfaceConfigurations" + } + } + }, + { + "$id": "1081", + "kind": "property", + "name": "networkApiVersion", + "serializedName": "networkApiVersion", + "doc": "specifies the Microsoft.Network API version used when creating networking\nresources in the Network Interface Configurations for Virtual Machine Scale Set\nwith orchestration mode 'Flexible'", + "type": { + "$ref": "290" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetNetworkProfile.networkApiVersion", + "serializationOptions": { + "$id": "1082", + "json": { + "$id": "1083", + "name": "networkApiVersion" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.networkProfile", + "serializationOptions": { + "$id": "1084", + "json": { + "$id": "1085", + "name": "networkProfile" + } + } + }, + { + "$id": "1086", + "kind": "property", + "name": "securityProfile", + "serializedName": "securityProfile", + "doc": "Specifies the Security related profile settings for the virtual machines in the\nscale set.", + "type": { + "$id": "1087", + "kind": "model", + "name": "ComputeFleetSecurityProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies the Security profile settings for the virtual machine or virtual\nmachine scale set.", + "decorators": [], + "properties": [ + { + "$id": "1088", + "kind": "property", + "name": "uefiSettings", + "serializedName": "uefiSettings", + "doc": "Specifies the security settings like secure boot and vTPM used while creating\nthe virtual machine. Minimum api-version: 2020-12-01.", + "type": { + "$id": "1089", + "kind": "model", + "name": "ComputeFleetUefiSettings", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.UefiSettings", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies the security settings like secure boot and vTPM used while creating\nthe virtual machine. Minimum api-version: 2020-12-01.", + "decorators": [], + "properties": [ + { + "$id": "1090", + "kind": "property", + "name": "IsSecureBootEnabled", + "serializedName": "secureBootEnabled", + "doc": "Specifies whether secure boot should be enabled on the virtual machine. Minimum\napi-version: 2020-12-01.", + "type": { + "$id": "1091", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.UefiSettings.secureBootEnabled", + "serializationOptions": { + "$id": "1092", + "json": { + "$id": "1093", + "name": "secureBootEnabled" + } + } + }, + { + "$id": "1094", + "kind": "property", + "name": "IsVTpmEnabled", + "serializedName": "vTpmEnabled", + "doc": "Specifies whether vTPM should be enabled on the virtual machine. Minimum\napi-version: 2020-12-01.", + "type": { + "$id": "1095", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.UefiSettings.vTpmEnabled", + "serializationOptions": { + "$id": "1096", + "json": { + "$id": "1097", + "name": "vTpmEnabled" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityProfile.uefiSettings", + "serializationOptions": { + "$id": "1098", + "json": { + "$id": "1099", + "name": "uefiSettings" + } + } + }, + { + "$id": "1100", + "kind": "property", + "name": "IsEncryptionAtHostEnabled", + "serializedName": "encryptionAtHost", + "doc": "This property can be used by user in the request to enable or disable the Host\nEncryption for the virtual machine or virtual machine scale set. This will\nenable the encryption for all the disks including Resource/Temp disk at host\nitself. The default behavior is: The Encryption at host will be disabled unless\nthis property is set to true for the resource.", + "type": { + "$id": "1101", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityProfile.encryptionAtHost", + "serializationOptions": { + "$id": "1102", + "json": { + "$id": "1103", + "name": "encryptionAtHost" + } + } + }, + { + "$id": "1104", + "kind": "property", + "name": "securityType", + "serializedName": "securityType", + "doc": "Specifies the SecurityType of the virtual machine. It has to be set to any\nspecified value to enable UefiSettings. The default behavior is: UefiSettings\nwill not be enabled unless this property is set.", + "type": { + "$ref": "294" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityProfile.securityType", + "serializationOptions": { + "$id": "1105", + "json": { + "$id": "1106", + "name": "securityType" + } + } + }, + { + "$id": "1107", + "kind": "property", + "name": "encryptionIdentity", + "serializedName": "encryptionIdentity", + "doc": "Specifies the Managed Identity used by ADE to get access token for keyvault\noperations.", + "type": { + "$id": "1108", + "kind": "model", + "name": "ComputeFleetEncryptionIdentity", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.EncryptionIdentity", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies the Managed Identity used by ADE to get access token for keyvault\noperations.", + "decorators": [], + "properties": [ + { + "$id": "1109", + "kind": "property", + "name": "userAssignedIdentityResourceId", + "serializedName": "userAssignedIdentityResourceId", + "doc": "Specifies ARM Resource ID of one of the user identities associated with the VM.", + "type": { + "$id": "1110", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "1111", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.EncryptionIdentity.userAssignedIdentityResourceId", + "serializationOptions": { + "$id": "1112", + "json": { + "$id": "1113", + "name": "userAssignedIdentityResourceId" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityProfile.encryptionIdentity", + "serializationOptions": { + "$id": "1114", + "json": { + "$id": "1115", + "name": "encryptionIdentity" + } + } + }, + { + "$id": "1116", + "kind": "property", + "name": "proxyAgentSettings", + "serializedName": "proxyAgentSettings", + "doc": "Specifies ProxyAgent settings while creating the virtual machine. Minimum\napi-version: 2023-09-01.", + "type": { + "$id": "1117", + "kind": "model", + "name": "ComputeFleetProxyAgentSettings", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ProxyAgentSettings", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies ProxyAgent settings while creating the virtual machine. Minimum\napi-version: 2023-09-01.", + "decorators": [], + "properties": [ + { + "$id": "1118", + "kind": "property", + "name": "IsEnabled", + "serializedName": "enabled", + "doc": "Specifies whether ProxyAgent feature should be enabled on the virtual machine\nor virtual machine scale set.", + "type": { + "$id": "1119", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ProxyAgentSettings.enabled", + "serializationOptions": { + "$id": "1120", + "json": { + "$id": "1121", + "name": "enabled" + } + } + }, + { + "$id": "1122", + "kind": "property", + "name": "mode", + "serializedName": "mode", + "doc": "Specifies the mode that ProxyAgent will execute on if the feature is enabled.\nProxyAgent will start to audit or monitor but not enforce access control over\nrequests to host endpoints in Audit mode, while in Enforce mode it will enforce\naccess control. The default value is Enforce mode.", + "type": { + "$ref": "300" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ProxyAgentSettings.mode", + "serializationOptions": { + "$id": "1123", + "json": { + "$id": "1124", + "name": "mode" + } + } + }, + { + "$id": "1125", + "kind": "property", + "name": "keyIncarnationId", + "serializedName": "keyIncarnationId", + "doc": "Increase the value of this property allows user to reset the key used for\nsecuring communication channel between guest and host.", + "type": { + "$id": "1126", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ProxyAgentSettings.keyIncarnationId", + "serializationOptions": { + "$id": "1127", + "json": { + "$id": "1128", + "name": "keyIncarnationId" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityProfile.proxyAgentSettings", + "serializationOptions": { + "$id": "1129", + "json": { + "$id": "1130", + "name": "proxyAgentSettings" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.securityProfile", + "serializationOptions": { + "$id": "1131", + "json": { + "$id": "1132", + "name": "securityProfile" + } + } + }, + { + "$id": "1133", + "kind": "property", + "name": "diagnosticsProfile", + "serializedName": "diagnosticsProfile", + "doc": "Specifies the boot diagnostic settings state.", + "type": { + "$id": "1134", + "kind": "model", + "name": "ComputeFleetDiagnosticsProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiagnosticsProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies the boot diagnostic settings state. Minimum api-version: 2015-06-15.", + "decorators": [], + "properties": [ + { + "$id": "1135", + "kind": "property", + "name": "bootDiagnostics", + "serializedName": "bootDiagnostics", + "doc": "Boot Diagnostics is a debugging feature which allows you to view Console Output\nand Screenshot to diagnose VM status. **NOTE**: If storageUri is being\nspecified then ensure that the storage account is in the same region and\nsubscription as the VM. You can easily view the output of your console log.\nAzure also enables you to see a screenshot of the VM from the hypervisor.", + "type": { + "$id": "1136", + "kind": "model", + "name": "ComputeFleetBootDiagnostics", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BootDiagnostics", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Boot Diagnostics is a debugging feature which allows you to view Console Output\nand Screenshot to diagnose VM status. You can easily view the output of your\nconsole log. Azure also enables you to see a screenshot of the VM from the\nhypervisor.", + "decorators": [], + "properties": [ + { + "$id": "1137", + "kind": "property", + "name": "IsEnabled", + "serializedName": "enabled", + "doc": "Whether boot diagnostics should be enabled on the Virtual Machine.", + "type": { + "$id": "1138", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BootDiagnostics.enabled", + "serializationOptions": { + "$id": "1139", + "json": { + "$id": "1140", + "name": "enabled" + } + } + }, + { + "$id": "1141", + "kind": "property", + "name": "storageUri", + "serializedName": "storageUri", + "doc": "Uri of the storage account to use for placing the console output and\nscreenshot. If storageUri is not specified while enabling boot diagnostics,\nmanaged storage will be used.", + "type": { + "$id": "1142", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BootDiagnostics.storageUri", + "serializationOptions": { + "$id": "1143", + "json": { + "$id": "1144", + "name": "storageUri" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.DiagnosticsProfile.bootDiagnostics", + "serializationOptions": { + "$id": "1145", + "json": { + "$id": "1146", + "name": "bootDiagnostics" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.diagnosticsProfile", + "serializationOptions": { + "$id": "1147", + "json": { + "$id": "1148", + "name": "diagnosticsProfile" + } + } + }, + { + "$id": "1149", + "kind": "property", + "name": "extensionProfile", + "serializedName": "extensionProfile", + "doc": "Specifies a collection of settings for extensions installed on virtual machines\nin the scale set.", + "type": { + "$id": "1150", + "kind": "model", + "name": "ComputeFleetVmssExtensionProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a virtual machine scale set extension profile.", + "decorators": [], + "properties": [ + { + "$id": "1151", + "kind": "property", + "name": "extensions", + "serializedName": "extensions", + "doc": "The virtual machine scale set child extension resources.", + "type": { + "$id": "1152", + "kind": "array", + "name": "ArrayVirtualMachineScaleSetExtension", + "valueType": { + "$id": "1153", + "kind": "model", + "name": "ComputeFleetVmssExtension", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtension", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a Virtual Machine Scale Set Extension.", + "decorators": [], + "properties": [ + { + "$id": "1154", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Resource Id", + "type": { + "$id": "1155", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "1156", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtension.id", + "serializationOptions": { + "$id": "1157", + "json": { + "$id": "1158", + "name": "id" + } + } + }, + { + "$id": "1159", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the extension.", + "type": { + "$id": "1160", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtension.name", + "serializationOptions": { + "$id": "1161", + "json": { + "$id": "1162", + "name": "name" + } + } + }, + { + "$id": "1163", + "kind": "property", + "name": "ExtensionType", + "serializedName": "type", + "doc": "Resource type", + "type": { + "$id": "1164", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtension.type", + "serializationOptions": { + "$id": "1165", + "json": { + "$id": "1166", + "name": "type" + } + } + }, + { + "$id": "1167", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "Describes the properties of a Virtual Machine Scale Set Extension.", + "type": { + "$id": "1168", + "kind": "model", + "name": "ComputeFleetVmssExtensionProperties", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes the properties of a Virtual Machine Scale Set Extension.", + "decorators": [], + "properties": [ + { + "$id": "1169", + "kind": "property", + "name": "forceUpdateTag", + "serializedName": "forceUpdateTag", + "doc": "If a value is provided and is different from the previous value, the extension\nhandler will be forced to update even if the extension configuration has not\nchanged.", + "type": { + "$id": "1170", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.forceUpdateTag", + "serializationOptions": { + "$id": "1171", + "json": { + "$id": "1172", + "name": "forceUpdateTag" + } + } + }, + { + "$id": "1173", + "kind": "property", + "name": "publisher", + "serializedName": "publisher", + "doc": "The name of the extension handler publisher.", + "type": { + "$id": "1174", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.publisher", + "serializationOptions": { + "$id": "1175", + "json": { + "$id": "1176", + "name": "publisher" + } + } + }, + { + "$id": "1177", + "kind": "property", + "name": "ExtensionType", + "serializedName": "type", + "doc": "Specifies the type of the extension; an example is \"CustomScriptExtension\".", + "type": { + "$id": "1178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.type", + "serializationOptions": { + "$id": "1179", + "json": { + "$id": "1180", + "name": "type" + } + } + }, + { + "$id": "1181", + "kind": "property", + "name": "typeHandlerVersion", + "serializedName": "typeHandlerVersion", + "doc": "Specifies the version of the script handler.", + "type": { + "$id": "1182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.typeHandlerVersion", + "serializationOptions": { + "$id": "1183", + "json": { + "$id": "1184", + "name": "typeHandlerVersion" + } + } + }, + { + "$id": "1185", + "kind": "property", + "name": "ShouldAutoUpgradeMinorVersion", + "serializedName": "autoUpgradeMinorVersion", + "doc": "Indicates whether the extension should use a newer minor version if one is\navailable at deployment time. Once deployed, however, the extension will not\nupgrade minor versions unless redeployed, even with this property set to true.", + "type": { + "$id": "1186", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.autoUpgradeMinorVersion", + "serializationOptions": { + "$id": "1187", + "json": { + "$id": "1188", + "name": "autoUpgradeMinorVersion" + } + } + }, + { + "$id": "1189", + "kind": "property", + "name": "IsAutomaticUpgradeEnabled", + "serializedName": "enableAutomaticUpgrade", + "doc": "Indicates whether the extension should be automatically upgraded by the\nplatform if there is a newer version of the extension available.", + "type": { + "$id": "1190", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.enableAutomaticUpgrade", + "serializationOptions": { + "$id": "1191", + "json": { + "$id": "1192", + "name": "enableAutomaticUpgrade" + } + } + }, + { + "$id": "1193", + "kind": "property", + "name": "settings", + "serializedName": "settings", + "doc": "Json formatted public settings for the extension.", + "type": { + "$id": "1194", + "kind": "dict", + "keyType": { + "$id": "1195", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1196", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.settings", + "serializationOptions": { + "$id": "1197", + "json": { + "$id": "1198", + "name": "settings" + } + } + }, + { + "$id": "1199", + "kind": "property", + "name": "protectedSettings", + "serializedName": "protectedSettings", + "doc": "The extension can contain either protectedSettings or\nprotectedSettingsFromKeyVault or no protected settings at all.", + "type": { + "$id": "1200", + "kind": "dict", + "keyType": { + "$id": "1201", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1202", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.protectedSettings", + "serializationOptions": { + "$id": "1203", + "json": { + "$id": "1204", + "name": "protectedSettings" + } + } + }, + { + "$id": "1205", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "The provisioning state, which only appears in the response.", + "type": { + "$id": "1206", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.provisioningState", + "serializationOptions": { + "$id": "1207", + "json": { + "$id": "1208", + "name": "provisioningState" + } + } + }, + { + "$id": "1209", + "kind": "property", + "name": "provisionAfterExtensions", + "serializedName": "provisionAfterExtensions", + "doc": "Collection of extension names after which this extension needs to be\nprovisioned.", + "type": { + "$id": "1210", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.provisionAfterExtensions", + "serializationOptions": { + "$id": "1212", + "json": { + "$id": "1213", + "name": "provisionAfterExtensions" + } + } + }, + { + "$id": "1214", + "kind": "property", + "name": "IsSuppressFailuresEnabled", + "serializedName": "suppressFailures", + "doc": "Indicates whether failures stemming from the extension will be suppressed\n(Operational failures such as not connecting to the VM will not be suppressed\nregardless of this value). The default is false.", + "type": { + "$id": "1215", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.suppressFailures", + "serializationOptions": { + "$id": "1216", + "json": { + "$id": "1217", + "name": "suppressFailures" + } + } + }, + { + "$id": "1218", + "kind": "property", + "name": "protectedSettingsFromKeyVault", + "serializedName": "protectedSettingsFromKeyVault", + "doc": "The extensions protected settings that are passed by reference, and consumed\nfrom key vault", + "type": { + "$id": "1219", + "kind": "model", + "name": "ComputeFleetKeyVaultSecretReference", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.KeyVaultSecretReference", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Describes a reference to Key Vault Secret", + "decorators": [], + "properties": [ + { + "$id": "1220", + "kind": "property", + "name": "secretUrl", + "serializedName": "secretUrl", + "doc": "The URL referencing a secret in a Key Vault.", + "type": { + "$id": "1221", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.KeyVaultSecretReference.secretUrl", + "serializationOptions": { + "$id": "1222", + "json": { + "$id": "1223", + "name": "secretUrl" + } + } + }, + { + "$id": "1224", + "kind": "property", + "name": "sourceVault", + "serializedName": "sourceVault", + "doc": "The relative URL of the Key Vault containing the secret.", + "type": { + "$ref": "723" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.KeyVaultSecretReference.sourceVault", + "serializationOptions": { + "$id": "1225", + "json": { + "$id": "1226", + "name": "sourceVault" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProperties.protectedSettingsFromKeyVault", + "serializationOptions": { + "$id": "1227", + "json": { + "$id": "1228", + "name": "protectedSettingsFromKeyVault" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtension.properties", + "serializationOptions": { + "$id": "1229", + "json": { + "$id": "1230", + "name": "properties" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProfile.extensions", + "serializationOptions": { + "$id": "1231", + "json": { + "$id": "1232", + "name": "extensions" + } + } + }, + { + "$id": "1233", + "kind": "property", + "name": "extensionsTimeBudget", + "serializedName": "extensionsTimeBudget", + "doc": "Specifies the time alloted for all extensions to start. The time duration\nshould be between 15 minutes and 120 minutes (inclusive) and should be\nspecified in ISO 8601 format. The default value is 90 minutes (PT1H30M).\nMinimum api-version: 2020-06-01.", + "type": { + "$id": "1234", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetExtensionProfile.extensionsTimeBudget", + "serializationOptions": { + "$id": "1235", + "json": { + "$id": "1236", + "name": "extensionsTimeBudget" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.extensionProfile", + "serializationOptions": { + "$id": "1237", + "json": { + "$id": "1238", + "name": "extensionProfile" + } + } + }, + { + "$id": "1239", + "kind": "property", + "name": "licenseType", + "serializedName": "licenseType", + "doc": "Specifies that the image or disk that is being used was licensed on-premises.\n

Possible values for Windows Server operating system are:

\nWindows_Client

Windows_Server

Possible values for Linux\nServer operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS\n(for SUSE)

For more information, see [Azure Hybrid Use Benefit for\nWindows\nServer](https://learn.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)\n

[Azure Hybrid Use Benefit for Linux\nServer](https://learn.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)\n

Minimum api-version: 2015-06-15", + "type": { + "$id": "1240", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.licenseType", + "serializationOptions": { + "$id": "1241", + "json": { + "$id": "1242", + "name": "licenseType" + } + } + }, + { + "$id": "1243", + "kind": "property", + "name": "scheduledEventsProfile", + "serializedName": "scheduledEventsProfile", + "doc": "Specifies Scheduled Event related configurations.", + "type": { + "$id": "1244", + "kind": "model", + "name": "ComputeFleetScheduledEventsProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ScheduledEventsProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies Scheduled Event related configurations.", + "decorators": [], + "properties": [ + { + "$id": "1245", + "kind": "property", + "name": "terminateNotificationProfile", + "serializedName": "terminateNotificationProfile", + "doc": "Specifies Terminate Scheduled Event related configurations.", + "type": { + "$id": "1246", + "kind": "model", + "name": "ComputeFleetTerminateNotificationProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.TerminateNotificationProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies Terminate Scheduled Event related configurations.", + "decorators": [], + "properties": [ + { + "$id": "1247", + "kind": "property", + "name": "notBeforeTimeout", + "serializedName": "notBeforeTimeout", + "doc": "Configurable length of time a Virtual Machine being deleted will have to\npotentially approve the Terminate Scheduled Event before the event is auto\napproved (timed out). The configuration must be specified in ISO 8601 format,\nthe default value is 5 minutes (PT5M)", + "type": { + "$id": "1248", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.TerminateNotificationProfile.notBeforeTimeout", + "serializationOptions": { + "$id": "1249", + "json": { + "$id": "1250", + "name": "notBeforeTimeout" + } + } + }, + { + "$id": "1251", + "kind": "property", + "name": "IsEnabled", + "serializedName": "enable", + "doc": "Specifies whether the Terminate Scheduled event is enabled or disabled.", + "type": { + "$id": "1252", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.TerminateNotificationProfile.enable", + "serializationOptions": { + "$id": "1253", + "json": { + "$id": "1254", + "name": "enable" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ScheduledEventsProfile.terminateNotificationProfile", + "serializationOptions": { + "$id": "1255", + "json": { + "$id": "1256", + "name": "terminateNotificationProfile" + } + } + }, + { + "$id": "1257", + "kind": "property", + "name": "osImageNotificationProfile", + "serializedName": "osImageNotificationProfile", + "doc": "Specifies OS Image Scheduled Event related configurations.", + "type": { + "$id": "1258", + "kind": "model", + "name": "ComputeFleetOSImageNotificationProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.OSImageNotificationProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies OS Image Scheduled Event related configurations.", + "decorators": [], + "properties": [ + { + "$id": "1259", + "kind": "property", + "name": "notBeforeTimeout", + "serializedName": "notBeforeTimeout", + "doc": "Length of time a Virtual Machine being reimaged or having its OS upgraded will\nhave to potentially approve the OS Image Scheduled Event before the event is\nauto approved (timed out). The configuration is specified in ISO 8601 format,\nand the value must not exceed 15 minutes (PT15M)", + "type": { + "$id": "1260", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.OSImageNotificationProfile.notBeforeTimeout", + "serializationOptions": { + "$id": "1261", + "json": { + "$id": "1262", + "name": "notBeforeTimeout" + } + } + }, + { + "$id": "1263", + "kind": "property", + "name": "IsEnabled", + "serializedName": "enable", + "doc": "Specifies whether the OS Image Scheduled event is enabled or disabled.", + "type": { + "$id": "1264", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.OSImageNotificationProfile.enable", + "serializationOptions": { + "$id": "1265", + "json": { + "$id": "1266", + "name": "enable" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ScheduledEventsProfile.osImageNotificationProfile", + "serializationOptions": { + "$id": "1267", + "json": { + "$id": "1268", + "name": "osImageNotificationProfile" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.scheduledEventsProfile", + "serializationOptions": { + "$id": "1269", + "json": { + "$id": "1270", + "name": "scheduledEventsProfile" + } + } + }, + { + "$id": "1271", + "kind": "property", + "name": "userData", + "serializedName": "userData", + "doc": "UserData for the virtual machines in the scale set, which must be base-64\nencoded. Customer should not pass any secrets in here. Minimum api-version:\n2021-03-01.", + "type": { + "$id": "1272", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.userData", + "serializationOptions": { + "$id": "1273", + "json": { + "$id": "1274", + "name": "userData" + } + } + }, + { + "$id": "1275", + "kind": "property", + "name": "capacityReservation", + "serializedName": "capacityReservation", + "doc": "Specifies the capacity reservation related details of a scale set. Minimum\napi-version: 2021-04-01.", + "type": { + "$id": "1276", + "kind": "model", + "name": "CapacityReservationProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.CapacityReservationProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "The parameters of a capacity reservation Profile.", + "decorators": [], + "properties": [ + { + "$id": "1277", + "kind": "property", + "name": "capacityReservationGroup", + "serializedName": "capacityReservationGroup", + "doc": "Specifies the capacity reservation group resource id that should be used for\nallocating the virtual machine or scaleset vm instances provided enough\ncapacity has been reserved. Please refer to https://aka.ms/CapacityReservation\nfor more details.", + "type": { + "$ref": "723" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.CapacityReservationProfile.capacityReservationGroup", + "serializationOptions": { + "$id": "1278", + "json": { + "$id": "1279", + "name": "capacityReservationGroup" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.capacityReservation", + "serializationOptions": { + "$id": "1280", + "json": { + "$id": "1281", + "name": "capacityReservation" + } + } + }, + { + "$id": "1282", + "kind": "property", + "name": "applicationProfile", + "serializedName": "applicationProfile", + "doc": "Specifies the gallery applications that should be made available to the VM/VMSS", + "type": { + "$id": "1283", + "kind": "model", + "name": "ComputeFleetApplicationProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApplicationProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Contains the list of gallery applications that should be made available to the\nVM/VMSS", + "decorators": [], + "properties": [ + { + "$id": "1284", + "kind": "property", + "name": "galleryApplications", + "serializedName": "galleryApplications", + "doc": "Specifies the gallery applications that should be made available to the VM/VMSS", + "type": { + "$id": "1285", + "kind": "array", + "name": "ArrayVmGalleryApplication", + "valueType": { + "$id": "1286", + "kind": "model", + "name": "ComputeFleetVMGalleryApplication", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMGalleryApplication", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies the required information to reference a compute gallery application\nversion", + "decorators": [], + "properties": [ + { + "$id": "1287", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Optional, Specifies a passthrough value for more generic context.", + "type": { + "$id": "1288", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMGalleryApplication.tags", + "serializationOptions": { + "$id": "1289", + "json": { + "$id": "1290", + "name": "tags" + } + } + }, + { + "$id": "1291", + "kind": "property", + "name": "order", + "serializedName": "order", + "doc": "Optional, Specifies the order in which the packages have to be installed", + "type": { + "$id": "1292", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMGalleryApplication.order", + "serializationOptions": { + "$id": "1293", + "json": { + "$id": "1294", + "name": "order" + } + } + }, + { + "$id": "1295", + "kind": "property", + "name": "packageReferenceId", + "serializedName": "packageReferenceId", + "doc": "Specifies the GalleryApplicationVersion resource id on the form of\n/subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}", + "type": { + "$id": "1296", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "1297", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMGalleryApplication.packageReferenceId", + "serializationOptions": { + "$id": "1298", + "json": { + "$id": "1299", + "name": "packageReferenceId" + } + } + }, + { + "$id": "1300", + "kind": "property", + "name": "configurationReference", + "serializedName": "configurationReference", + "doc": "Optional, Specifies the uri to an azure blob that will replace the default\nconfiguration for the package if provided", + "type": { + "$id": "1301", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMGalleryApplication.configurationReference", + "serializationOptions": { + "$id": "1302", + "json": { + "$id": "1303", + "name": "configurationReference" + } + } + }, + { + "$id": "1304", + "kind": "property", + "name": "IsTreatFailureAsDeploymentFailureEnabled", + "serializedName": "treatFailureAsDeploymentFailure", + "doc": "Optional, If true, any failure for any operation in the VmApplication will fail\nthe deployment", + "type": { + "$id": "1305", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMGalleryApplication.treatFailureAsDeploymentFailure", + "serializationOptions": { + "$id": "1306", + "json": { + "$id": "1307", + "name": "treatFailureAsDeploymentFailure" + } + } + }, + { + "$id": "1308", + "kind": "property", + "name": "IsAutomaticUpgradeEnabled", + "serializedName": "enableAutomaticUpgrade", + "doc": "If set to true, when a new Gallery Application version is available in PIR/SIG,\nit will be automatically updated for the VM/VMSS", + "type": { + "$id": "1309", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMGalleryApplication.enableAutomaticUpgrade", + "serializationOptions": { + "$id": "1310", + "json": { + "$id": "1311", + "name": "enableAutomaticUpgrade" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApplicationProfile.galleryApplications", + "serializationOptions": { + "$id": "1312", + "json": { + "$id": "1313", + "name": "galleryApplications" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.applicationProfile", + "serializationOptions": { + "$id": "1314", + "json": { + "$id": "1315", + "name": "applicationProfile" + } + } + }, + { + "$id": "1316", + "kind": "property", + "name": "hardwareProfile", + "serializedName": "hardwareProfile", + "doc": "Specifies the hardware profile related details of a scale set. Minimum\napi-version: 2021-11-01.", + "type": { + "$id": "1317", + "kind": "model", + "name": "ComputeFleetVmssHardwareProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetHardwareProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies the hardware settings for the virtual machine scale set.", + "decorators": [], + "properties": [ + { + "$id": "1318", + "kind": "property", + "name": "vmSizeProperties", + "serializedName": "vmSizeProperties", + "doc": "Specifies the properties for customizing the size of the virtual machine.\nMinimum api-version: 2021-11-01. Please follow the instructions in [VM\nCustomization](https://aka.ms/vmcustomization) for more details.", + "type": { + "$id": "1319", + "kind": "model", + "name": "ComputeFleetVMSizeProperties", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMSizeProperties", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies VM Size Property settings on the virtual machine.", + "decorators": [], + "properties": [ + { + "$id": "1320", + "kind": "property", + "name": "vCPUsAvailable", + "serializedName": "vCPUsAvailable", + "doc": "Specifies the number of vCPUs available for the VM. When this property is not\nspecified in the request body the default behavior is to set it to the value of\nvCPUs available for that VM size exposed in api response of [List all available\nvirtual machine sizes in a\nregion](https://learn.microsoft.com/en-us/rest/api/compute/resource-skus/list).", + "type": { + "$id": "1321", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMSizeProperties.vCPUsAvailable", + "serializationOptions": { + "$id": "1322", + "json": { + "$id": "1323", + "name": "vCPUsAvailable" + } + } + }, + { + "$id": "1324", + "kind": "property", + "name": "vCPUsPerCore", + "serializedName": "vCPUsPerCore", + "doc": "Specifies the vCPU to physical core ratio. When this property is not specified\nin the request body the default behavior is set to the value of vCPUsPerCore\nfor the VM Size exposed in api response of [List all available virtual machine\nsizes in a\nregion](https://learn.microsoft.com/en-us/rest/api/compute/resource-skus/list).\n**Setting this property to 1 also means that hyper-threading is disabled.**", + "type": { + "$id": "1325", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VMSizeProperties.vCPUsPerCore", + "serializationOptions": { + "$id": "1326", + "json": { + "$id": "1327", + "name": "vCPUsPerCore" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetHardwareProfile.vmSizeProperties", + "serializationOptions": { + "$id": "1328", + "json": { + "$id": "1329", + "name": "vmSizeProperties" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.hardwareProfile", + "serializationOptions": { + "$id": "1330", + "json": { + "$id": "1331", + "name": "hardwareProfile" + } + } + }, + { + "$id": "1332", + "kind": "property", + "name": "serviceArtifactReference", + "serializedName": "serviceArtifactReference", + "doc": "Specifies the service artifact reference id used to set same image version for\nall virtual machines in the scale set when using 'latest' image version.\nMinimum api-version: 2022-11-01", + "type": { + "$id": "1333", + "kind": "model", + "name": "ServiceArtifactReference", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ServiceArtifactReference", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies the service artifact reference id used to set same image version for\nall virtual machines in the scale set when using 'latest' image version.\nMinimum api-version: 2022-11-01", + "decorators": [], + "properties": [ + { + "$id": "1334", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The service artifact reference id in the form of\n/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactName}/vmArtifactsProfiles/{vmArtifactsProfilesName}", + "type": { + "$id": "1335", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "1336", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ServiceArtifactReference.id", + "serializationOptions": { + "$id": "1337", + "json": { + "$id": "1338", + "name": "id" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.serviceArtifactReference", + "serializationOptions": { + "$id": "1339", + "json": { + "$id": "1340", + "name": "serviceArtifactReference" + } + } + }, + { + "$id": "1341", + "kind": "property", + "name": "securityPostureReference", + "serializedName": "securityPostureReference", + "doc": "Specifies the security posture to be used for all virtual machines in the scale\nset. Minimum api-version: 2023-03-01", + "type": { + "$id": "1342", + "kind": "model", + "name": "ComputeFleetSecurityPostureReference", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityPostureReference", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Specifies the security posture to be used for all virtual machines in the scale\nset. Minimum api-version: 2023-03-01", + "decorators": [], + "properties": [ + { + "$id": "1343", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The security posture reference id in the form of\n/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest", + "type": { + "$id": "1344", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityPostureReference.id", + "serializationOptions": { + "$id": "1345", + "json": { + "$id": "1346", + "name": "id" + } + } + }, + { + "$id": "1347", + "kind": "property", + "name": "excludeExtensions", + "serializedName": "excludeExtensions", + "doc": "List of virtual machine extension names to exclude when applying the security\nposture.", + "type": { + "$id": "1348", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1349", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityPostureReference.excludeExtensions", + "serializationOptions": { + "$id": "1350", + "json": { + "$id": "1351", + "name": "excludeExtensions" + } + } + }, + { + "$id": "1352", + "kind": "property", + "name": "isOverridable", + "serializedName": "isOverridable", + "doc": "Whether the security posture can be overridden by the user.", + "type": { + "$id": "1353", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.SecurityPostureReference.isOverridable", + "serializationOptions": { + "$id": "1354", + "json": { + "$id": "1355", + "name": "isOverridable" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.securityPostureReference", + "serializationOptions": { + "$id": "1356", + "json": { + "$id": "1357", + "name": "securityPostureReference" + } + } + }, + { + "$id": "1358", + "kind": "property", + "name": "CreatedOn", + "serializedName": "timeCreated", + "doc": "Specifies the time in which this VM profile for the Virtual Machine Scale Set\nwas created. Minimum API version for this property is 2023-09-01. This value\nwill be added to VMSS Flex VM tags when creating/updating the VMSS VM Profile\nwith minimum api-version 2023-09-01. Examples: \"2024-07-01T00:00:01.1234567+00:00\"", + "type": { + "$id": "1359", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1360", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.BaseVirtualMachineProfile.timeCreated", + "serializationOptions": { + "$id": "1361", + "json": { + "$id": "1362", + "name": "timeCreated" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.LocationProfile.virtualMachineProfileOverride", + "serializationOptions": { + "$id": "1363", + "json": { + "$id": "1364", + "name": "virtualMachineProfileOverride" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AdditionalLocationsProfile.locationProfiles", + "serializationOptions": { + "$id": "1365", + "json": { + "$id": "1366", + "name": "locationProfiles" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetProperties.additionalLocationsProfile", + "serializationOptions": { + "$id": "1367", + "json": { + "$id": "1368", + "name": "additionalLocationsProfile" + } + } + }, + { + "$id": "1369", + "kind": "property", + "name": "computeProfile", + "serializedName": "computeProfile", + "doc": "Compute Profile to use for running user's workloads.", + "type": { + "$id": "1370", + "kind": "model", + "name": "ComputeFleetComputeProfile", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ComputeProfile", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Compute Profile to use for running user's workloads.", + "decorators": [], + "properties": [ + { + "$id": "1371", + "kind": "property", + "name": "baseVirtualMachineProfile", + "serializedName": "baseVirtualMachineProfile", + "doc": "Base Virtual Machine Profile Properties to be specified according to \"specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachineScaleSet.json#/definitions/VirtualMachineScaleSetVMProfile\"", + "type": { + "$ref": "565" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ComputeProfile.baseVirtualMachineProfile", + "serializationOptions": { + "$id": "1372", + "json": { + "$id": "1373", + "name": "baseVirtualMachineProfile" + } + } + }, + { + "$id": "1374", + "kind": "property", + "name": "computeApiVersion", + "serializedName": "computeApiVersion", + "doc": "Specifies the Microsoft.Compute API version to use when creating underlying Virtual Machine scale sets and Virtual Machines.\nThe default value will be the latest supported computeApiVersion by Compute Fleet.", + "type": { + "$id": "1375", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ComputeProfile.computeApiVersion", + "serializationOptions": { + "$id": "1376", + "json": { + "$id": "1377", + "name": "computeApiVersion" + } + } + }, + { + "$id": "1378", + "kind": "property", + "name": "platformFaultDomainCount", + "serializedName": "platformFaultDomainCount", + "doc": "Specifies the number of fault domains to use when creating the underlying VMSS.\nA fault domain is a logical group of hardware within an Azure datacenter.\nVMs in the same fault domain share a common power source and network switch.\nIf not specified, defaults to 1, which represents \"Max Spreading\" (using as many fault domains as possible).\nThis property cannot be updated.", + "type": { + "$id": "1379", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ComputeProfile.platformFaultDomainCount", + "serializationOptions": { + "$id": "1380", + "json": { + "$id": "1381", + "name": "platformFaultDomainCount" + } + } + }, + { + "$id": "1382", + "kind": "property", + "name": "additionalVirtualMachineCapabilities", + "serializedName": "additionalVirtualMachineCapabilities", + "doc": "Specifies VMSS and VM API entity models support two additional capabilities as of today: ultraSSDEnabled and hibernationEnabled.\nultraSSDEnabled: Enables UltraSSD_LRS storage account type on the VMSS VMs.\nhibernationEnabled: Enables the hibernation capability on the VMSS VMs.\nDefault value is null if not specified. This property cannot be updated once set.", + "type": { + "$id": "1383", + "kind": "model", + "name": "AdditionalCapabilities", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AdditionalCapabilities", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "AdditionalCapabilities for VM.", + "decorators": [], + "properties": [ + { + "$id": "1384", + "kind": "property", + "name": "isUltraSSDEnabled", + "serializedName": "ultraSSDEnabled", + "doc": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS.\nManaged disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.", + "type": { + "$id": "1385", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AdditionalCapabilities.ultraSSDEnabled", + "serializationOptions": { + "$id": "1386", + "json": { + "$id": "1387", + "name": "ultraSSDEnabled" + } + } + }, + { + "$id": "1388", + "kind": "property", + "name": "isHibernationEnabled", + "serializedName": "hibernationEnabled", + "doc": "The flag that enables or disables hibernation capability on the VM.", + "type": { + "$id": "1389", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.AdditionalCapabilities.hibernationEnabled", + "serializationOptions": { + "$id": "1390", + "json": { + "$id": "1391", + "name": "hibernationEnabled" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ComputeProfile.additionalVirtualMachineCapabilities", + "serializationOptions": { + "$id": "1392", + "json": { + "$id": "1393", + "name": "additionalVirtualMachineCapabilities" + } + } + } + ] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetProperties.computeProfile", + "serializationOptions": { + "$id": "1394", + "json": { + "$id": "1395", + "name": "computeProfile" + } + } + }, + { + "$id": "1396", + "kind": "property", + "name": "CreatedOn", + "serializedName": "timeCreated", + "doc": "Specifies the time at which the Compute Fleet is created.", + "type": { + "$id": "1397", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1398", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetProperties.timeCreated", + "serializationOptions": { + "$id": "1399", + "json": { + "$id": "1400", + "name": "timeCreated" + } + } + }, + { + "$id": "1401", + "kind": "property", + "name": "uniqueId", + "serializedName": "uniqueId", + "doc": "Specifies the ID which uniquely identifies a Compute Fleet.", + "type": { + "$id": "1402", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetProperties.uniqueId", + "serializationOptions": { + "$id": "1403", + "json": { + "$id": "1404", + "name": "uniqueId" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleet.properties", + "serializationOptions": { + "$id": "1405", + "json": { + "$id": "1406", + "name": "properties" + } + } + }, + { + "$id": "1407", + "kind": "property", + "name": "zones", + "serializedName": "zones", + "doc": "Zones in which the Compute Fleet is available", + "type": { + "$id": "1408", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "1409", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleet.zones", + "serializationOptions": { + "$id": "1410", + "json": { + "$id": "1411", + "name": "zones" + } + } + }, + { + "$id": "1412", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$id": "1413", + "kind": "model", + "name": "ManagedServiceIdentity", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Managed service identity (system assigned and/or user assigned identities)", + "decorators": [], + "properties": [ + { + "$id": "1414", + "kind": "property", + "name": "principalId", + "serializedName": "principalId", + "doc": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.", + "type": { + "$id": "1415", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1416", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.principalId", + "serializationOptions": { + "$id": "1417", + "json": { + "$id": "1418", + "name": "principalId" + } + } + }, + { + "$id": "1419", + "kind": "property", + "name": "tenantId", + "serializedName": "tenantId", + "doc": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.", + "type": { + "$id": "1420", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1421", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.tenantId", + "serializationOptions": { + "$id": "1422", + "json": { + "$id": "1423", + "name": "tenantId" + } + } + }, + { + "$id": "1424", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of managed identity assigned to this resource.", + "type": { + "$ref": "306" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.type", + "serializationOptions": { + "$id": "1425", + "json": { + "$id": "1426", + "name": "type" + } + } + }, + { + "$id": "1427", + "kind": "property", + "name": "userAssignedIdentities", + "serializedName": "userAssignedIdentities", + "doc": "The identities assigned to this resource by the user.", + "type": { + "$id": "1428", + "kind": "dict", + "keyType": { + "$id": "1429", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1430", + "kind": "nullable", + "type": { + "$id": "1431", + "kind": "model", + "name": "UserAssignedIdentity", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "User assigned identity properties", + "decorators": [], + "properties": [ + { + "$id": "1432", + "kind": "property", + "name": "clientId", + "serializedName": "clientId", + "doc": "The client ID of the assigned identity.", + "type": { + "$id": "1433", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1434", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.clientId", + "serializationOptions": { + "$id": "1435", + "json": { + "$id": "1436", + "name": "clientId" + } + } + }, + { + "$id": "1437", + "kind": "property", + "name": "principalId", + "serializedName": "principalId", + "doc": "The principal ID of the assigned identity.", + "type": { + "$id": "1438", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1439", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.principalId", + "serializationOptions": { + "$id": "1440", + "json": { + "$id": "1441", + "name": "principalId" + } + } + } + ] + }, + "namespace": "Azure.ResourceManager.ComputeFleet" + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentities", + "serializationOptions": { + "$id": "1442", + "json": { + "$id": "1443", + "name": "userAssignedIdentities" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleet.identity", + "serializationOptions": { + "$id": "1444", + "json": { + "$id": "1445", + "name": "identity" + } + } + }, + { + "$id": "1446", + "kind": "property", + "name": "plan", + "serializedName": "plan", + "doc": "Details of the resource plan.", + "type": { + "$id": "1447", + "kind": "model", + "name": "Plan", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Plan", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Plan for the resource.", + "decorators": [], + "properties": [ + { + "$id": "1448", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "A user defined name of the 3rd Party Artifact that is being procured.", + "type": { + "$id": "1449", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Plan.name", + "serializationOptions": { + "$id": "1450", + "json": { + "$id": "1451", + "name": "name" + } + } + }, + { + "$id": "1452", + "kind": "property", + "name": "publisher", + "serializedName": "publisher", + "doc": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", + "type": { + "$id": "1453", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Plan.publisher", + "serializationOptions": { + "$id": "1454", + "json": { + "$id": "1455", + "name": "publisher" + } + } + }, + { + "$id": "1456", + "kind": "property", + "name": "product", + "serializedName": "product", + "doc": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.", + "type": { + "$id": "1457", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Plan.product", + "serializationOptions": { + "$id": "1458", + "json": { + "$id": "1459", + "name": "product" + } + } + }, + { + "$id": "1460", + "kind": "property", + "name": "promotionCode", + "serializedName": "promotionCode", + "doc": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", + "type": { + "$id": "1461", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Plan.promotionCode", + "serializationOptions": { + "$id": "1462", + "json": { + "$id": "1463", + "name": "promotionCode" + } + } + }, + { + "$id": "1464", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "The version of the desired product/artifact.", + "type": { + "$id": "1465", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Plan.version", + "serializationOptions": { + "$id": "1466", + "json": { + "$id": "1467", + "name": "version" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleet.plan", + "serializationOptions": { + "$id": "1468", + "json": { + "$id": "1469", + "name": "plan" + } + } + } + ] + }, + { + "$ref": "406" + }, + { + "$ref": "411" + }, + { + "$ref": "437" + }, + { + "$ref": "453" + }, + { + "$ref": "465" + }, + { + "$ref": "467" + }, + { + "$ref": "479" + }, + { + "$ref": "555" + }, + { + "$ref": "558" + }, + { + "$ref": "565" + }, + { + "$ref": "567" + }, + { + "$ref": "585" + }, + { + "$ref": "600" + }, + { + "$ref": "619" + }, + { + "$ref": "631" + }, + { + "$ref": "644" + }, + { + "$ref": "647" + }, + { + "$ref": "666" + }, + { + "$ref": "672" + }, + { + "$ref": "675" + }, + { + "$ref": "693" + }, + { + "$ref": "701" + }, + { + "$ref": "721" + }, + { + "$ref": "723" + }, + { + "$ref": "733" + }, + { + "$ref": "757" + }, + { + "$ref": "759" + }, + { + "$ref": "796" + }, + { + "$ref": "812" + }, + { + "$ref": "829" + }, + { + "$ref": "842" + }, + { + "$ref": "847" + }, + { + "$ref": "856" + }, + { + "$ref": "874" + }, + { + "$ref": "919" + }, + { + "$ref": "921" + }, + { + "$ref": "931" + }, + { + "$ref": "937" + }, + { + "$ref": "958" + }, + { + "$ref": "968" + }, + { + "$ref": "974" + }, + { + "$ref": "983" + }, + { + "$ref": "989" + }, + { + "$ref": "995" + }, + { + "$ref": "1007" + }, + { + "$ref": "1030" + }, + { + "$ref": "1087" + }, + { + "$ref": "1089" + }, + { + "$ref": "1108" + }, + { + "$ref": "1117" + }, + { + "$ref": "1134" + }, + { + "$ref": "1136" + }, + { + "$ref": "1150" + }, + { + "$ref": "1153" + }, + { + "$ref": "1168" + }, + { + "$ref": "1219" + }, + { + "$ref": "1244" + }, + { + "$ref": "1246" + }, + { + "$ref": "1258" + }, + { + "$ref": "1276" + }, + { + "$ref": "1283" + }, + { + "$ref": "1286" + }, + { + "$ref": "1317" + }, + { + "$ref": "1319" + }, + { + "$ref": "1333" + }, + { + "$ref": "1342" + }, + { + "$ref": "1370" + }, + { + "$ref": "1383" + }, + { + "$ref": "1413" + }, + { + "$ref": "1431" + }, + { + "$ref": "1447" + }, + { + "$ref": "351" + }, + { + "$ref": "352" + }, + { + "$ref": "368" + }, + { + "$id": "1470", + "kind": "model", + "name": "ErrorResponse", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse", + "usage": "Error,Json,Exception", + "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "decorators": [], + "properties": [ + { + "$id": "1471", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error object.", + "type": { + "$id": "1472", + "kind": "model", + "name": "ErrorDetail", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", + "usage": "Json,Exception,LroPolling", + "doc": "The error detail.", + "decorators": [], + "properties": [ + { + "$id": "1473", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "The error code.", + "type": { + "$id": "1474", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", + "serializationOptions": { + "$id": "1475", + "json": { + "$id": "1476", + "name": "code" + } + } + }, + { + "$id": "1477", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "The error message.", + "type": { + "$id": "1478", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", + "serializationOptions": { + "$id": "1479", + "json": { + "$id": "1480", + "name": "message" + } + } + }, + { + "$id": "1481", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The error target.", + "type": { + "$id": "1482", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", + "serializationOptions": { + "$id": "1483", + "json": { + "$id": "1484", + "name": "target" + } + } + }, + { + "$id": "1485", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "The error details.", + "type": { + "$id": "1486", + "kind": "array", + "name": "ArrayErrorDetail", + "valueType": { + "$ref": "1472" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", + "serializationOptions": { + "$id": "1487", + "json": { + "$id": "1488", + "name": "details" + } + } + }, + { + "$id": "1489", + "kind": "property", + "name": "additionalInfo", + "serializedName": "additionalInfo", + "doc": "The error additional info.", + "type": { + "$id": "1490", + "kind": "array", + "name": "ArrayErrorAdditionalInfo", + "valueType": { + "$id": "1491", + "kind": "model", + "name": "ErrorAdditionalInfo", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", + "usage": "Json,Exception,LroPolling", + "doc": "The resource management error additional info.", + "decorators": [], + "properties": [ + { + "$id": "1492", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The additional info type.", + "type": { + "$id": "1493", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", + "serializationOptions": { + "$id": "1494", + "json": { + "$id": "1495", + "name": "type" + } + } + }, + { + "$id": "1496", + "kind": "property", + "name": "info", + "serializedName": "info", + "doc": "The additional info.", + "type": { + "$id": "1497", + "kind": "model", + "name": "ErrorAdditionalInfoInfo", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info.anonymous", + "usage": "Json,Exception,LroPolling", + "decorators": [], + "properties": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", + "serializationOptions": { + "$id": "1498", + "json": { + "$id": "1499", + "name": "info" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", + "serializationOptions": { + "$id": "1500", + "json": { + "$id": "1501", + "name": "additionalInfo" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", + "serializationOptions": { + "$id": "1502", + "json": { + "$id": "1503", + "name": "error" + } + } + } + ] + }, + { + "$ref": "1472" + }, + { + "$ref": "1491" + }, + { + "$ref": "1497" + }, + { + "$id": "1504", + "kind": "model", + "name": "FleetUpdate", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetUpdate", + "usage": "Input,Json", + "doc": "Fleet Update Model", + "decorators": [], + "properties": [ + { + "$id": "1505", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "1506", + "kind": "dict", + "keyType": { + "$id": "1507", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "1508", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetUpdate.tags", + "serializationOptions": { + "$id": "1509", + "json": { + "$id": "1510", + "name": "tags" + } + } + }, + { + "$id": "1511", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "Updatable managed service identity", + "type": { + "$id": "1512", + "kind": "model", + "name": "ManagedServiceIdentityUpdate", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ManagedServiceIdentityUpdate", + "usage": "Input,Json", + "doc": "The template for adding optional properties.", + "decorators": [], + "properties": [ + { + "$id": "1513", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of managed identity assigned to this resource.", + "type": { + "$ref": "306" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ManagedServiceIdentityUpdate.type", + "serializationOptions": { + "$id": "1514", + "json": { + "$id": "1515", + "name": "type" + } + } + }, + { + "$id": "1516", + "kind": "property", + "name": "userAssignedIdentities", + "serializedName": "userAssignedIdentities", + "doc": "The identities assigned to this resource by the user.", + "type": { + "$id": "1517", + "kind": "dict", + "keyType": { + "$id": "1518", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$ref": "1430" + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ManagedServiceIdentityUpdate.userAssignedIdentities", + "serializationOptions": { + "$id": "1519", + "json": { + "$id": "1520", + "name": "userAssignedIdentities" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetUpdate.identity", + "serializationOptions": { + "$id": "1521", + "json": { + "$id": "1522", + "name": "identity" + } + } + }, + { + "$id": "1523", + "kind": "property", + "name": "plan", + "serializedName": "plan", + "doc": "Updatable resource plan", + "type": { + "$id": "1524", + "kind": "model", + "name": "ResourcePlanUpdate", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ResourcePlanUpdate", + "usage": "Input,Json", + "doc": "The template for adding optional properties.", + "decorators": [], + "properties": [ + { + "$id": "1525", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "A user defined name of the 3rd Party Artifact that is being procured.", + "type": { + "$id": "1526", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ResourcePlanUpdate.name", + "serializationOptions": { + "$id": "1527", + "json": { + "$id": "1528", + "name": "name" + } + } + }, + { + "$id": "1529", + "kind": "property", + "name": "publisher", + "serializedName": "publisher", + "doc": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic", + "type": { + "$id": "1530", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ResourcePlanUpdate.publisher", + "serializationOptions": { + "$id": "1531", + "json": { + "$id": "1532", + "name": "publisher" + } + } + }, + { + "$id": "1533", + "kind": "property", + "name": "product", + "serializedName": "product", + "doc": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.", + "type": { + "$id": "1534", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ResourcePlanUpdate.product", + "serializationOptions": { + "$id": "1535", + "json": { + "$id": "1536", + "name": "product" + } + } + }, + { + "$id": "1537", + "kind": "property", + "name": "promotionCode", + "serializedName": "promotionCode", + "doc": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact.", + "type": { + "$id": "1538", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ResourcePlanUpdate.promotionCode", + "serializationOptions": { + "$id": "1539", + "json": { + "$id": "1540", + "name": "promotionCode" + } + } + }, + { + "$id": "1541", + "kind": "property", + "name": "version", + "serializedName": "version", + "doc": "The version of the desired product/artifact.", + "type": { + "$id": "1542", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ResourcePlanUpdate.version", + "serializationOptions": { + "$id": "1543", + "json": { + "$id": "1544", + "name": "version" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetUpdate.plan", + "serializationOptions": { + "$id": "1545", + "json": { + "$id": "1546", + "name": "plan" + } + } + }, + { + "$id": "1547", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "RP-specific updatable properties", + "type": { + "$ref": "406" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.FleetUpdate.properties", + "serializationOptions": { + "$id": "1548", + "json": { + "$id": "1549", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "1512" + }, + { + "$ref": "1524" + }, + { + "$id": "1550", + "kind": "model", + "name": "ArmOperationStatusResourceProvisioningState", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus", + "usage": "LroPolling", + "doc": "Standard Azure Resource Manager operation status response", + "decorators": [], + "properties": [ + { + "$id": "1551", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The operation status", + "type": { + "$ref": "326" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", + "serializationOptions": { + "$id": "1552", + "json": { + "$id": "1553", + "name": "status" + } + } + }, + { + "$id": "1554", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operationStatus resource", + "type": { + "$id": "1555", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", + "serializationOptions": { + "$id": "1556", + "json": { + "$id": "1557", + "name": "name" + } + } + }, + { + "$id": "1558", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "Operation start time", + "type": { + "$id": "1559", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1560", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.startTime", + "serializationOptions": { + "$id": "1561", + "json": { + "$id": "1562", + "name": "startTime" + } + } + }, + { + "$id": "1563", + "kind": "property", + "name": "endTime", + "serializedName": "endTime", + "doc": "Operation complete time", + "type": { + "$id": "1564", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "1565", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.endTime", + "serializationOptions": { + "$id": "1566", + "json": { + "$id": "1567", + "name": "endTime" + } + } + }, + { + "$id": "1568", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "The progress made toward completing the operation", + "type": { + "$id": "1569", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", + "serializationOptions": { + "$id": "1570", + "json": { + "$id": "1571", + "name": "percentComplete" + } + } + }, + { + "$id": "1572", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Errors that occurred if the operation ended with Canceled or Failed status", + "type": { + "$ref": "1472" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", + "serializationOptions": { + "$id": "1573", + "json": { + "$id": "1574", + "name": "error" + } + } + } + ] + }, + { + "$id": "1575", + "kind": "model", + "name": "FleetListResult", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a Fleet list operation.", + "decorators": [], + "properties": [ + { + "$id": "1576", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Fleet items on this page", + "type": { + "$id": "1577", + "kind": "array", + "name": "ArrayFleet", + "valueType": { + "$ref": "350" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "1578", + "json": { + "$id": "1579", + "name": "value" + } + } + }, + { + "$id": "1580", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1581", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1582", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "1583", + "json": { + "$id": "1584", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "1585", + "kind": "model", + "name": "VirtualMachineScaleSetListResult", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetListResult", + "usage": "Output,Json", + "doc": "The response of a VirtualMachineScaleSet list operation.", + "decorators": [], + "properties": [ + { + "$id": "1586", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The VirtualMachineScaleSet items on this page", + "type": { + "$id": "1587", + "kind": "array", + "name": "ArrayVirtualMachineScaleSet", + "valueType": { + "$id": "1588", + "kind": "model", + "name": "ComputeFleetVmss", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSet", + "usage": "Output,Json", + "doc": "An AzureFleet's virtualMachineScaleSet", + "decorators": [], + "properties": [ + { + "$id": "1589", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "The compute RP resource id of the virtualMachineScaleSet \n\"subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}\"", + "type": { + "$id": "1590", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "1591", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSet.id", + "serializationOptions": { + "$id": "1592", + "json": { + "$id": "1593", + "name": "id" + } + } + }, + { + "$id": "1594", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "Type of the virtualMachineScaleSet", + "type": { + "$id": "1595", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSet.type", + "serializationOptions": { + "$id": "1596", + "json": { + "$id": "1597", + "name": "type" + } + } + }, + { + "$id": "1598", + "kind": "property", + "name": "operationStatus", + "serializedName": "operationStatus", + "doc": "This represents the operationStatus of the VMSS in response to the last operation that was performed on it by Azure Fleet resource.", + "type": { + "$ref": "2" + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSet.operationStatus", + "serializationOptions": { + "$id": "1599", + "json": { + "$id": "1600", + "name": "operationStatus" + } + } + }, + { + "$id": "1601", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Error Information when `operationStatus` is `Failed`", + "type": { + "$id": "1602", + "kind": "model", + "name": "ComputeFleetApiError", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiError", + "usage": "Output,Json", + "doc": "ApiError for Fleet", + "decorators": [], + "properties": [ + { + "$id": "1603", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "The error code.", + "type": { + "$id": "1604", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiError.code", + "serializationOptions": { + "$id": "1605", + "json": { + "$id": "1606", + "name": "code" + } + } + }, + { + "$id": "1607", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The target of the particular error.", + "type": { + "$id": "1608", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiError.target", + "serializationOptions": { + "$id": "1609", + "json": { + "$id": "1610", + "name": "target" + } + } + }, + { + "$id": "1611", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "The error message.", + "type": { + "$id": "1612", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiError.message", + "serializationOptions": { + "$id": "1613", + "json": { + "$id": "1614", + "name": "message" + } + } + }, + { + "$id": "1615", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "The API error details", + "type": { + "$id": "1616", + "kind": "array", + "name": "ArrayApiErrorBase", + "valueType": { + "$id": "1617", + "kind": "model", + "name": "ComputeFleetApiErrorInfo", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiErrorBase", + "usage": "Output,Json", + "doc": "API error base.", + "decorators": [], + "properties": [ + { + "$id": "1618", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "The error code.", + "type": { + "$id": "1619", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiErrorBase.code", + "serializationOptions": { + "$id": "1620", + "json": { + "$id": "1621", + "name": "code" + } + } + }, + { + "$id": "1622", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The target of the particular error.", + "type": { + "$id": "1623", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiErrorBase.target", + "serializationOptions": { + "$id": "1624", + "json": { + "$id": "1625", + "name": "target" + } + } + }, + { + "$id": "1626", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "The error message.", + "type": { + "$id": "1627", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiErrorBase.message", + "serializationOptions": { + "$id": "1628", + "json": { + "$id": "1629", + "name": "message" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiError.details", + "serializationOptions": { + "$id": "1630", + "json": { + "$id": "1631", + "name": "details" + } + } + }, + { + "$id": "1632", + "kind": "property", + "name": "innererror", + "serializedName": "innererror", + "doc": "The API inner error", + "type": { + "$id": "1633", + "kind": "model", + "name": "ComputeFleetInnerError", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Microsoft.AzureFleet.InnerError", + "usage": "Output,Json", + "doc": "Inner error details.", + "decorators": [], + "properties": [ + { + "$id": "1634", + "kind": "property", + "name": "exceptionType", + "serializedName": "exceptionType", + "doc": "The exception type.", + "type": { + "$id": "1635", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.InnerError.exceptionType", + "serializationOptions": { + "$id": "1636", + "json": { + "$id": "1637", + "name": "exceptionType" + } + } + }, + { + "$id": "1638", + "kind": "property", + "name": "errorDetail", + "serializedName": "errorDetail", + "doc": "The internal error message or exception dump.", + "type": { + "$id": "1639", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.InnerError.errorDetail", + "serializationOptions": { + "$id": "1640", + "json": { + "$id": "1641", + "name": "errorDetail" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.ApiError.innererror", + "serializationOptions": { + "$id": "1642", + "json": { + "$id": "1643", + "name": "innererror" + } + } + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSet.error", + "serializationOptions": { + "$id": "1644", + "json": { + "$id": "1645", + "name": "error" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetListResult.value", + "serializationOptions": { + "$id": "1646", + "json": { + "$id": "1647", + "name": "value" + } + } + }, + { + "$id": "1648", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1649", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.VirtualMachineScaleSetListResult.nextLink", + "serializationOptions": { + "$id": "1650", + "json": { + "$id": "1651", + "name": "nextLink" + } + } + } + ] + }, + { + "$ref": "1588" + }, + { + "$ref": "1602" + }, + { + "$ref": "1617" + }, + { + "$ref": "1633" + }, + { + "$id": "1652", + "kind": "model", + "name": "OperationListResult", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult", + "usage": "Output,Json", + "doc": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.", + "decorators": [], + "properties": [ + { + "$id": "1653", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Operation items on this page", + "type": { + "$id": "1654", + "kind": "array", + "name": "ArrayOperation", + "valueType": { + "$id": "1655", + "kind": "model", + "name": "Operation", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation", + "usage": "Output,Json", + "doc": "Details of a REST API operation, returned from the Resource Provider Operations API", + "decorators": [], + "properties": [ + { + "$id": "1656", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"", + "type": { + "$id": "1657", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.name", + "serializationOptions": { + "$id": "1658", + "json": { + "$id": "1659", + "name": "name" + } + } + }, + { + "$id": "1660", + "kind": "property", + "name": "isDataAction", + "serializedName": "isDataAction", + "doc": "Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations.", + "type": { + "$id": "1661", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.isDataAction", + "serializationOptions": { + "$id": "1662", + "json": { + "$id": "1663", + "name": "isDataAction" + } + } + }, + { + "$id": "1664", + "kind": "property", + "name": "display", + "serializedName": "display", + "doc": "Localized display information for this particular operation.", + "type": { + "$id": "1665", + "kind": "model", + "name": "OperationDisplay", + "namespace": "Azure.ResourceManager.ComputeFleet", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay", + "usage": "Output,Json", + "doc": "Localized display information for and operation.", + "decorators": [], + "properties": [ + { + "$id": "1666", + "kind": "property", + "name": "provider", + "serializedName": "provider", + "doc": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".", + "type": { + "$id": "1667", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.provider", + "serializationOptions": { + "$id": "1668", + "json": { + "$id": "1669", + "name": "provider" + } + } + }, + { + "$id": "1670", + "kind": "property", + "name": "resource", + "serializedName": "resource", + "doc": "The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".", + "type": { + "$id": "1671", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.resource", + "serializationOptions": { + "$id": "1672", + "json": { + "$id": "1673", + "name": "resource" + } + } + }, + { + "$id": "1674", + "kind": "property", + "name": "operation", + "serializedName": "operation", + "doc": "The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".", + "type": { + "$id": "1675", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.operation", + "serializationOptions": { + "$id": "1676", + "json": { + "$id": "1677", + "name": "operation" + } + } + }, + { + "$id": "1678", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", + "type": { + "$id": "1679", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.description", + "serializationOptions": { + "$id": "1680", + "json": { + "$id": "1681", + "name": "description" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", + "serializationOptions": { + "$id": "1682", + "json": { + "$id": "1683", + "name": "display" + } + } + }, + { + "$id": "1684", + "kind": "property", + "name": "origin", + "serializedName": "origin", + "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"", + "type": { + "$ref": "334" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin", + "serializationOptions": { + "$id": "1685", + "json": { + "$id": "1686", + "name": "origin" + } + } + }, + { + "$id": "1687", + "kind": "property", + "name": "actionType", + "serializedName": "actionType", + "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.", + "type": { + "$ref": "342" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType", + "serializationOptions": { + "$id": "1688", + "json": { + "$id": "1689", + "name": "actionType" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", + "serializationOptions": { + "$id": "1690", + "json": { + "$id": "1691", + "name": "value" + } + } + }, + { + "$id": "1692", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "1693", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "1694", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.nextLink", + "serializationOptions": { + "$id": "1695", + "json": { + "$id": "1696", + "name": "nextLink" + } + } + } + ] + }, + { + "$ref": "1655" + }, + { + "$ref": "1665" + } + ], + "clients": [ + { + "$id": "1697", + "name": "AzureFleetClient", + "namespace": "Azure.ResourceManager.ComputeFleet", + "operations": [], + "parameters": [ + { + "$id": "1698", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "1699", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "1700", + "type": { + "$id": "1701", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet" + }, + { + "$id": "1702", + "name": "Operations", + "namespace": "Azure.ResourceManager.ComputeFleet", + "operations": [ + { + "$id": "1703", + "name": "list", + "resourceName": "Operations", + "doc": "List the operations for the provider", + "accessibility": "internal", + "parameters": [ + { + "$id": "1704", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1705", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1706", + "type": { + "$id": "1707", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1708", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1709", + "kind": "constant", + "valueType": { + "$id": "1710", + "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": "1711", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1652" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/providers/Microsoft.AzureFleet/operations", + "bufferResponse": true, + "paging": { + "$id": "1712", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "1713", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "decorators": [], + "examples": [ + { + "$id": "1714", + "kind": "http", + "name": "Operations_List", + "description": "Operations_List", + "filePath": "2024-11-01/Operations_List.json", + "parameters": [ + { + "$id": "1715", + "parameter": { + "$ref": "1704" + }, + "value": { + "$id": "1716", + "kind": "string", + "type": { + "$ref": "1705" + }, + "value": "2024-11-01" + } + } + ], + "responses": [ + { + "$id": "1717", + "response": { + "$ref": "1711" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1718", + "kind": "model", + "type": { + "$ref": "1652" + }, + "value": { + "$id": "1719", + "value": { + "$id": "1720", + "kind": "array", + "type": { + "$ref": "1654" + }, + "value": [ + { + "$id": "1721", + "kind": "model", + "type": { + "$ref": "1655" + }, + "value": { + "$id": "1722", + "origin": { + "$id": "1723", + "kind": "string", + "type": { + "$ref": "334" + }, + "value": "user,system" + }, + "name": { + "$id": "1724", + "kind": "string", + "type": { + "$ref": "1657" + }, + "value": "Microsoft.AzureFleet/fleets/read" + }, + "isDataAction": { + "$id": "1725", + "kind": "boolean", + "type": { + "$ref": "1661" + }, + "value": false + }, + "display": { + "$id": "1726", + "kind": "model", + "type": { + "$ref": "1665" + }, + "value": { + "$id": "1727", + "provider": { + "$id": "1728", + "kind": "string", + "type": { + "$ref": "1667" + }, + "value": "Microsoft Azure Fleet" + }, + "resource": { + "$id": "1729", + "kind": "string", + "type": { + "$ref": "1671" + }, + "value": "Fleets" + }, + "operation": { + "$id": "1730", + "kind": "string", + "type": { + "$ref": "1675" + }, + "value": "Get Azure Fleet" + }, + "description": { + "$id": "1731", + "kind": "string", + "type": { + "$ref": "1679" + }, + "value": "Get properties of Azure Fleet resource" + } + } + } + } + }, + { + "$id": "1732", + "kind": "model", + "type": { + "$ref": "1655" + }, + "value": { + "$id": "1733", + "origin": { + "$id": "1734", + "kind": "string", + "type": { + "$ref": "334" + }, + "value": "user,system" + }, + "name": { + "$id": "1735", + "kind": "string", + "type": { + "$ref": "1657" + }, + "value": "Microsoft.AzureFleet/fleets/write" + }, + "isDataAction": { + "$id": "1736", + "kind": "boolean", + "type": { + "$ref": "1661" + }, + "value": false + }, + "display": { + "$id": "1737", + "kind": "model", + "type": { + "$ref": "1665" + }, + "value": { + "$id": "1738", + "provider": { + "$id": "1739", + "kind": "string", + "type": { + "$ref": "1667" + }, + "value": "Microsoft Azure Fleet" + }, + "resource": { + "$id": "1740", + "kind": "string", + "type": { + "$ref": "1671" + }, + "value": "Fleets" + }, + "operation": { + "$id": "1741", + "kind": "string", + "type": { + "$ref": "1675" + }, + "value": "Create or Update Azure Fleet" + }, + "description": { + "$id": "1742", + "kind": "string", + "type": { + "$ref": "1679" + }, + "value": "Creates a new Azure Fleet resource or updates an existing one" + } + } + } + } + }, + { + "$id": "1743", + "kind": "model", + "type": { + "$ref": "1655" + }, + "value": { + "$id": "1744", + "origin": { + "$id": "1745", + "kind": "string", + "type": { + "$ref": "334" + }, + "value": "user,system" + }, + "name": { + "$id": "1746", + "kind": "string", + "type": { + "$ref": "1657" + }, + "value": "Microsoft.AzureFleet/fleets/delete" + }, + "isDataAction": { + "$id": "1747", + "kind": "boolean", + "type": { + "$ref": "1661" + }, + "value": false + }, + "display": { + "$id": "1748", + "kind": "model", + "type": { + "$ref": "1665" + }, + "value": { + "$id": "1749", + "provider": { + "$id": "1750", + "kind": "string", + "type": { + "$ref": "1667" + }, + "value": "Microsoft Azure Fleet" + }, + "resource": { + "$id": "1751", + "kind": "string", + "type": { + "$ref": "1671" + }, + "value": "Fleets" + }, + "operation": { + "$id": "1752", + "kind": "string", + "type": { + "$ref": "1675" + }, + "value": "Delete Virtual Machine and Virtual Machine scale sets in a Azure Fleet resource" + }, + "description": { + "$id": "1753", + "kind": "string", + "type": { + "$ref": "1679" + }, + "value": "Deletes all compute resources of Azure Fleet resource" + } + } + } + } + }, + { + "$id": "1754", + "kind": "model", + "type": { + "$ref": "1655" + }, + "value": { + "$id": "1755", + "origin": { + "$id": "1756", + "kind": "string", + "type": { + "$ref": "334" + }, + "value": "user,system" + }, + "name": { + "$id": "1757", + "kind": "string", + "type": { + "$ref": "1657" + }, + "value": "Microsoft.AzureFleet/register/action" + }, + "isDataAction": { + "$id": "1758", + "kind": "boolean", + "type": { + "$ref": "1661" + }, + "value": false + }, + "display": { + "$id": "1759", + "kind": "model", + "type": { + "$ref": "1665" + }, + "value": { + "$id": "1760", + "provider": { + "$id": "1761", + "kind": "string", + "type": { + "$ref": "1667" + }, + "value": "Microsoft Azure Fleet" + }, + "resource": { + "$id": "1762", + "kind": "string", + "type": { + "$ref": "1671" + }, + "value": "Subscription" + }, + "operation": { + "$id": "1763", + "kind": "string", + "type": { + "$ref": "1675" + }, + "value": "Register subscription for Microsoft.AzureFleet" + }, + "description": { + "$id": "1764", + "kind": "string", + "type": { + "$ref": "1679" + }, + "value": "Registers Subscription with Microsoft.AzureFleet resource provider" + } + } + } + } + }, + { + "$id": "1765", + "kind": "model", + "type": { + "$ref": "1655" + }, + "value": { + "$id": "1766", + "origin": { + "$id": "1767", + "kind": "string", + "type": { + "$ref": "334" + }, + "value": "user,system" + }, + "name": { + "$id": "1768", + "kind": "string", + "type": { + "$ref": "1657" + }, + "value": "Microsoft.AzureFleet/unregister/action" + }, + "isDataAction": { + "$id": "1769", + "kind": "boolean", + "type": { + "$ref": "1661" + }, + "value": false + }, + "display": { + "$id": "1770", + "kind": "model", + "type": { + "$ref": "1665" + }, + "value": { + "$id": "1771", + "provider": { + "$id": "1772", + "kind": "string", + "type": { + "$ref": "1667" + }, + "value": "Microsoft Azure Fleet" + }, + "resource": { + "$id": "1773", + "kind": "string", + "type": { + "$ref": "1671" + }, + "value": "Subscription" + }, + "operation": { + "$id": "1774", + "kind": "string", + "type": { + "$ref": "1675" + }, + "value": "Unregister Subscription for Microsoft.AzureFleet" + }, + "description": { + "$id": "1775", + "kind": "string", + "type": { + "$ref": "1679" + }, + "value": "Unregisters Subscription with Microsoft.AzureFleet resource provider" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + } + ], + "parent": "AzureFleetClient", + "parameters": [ + { + "$id": "1776", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "1777", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "1778", + "type": { + "$id": "1779", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Operations" + }, + { + "$id": "1780", + "name": "Fleets", + "namespace": "Azure.ResourceManager.ComputeFleet", + "operations": [ + { + "$id": "1781", + "name": "get", + "resourceName": "Fleet", + "doc": "Get a Fleet", + "accessibility": "public", + "parameters": [ + { + "$id": "1782", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1783", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1784", + "type": { + "$id": "1785", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1786", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1787", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "1788", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1789", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1790", + "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": "1791", + "name": "fleetName", + "nameInRequest": "fleetName", + "doc": "The name of the Compute Fleet", + "type": { + "$id": "1792", + "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": "1793", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1794", + "kind": "constant", + "valueType": { + "$id": "1795", + "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": "1796", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "350" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleets.get", + "decorators": [], + "examples": [ + { + "$id": "1797", + "kind": "http", + "name": "Fleets_Get", + "description": "Fleets_Get", + "filePath": "2024-11-01/Fleets_Get.json", + "parameters": [ + { + "$id": "1798", + "parameter": { + "$ref": "1782" + }, + "value": { + "$id": "1799", + "kind": "string", + "type": { + "$ref": "1783" + }, + "value": "2024-11-01" + } + }, + { + "$id": "1800", + "parameter": { + "$ref": "1786" + }, + "value": { + "$id": "1801", + "kind": "string", + "type": { + "$ref": "1787" + }, + "value": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB" + } + }, + { + "$id": "1802", + "parameter": { + "$ref": "1789" + }, + "value": { + "$id": "1803", + "kind": "string", + "type": { + "$ref": "1790" + }, + "value": "rgazurefleet" + } + }, + { + "$id": "1804", + "parameter": { + "$ref": "1791" + }, + "value": { + "$id": "1805", + "kind": "string", + "type": { + "$ref": "1792" + }, + "value": "testFleet" + } + } + ], + "responses": [ + { + "$id": "1806", + "response": { + "$ref": "1796" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1807", + "kind": "model", + "type": { + "$ref": "350" + }, + "value": { + "$id": "1808", + "properties": { + "$id": "1809", + "kind": "model", + "type": { + "$ref": "406" + }, + "value": { + "$id": "1810", + "provisioningState": { + "$id": "1811", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Creating" + }, + "spotPriorityProfile": { + "$id": "1812", + "kind": "model", + "type": { + "$ref": "411" + }, + "value": { + "$id": "1813", + "capacity": { + "$id": "1814", + "kind": "number", + "type": { + "$ref": "413" + }, + "value": 20 + }, + "minCapacity": { + "$id": "1815", + "kind": "number", + "type": { + "$ref": "417" + }, + "value": 10 + }, + "maxPricePerVM": { + "$id": "1816", + "kind": "number", + "type": { + "$ref": "421" + }, + "value": 0.00865 + }, + "evictionPolicy": { + "$id": "1817", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Delete" + }, + "allocationStrategy": { + "$id": "1818", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "PriceCapacityOptimized" + }, + "maintain": { + "$id": "1819", + "kind": "boolean", + "type": { + "$ref": "431" + }, + "value": true + } + } + }, + "regularPriorityProfile": { + "$id": "1820", + "kind": "model", + "type": { + "$ref": "437" + }, + "value": { + "$id": "1821", + "capacity": { + "$id": "1822", + "kind": "number", + "type": { + "$ref": "439" + }, + "value": 20 + }, + "minCapacity": { + "$id": "1823", + "kind": "number", + "type": { + "$ref": "443" + }, + "value": 10 + }, + "allocationStrategy": { + "$id": "1824", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "LowestPrice" + } + } + }, + "vmSizesProfile": { + "$id": "1825", + "kind": "array", + "type": { + "$ref": "452" + }, + "value": [ + { + "$id": "1826", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "1827", + "name": { + "$id": "1828", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_d1_v2" + }, + "rank": { + "$id": "1829", + "kind": "number", + "type": { + "$ref": "459" + }, + "value": 19225 + } + } + } + ] + }, + "computeProfile": { + "$id": "1830", + "kind": "model", + "type": { + "$ref": "1370" + }, + "value": { + "$id": "1831", + "baseVirtualMachineProfile": { + "$id": "1832", + "kind": "model", + "type": { + "$ref": "565" + }, + "value": { + "$id": "1833", + "osProfile": { + "$id": "1834", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "$id": "1835", + "computerNamePrefix": { + "$id": "1836", + "kind": "string", + "type": { + "$ref": "569" + }, + "value": "o" + }, + "adminUsername": { + "$id": "1837", + "kind": "string", + "type": { + "$ref": "573" + }, + "value": "nrgzqciiaaxjrqldbmjbqkyhntp" + }, + "windowsConfiguration": { + "$id": "1838", + "kind": "model", + "type": { + "$ref": "585" + }, + "value": { + "$id": "1839", + "provisionVMAgent": { + "$id": "1840", + "kind": "boolean", + "type": { + "$ref": "587" + }, + "value": true + }, + "enableAutomaticUpdates": { + "$id": "1841", + "kind": "boolean", + "type": { + "$ref": "591" + }, + "value": true + }, + "timeZone": { + "$id": "1842", + "kind": "string", + "type": { + "$ref": "595" + }, + "value": "hlyjiqcfksgrpjrct" + }, + "additionalUnattendContent": { + "$id": "1843", + "kind": "array", + "type": { + "$ref": "599" + }, + "value": [ + { + "$id": "1844", + "kind": "model", + "type": { + "$ref": "600" + }, + "value": { + "$id": "1845", + "passName": { + "$id": "1846", + "kind": "string", + "type": { + "$ref": "602" + }, + "value": "OobeSystem" + }, + "componentName": { + "$id": "1847", + "kind": "string", + "type": { + "$ref": "606" + }, + "value": "Microsoft-Windows-Shell-Setup" + }, + "settingName": { + "$id": "1848", + "kind": "string", + "type": { + "$ref": "104" + }, + "value": "AutoLogon" + } + } + } + ] + }, + "patchSettings": { + "$id": "1849", + "kind": "model", + "type": { + "$ref": "619" + }, + "value": { + "$id": "1850", + "patchMode": { + "$id": "1851", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "Manual" + }, + "enableHotpatching": { + "$id": "1852", + "kind": "boolean", + "type": { + "$ref": "624" + }, + "value": true + }, + "assessmentMode": { + "$id": "1853", + "kind": "string", + "type": { + "$ref": "118" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "1854", + "kind": "model", + "type": { + "$ref": "631" + }, + "value": { + "$id": "1855", + "rebootSetting": { + "$id": "1856", + "kind": "string", + "type": { + "$ref": "124" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "1857", + "kind": "boolean", + "type": { + "$ref": "636" + }, + "value": true + } + } + } + } + }, + "winRM": { + "$id": "1858", + "kind": "model", + "type": { + "$ref": "644" + }, + "value": { + "$id": "1859", + "listeners": { + "$id": "1860", + "kind": "array", + "type": { + "$ref": "646" + }, + "value": [ + { + "$id": "1861", + "kind": "model", + "type": { + "$ref": "647" + }, + "value": { + "$id": "1862", + "protocol": { + "$id": "1863", + "kind": "string", + "type": { + "$ref": "134" + }, + "value": "Http" + }, + "certificateUrl": { + "$id": "1864", + "kind": "string", + "type": { + "$ref": "652" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + } + } + } + ] + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "1865", + "kind": "boolean", + "type": { + "$ref": "660" + }, + "value": true + } + } + }, + "linuxConfiguration": { + "$id": "1866", + "kind": "model", + "type": { + "$ref": "666" + }, + "value": { + "$id": "1867", + "disablePasswordAuthentication": { + "$id": "1868", + "kind": "boolean", + "type": { + "$ref": "668" + }, + "value": true + }, + "ssh": { + "$id": "1869", + "kind": "model", + "type": { + "$ref": "672" + }, + "value": { + "$id": "1870", + "publicKeys": { + "$id": "1871", + "kind": "array", + "type": { + "$ref": "674" + }, + "value": [ + { + "$id": "1872", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "$id": "1873", + "path": { + "$id": "1874", + "kind": "string", + "type": { + "$ref": "677" + }, + "value": "kmqz" + }, + "keyData": { + "$id": "1875", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "kivgsubusvpprwqaqpjcmhsv" + } + } + } + ] + } + } + }, + "provisionVMAgent": { + "$id": "1876", + "kind": "boolean", + "type": { + "$ref": "689" + }, + "value": true + }, + "patchSettings": { + "$id": "1877", + "kind": "model", + "type": { + "$ref": "693" + }, + "value": { + "$id": "1878", + "patchMode": { + "$id": "1879", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "ImageDefault" + }, + "assessmentMode": { + "$id": "1880", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "1881", + "kind": "model", + "type": { + "$ref": "701" + }, + "value": { + "$id": "1882", + "rebootSetting": { + "$id": "1883", + "kind": "string", + "type": { + "$ref": "152" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "1884", + "kind": "boolean", + "type": { + "$ref": "706" + }, + "value": true + } + } + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "1885", + "kind": "boolean", + "type": { + "$ref": "714" + }, + "value": true + } + } + }, + "secrets": { + "$id": "1886", + "kind": "array", + "type": { + "$ref": "720" + }, + "value": [ + { + "$id": "1887", + "kind": "model", + "type": { + "$ref": "721" + }, + "value": { + "$id": "1888", + "sourceVault": { + "$id": "1889", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "1890", + "id": { + "$id": "1891", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + }, + "vaultCertificates": { + "$id": "1892", + "kind": "array", + "type": { + "$ref": "732" + }, + "value": [ + { + "$id": "1893", + "kind": "model", + "type": { + "$ref": "733" + }, + "value": { + "$id": "1894", + "certificateUrl": { + "$id": "1895", + "kind": "string", + "type": { + "$ref": "735" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + }, + "certificateStore": { + "$id": "1896", + "kind": "string", + "type": { + "$ref": "739" + }, + "value": "nlxrwavpzhueffxsshlun" + } + } + } + ] + } + } + } + ] + }, + "allowExtensionOperations": { + "$id": "1897", + "kind": "boolean", + "type": { + "$ref": "747" + }, + "value": true + }, + "requireGuestProvisionSignal": { + "$id": "1898", + "kind": "boolean", + "type": { + "$ref": "751" + }, + "value": true + } + } + }, + "storageProfile": { + "$id": "1899", + "kind": "model", + "type": { + "$ref": "757" + }, + "value": { + "$id": "1900", + "imageReference": { + "$id": "1901", + "kind": "model", + "type": { + "$ref": "759" + }, + "value": { + "$id": "1902", + "publisher": { + "$id": "1903", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "mqxgwbiyjzmxavhbkd" + }, + "offer": { + "$id": "1904", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "isxgumkarlkomp" + }, + "sku": { + "$id": "1905", + "kind": "string", + "type": { + "$ref": "774" + }, + "value": "eojmppqcrnpmxirtp" + }, + "version": { + "$id": "1906", + "kind": "string", + "type": { + "$ref": "778" + }, + "value": "wvpcqefgtmqdgltiuz" + }, + "exactVersion": { + "$id": "1907", + "kind": "string", + "type": { + "$ref": "782" + }, + "value": "zjbntmiskjexlr" + }, + "sharedGalleryImageId": { + "$id": "1908", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "kmkgihoxwlawuuhcinfirktdwkmx" + }, + "communityGalleryImageId": { + "$id": "1909", + "kind": "string", + "type": { + "$ref": "790" + }, + "value": "vlqe" + }, + "id": { + "$id": "1910", + "kind": "string", + "type": { + "$ref": "761" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" + } + } + }, + "osDisk": { + "$id": "1911", + "kind": "model", + "type": { + "$ref": "796" + }, + "value": { + "$id": "1912", + "name": { + "$id": "1913", + "kind": "string", + "type": { + "$ref": "798" + }, + "value": "wfttw" + }, + "caching": { + "$id": "1914", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "1915", + "kind": "boolean", + "type": { + "$ref": "805" + }, + "value": true + }, + "createOption": { + "$id": "1916", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diffDiskSettings": { + "$id": "1917", + "kind": "model", + "type": { + "$ref": "812" + }, + "value": { + "$id": "1918", + "option": { + "$id": "1919", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Local" + }, + "placement": { + "$id": "1920", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "CacheDisk" + } + } + }, + "diskSizeGB": { + "$id": "1921", + "kind": "number", + "type": { + "$ref": "822" + }, + "value": 14 + }, + "osType": { + "$id": "1922", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Windows" + }, + "image": { + "$id": "1923", + "kind": "model", + "type": { + "$ref": "829" + }, + "value": { + "$id": "1924", + "uri": { + "$id": "1925", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "https://myStorageAccountName.blob.core.windows.net/myContainerName/myVhdName.vhd" + } + } + }, + "vhdContainers": { + "$id": "1926", + "kind": "array", + "type": { + "$ref": "837" + }, + "value": [ + { + "$id": "1927", + "kind": "string", + "type": { + "$ref": "838" + }, + "value": "tkzcwddtinkfpnfklatw" + } + ] + }, + "managedDisk": { + "$id": "1928", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "1929", + "storageAccountType": { + "$id": "1930", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "1931", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "1932", + "id": { + "$id": "1933", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "1934", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "1935", + "securityEncryptionType": { + "$id": "1936", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "1937", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "1938", + "id": { + "$id": "1939", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "deleteOption": { + "$id": "1940", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + }, + "dataDisks": { + "$id": "1941", + "kind": "array", + "type": { + "$ref": "873" + }, + "value": [ + { + "$id": "1942", + "kind": "model", + "type": { + "$ref": "874" + }, + "value": { + "$id": "1943", + "name": { + "$id": "1944", + "kind": "string", + "type": { + "$ref": "876" + }, + "value": "eogiykmdmeikswxmigjws" + }, + "lun": { + "$id": "1945", + "kind": "number", + "type": { + "$ref": "880" + }, + "value": 14 + }, + "caching": { + "$id": "1946", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "1947", + "kind": "boolean", + "type": { + "$ref": "887" + }, + "value": true + }, + "createOption": { + "$id": "1948", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diskSizeGB": { + "$id": "1949", + "kind": "number", + "type": { + "$ref": "894" + }, + "value": 6 + }, + "managedDisk": { + "$id": "1950", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "1951", + "storageAccountType": { + "$id": "1952", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "1953", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "1954", + "id": { + "$id": "1955", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "1956", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "1957", + "securityEncryptionType": { + "$id": "1958", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "1959", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "1960", + "id": { + "$id": "1961", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "diskIOPSReadWrite": { + "$id": "1962", + "kind": "number", + "type": { + "$ref": "901" + }, + "value": 27 + }, + "diskMBpsReadWrite": { + "$id": "1963", + "kind": "number", + "type": { + "$ref": "905" + }, + "value": 2 + }, + "deleteOption": { + "$id": "1964", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + } + ] + }, + "diskControllerType": { + "$id": "1965", + "kind": "string", + "type": { + "$ref": "230" + }, + "value": "uzb" + } + } + }, + "networkProfile": { + "$id": "1966", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "1967", + "healthProbe": { + "$id": "1968", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "1969", + "id": { + "$id": "1970", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" + } + } + }, + "networkInterfaceConfigurations": { + "$id": "1971", + "kind": "array", + "type": { + "$ref": "930" + }, + "value": [ + { + "$id": "1972", + "kind": "model", + "type": { + "$ref": "931" + }, + "value": { + "$id": "1973", + "name": { + "$id": "1974", + "kind": "string", + "type": { + "$ref": "933" + }, + "value": "i" + }, + "properties": { + "$id": "1975", + "kind": "model", + "type": { + "$ref": "937" + }, + "value": { + "$id": "1976", + "primary": { + "$id": "1977", + "kind": "boolean", + "type": { + "$ref": "939" + }, + "value": true + }, + "enableAcceleratedNetworking": { + "$id": "1978", + "kind": "boolean", + "type": { + "$ref": "943" + }, + "value": true + }, + "disableTcpStateTracking": { + "$id": "1979", + "kind": "boolean", + "type": { + "$ref": "947" + }, + "value": true + }, + "enableFpga": { + "$id": "1980", + "kind": "boolean", + "type": { + "$ref": "951" + }, + "value": true + }, + "networkSecurityGroup": { + "$id": "1981", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "1982", + "id": { + "$id": "1983", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" + } + } + }, + "dnsSettings": { + "$id": "1984", + "kind": "model", + "type": { + "$ref": "958" + }, + "value": { + "$id": "1985", + "dnsServers": { + "$id": "1986", + "kind": "array", + "type": { + "$ref": "960" + }, + "value": [ + { + "$id": "1987", + "kind": "string", + "type": { + "$ref": "961" + }, + "value": "nxmmfolhclsesu" + } + ] + } + } + }, + "ipConfigurations": { + "$id": "1988", + "kind": "array", + "type": { + "$ref": "967" + }, + "value": [ + { + "$id": "1989", + "kind": "model", + "type": { + "$ref": "968" + }, + "value": { + "$id": "1990", + "name": { + "$id": "1991", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "oezqhkidfhyywlfzwuotilrpbqnjg" + }, + "properties": { + "$id": "1992", + "kind": "model", + "type": { + "$ref": "974" + }, + "value": { + "$id": "1993", + "subnet": { + "$id": "1994", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "1995", + "id": { + "$id": "1996", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + } + }, + "primary": { + "$id": "1997", + "kind": "boolean", + "type": { + "$ref": "979" + }, + "value": true + }, + "publicIPAddressConfiguration": { + "$id": "1998", + "kind": "model", + "type": { + "$ref": "983" + }, + "value": { + "$id": "1999", + "name": { + "$id": "2000", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "fvpqf" + }, + "properties": { + "$id": "2001", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "$id": "2002", + "idleTimeoutInMinutes": { + "$id": "2003", + "kind": "number", + "type": { + "$ref": "991" + }, + "value": 9 + }, + "dnsSettings": { + "$id": "2004", + "kind": "model", + "type": { + "$ref": "995" + }, + "value": { + "$id": "2005", + "domainNameLabel": { + "$id": "2006", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "ukrddzvmorpmfsczjwtbvp" + }, + "domainNameLabelScope": { + "$id": "2007", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "TenantReuse" + } + } + }, + "ipTags": { + "$id": "2008", + "kind": "array", + "type": { + "$ref": "1006" + }, + "value": [ + { + "$id": "2009", + "kind": "model", + "type": { + "$ref": "1007" + }, + "value": { + "$id": "2010", + "ipTagType": { + "$id": "2011", + "kind": "string", + "type": { + "$ref": "1009" + }, + "value": "sddgsoemnzgqizale" + }, + "tag": { + "$id": "2012", + "kind": "string", + "type": { + "$ref": "1013" + }, + "value": "wufmhrjsakbiaetyara" + } + } + } + ] + }, + "publicIPPrefix": { + "$id": "2013", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2014", + "id": { + "$id": "2015", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" + } + } + }, + "publicIPAddressVersion": { + "$id": "2016", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "deleteOption": { + "$id": "2017", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + } + } + }, + "sku": { + "$id": "2018", + "kind": "model", + "type": { + "$ref": "1030" + }, + "value": { + "$id": "2019", + "name": { + "$id": "2020", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "Basic" + }, + "tier": { + "$id": "2021", + "kind": "string", + "type": { + "$ref": "264" + }, + "value": "Regional" + } + } + } + } + }, + "privateIPAddressVersion": { + "$id": "2022", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "applicationGatewayBackendAddressPools": { + "$id": "2023", + "kind": "array", + "type": { + "$ref": "1045" + }, + "value": [ + { + "$id": "2024", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2025", + "id": { + "$id": "2026", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "applicationSecurityGroups": { + "$id": "2027", + "kind": "array", + "type": { + "$ref": "1049" + }, + "value": [ + { + "$id": "2028", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2029", + "id": { + "$id": "2030", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" + } + } + } + ] + }, + "loadBalancerBackendAddressPools": { + "$id": "2031", + "kind": "array", + "type": { + "$ref": "1053" + }, + "value": [ + { + "$id": "2032", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2033", + "id": { + "$id": "2034", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "loadBalancerInboundNatPools": { + "$id": "2035", + "kind": "array", + "type": { + "$ref": "1057" + }, + "value": [ + { + "$id": "2036", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2037", + "id": { + "$id": "2038", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" + } + } + } + ] + } + } + } + } + } + ] + }, + "enableIPForwarding": { + "$id": "2039", + "kind": "boolean", + "type": { + "$ref": "1065" + }, + "value": true + }, + "deleteOption": { + "$id": "2040", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + }, + "auxiliaryMode": { + "$id": "2041", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "None" + }, + "auxiliarySku": { + "$id": "2042", + "kind": "string", + "type": { + "$ref": "278" + }, + "value": "None" + } + } + } + } + } + ] + }, + "networkApiVersion": { + "$id": "2043", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "2020-11-01" + } + } + }, + "securityProfile": { + "$id": "2044", + "kind": "model", + "type": { + "$ref": "1087" + }, + "value": { + "$id": "2045", + "uefiSettings": { + "$id": "2046", + "kind": "model", + "type": { + "$ref": "1089" + }, + "value": { + "$id": "2047", + "secureBootEnabled": { + "$id": "2048", + "kind": "boolean", + "type": { + "$ref": "1091" + }, + "value": true + }, + "vTpmEnabled": { + "$id": "2049", + "kind": "boolean", + "type": { + "$ref": "1095" + }, + "value": true + } + } + }, + "encryptionAtHost": { + "$id": "2050", + "kind": "boolean", + "type": { + "$ref": "1101" + }, + "value": true + }, + "securityType": { + "$id": "2051", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "TrustedLaunch" + }, + "encryptionIdentity": { + "$id": "2052", + "kind": "model", + "type": { + "$ref": "1108" + }, + "value": { + "$id": "2053", + "userAssignedIdentityResourceId": { + "$id": "2054", + "kind": "string", + "type": { + "$ref": "1110" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" + } + } + }, + "proxyAgentSettings": { + "$id": "2055", + "kind": "model", + "type": { + "$ref": "1117" + }, + "value": { + "$id": "2056", + "enabled": { + "$id": "2057", + "kind": "boolean", + "type": { + "$ref": "1119" + }, + "value": true + }, + "mode": { + "$id": "2058", + "kind": "string", + "type": { + "$ref": "300" + }, + "value": "Audit" + }, + "keyIncarnationId": { + "$id": "2059", + "kind": "number", + "type": { + "$ref": "1126" + }, + "value": 20 + } + } + } + } + }, + "diagnosticsProfile": { + "$id": "2060", + "kind": "model", + "type": { + "$ref": "1134" + }, + "value": { + "$id": "2061", + "bootDiagnostics": { + "$id": "2062", + "kind": "model", + "type": { + "$ref": "1136" + }, + "value": { + "$id": "2063", + "enabled": { + "$id": "2064", + "kind": "boolean", + "type": { + "$ref": "1138" + }, + "value": true + }, + "storageUri": { + "$id": "2065", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "http://myStorageAccountName.blob.core.windows.net" + } + } + } + } + }, + "extensionProfile": { + "$id": "2066", + "kind": "model", + "type": { + "$ref": "1150" + }, + "value": { + "$id": "2067", + "extensions": { + "$id": "2068", + "kind": "array", + "type": { + "$ref": "1152" + }, + "value": [ + { + "$id": "2069", + "kind": "model", + "type": { + "$ref": "1153" + }, + "value": { + "$id": "2070", + "name": { + "$id": "2071", + "kind": "string", + "type": { + "$ref": "1160" + }, + "value": "bndxuxx" + }, + "type": { + "$id": "2072", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "cmeam" + }, + "properties": { + "$id": "2073", + "kind": "model", + "type": { + "$ref": "1168" + }, + "value": { + "$id": "2074", + "forceUpdateTag": { + "$id": "2075", + "kind": "string", + "type": { + "$ref": "1170" + }, + "value": "yhgxw" + }, + "publisher": { + "$id": "2076", + "kind": "string", + "type": { + "$ref": "1174" + }, + "value": "kpxtirxjfprhs" + }, + "type": { + "$id": "2077", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "pgjilctjjwaa" + }, + "typeHandlerVersion": { + "$id": "2078", + "kind": "string", + "type": { + "$ref": "1182" + }, + "value": "zevivcoilxmbwlrihhhibq" + }, + "autoUpgradeMinorVersion": { + "$id": "2079", + "kind": "boolean", + "type": { + "$ref": "1186" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "2080", + "kind": "boolean", + "type": { + "$ref": "1190" + }, + "value": true + }, + "settings": { + "$id": "2081", + "kind": "dict", + "type": { + "$ref": "1194" + }, + "value": { + "$id": "2082" + } + }, + "provisioningState": { + "$id": "2083", + "kind": "string", + "type": { + "$ref": "1206" + }, + "value": "Succeeded" + }, + "provisionAfterExtensions": { + "$id": "2084", + "kind": "array", + "type": { + "$ref": "1210" + }, + "value": [ + { + "$id": "2085", + "kind": "string", + "type": { + "$ref": "1211" + }, + "value": "nftzosroolbcwmpupujzqwqe" + } + ] + }, + "suppressFailures": { + "$id": "2086", + "kind": "boolean", + "type": { + "$ref": "1215" + }, + "value": true + }, + "protectedSettingsFromKeyVault": { + "$id": "2087", + "kind": "model", + "type": { + "$ref": "1219" + }, + "value": { + "$id": "2088", + "secretUrl": { + "$id": "2089", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "https://myVaultName.vault.azure.net/secrets/secret/mySecretName" + }, + "sourceVault": { + "$id": "2090", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2091", + "id": { + "$id": "2092", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + } + } + } + } + }, + "id": { + "$id": "2093", + "kind": "string", + "type": { + "$ref": "1155" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" + } + } + } + ] + }, + "extensionsTimeBudget": { + "$id": "2094", + "kind": "string", + "type": { + "$ref": "1234" + }, + "value": "mbhjahtdygwgyszdwjtvlvtgchdwil" + } + } + }, + "licenseType": { + "$id": "2095", + "kind": "string", + "type": { + "$ref": "1240" + }, + "value": "v" + }, + "scheduledEventsProfile": { + "$id": "2096", + "kind": "model", + "type": { + "$ref": "1244" + }, + "value": { + "$id": "2097", + "terminateNotificationProfile": { + "$id": "2098", + "kind": "model", + "type": { + "$ref": "1246" + }, + "value": { + "$id": "2099", + "notBeforeTimeout": { + "$id": "2100", + "kind": "string", + "type": { + "$ref": "1248" + }, + "value": "iljppmmw" + }, + "enable": { + "$id": "2101", + "kind": "boolean", + "type": { + "$ref": "1252" + }, + "value": true + } + } + }, + "osImageNotificationProfile": { + "$id": "2102", + "kind": "model", + "type": { + "$ref": "1258" + }, + "value": { + "$id": "2103", + "notBeforeTimeout": { + "$id": "2104", + "kind": "string", + "type": { + "$ref": "1260" + }, + "value": "olbpadmevekyczfokodtfprxti" + }, + "enable": { + "$id": "2105", + "kind": "boolean", + "type": { + "$ref": "1264" + }, + "value": true + } + } + } + } + }, + "userData": { + "$id": "2106", + "kind": "string", + "type": { + "$ref": "1272" + }, + "value": "s" + }, + "capacityReservation": { + "$id": "2107", + "kind": "model", + "type": { + "$ref": "1276" + }, + "value": { + "$id": "2108", + "capacityReservationGroup": { + "$id": "2109", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2110", + "id": { + "$id": "2111", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" + } + } + } + } + }, + "applicationProfile": { + "$id": "2112", + "kind": "model", + "type": { + "$ref": "1283" + }, + "value": { + "$id": "2113", + "galleryApplications": { + "$id": "2114", + "kind": "array", + "type": { + "$ref": "1285" + }, + "value": [ + { + "$id": "2115", + "kind": "model", + "type": { + "$ref": "1286" + }, + "value": { + "$id": "2116", + "tags": { + "$id": "2117", + "kind": "string", + "type": { + "$ref": "1288" + }, + "value": "eyrqjbib" + }, + "order": { + "$id": "2118", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 5 + }, + "packageReferenceId": { + "$id": "2119", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}" + }, + "treatFailureAsDeploymentFailure": { + "$id": "2120", + "kind": "boolean", + "type": { + "$ref": "1305" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "2121", + "kind": "boolean", + "type": { + "$ref": "1309" + }, + "value": true + } + } + } + ] + } + } + }, + "hardwareProfile": { + "$id": "2122", + "kind": "model", + "type": { + "$ref": "1317" + }, + "value": { + "$id": "2123", + "vmSizeProperties": { + "$id": "2124", + "kind": "model", + "type": { + "$ref": "1319" + }, + "value": { + "$id": "2125", + "vCPUsAvailable": { + "$id": "2126", + "kind": "number", + "type": { + "$ref": "1321" + }, + "value": 16 + }, + "vCPUsPerCore": { + "$id": "2127", + "kind": "number", + "type": { + "$ref": "1325" + }, + "value": 23 + } + } + } + } + }, + "serviceArtifactReference": { + "$id": "2128", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "$id": "2129", + "id": { + "$id": "2130", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" + } + } + }, + "securityPostureReference": { + "$id": "2131", + "kind": "model", + "type": { + "$ref": "1342" + }, + "value": { + "$id": "2132", + "id": { + "$id": "2133", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "mubredelfbshboaxrsxiajihahaa" + }, + "excludeExtensions": { + "$id": "2134", + "kind": "array", + "type": { + "$ref": "1348" + }, + "value": [ + { + "$id": "2135", + "kind": "string", + "type": { + "$ref": "1349" + }, + "value": "{securityPostureVMExtensionName}" + } + ] + }, + "isOverridable": { + "$id": "2136", + "kind": "boolean", + "type": { + "$ref": "1353" + }, + "value": true + } + } + }, + "timeCreated": { + "$id": "2137", + "kind": "string", + "type": { + "$ref": "1359" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + }, + "computeApiVersion": { + "$id": "2138", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2023-07-01" + }, + "platformFaultDomainCount": { + "$id": "2139", + "kind": "number", + "type": { + "$ref": "1379" + }, + "value": 1 + } + } + }, + "timeCreated": { + "$id": "2140", + "kind": "string", + "type": { + "$ref": "1397" + }, + "value": "2024-07-10T00:16:34.8590555+00:00" + }, + "uniqueId": { + "$id": "2141", + "kind": "string", + "type": { + "$ref": "1402" + }, + "value": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + } + } + }, + "zones": { + "$id": "2142", + "kind": "array", + "type": { + "$ref": "1408" + }, + "value": [ + { + "$id": "2143", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone1" + }, + { + "$id": "2144", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone2" + } + ] + }, + "identity": { + "$id": "2145", + "kind": "model", + "type": { + "$ref": "1413" + }, + "value": { + "$id": "2146", + "principalId": { + "$id": "2147", + "kind": "string", + "type": { + "$ref": "1415" + }, + "value": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "tenantId": { + "$id": "2148", + "kind": "string", + "type": { + "$ref": "1420" + }, + "value": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "type": { + "$id": "2149", + "kind": "string", + "type": { + "$ref": "306" + }, + "value": "UserAssigned" + }, + "userAssignedIdentities": { + "$id": "2150", + "kind": "dict", + "type": { + "$ref": "1428" + }, + "value": { + "$id": "2151", + "key9851": { + "$id": "2152", + "kind": "model", + "type": { + "$ref": "1431" + }, + "value": { + "$id": "2153", + "principalId": { + "$id": "2154", + "kind": "string", + "type": { + "$ref": "1438" + }, + "value": "6d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "clientId": { + "$id": "2155", + "kind": "string", + "type": { + "$ref": "1433" + }, + "value": "7d508e5b-374b-4382-9a1c-01fb8b6cb37c" + } + } + } + } + } + } + }, + "tags": { + "$id": "2156", + "kind": "dict", + "type": { + "$ref": "396" + }, + "value": { + "$id": "2157", + "key3518": { + "$id": "2158", + "kind": "string", + "type": { + "$ref": "398" + }, + "value": "luvrnuvsgdpbuofdskkcoqhfh" + } + } + }, + "plan": { + "$id": "2159", + "kind": "model", + "type": { + "$ref": "1447" + }, + "value": { + "$id": "2160", + "name": { + "$id": "2161", + "kind": "string", + "type": { + "$ref": "1449" + }, + "value": "jwgrcrnrtfoxn" + }, + "publisher": { + "$id": "2162", + "kind": "string", + "type": { + "$ref": "1453" + }, + "value": "iozjbiqqckqm" + }, + "product": { + "$id": "2163", + "kind": "string", + "type": { + "$ref": "1457" + }, + "value": "cgopbyvdyqikahwyxfpzwaqk" + }, + "promotionCode": { + "$id": "2164", + "kind": "string", + "type": { + "$ref": "1461" + }, + "value": "naglezezplcaruqogtxnuizslqnnbr" + }, + "version": { + "$id": "2165", + "kind": "string", + "type": { + "$ref": "1465" + }, + "value": "wa" + } + } + }, + "location": { + "$id": "2166", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "westus" + }, + "id": { + "$id": "2167", + "kind": "string", + "type": { + "$ref": "354" + }, + "value": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet" + }, + "name": { + "$id": "2168", + "kind": "string", + "type": { + "$ref": "359" + }, + "value": "testFleet" + }, + "type": { + "$id": "2169", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "Microsoft.AzureFleet/fleets" + }, + "systemData": { + "$id": "2170", + "kind": "model", + "type": { + "$ref": "368" + }, + "value": { + "$id": "2171", + "createdBy": { + "$id": "2172", + "kind": "string", + "type": { + "$ref": "370" + }, + "value": "rowegentrpoajsv" + }, + "createdByType": { + "$id": "2173", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "createdAt": { + "$id": "2174", + "kind": "string", + "type": { + "$ref": "377" + }, + "value": "2024-04-29T21:51:44.043Z" + }, + "lastModifiedBy": { + "$id": "2175", + "kind": "string", + "type": { + "$ref": "382" + }, + "value": "edwuayhhaoepxzisfaqjhmrxjq" + }, + "lastModifiedByType": { + "$id": "2176", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2177", + "kind": "string", + "type": { + "$ref": "389" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "2178", + "name": "createOrUpdate", + "resourceName": "Fleet", + "doc": "Create a Fleet", + "accessibility": "public", + "parameters": [ + { + "$id": "2179", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "2180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "2181", + "type": { + "$id": "2182", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2183", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "2184", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "2185", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2186", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "2187", + "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": "2188", + "name": "fleetName", + "nameInRequest": "fleetName", + "doc": "The name of the Compute Fleet", + "type": { + "$id": "2189", + "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": "2190", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "2191", + "kind": "constant", + "valueType": { + "$id": "2192", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "2193", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "2194", + "kind": "constant", + "valueType": { + "$id": "2195", + "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 + }, + { + "$id": "2196", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "350" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "2197", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "350" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "2198", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "350" + }, + "headers": [ + { + "$id": "2199", + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "2200", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "2201", + "finalStateVia": 0, + "finalResponse": { + "$id": "2202", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "350" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleets.createOrUpdate", + "decorators": [ + { + "$id": "2203", + "name": "Azure.Core.@useFinalStateVia", + "arguments": { + "$id": "2204", + "finalState": "azure-async-operation" + } + } + ], + "examples": [ + { + "$id": "2205", + "kind": "http", + "name": "Fleets_CreateOrUpdate", + "description": "Fleets_CreateOrUpdate", + "filePath": "2024-11-01/Fleets_CreateOrUpdate.json", + "parameters": [ + { + "$id": "2206", + "parameter": { + "$ref": "2179" + }, + "value": { + "$id": "2207", + "kind": "string", + "type": { + "$ref": "2180" + }, + "value": "2024-11-01" + } + }, + { + "$id": "2208", + "parameter": { + "$ref": "2183" + }, + "value": { + "$id": "2209", + "kind": "string", + "type": { + "$ref": "2184" + }, + "value": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB" + } + }, + { + "$id": "2210", + "parameter": { + "$ref": "2186" + }, + "value": { + "$id": "2211", + "kind": "string", + "type": { + "$ref": "2187" + }, + "value": "rgazurefleet" + } + }, + { + "$id": "2212", + "parameter": { + "$ref": "2188" + }, + "value": { + "$id": "2213", + "kind": "string", + "type": { + "$ref": "2189" + }, + "value": "testFleet" + } + }, + { + "$id": "2214", + "parameter": { + "$ref": "2196" + }, + "value": { + "$id": "2215", + "kind": "model", + "type": { + "$ref": "350" + }, + "value": { + "$id": "2216", + "properties": { + "$id": "2217", + "kind": "model", + "type": { + "$ref": "406" + }, + "value": { + "$id": "2218", + "spotPriorityProfile": { + "$id": "2219", + "kind": "model", + "type": { + "$ref": "411" + }, + "value": { + "$id": "2220", + "capacity": { + "$id": "2221", + "kind": "number", + "type": { + "$ref": "413" + }, + "value": 20 + }, + "minCapacity": { + "$id": "2222", + "kind": "number", + "type": { + "$ref": "417" + }, + "value": 10 + }, + "maxPricePerVM": { + "$id": "2223", + "kind": "number", + "type": { + "$ref": "421" + }, + "value": 0.00865 + }, + "evictionPolicy": { + "$id": "2224", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Delete" + }, + "allocationStrategy": { + "$id": "2225", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "PriceCapacityOptimized" + }, + "maintain": { + "$id": "2226", + "kind": "boolean", + "type": { + "$ref": "431" + }, + "value": true + } + } + }, + "regularPriorityProfile": { + "$id": "2227", + "kind": "model", + "type": { + "$ref": "437" + }, + "value": { + "$id": "2228", + "capacity": { + "$id": "2229", + "kind": "number", + "type": { + "$ref": "439" + }, + "value": 20 + }, + "minCapacity": { + "$id": "2230", + "kind": "number", + "type": { + "$ref": "443" + }, + "value": 10 + }, + "allocationStrategy": { + "$id": "2231", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "LowestPrice" + } + } + }, + "vmSizesProfile": { + "$id": "2232", + "kind": "array", + "type": { + "$ref": "452" + }, + "value": [ + { + "$id": "2233", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "2234", + "name": { + "$id": "2235", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_d1_v2" + }, + "rank": { + "$id": "2236", + "kind": "number", + "type": { + "$ref": "459" + }, + "value": 19225 + } + } + } + ] + }, + "computeProfile": { + "$id": "2237", + "kind": "model", + "type": { + "$ref": "1370" + }, + "value": { + "$id": "2238", + "baseVirtualMachineProfile": { + "$id": "2239", + "kind": "model", + "type": { + "$ref": "565" + }, + "value": { + "$id": "2240", + "osProfile": { + "$id": "2241", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "$id": "2242", + "computerNamePrefix": { + "$id": "2243", + "kind": "string", + "type": { + "$ref": "569" + }, + "value": "o" + }, + "adminUsername": { + "$id": "2244", + "kind": "string", + "type": { + "$ref": "573" + }, + "value": "nrgzqciiaaxjrqldbmjbqkyhntp" + }, + "adminPassword": { + "$id": "2245", + "kind": "string", + "type": { + "$ref": "577" + }, + "value": "adfbrdxpv" + }, + "customData": { + "$id": "2246", + "kind": "string", + "type": { + "$ref": "581" + }, + "value": "xjjib" + }, + "windowsConfiguration": { + "$id": "2247", + "kind": "model", + "type": { + "$ref": "585" + }, + "value": { + "$id": "2248", + "provisionVMAgent": { + "$id": "2249", + "kind": "boolean", + "type": { + "$ref": "587" + }, + "value": true + }, + "enableAutomaticUpdates": { + "$id": "2250", + "kind": "boolean", + "type": { + "$ref": "591" + }, + "value": true + }, + "timeZone": { + "$id": "2251", + "kind": "string", + "type": { + "$ref": "595" + }, + "value": "hlyjiqcfksgrpjrct" + }, + "additionalUnattendContent": { + "$id": "2252", + "kind": "array", + "type": { + "$ref": "599" + }, + "value": [ + { + "$id": "2253", + "kind": "model", + "type": { + "$ref": "600" + }, + "value": { + "$id": "2254", + "passName": { + "$id": "2255", + "kind": "string", + "type": { + "$ref": "602" + }, + "value": "OobeSystem" + }, + "componentName": { + "$id": "2256", + "kind": "string", + "type": { + "$ref": "606" + }, + "value": "Microsoft-Windows-Shell-Setup" + }, + "settingName": { + "$id": "2257", + "kind": "string", + "type": { + "$ref": "104" + }, + "value": "AutoLogon" + }, + "content": { + "$id": "2258", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "bubmqbxjkj" + } + } + } + ] + }, + "patchSettings": { + "$id": "2259", + "kind": "model", + "type": { + "$ref": "619" + }, + "value": { + "$id": "2260", + "patchMode": { + "$id": "2261", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "Manual" + }, + "enableHotpatching": { + "$id": "2262", + "kind": "boolean", + "type": { + "$ref": "624" + }, + "value": true + }, + "assessmentMode": { + "$id": "2263", + "kind": "string", + "type": { + "$ref": "118" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "2264", + "kind": "model", + "type": { + "$ref": "631" + }, + "value": { + "$id": "2265", + "rebootSetting": { + "$id": "2266", + "kind": "string", + "type": { + "$ref": "124" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "2267", + "kind": "boolean", + "type": { + "$ref": "636" + }, + "value": true + } + } + } + } + }, + "winRM": { + "$id": "2268", + "kind": "model", + "type": { + "$ref": "644" + }, + "value": { + "$id": "2269", + "listeners": { + "$id": "2270", + "kind": "array", + "type": { + "$ref": "646" + }, + "value": [ + { + "$id": "2271", + "kind": "model", + "type": { + "$ref": "647" + }, + "value": { + "$id": "2272", + "protocol": { + "$id": "2273", + "kind": "string", + "type": { + "$ref": "134" + }, + "value": "Https" + }, + "certificateUrl": { + "$id": "2274", + "kind": "string", + "type": { + "$ref": "652" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + } + } + } + ] + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "2275", + "kind": "boolean", + "type": { + "$ref": "660" + }, + "value": true + } + } + }, + "linuxConfiguration": { + "$id": "2276", + "kind": "model", + "type": { + "$ref": "666" + }, + "value": { + "$id": "2277", + "disablePasswordAuthentication": { + "$id": "2278", + "kind": "boolean", + "type": { + "$ref": "668" + }, + "value": true + }, + "ssh": { + "$id": "2279", + "kind": "model", + "type": { + "$ref": "672" + }, + "value": { + "$id": "2280", + "publicKeys": { + "$id": "2281", + "kind": "array", + "type": { + "$ref": "674" + }, + "value": [ + { + "$id": "2282", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "$id": "2283", + "path": { + "$id": "2284", + "kind": "string", + "type": { + "$ref": "677" + }, + "value": "kmqz" + }, + "keyData": { + "$id": "2285", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "kivgsubusvpprwqaqpjcmhsv" + } + } + } + ] + } + } + }, + "provisionVMAgent": { + "$id": "2286", + "kind": "boolean", + "type": { + "$ref": "689" + }, + "value": true + }, + "patchSettings": { + "$id": "2287", + "kind": "model", + "type": { + "$ref": "693" + }, + "value": { + "$id": "2288", + "patchMode": { + "$id": "2289", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "ImageDefault" + }, + "assessmentMode": { + "$id": "2290", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "2291", + "kind": "model", + "type": { + "$ref": "701" + }, + "value": { + "$id": "2292", + "rebootSetting": { + "$id": "2293", + "kind": "string", + "type": { + "$ref": "152" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "2294", + "kind": "boolean", + "type": { + "$ref": "706" + }, + "value": true + } + } + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "2295", + "kind": "boolean", + "type": { + "$ref": "714" + }, + "value": true + } + } + }, + "secrets": { + "$id": "2296", + "kind": "array", + "type": { + "$ref": "720" + }, + "value": [ + { + "$id": "2297", + "kind": "model", + "type": { + "$ref": "721" + }, + "value": { + "$id": "2298", + "sourceVault": { + "$id": "2299", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2300", + "id": { + "$id": "2301", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + }, + "vaultCertificates": { + "$id": "2302", + "kind": "array", + "type": { + "$ref": "732" + }, + "value": [ + { + "$id": "2303", + "kind": "model", + "type": { + "$ref": "733" + }, + "value": { + "$id": "2304", + "certificateUrl": { + "$id": "2305", + "kind": "string", + "type": { + "$ref": "735" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + }, + "certificateStore": { + "$id": "2306", + "kind": "string", + "type": { + "$ref": "739" + }, + "value": "nlxrwavpzhueffxsshlun" + } + } + } + ] + } + } + } + ] + }, + "allowExtensionOperations": { + "$id": "2307", + "kind": "boolean", + "type": { + "$ref": "747" + }, + "value": true + }, + "requireGuestProvisionSignal": { + "$id": "2308", + "kind": "boolean", + "type": { + "$ref": "751" + }, + "value": true + } + } + }, + "storageProfile": { + "$id": "2309", + "kind": "model", + "type": { + "$ref": "757" + }, + "value": { + "$id": "2310", + "imageReference": { + "$id": "2311", + "kind": "model", + "type": { + "$ref": "759" + }, + "value": { + "$id": "2312", + "publisher": { + "$id": "2313", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "mqxgwbiyjzmxavhbkd" + }, + "offer": { + "$id": "2314", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "isxgumkarlkomp" + }, + "sku": { + "$id": "2315", + "kind": "string", + "type": { + "$ref": "774" + }, + "value": "eojmppqcrnpmxirtp" + }, + "version": { + "$id": "2316", + "kind": "string", + "type": { + "$ref": "778" + }, + "value": "wvpcqefgtmqdgltiuz" + }, + "sharedGalleryImageId": { + "$id": "2317", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "kmkgihoxwlawuuhcinfirktdwkmx" + }, + "communityGalleryImageId": { + "$id": "2318", + "kind": "string", + "type": { + "$ref": "790" + }, + "value": "vlqe" + }, + "id": { + "$id": "2319", + "kind": "string", + "type": { + "$ref": "761" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" + } + } + }, + "osDisk": { + "$id": "2320", + "kind": "model", + "type": { + "$ref": "796" + }, + "value": { + "$id": "2321", + "name": { + "$id": "2322", + "kind": "string", + "type": { + "$ref": "798" + }, + "value": "wfttw" + }, + "caching": { + "$id": "2323", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "2324", + "kind": "boolean", + "type": { + "$ref": "805" + }, + "value": true + }, + "createOption": { + "$id": "2325", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diffDiskSettings": { + "$id": "2326", + "kind": "model", + "type": { + "$ref": "812" + }, + "value": { + "$id": "2327", + "option": { + "$id": "2328", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Local" + }, + "placement": { + "$id": "2329", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "CacheDisk" + } + } + }, + "diskSizeGB": { + "$id": "2330", + "kind": "number", + "type": { + "$ref": "822" + }, + "value": 14 + }, + "osType": { + "$id": "2331", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Windows" + }, + "image": { + "$id": "2332", + "kind": "model", + "type": { + "$ref": "829" + }, + "value": { + "$id": "2333", + "uri": { + "$id": "2334", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "https://myStorageAccountName.blob.core.windows.net/myContainerName/myVhdName.vhd" + } + } + }, + "vhdContainers": { + "$id": "2335", + "kind": "array", + "type": { + "$ref": "837" + }, + "value": [ + { + "$id": "2336", + "kind": "string", + "type": { + "$ref": "838" + }, + "value": "tkzcwddtinkfpnfklatw" + } + ] + }, + "managedDisk": { + "$id": "2337", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "2338", + "storageAccountType": { + "$id": "2339", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "2340", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "2341", + "id": { + "$id": "2342", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "2343", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "2344", + "securityEncryptionType": { + "$id": "2345", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "2346", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "2347", + "id": { + "$id": "2348", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "deleteOption": { + "$id": "2349", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + }, + "dataDisks": { + "$id": "2350", + "kind": "array", + "type": { + "$ref": "873" + }, + "value": [ + { + "$id": "2351", + "kind": "model", + "type": { + "$ref": "874" + }, + "value": { + "$id": "2352", + "name": { + "$id": "2353", + "kind": "string", + "type": { + "$ref": "876" + }, + "value": "eogiykmdmeikswxmigjws" + }, + "lun": { + "$id": "2354", + "kind": "number", + "type": { + "$ref": "880" + }, + "value": 14 + }, + "caching": { + "$id": "2355", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "2356", + "kind": "boolean", + "type": { + "$ref": "887" + }, + "value": true + }, + "createOption": { + "$id": "2357", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diskSizeGB": { + "$id": "2358", + "kind": "number", + "type": { + "$ref": "894" + }, + "value": 6 + }, + "managedDisk": { + "$id": "2359", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "2360", + "storageAccountType": { + "$id": "2361", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "2362", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "2363", + "id": { + "$id": "2364", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "2365", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "2366", + "securityEncryptionType": { + "$id": "2367", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "2368", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "2369", + "id": { + "$id": "2370", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "diskIOPSReadWrite": { + "$id": "2371", + "kind": "number", + "type": { + "$ref": "901" + }, + "value": 27 + }, + "diskMBpsReadWrite": { + "$id": "2372", + "kind": "number", + "type": { + "$ref": "905" + }, + "value": 2 + }, + "deleteOption": { + "$id": "2373", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + } + ] + }, + "diskControllerType": { + "$id": "2374", + "kind": "string", + "type": { + "$ref": "230" + }, + "value": "uzb" + } + } + }, + "networkProfile": { + "$id": "2375", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "2376", + "healthProbe": { + "$id": "2377", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "2378", + "id": { + "$id": "2379", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" + } + } + }, + "networkInterfaceConfigurations": { + "$id": "2380", + "kind": "array", + "type": { + "$ref": "930" + }, + "value": [ + { + "$id": "2381", + "kind": "model", + "type": { + "$ref": "931" + }, + "value": { + "$id": "2382", + "name": { + "$id": "2383", + "kind": "string", + "type": { + "$ref": "933" + }, + "value": "i" + }, + "properties": { + "$id": "2384", + "kind": "model", + "type": { + "$ref": "937" + }, + "value": { + "$id": "2385", + "primary": { + "$id": "2386", + "kind": "boolean", + "type": { + "$ref": "939" + }, + "value": true + }, + "enableAcceleratedNetworking": { + "$id": "2387", + "kind": "boolean", + "type": { + "$ref": "943" + }, + "value": true + }, + "disableTcpStateTracking": { + "$id": "2388", + "kind": "boolean", + "type": { + "$ref": "947" + }, + "value": true + }, + "enableFpga": { + "$id": "2389", + "kind": "boolean", + "type": { + "$ref": "951" + }, + "value": true + }, + "networkSecurityGroup": { + "$id": "2390", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2391", + "id": { + "$id": "2392", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" + } + } + }, + "dnsSettings": { + "$id": "2393", + "kind": "model", + "type": { + "$ref": "958" + }, + "value": { + "$id": "2394", + "dnsServers": { + "$id": "2395", + "kind": "array", + "type": { + "$ref": "960" + }, + "value": [ + { + "$id": "2396", + "kind": "string", + "type": { + "$ref": "961" + }, + "value": "nxmmfolhclsesu" + } + ] + } + } + }, + "ipConfigurations": { + "$id": "2397", + "kind": "array", + "type": { + "$ref": "967" + }, + "value": [ + { + "$id": "2398", + "kind": "model", + "type": { + "$ref": "968" + }, + "value": { + "$id": "2399", + "name": { + "$id": "2400", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "oezqhkidfhyywlfzwuotilrpbqnjg" + }, + "properties": { + "$id": "2401", + "kind": "model", + "type": { + "$ref": "974" + }, + "value": { + "$id": "2402", + "subnet": { + "$id": "2403", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "2404", + "id": { + "$id": "2405", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + } + }, + "primary": { + "$id": "2406", + "kind": "boolean", + "type": { + "$ref": "979" + }, + "value": true + }, + "publicIPAddressConfiguration": { + "$id": "2407", + "kind": "model", + "type": { + "$ref": "983" + }, + "value": { + "$id": "2408", + "name": { + "$id": "2409", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "fvpqf" + }, + "properties": { + "$id": "2410", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "$id": "2411", + "idleTimeoutInMinutes": { + "$id": "2412", + "kind": "number", + "type": { + "$ref": "991" + }, + "value": 9 + }, + "dnsSettings": { + "$id": "2413", + "kind": "model", + "type": { + "$ref": "995" + }, + "value": { + "$id": "2414", + "domainNameLabel": { + "$id": "2415", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "ukrddzvmorpmfsczjwtbvp" + }, + "domainNameLabelScope": { + "$id": "2416", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "TenantReuse" + } + } + }, + "ipTags": { + "$id": "2417", + "kind": "array", + "type": { + "$ref": "1006" + }, + "value": [ + { + "$id": "2418", + "kind": "model", + "type": { + "$ref": "1007" + }, + "value": { + "$id": "2419", + "ipTagType": { + "$id": "2420", + "kind": "string", + "type": { + "$ref": "1009" + }, + "value": "sddgsoemnzgqizale" + }, + "tag": { + "$id": "2421", + "kind": "string", + "type": { + "$ref": "1013" + }, + "value": "wufmhrjsakbiaetyara" + } + } + } + ] + }, + "publicIPPrefix": { + "$id": "2422", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2423", + "id": { + "$id": "2424", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" + } + } + }, + "publicIPAddressVersion": { + "$id": "2425", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "deleteOption": { + "$id": "2426", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + } + } + }, + "sku": { + "$id": "2427", + "kind": "model", + "type": { + "$ref": "1030" + }, + "value": { + "$id": "2428", + "name": { + "$id": "2429", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "Basic" + }, + "tier": { + "$id": "2430", + "kind": "string", + "type": { + "$ref": "264" + }, + "value": "Regional" + } + } + } + } + }, + "privateIPAddressVersion": { + "$id": "2431", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "applicationGatewayBackendAddressPools": { + "$id": "2432", + "kind": "array", + "type": { + "$ref": "1045" + }, + "value": [ + { + "$id": "2433", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2434", + "id": { + "$id": "2435", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "applicationSecurityGroups": { + "$id": "2436", + "kind": "array", + "type": { + "$ref": "1049" + }, + "value": [ + { + "$id": "2437", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2438", + "id": { + "$id": "2439", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" + } + } + } + ] + }, + "loadBalancerBackendAddressPools": { + "$id": "2440", + "kind": "array", + "type": { + "$ref": "1053" + }, + "value": [ + { + "$id": "2441", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2442", + "id": { + "$id": "2443", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "loadBalancerInboundNatPools": { + "$id": "2444", + "kind": "array", + "type": { + "$ref": "1057" + }, + "value": [ + { + "$id": "2445", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2446", + "id": { + "$id": "2447", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" + } + } + } + ] + } + } + } + } + } + ] + }, + "enableIPForwarding": { + "$id": "2448", + "kind": "boolean", + "type": { + "$ref": "1065" + }, + "value": true + }, + "deleteOption": { + "$id": "2449", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + }, + "auxiliaryMode": { + "$id": "2450", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "None" + }, + "auxiliarySku": { + "$id": "2451", + "kind": "string", + "type": { + "$ref": "278" + }, + "value": "None" + } + } + } + } + } + ] + }, + "networkApiVersion": { + "$id": "2452", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "2020-11-01" + } + } + }, + "securityProfile": { + "$id": "2453", + "kind": "model", + "type": { + "$ref": "1087" + }, + "value": { + "$id": "2454", + "uefiSettings": { + "$id": "2455", + "kind": "model", + "type": { + "$ref": "1089" + }, + "value": { + "$id": "2456", + "secureBootEnabled": { + "$id": "2457", + "kind": "boolean", + "type": { + "$ref": "1091" + }, + "value": true + }, + "vTpmEnabled": { + "$id": "2458", + "kind": "boolean", + "type": { + "$ref": "1095" + }, + "value": true + } + } + }, + "encryptionAtHost": { + "$id": "2459", + "kind": "boolean", + "type": { + "$ref": "1101" + }, + "value": true + }, + "securityType": { + "$id": "2460", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "TrustedLaunch" + }, + "encryptionIdentity": { + "$id": "2461", + "kind": "model", + "type": { + "$ref": "1108" + }, + "value": { + "$id": "2462", + "userAssignedIdentityResourceId": { + "$id": "2463", + "kind": "string", + "type": { + "$ref": "1110" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" + } + } + }, + "proxyAgentSettings": { + "$id": "2464", + "kind": "model", + "type": { + "$ref": "1117" + }, + "value": { + "$id": "2465", + "enabled": { + "$id": "2466", + "kind": "boolean", + "type": { + "$ref": "1119" + }, + "value": true + }, + "mode": { + "$id": "2467", + "kind": "string", + "type": { + "$ref": "300" + }, + "value": "Audit" + }, + "keyIncarnationId": { + "$id": "2468", + "kind": "number", + "type": { + "$ref": "1126" + }, + "value": 20 + } + } + } + } + }, + "diagnosticsProfile": { + "$id": "2469", + "kind": "model", + "type": { + "$ref": "1134" + }, + "value": { + "$id": "2470", + "bootDiagnostics": { + "$id": "2471", + "kind": "model", + "type": { + "$ref": "1136" + }, + "value": { + "$id": "2472", + "enabled": { + "$id": "2473", + "kind": "boolean", + "type": { + "$ref": "1138" + }, + "value": true + }, + "storageUri": { + "$id": "2474", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "http://myStorageAccountName.blob.core.windows.net" + } + } + } + } + }, + "extensionProfile": { + "$id": "2475", + "kind": "model", + "type": { + "$ref": "1150" + }, + "value": { + "$id": "2476", + "extensions": { + "$id": "2477", + "kind": "array", + "type": { + "$ref": "1152" + }, + "value": [ + { + "$id": "2478", + "kind": "model", + "type": { + "$ref": "1153" + }, + "value": { + "$id": "2479", + "name": { + "$id": "2480", + "kind": "string", + "type": { + "$ref": "1160" + }, + "value": "bndxuxx" + }, + "properties": { + "$id": "2481", + "kind": "model", + "type": { + "$ref": "1168" + }, + "value": { + "$id": "2482", + "forceUpdateTag": { + "$id": "2483", + "kind": "string", + "type": { + "$ref": "1170" + }, + "value": "yhgxw" + }, + "publisher": { + "$id": "2484", + "kind": "string", + "type": { + "$ref": "1174" + }, + "value": "kpxtirxjfprhs" + }, + "type": { + "$id": "2485", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "pgjilctjjwaa" + }, + "typeHandlerVersion": { + "$id": "2486", + "kind": "string", + "type": { + "$ref": "1182" + }, + "value": "zevivcoilxmbwlrihhhibq" + }, + "autoUpgradeMinorVersion": { + "$id": "2487", + "kind": "boolean", + "type": { + "$ref": "1186" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "2488", + "kind": "boolean", + "type": { + "$ref": "1190" + }, + "value": true + }, + "settings": { + "$id": "2489", + "kind": "dict", + "type": { + "$ref": "1194" + }, + "value": { + "$id": "2490" + } + }, + "protectedSettings": { + "$id": "2491", + "kind": "dict", + "type": { + "$ref": "1200" + }, + "value": { + "$id": "2492" + } + }, + "provisionAfterExtensions": { + "$id": "2493", + "kind": "array", + "type": { + "$ref": "1210" + }, + "value": [ + { + "$id": "2494", + "kind": "string", + "type": { + "$ref": "1211" + }, + "value": "nftzosroolbcwmpupujzqwqe" + } + ] + }, + "suppressFailures": { + "$id": "2495", + "kind": "boolean", + "type": { + "$ref": "1215" + }, + "value": true + }, + "protectedSettingsFromKeyVault": { + "$id": "2496", + "kind": "model", + "type": { + "$ref": "1219" + }, + "value": { + "$id": "2497", + "secretUrl": { + "$id": "2498", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "https://myvaultName.vault.azure.net/secrets/secret/mySecretName" + }, + "sourceVault": { + "$id": "2499", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2500", + "id": { + "$id": "2501", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + } + } + } + } + } + } + } + ] + }, + "extensionsTimeBudget": { + "$id": "2502", + "kind": "string", + "type": { + "$ref": "1234" + }, + "value": "mbhjahtdygwgyszdwjtvlvtgchdwil" + } + } + }, + "licenseType": { + "$id": "2503", + "kind": "string", + "type": { + "$ref": "1240" + }, + "value": "v" + }, + "scheduledEventsProfile": { + "$id": "2504", + "kind": "model", + "type": { + "$ref": "1244" + }, + "value": { + "$id": "2505", + "terminateNotificationProfile": { + "$id": "2506", + "kind": "model", + "type": { + "$ref": "1246" + }, + "value": { + "$id": "2507", + "notBeforeTimeout": { + "$id": "2508", + "kind": "string", + "type": { + "$ref": "1248" + }, + "value": "iljppmmw" + }, + "enable": { + "$id": "2509", + "kind": "boolean", + "type": { + "$ref": "1252" + }, + "value": true + } + } + }, + "osImageNotificationProfile": { + "$id": "2510", + "kind": "model", + "type": { + "$ref": "1258" + }, + "value": { + "$id": "2511", + "notBeforeTimeout": { + "$id": "2512", + "kind": "string", + "type": { + "$ref": "1260" + }, + "value": "olbpadmevekyczfokodtfprxti" + }, + "enable": { + "$id": "2513", + "kind": "boolean", + "type": { + "$ref": "1264" + }, + "value": true + } + } + } + } + }, + "userData": { + "$id": "2514", + "kind": "string", + "type": { + "$ref": "1272" + }, + "value": "s" + }, + "capacityReservation": { + "$id": "2515", + "kind": "model", + "type": { + "$ref": "1276" + }, + "value": { + "$id": "2516", + "capacityReservationGroup": { + "$id": "2517", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2518", + "id": { + "$id": "2519", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" + } + } + } + } + }, + "applicationProfile": { + "$id": "2520", + "kind": "model", + "type": { + "$ref": "1283" + }, + "value": { + "$id": "2521", + "galleryApplications": { + "$id": "2522", + "kind": "array", + "type": { + "$ref": "1285" + }, + "value": [ + { + "$id": "2523", + "kind": "model", + "type": { + "$ref": "1286" + }, + "value": { + "$id": "2524", + "tags": { + "$id": "2525", + "kind": "string", + "type": { + "$ref": "1288" + }, + "value": "eyrqjbib" + }, + "order": { + "$id": "2526", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 5 + }, + "packageReferenceId": { + "$id": "2527", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}" + }, + "configurationReference": { + "$id": "2528", + "kind": "string", + "type": { + "$ref": "1301" + }, + "value": "ulztmiavpojpbpbddgnuuiimxcpau" + }, + "treatFailureAsDeploymentFailure": { + "$id": "2529", + "kind": "boolean", + "type": { + "$ref": "1305" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "2530", + "kind": "boolean", + "type": { + "$ref": "1309" + }, + "value": true + } + } + } + ] + } + } + }, + "hardwareProfile": { + "$id": "2531", + "kind": "model", + "type": { + "$ref": "1317" + }, + "value": { + "$id": "2532", + "vmSizeProperties": { + "$id": "2533", + "kind": "model", + "type": { + "$ref": "1319" + }, + "value": { + "$id": "2534", + "vCPUsAvailable": { + "$id": "2535", + "kind": "number", + "type": { + "$ref": "1321" + }, + "value": 16 + }, + "vCPUsPerCore": { + "$id": "2536", + "kind": "number", + "type": { + "$ref": "1325" + }, + "value": 23 + } + } + } + } + }, + "serviceArtifactReference": { + "$id": "2537", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "$id": "2538", + "id": { + "$id": "2539", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" + } + } + }, + "securityPostureReference": { + "$id": "2540", + "kind": "model", + "type": { + "$ref": "1342" + }, + "value": { + "$id": "2541", + "id": { + "$id": "2542", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest" + }, + "excludeExtensions": { + "$id": "2543", + "kind": "array", + "type": { + "$ref": "1348" + }, + "value": [ + { + "$id": "2544", + "kind": "string", + "type": { + "$ref": "1349" + }, + "value": "{securityPostureVMExtensionName}" + } + ] + }, + "isOverridable": { + "$id": "2545", + "kind": "boolean", + "type": { + "$ref": "1353" + }, + "value": true + } + } + } + } + }, + "computeApiVersion": { + "$id": "2546", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2023-07-01" + }, + "platformFaultDomainCount": { + "$id": "2547", + "kind": "number", + "type": { + "$ref": "1379" + }, + "value": 1 + } + } + } + } + }, + "zones": { + "$id": "2548", + "kind": "array", + "type": { + "$ref": "1408" + }, + "value": [ + { + "$id": "2549", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone1" + }, + { + "$id": "2550", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone2" + } + ] + }, + "identity": { + "$id": "2551", + "kind": "model", + "type": { + "$ref": "1413" + }, + "value": { + "$id": "2552", + "type": { + "$id": "2553", + "kind": "string", + "type": { + "$ref": "306" + }, + "value": "UserAssigned" + }, + "userAssignedIdentities": { + "$id": "2554", + "kind": "dict", + "type": { + "$ref": "1428" + }, + "value": { + "$id": "2555", + "key9851": { + "$id": "2556", + "kind": "model", + "type": { + "$ref": "1431" + }, + "value": { + "$id": "2557" + } + } + } + } + } + }, + "tags": { + "$id": "2558", + "kind": "dict", + "type": { + "$ref": "396" + }, + "value": { + "$id": "2559", + "key3518": { + "$id": "2560", + "kind": "string", + "type": { + "$ref": "398" + }, + "value": "luvrnuvsgdpbuofdskkcoqhfh" + } + } + }, + "location": { + "$id": "2561", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "westus" + }, + "plan": { + "$id": "2562", + "kind": "model", + "type": { + "$ref": "1447" + }, + "value": { + "$id": "2563", + "name": { + "$id": "2564", + "kind": "string", + "type": { + "$ref": "1449" + }, + "value": "jwgrcrnrtfoxn" + }, + "publisher": { + "$id": "2565", + "kind": "string", + "type": { + "$ref": "1453" + }, + "value": "iozjbiqqckqm" + }, + "product": { + "$id": "2566", + "kind": "string", + "type": { + "$ref": "1457" + }, + "value": "cgopbyvdyqikahwyxfpzwaqk" + }, + "promotionCode": { + "$id": "2567", + "kind": "string", + "type": { + "$ref": "1461" + }, + "value": "naglezezplcaruqogtxnuizslqnnbr" + }, + "version": { + "$id": "2568", + "kind": "string", + "type": { + "$ref": "1465" + }, + "value": "wa" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "2569", + "response": { + "$ref": "2197" + }, + "statusCode": 200, + "bodyValue": { + "$id": "2570", + "kind": "model", + "type": { + "$ref": "350" + }, + "value": { + "$id": "2571", + "properties": { + "$id": "2572", + "kind": "model", + "type": { + "$ref": "406" + }, + "value": { + "$id": "2573", + "provisioningState": { + "$id": "2574", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Succeeded" + }, + "spotPriorityProfile": { + "$id": "2575", + "kind": "model", + "type": { + "$ref": "411" + }, + "value": { + "$id": "2576", + "capacity": { + "$id": "2577", + "kind": "number", + "type": { + "$ref": "413" + }, + "value": 10 + }, + "minCapacity": { + "$id": "2578", + "kind": "number", + "type": { + "$ref": "417" + }, + "value": 20 + }, + "maxPricePerVM": { + "$id": "2579", + "kind": "number", + "type": { + "$ref": "421" + }, + "value": 0.00865 + }, + "evictionPolicy": { + "$id": "2580", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Delete" + }, + "allocationStrategy": { + "$id": "2581", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "PriceCapacityOptimized" + }, + "maintain": { + "$id": "2582", + "kind": "boolean", + "type": { + "$ref": "431" + }, + "value": true + } + } + }, + "regularPriorityProfile": { + "$id": "2583", + "kind": "model", + "type": { + "$ref": "437" + }, + "value": { + "$id": "2584", + "capacity": { + "$id": "2585", + "kind": "number", + "type": { + "$ref": "439" + }, + "value": 10 + }, + "minCapacity": { + "$id": "2586", + "kind": "number", + "type": { + "$ref": "443" + }, + "value": 10 + }, + "allocationStrategy": { + "$id": "2587", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "LowestPrice" + } + } + }, + "vmSizesProfile": { + "$id": "2588", + "kind": "array", + "type": { + "$ref": "452" + }, + "value": [ + { + "$id": "2589", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "2590", + "name": { + "$id": "2591", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_d1_v2" + }, + "rank": { + "$id": "2592", + "kind": "number", + "type": { + "$ref": "459" + }, + "value": 19225 + } + } + } + ] + }, + "computeProfile": { + "$id": "2593", + "kind": "model", + "type": { + "$ref": "1370" + }, + "value": { + "$id": "2594", + "baseVirtualMachineProfile": { + "$id": "2595", + "kind": "model", + "type": { + "$ref": "565" + }, + "value": { + "$id": "2596", + "osProfile": { + "$id": "2597", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "$id": "2598", + "computerNamePrefix": { + "$id": "2599", + "kind": "string", + "type": { + "$ref": "569" + }, + "value": "o" + }, + "adminUsername": { + "$id": "2600", + "kind": "string", + "type": { + "$ref": "573" + }, + "value": "nrgzqciiaaxjrqldbmjbqkyhntp" + }, + "windowsConfiguration": { + "$id": "2601", + "kind": "model", + "type": { + "$ref": "585" + }, + "value": { + "$id": "2602", + "provisionVMAgent": { + "$id": "2603", + "kind": "boolean", + "type": { + "$ref": "587" + }, + "value": true + }, + "enableAutomaticUpdates": { + "$id": "2604", + "kind": "boolean", + "type": { + "$ref": "591" + }, + "value": true + }, + "timeZone": { + "$id": "2605", + "kind": "string", + "type": { + "$ref": "595" + }, + "value": "hlyjiqcfksgrpjrct" + }, + "additionalUnattendContent": { + "$id": "2606", + "kind": "array", + "type": { + "$ref": "599" + }, + "value": [ + { + "$id": "2607", + "kind": "model", + "type": { + "$ref": "600" + }, + "value": { + "$id": "2608", + "passName": { + "$id": "2609", + "kind": "string", + "type": { + "$ref": "602" + }, + "value": "OobeSystem" + }, + "componentName": { + "$id": "2610", + "kind": "string", + "type": { + "$ref": "606" + }, + "value": "Microsoft-Windows-Shell-Setup" + }, + "settingName": { + "$id": "2611", + "kind": "string", + "type": { + "$ref": "104" + }, + "value": "AutoLogon" + } + } + } + ] + }, + "patchSettings": { + "$id": "2612", + "kind": "model", + "type": { + "$ref": "619" + }, + "value": { + "$id": "2613", + "patchMode": { + "$id": "2614", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "Manual" + }, + "enableHotpatching": { + "$id": "2615", + "kind": "boolean", + "type": { + "$ref": "624" + }, + "value": true + }, + "assessmentMode": { + "$id": "2616", + "kind": "string", + "type": { + "$ref": "118" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "2617", + "kind": "model", + "type": { + "$ref": "631" + }, + "value": { + "$id": "2618", + "rebootSetting": { + "$id": "2619", + "kind": "string", + "type": { + "$ref": "124" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "2620", + "kind": "boolean", + "type": { + "$ref": "636" + }, + "value": true + } + } + } + } + }, + "winRM": { + "$id": "2621", + "kind": "model", + "type": { + "$ref": "644" + }, + "value": { + "$id": "2622", + "listeners": { + "$id": "2623", + "kind": "array", + "type": { + "$ref": "646" + }, + "value": [ + { + "$id": "2624", + "kind": "model", + "type": { + "$ref": "647" + }, + "value": { + "$id": "2625", + "protocol": { + "$id": "2626", + "kind": "string", + "type": { + "$ref": "134" + }, + "value": "Https" + }, + "certificateUrl": { + "$id": "2627", + "kind": "string", + "type": { + "$ref": "652" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + } + } + } + ] + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "2628", + "kind": "boolean", + "type": { + "$ref": "660" + }, + "value": true + } + } + }, + "linuxConfiguration": { + "$id": "2629", + "kind": "model", + "type": { + "$ref": "666" + }, + "value": { + "$id": "2630", + "disablePasswordAuthentication": { + "$id": "2631", + "kind": "boolean", + "type": { + "$ref": "668" + }, + "value": true + }, + "ssh": { + "$id": "2632", + "kind": "model", + "type": { + "$ref": "672" + }, + "value": { + "$id": "2633", + "publicKeys": { + "$id": "2634", + "kind": "array", + "type": { + "$ref": "674" + }, + "value": [ + { + "$id": "2635", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "$id": "2636", + "path": { + "$id": "2637", + "kind": "string", + "type": { + "$ref": "677" + }, + "value": "kmqz" + }, + "keyData": { + "$id": "2638", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "kivgsubusvpprwqaqpjcmhsv" + } + } + } + ] + } + } + }, + "provisionVMAgent": { + "$id": "2639", + "kind": "boolean", + "type": { + "$ref": "689" + }, + "value": true + }, + "patchSettings": { + "$id": "2640", + "kind": "model", + "type": { + "$ref": "693" + }, + "value": { + "$id": "2641", + "patchMode": { + "$id": "2642", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "ImageDefault" + }, + "assessmentMode": { + "$id": "2643", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "2644", + "kind": "model", + "type": { + "$ref": "701" + }, + "value": { + "$id": "2645", + "rebootSetting": { + "$id": "2646", + "kind": "string", + "type": { + "$ref": "152" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "2647", + "kind": "boolean", + "type": { + "$ref": "706" + }, + "value": true + } + } + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "2648", + "kind": "boolean", + "type": { + "$ref": "714" + }, + "value": true + } + } + }, + "secrets": { + "$id": "2649", + "kind": "array", + "type": { + "$ref": "720" + }, + "value": [ + { + "$id": "2650", + "kind": "model", + "type": { + "$ref": "721" + }, + "value": { + "$id": "2651", + "sourceVault": { + "$id": "2652", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2653", + "id": { + "$id": "2654", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + }, + "vaultCertificates": { + "$id": "2655", + "kind": "array", + "type": { + "$ref": "732" + }, + "value": [ + { + "$id": "2656", + "kind": "model", + "type": { + "$ref": "733" + }, + "value": { + "$id": "2657", + "certificateUrl": { + "$id": "2658", + "kind": "string", + "type": { + "$ref": "735" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + }, + "certificateStore": { + "$id": "2659", + "kind": "string", + "type": { + "$ref": "739" + }, + "value": "nlxrwavpzhueffxsshlun" + } + } + } + ] + } + } + } + ] + }, + "allowExtensionOperations": { + "$id": "2660", + "kind": "boolean", + "type": { + "$ref": "747" + }, + "value": true + }, + "requireGuestProvisionSignal": { + "$id": "2661", + "kind": "boolean", + "type": { + "$ref": "751" + }, + "value": true + } + } + }, + "storageProfile": { + "$id": "2662", + "kind": "model", + "type": { + "$ref": "757" + }, + "value": { + "$id": "2663", + "imageReference": { + "$id": "2664", + "kind": "model", + "type": { + "$ref": "759" + }, + "value": { + "$id": "2665", + "publisher": { + "$id": "2666", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "mqxgwbiyjzmxavhbkd" + }, + "offer": { + "$id": "2667", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "isxgumkarlkomp" + }, + "sku": { + "$id": "2668", + "kind": "string", + "type": { + "$ref": "774" + }, + "value": "eojmppqcrnpmxirtp" + }, + "version": { + "$id": "2669", + "kind": "string", + "type": { + "$ref": "778" + }, + "value": "wvpcqefgtmqdgltiuz" + }, + "exactVersion": { + "$id": "2670", + "kind": "string", + "type": { + "$ref": "782" + }, + "value": "zjbntmiskjexlr" + }, + "sharedGalleryImageId": { + "$id": "2671", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "kmkgihoxwlawuuhcinfirktdwkmx" + }, + "communityGalleryImageId": { + "$id": "2672", + "kind": "string", + "type": { + "$ref": "790" + }, + "value": "vlqe" + }, + "id": { + "$id": "2673", + "kind": "string", + "type": { + "$ref": "761" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" + } + } + }, + "osDisk": { + "$id": "2674", + "kind": "model", + "type": { + "$ref": "796" + }, + "value": { + "$id": "2675", + "name": { + "$id": "2676", + "kind": "string", + "type": { + "$ref": "798" + }, + "value": "wfttw" + }, + "caching": { + "$id": "2677", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "2678", + "kind": "boolean", + "type": { + "$ref": "805" + }, + "value": true + }, + "createOption": { + "$id": "2679", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diffDiskSettings": { + "$id": "2680", + "kind": "model", + "type": { + "$ref": "812" + }, + "value": { + "$id": "2681", + "option": { + "$id": "2682", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Local" + }, + "placement": { + "$id": "2683", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "CacheDisk" + } + } + }, + "diskSizeGB": { + "$id": "2684", + "kind": "number", + "type": { + "$ref": "822" + }, + "value": 14 + }, + "osType": { + "$id": "2685", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Windows" + }, + "image": { + "$id": "2686", + "kind": "model", + "type": { + "$ref": "829" + }, + "value": { + "$id": "2687", + "uri": { + "$id": "2688", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "https://myStorageAccountName.blob.core.windows.net/myContainerName/myVhdName.vhd" + } + } + }, + "vhdContainers": { + "$id": "2689", + "kind": "array", + "type": { + "$ref": "837" + }, + "value": [ + { + "$id": "2690", + "kind": "string", + "type": { + "$ref": "838" + }, + "value": "tkzcwddtinkfpnfklatw" + } + ] + }, + "managedDisk": { + "$id": "2691", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "2692", + "storageAccountType": { + "$id": "2693", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "2694", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "2695", + "id": { + "$id": "2696", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "2697", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "2698", + "securityEncryptionType": { + "$id": "2699", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "2700", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "2701", + "id": { + "$id": "2702", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "deleteOption": { + "$id": "2703", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + }, + "dataDisks": { + "$id": "2704", + "kind": "array", + "type": { + "$ref": "873" + }, + "value": [ + { + "$id": "2705", + "kind": "model", + "type": { + "$ref": "874" + }, + "value": { + "$id": "2706", + "name": { + "$id": "2707", + "kind": "string", + "type": { + "$ref": "876" + }, + "value": "eogiykmdmeikswxmigjws" + }, + "lun": { + "$id": "2708", + "kind": "number", + "type": { + "$ref": "880" + }, + "value": 14 + }, + "caching": { + "$id": "2709", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "2710", + "kind": "boolean", + "type": { + "$ref": "887" + }, + "value": true + }, + "createOption": { + "$id": "2711", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diskSizeGB": { + "$id": "2712", + "kind": "number", + "type": { + "$ref": "894" + }, + "value": 6 + }, + "managedDisk": { + "$id": "2713", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "2714", + "storageAccountType": { + "$id": "2715", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "2716", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "2717", + "id": { + "$id": "2718", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "2719", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "2720", + "securityEncryptionType": { + "$id": "2721", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "2722", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "2723", + "id": { + "$id": "2724", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "diskIOPSReadWrite": { + "$id": "2725", + "kind": "number", + "type": { + "$ref": "901" + }, + "value": 27 + }, + "diskMBpsReadWrite": { + "$id": "2726", + "kind": "number", + "type": { + "$ref": "905" + }, + "value": 2 + }, + "deleteOption": { + "$id": "2727", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + } + ] + }, + "diskControllerType": { + "$id": "2728", + "kind": "string", + "type": { + "$ref": "230" + }, + "value": "uzb" + } + } + }, + "networkProfile": { + "$id": "2729", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "2730", + "healthProbe": { + "$id": "2731", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "2732", + "id": { + "$id": "2733", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" + } + } + }, + "networkInterfaceConfigurations": { + "$id": "2734", + "kind": "array", + "type": { + "$ref": "930" + }, + "value": [ + { + "$id": "2735", + "kind": "model", + "type": { + "$ref": "931" + }, + "value": { + "$id": "2736", + "name": { + "$id": "2737", + "kind": "string", + "type": { + "$ref": "933" + }, + "value": "i" + }, + "properties": { + "$id": "2738", + "kind": "model", + "type": { + "$ref": "937" + }, + "value": { + "$id": "2739", + "primary": { + "$id": "2740", + "kind": "boolean", + "type": { + "$ref": "939" + }, + "value": true + }, + "enableAcceleratedNetworking": { + "$id": "2741", + "kind": "boolean", + "type": { + "$ref": "943" + }, + "value": true + }, + "disableTcpStateTracking": { + "$id": "2742", + "kind": "boolean", + "type": { + "$ref": "947" + }, + "value": true + }, + "enableFpga": { + "$id": "2743", + "kind": "boolean", + "type": { + "$ref": "951" + }, + "value": true + }, + "networkSecurityGroup": { + "$id": "2744", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2745", + "id": { + "$id": "2746", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" + } + } + }, + "dnsSettings": { + "$id": "2747", + "kind": "model", + "type": { + "$ref": "958" + }, + "value": { + "$id": "2748", + "dnsServers": { + "$id": "2749", + "kind": "array", + "type": { + "$ref": "960" + }, + "value": [ + { + "$id": "2750", + "kind": "string", + "type": { + "$ref": "961" + }, + "value": "nxmmfolhclsesu" + } + ] + } + } + }, + "ipConfigurations": { + "$id": "2751", + "kind": "array", + "type": { + "$ref": "967" + }, + "value": [ + { + "$id": "2752", + "kind": "model", + "type": { + "$ref": "968" + }, + "value": { + "$id": "2753", + "name": { + "$id": "2754", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "oezqhkidfhyywlfzwuotilrpbqnjg" + }, + "properties": { + "$id": "2755", + "kind": "model", + "type": { + "$ref": "974" + }, + "value": { + "$id": "2756", + "subnet": { + "$id": "2757", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "2758", + "id": { + "$id": "2759", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + } + }, + "primary": { + "$id": "2760", + "kind": "boolean", + "type": { + "$ref": "979" + }, + "value": true + }, + "publicIPAddressConfiguration": { + "$id": "2761", + "kind": "model", + "type": { + "$ref": "983" + }, + "value": { + "$id": "2762", + "name": { + "$id": "2763", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "fvpqf" + }, + "properties": { + "$id": "2764", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "$id": "2765", + "idleTimeoutInMinutes": { + "$id": "2766", + "kind": "number", + "type": { + "$ref": "991" + }, + "value": 9 + }, + "dnsSettings": { + "$id": "2767", + "kind": "model", + "type": { + "$ref": "995" + }, + "value": { + "$id": "2768", + "domainNameLabel": { + "$id": "2769", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "ukrddzvmorpmfsczjwtbvp" + }, + "domainNameLabelScope": { + "$id": "2770", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "TenantReuse" + } + } + }, + "ipTags": { + "$id": "2771", + "kind": "array", + "type": { + "$ref": "1006" + }, + "value": [ + { + "$id": "2772", + "kind": "model", + "type": { + "$ref": "1007" + }, + "value": { + "$id": "2773", + "ipTagType": { + "$id": "2774", + "kind": "string", + "type": { + "$ref": "1009" + }, + "value": "sddgsoemnzgqizale" + }, + "tag": { + "$id": "2775", + "kind": "string", + "type": { + "$ref": "1013" + }, + "value": "wufmhrjsakbiaetyara" + } + } + } + ] + }, + "publicIPPrefix": { + "$id": "2776", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2777", + "id": { + "$id": "2778", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" + } + } + }, + "publicIPAddressVersion": { + "$id": "2779", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "deleteOption": { + "$id": "2780", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + } + } + }, + "sku": { + "$id": "2781", + "kind": "model", + "type": { + "$ref": "1030" + }, + "value": { + "$id": "2782", + "name": { + "$id": "2783", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "Basic" + }, + "tier": { + "$id": "2784", + "kind": "string", + "type": { + "$ref": "264" + }, + "value": "Regional" + } + } + } + } + }, + "privateIPAddressVersion": { + "$id": "2785", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "applicationGatewayBackendAddressPools": { + "$id": "2786", + "kind": "array", + "type": { + "$ref": "1045" + }, + "value": [ + { + "$id": "2787", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2788", + "id": { + "$id": "2789", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "applicationSecurityGroups": { + "$id": "2790", + "kind": "array", + "type": { + "$ref": "1049" + }, + "value": [ + { + "$id": "2791", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2792", + "id": { + "$id": "2793", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" + } + } + } + ] + }, + "loadBalancerBackendAddressPools": { + "$id": "2794", + "kind": "array", + "type": { + "$ref": "1053" + }, + "value": [ + { + "$id": "2795", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2796", + "id": { + "$id": "2797", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "loadBalancerInboundNatPools": { + "$id": "2798", + "kind": "array", + "type": { + "$ref": "1057" + }, + "value": [ + { + "$id": "2799", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2800", + "id": { + "$id": "2801", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" + } + } + } + ] + } + } + } + } + } + ] + }, + "enableIPForwarding": { + "$id": "2802", + "kind": "boolean", + "type": { + "$ref": "1065" + }, + "value": true + }, + "deleteOption": { + "$id": "2803", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + }, + "auxiliaryMode": { + "$id": "2804", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "None" + }, + "auxiliarySku": { + "$id": "2805", + "kind": "string", + "type": { + "$ref": "278" + }, + "value": "None" + } + } + } + } + } + ] + }, + "networkApiVersion": { + "$id": "2806", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "2020-11-01" + } + } + }, + "securityProfile": { + "$id": "2807", + "kind": "model", + "type": { + "$ref": "1087" + }, + "value": { + "$id": "2808", + "uefiSettings": { + "$id": "2809", + "kind": "model", + "type": { + "$ref": "1089" + }, + "value": { + "$id": "2810", + "secureBootEnabled": { + "$id": "2811", + "kind": "boolean", + "type": { + "$ref": "1091" + }, + "value": true + }, + "vTpmEnabled": { + "$id": "2812", + "kind": "boolean", + "type": { + "$ref": "1095" + }, + "value": true + } + } + }, + "encryptionAtHost": { + "$id": "2813", + "kind": "boolean", + "type": { + "$ref": "1101" + }, + "value": true + }, + "securityType": { + "$id": "2814", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "TrustedLaunch" + }, + "encryptionIdentity": { + "$id": "2815", + "kind": "model", + "type": { + "$ref": "1108" + }, + "value": { + "$id": "2816", + "userAssignedIdentityResourceId": { + "$id": "2817", + "kind": "string", + "type": { + "$ref": "1110" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" + } + } + }, + "proxyAgentSettings": { + "$id": "2818", + "kind": "model", + "type": { + "$ref": "1117" + }, + "value": { + "$id": "2819", + "enabled": { + "$id": "2820", + "kind": "boolean", + "type": { + "$ref": "1119" + }, + "value": true + }, + "mode": { + "$id": "2821", + "kind": "string", + "type": { + "$ref": "300" + }, + "value": "Audit" + }, + "keyIncarnationId": { + "$id": "2822", + "kind": "number", + "type": { + "$ref": "1126" + }, + "value": 20 + } + } + } + } + }, + "diagnosticsProfile": { + "$id": "2823", + "kind": "model", + "type": { + "$ref": "1134" + }, + "value": { + "$id": "2824", + "bootDiagnostics": { + "$id": "2825", + "kind": "model", + "type": { + "$ref": "1136" + }, + "value": { + "$id": "2826", + "enabled": { + "$id": "2827", + "kind": "boolean", + "type": { + "$ref": "1138" + }, + "value": true + }, + "storageUri": { + "$id": "2828", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "http://myStorageAccountName.blob.core.windows.net" + } + } + } + } + }, + "extensionProfile": { + "$id": "2829", + "kind": "model", + "type": { + "$ref": "1150" + }, + "value": { + "$id": "2830", + "extensions": { + "$id": "2831", + "kind": "array", + "type": { + "$ref": "1152" + }, + "value": [ + { + "$id": "2832", + "kind": "model", + "type": { + "$ref": "1153" + }, + "value": { + "$id": "2833", + "name": { + "$id": "2834", + "kind": "string", + "type": { + "$ref": "1160" + }, + "value": "bndxuxx" + }, + "type": { + "$id": "2835", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "cmeam" + }, + "properties": { + "$id": "2836", + "kind": "model", + "type": { + "$ref": "1168" + }, + "value": { + "$id": "2837", + "forceUpdateTag": { + "$id": "2838", + "kind": "string", + "type": { + "$ref": "1170" + }, + "value": "yhgxw" + }, + "publisher": { + "$id": "2839", + "kind": "string", + "type": { + "$ref": "1174" + }, + "value": "kpxtirxjfprhs" + }, + "type": { + "$id": "2840", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "pgjilctjjwaa" + }, + "typeHandlerVersion": { + "$id": "2841", + "kind": "string", + "type": { + "$ref": "1182" + }, + "value": "zevivcoilxmbwlrihhhibq" + }, + "autoUpgradeMinorVersion": { + "$id": "2842", + "kind": "boolean", + "type": { + "$ref": "1186" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "2843", + "kind": "boolean", + "type": { + "$ref": "1190" + }, + "value": true + }, + "settings": { + "$id": "2844", + "kind": "dict", + "type": { + "$ref": "1194" + }, + "value": { + "$id": "2845" + } + }, + "provisioningState": { + "$id": "2846", + "kind": "string", + "type": { + "$ref": "1206" + }, + "value": "Succeeded" + }, + "provisionAfterExtensions": { + "$id": "2847", + "kind": "array", + "type": { + "$ref": "1210" + }, + "value": [ + { + "$id": "2848", + "kind": "string", + "type": { + "$ref": "1211" + }, + "value": "nftzosroolbcwmpupujzqwqe" + } + ] + }, + "suppressFailures": { + "$id": "2849", + "kind": "boolean", + "type": { + "$ref": "1215" + }, + "value": true + }, + "protectedSettingsFromKeyVault": { + "$id": "2850", + "kind": "model", + "type": { + "$ref": "1219" + }, + "value": { + "$id": "2851", + "secretUrl": { + "$id": "2852", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "https://myVaultName.vault.azure.net/secrets/secret/mySecretName" + }, + "sourceVault": { + "$id": "2853", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2854", + "id": { + "$id": "2855", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + } + } + } + } + }, + "id": { + "$id": "2856", + "kind": "string", + "type": { + "$ref": "1155" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" + } + } + } + ] + }, + "extensionsTimeBudget": { + "$id": "2857", + "kind": "string", + "type": { + "$ref": "1234" + }, + "value": "mbhjahtdygwgyszdwjtvlvtgchdwil" + } + } + }, + "licenseType": { + "$id": "2858", + "kind": "string", + "type": { + "$ref": "1240" + }, + "value": "v" + }, + "scheduledEventsProfile": { + "$id": "2859", + "kind": "model", + "type": { + "$ref": "1244" + }, + "value": { + "$id": "2860", + "terminateNotificationProfile": { + "$id": "2861", + "kind": "model", + "type": { + "$ref": "1246" + }, + "value": { + "$id": "2862", + "notBeforeTimeout": { + "$id": "2863", + "kind": "string", + "type": { + "$ref": "1248" + }, + "value": "iljppmmw" + }, + "enable": { + "$id": "2864", + "kind": "boolean", + "type": { + "$ref": "1252" + }, + "value": true + } + } + }, + "osImageNotificationProfile": { + "$id": "2865", + "kind": "model", + "type": { + "$ref": "1258" + }, + "value": { + "$id": "2866", + "notBeforeTimeout": { + "$id": "2867", + "kind": "string", + "type": { + "$ref": "1260" + }, + "value": "olbpadmevekyczfokodtfprxti" + }, + "enable": { + "$id": "2868", + "kind": "boolean", + "type": { + "$ref": "1264" + }, + "value": true + } + } + } + } + }, + "userData": { + "$id": "2869", + "kind": "string", + "type": { + "$ref": "1272" + }, + "value": "s" + }, + "capacityReservation": { + "$id": "2870", + "kind": "model", + "type": { + "$ref": "1276" + }, + "value": { + "$id": "2871", + "capacityReservationGroup": { + "$id": "2872", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "2873", + "id": { + "$id": "2874", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" + } + } + } + } + }, + "applicationProfile": { + "$id": "2875", + "kind": "model", + "type": { + "$ref": "1283" + }, + "value": { + "$id": "2876", + "galleryApplications": { + "$id": "2877", + "kind": "array", + "type": { + "$ref": "1285" + }, + "value": [ + { + "$id": "2878", + "kind": "model", + "type": { + "$ref": "1286" + }, + "value": { + "$id": "2879", + "tags": { + "$id": "2880", + "kind": "string", + "type": { + "$ref": "1288" + }, + "value": "eyrqjbib" + }, + "order": { + "$id": "2881", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 5 + }, + "packageReferenceId": { + "$id": "2882", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}" + }, + "treatFailureAsDeploymentFailure": { + "$id": "2883", + "kind": "boolean", + "type": { + "$ref": "1305" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "2884", + "kind": "boolean", + "type": { + "$ref": "1309" + }, + "value": true + } + } + } + ] + } + } + }, + "hardwareProfile": { + "$id": "2885", + "kind": "model", + "type": { + "$ref": "1317" + }, + "value": { + "$id": "2886", + "vmSizeProperties": { + "$id": "2887", + "kind": "model", + "type": { + "$ref": "1319" + }, + "value": { + "$id": "2888", + "vCPUsAvailable": { + "$id": "2889", + "kind": "number", + "type": { + "$ref": "1321" + }, + "value": 16 + }, + "vCPUsPerCore": { + "$id": "2890", + "kind": "number", + "type": { + "$ref": "1325" + }, + "value": 23 + } + } + } + } + }, + "serviceArtifactReference": { + "$id": "2891", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "$id": "2892", + "id": { + "$id": "2893", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" + } + } + }, + "securityPostureReference": { + "$id": "2894", + "kind": "model", + "type": { + "$ref": "1342" + }, + "value": { + "$id": "2895", + "id": { + "$id": "2896", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest" + }, + "excludeExtensions": { + "$id": "2897", + "kind": "array", + "type": { + "$ref": "1348" + }, + "value": [ + { + "$id": "2898", + "kind": "string", + "type": { + "$ref": "1349" + }, + "value": "{securityPostureVMExtensionName}" + } + ] + }, + "isOverridable": { + "$id": "2899", + "kind": "boolean", + "type": { + "$ref": "1353" + }, + "value": true + } + } + }, + "timeCreated": { + "$id": "2900", + "kind": "string", + "type": { + "$ref": "1359" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + }, + "computeApiVersion": { + "$id": "2901", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2023-07-01" + }, + "platformFaultDomainCount": { + "$id": "2902", + "kind": "number", + "type": { + "$ref": "1379" + }, + "value": 1 + } + } + }, + "timeCreated": { + "$id": "2903", + "kind": "string", + "type": { + "$ref": "1397" + }, + "value": "2024-07-10T00:16:34.8590555+00:00" + }, + "uniqueId": { + "$id": "2904", + "kind": "string", + "type": { + "$ref": "1402" + }, + "value": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + } + } + }, + "zones": { + "$id": "2905", + "kind": "array", + "type": { + "$ref": "1408" + }, + "value": [ + { + "$id": "2906", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone1" + }, + { + "$id": "2907", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone2" + } + ] + }, + "identity": { + "$id": "2908", + "kind": "model", + "type": { + "$ref": "1413" + }, + "value": { + "$id": "2909", + "principalId": { + "$id": "2910", + "kind": "string", + "type": { + "$ref": "1415" + }, + "value": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "tenantId": { + "$id": "2911", + "kind": "string", + "type": { + "$ref": "1420" + }, + "value": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "type": { + "$id": "2912", + "kind": "string", + "type": { + "$ref": "306" + }, + "value": "UserAssigned" + }, + "userAssignedIdentities": { + "$id": "2913", + "kind": "dict", + "type": { + "$ref": "1428" + }, + "value": { + "$id": "2914", + "key9851": { + "$id": "2915", + "kind": "model", + "type": { + "$ref": "1431" + }, + "value": { + "$id": "2916", + "principalId": { + "$id": "2917", + "kind": "string", + "type": { + "$ref": "1438" + }, + "value": "6d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "clientId": { + "$id": "2918", + "kind": "string", + "type": { + "$ref": "1433" + }, + "value": "7d508e5b-374b-4382-9a1c-01fb8b6cb37c" + } + } + } + } + } + } + }, + "plan": { + "$id": "2919", + "kind": "model", + "type": { + "$ref": "1447" + }, + "value": { + "$id": "2920", + "name": { + "$id": "2921", + "kind": "string", + "type": { + "$ref": "1449" + }, + "value": "jwgrcrnrtfoxn" + }, + "publisher": { + "$id": "2922", + "kind": "string", + "type": { + "$ref": "1453" + }, + "value": "iozjbiqqckqm" + }, + "product": { + "$id": "2923", + "kind": "string", + "type": { + "$ref": "1457" + }, + "value": "cgopbyvdyqikahwyxfpzwaqk" + }, + "promotionCode": { + "$id": "2924", + "kind": "string", + "type": { + "$ref": "1461" + }, + "value": "naglezezplcaruqogtxnuizslqnnbr" + }, + "version": { + "$id": "2925", + "kind": "string", + "type": { + "$ref": "1465" + }, + "value": "wa" + } + } + }, + "tags": { + "$id": "2926", + "kind": "dict", + "type": { + "$ref": "396" + }, + "value": { + "$id": "2927", + "key3518": { + "$id": "2928", + "kind": "string", + "type": { + "$ref": "398" + }, + "value": "luvrnuvsgdpbuofdskkcoqhfh" + } + } + }, + "location": { + "$id": "2929", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "westus" + }, + "id": { + "$id": "2930", + "kind": "string", + "type": { + "$ref": "354" + }, + "value": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet" + }, + "name": { + "$id": "2931", + "kind": "string", + "type": { + "$ref": "359" + }, + "value": "testFleet" + }, + "type": { + "$id": "2932", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "Microsoft.AzureFleet/fleets" + }, + "systemData": { + "$id": "2933", + "kind": "model", + "type": { + "$ref": "368" + }, + "value": { + "$id": "2934", + "createdBy": { + "$id": "2935", + "kind": "string", + "type": { + "$ref": "370" + }, + "value": "rowegentrpoajsv" + }, + "createdByType": { + "$id": "2936", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "createdAt": { + "$id": "2937", + "kind": "string", + "type": { + "$ref": "377" + }, + "value": "2024-04-29T21:51:44.043Z" + }, + "lastModifiedBy": { + "$id": "2938", + "kind": "string", + "type": { + "$ref": "382" + }, + "value": "edwuayhhaoepxzisfaqjhmrxjq" + }, + "lastModifiedByType": { + "$id": "2939", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "2940", + "kind": "string", + "type": { + "$ref": "389" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + } + } + } + }, + { + "$id": "2941", + "response": { + "$ref": "2198" + }, + "statusCode": 201, + "bodyValue": { + "$id": "2942", + "kind": "model", + "type": { + "$ref": "350" + }, + "value": { + "$id": "2943", + "properties": { + "$id": "2944", + "kind": "model", + "type": { + "$ref": "406" + }, + "value": { + "$id": "2945", + "provisioningState": { + "$id": "2946", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Creating" + }, + "spotPriorityProfile": { + "$id": "2947", + "kind": "model", + "type": { + "$ref": "411" + }, + "value": { + "$id": "2948", + "capacity": { + "$id": "2949", + "kind": "number", + "type": { + "$ref": "413" + }, + "value": 0 + }, + "minCapacity": { + "$id": "2950", + "kind": "number", + "type": { + "$ref": "417" + }, + "value": 0 + }, + "maxPricePerVM": { + "$id": "2951", + "kind": "number", + "type": { + "$ref": "421" + }, + "value": 0.00865 + }, + "evictionPolicy": { + "$id": "2952", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Delete" + }, + "allocationStrategy": { + "$id": "2953", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "PriceCapacityOptimized" + }, + "maintain": { + "$id": "2954", + "kind": "boolean", + "type": { + "$ref": "431" + }, + "value": true + } + } + }, + "regularPriorityProfile": { + "$id": "2955", + "kind": "model", + "type": { + "$ref": "437" + }, + "value": { + "$id": "2956", + "capacity": { + "$id": "2957", + "kind": "number", + "type": { + "$ref": "439" + }, + "value": 20 + }, + "minCapacity": { + "$id": "2958", + "kind": "number", + "type": { + "$ref": "443" + }, + "value": 10 + }, + "allocationStrategy": { + "$id": "2959", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "LowestPrice" + } + } + }, + "vmSizesProfile": { + "$id": "2960", + "kind": "array", + "type": { + "$ref": "452" + }, + "value": [ + { + "$id": "2961", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "2962", + "name": { + "$id": "2963", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_d1_v2" + }, + "rank": { + "$id": "2964", + "kind": "number", + "type": { + "$ref": "459" + }, + "value": 19225 + } + } + } + ] + }, + "computeProfile": { + "$id": "2965", + "kind": "model", + "type": { + "$ref": "1370" + }, + "value": { + "$id": "2966", + "baseVirtualMachineProfile": { + "$id": "2967", + "kind": "model", + "type": { + "$ref": "565" + }, + "value": { + "$id": "2968", + "osProfile": { + "$id": "2969", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "$id": "2970", + "computerNamePrefix": { + "$id": "2971", + "kind": "string", + "type": { + "$ref": "569" + }, + "value": "o" + }, + "adminUsername": { + "$id": "2972", + "kind": "string", + "type": { + "$ref": "573" + }, + "value": "nrgzqciiaaxjrqldbmjbqkyhntp" + }, + "windowsConfiguration": { + "$id": "2973", + "kind": "model", + "type": { + "$ref": "585" + }, + "value": { + "$id": "2974", + "provisionVMAgent": { + "$id": "2975", + "kind": "boolean", + "type": { + "$ref": "587" + }, + "value": true + }, + "enableAutomaticUpdates": { + "$id": "2976", + "kind": "boolean", + "type": { + "$ref": "591" + }, + "value": true + }, + "timeZone": { + "$id": "2977", + "kind": "string", + "type": { + "$ref": "595" + }, + "value": "hlyjiqcfksgrpjrct" + }, + "additionalUnattendContent": { + "$id": "2978", + "kind": "array", + "type": { + "$ref": "599" + }, + "value": [ + { + "$id": "2979", + "kind": "model", + "type": { + "$ref": "600" + }, + "value": { + "$id": "2980", + "passName": { + "$id": "2981", + "kind": "string", + "type": { + "$ref": "602" + }, + "value": "OobeSystem" + }, + "componentName": { + "$id": "2982", + "kind": "string", + "type": { + "$ref": "606" + }, + "value": "Microsoft-Windows-Shell-Setup" + }, + "settingName": { + "$id": "2983", + "kind": "string", + "type": { + "$ref": "104" + }, + "value": "AutoLogon" + } + } + } + ] + }, + "patchSettings": { + "$id": "2984", + "kind": "model", + "type": { + "$ref": "619" + }, + "value": { + "$id": "2985", + "patchMode": { + "$id": "2986", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "Manual" + }, + "enableHotpatching": { + "$id": "2987", + "kind": "boolean", + "type": { + "$ref": "624" + }, + "value": true + }, + "assessmentMode": { + "$id": "2988", + "kind": "string", + "type": { + "$ref": "118" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "2989", + "kind": "model", + "type": { + "$ref": "631" + }, + "value": { + "$id": "2990", + "rebootSetting": { + "$id": "2991", + "kind": "string", + "type": { + "$ref": "124" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "2992", + "kind": "boolean", + "type": { + "$ref": "636" + }, + "value": true + } + } + } + } + }, + "winRM": { + "$id": "2993", + "kind": "model", + "type": { + "$ref": "644" + }, + "value": { + "$id": "2994", + "listeners": { + "$id": "2995", + "kind": "array", + "type": { + "$ref": "646" + }, + "value": [ + { + "$id": "2996", + "kind": "model", + "type": { + "$ref": "647" + }, + "value": { + "$id": "2997", + "protocol": { + "$id": "2998", + "kind": "string", + "type": { + "$ref": "134" + }, + "value": "Https" + }, + "certificateUrl": { + "$id": "2999", + "kind": "string", + "type": { + "$ref": "652" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + } + } + } + ] + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "3000", + "kind": "boolean", + "type": { + "$ref": "660" + }, + "value": true + } + } + }, + "linuxConfiguration": { + "$id": "3001", + "kind": "model", + "type": { + "$ref": "666" + }, + "value": { + "$id": "3002", + "disablePasswordAuthentication": { + "$id": "3003", + "kind": "boolean", + "type": { + "$ref": "668" + }, + "value": true + }, + "ssh": { + "$id": "3004", + "kind": "model", + "type": { + "$ref": "672" + }, + "value": { + "$id": "3005", + "publicKeys": { + "$id": "3006", + "kind": "array", + "type": { + "$ref": "674" + }, + "value": [ + { + "$id": "3007", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "$id": "3008", + "path": { + "$id": "3009", + "kind": "string", + "type": { + "$ref": "677" + }, + "value": "kmqz" + }, + "keyData": { + "$id": "3010", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "kivgsubusvpprwqaqpjcmhsv" + } + } + } + ] + } + } + }, + "provisionVMAgent": { + "$id": "3011", + "kind": "boolean", + "type": { + "$ref": "689" + }, + "value": true + }, + "patchSettings": { + "$id": "3012", + "kind": "model", + "type": { + "$ref": "693" + }, + "value": { + "$id": "3013", + "patchMode": { + "$id": "3014", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "ImageDefault" + }, + "assessmentMode": { + "$id": "3015", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "3016", + "kind": "model", + "type": { + "$ref": "701" + }, + "value": { + "$id": "3017", + "rebootSetting": { + "$id": "3018", + "kind": "string", + "type": { + "$ref": "152" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "3019", + "kind": "boolean", + "type": { + "$ref": "706" + }, + "value": true + } + } + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "3020", + "kind": "boolean", + "type": { + "$ref": "714" + }, + "value": true + } + } + }, + "secrets": { + "$id": "3021", + "kind": "array", + "type": { + "$ref": "720" + }, + "value": [ + { + "$id": "3022", + "kind": "model", + "type": { + "$ref": "721" + }, + "value": { + "$id": "3023", + "sourceVault": { + "$id": "3024", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3025", + "id": { + "$id": "3026", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + }, + "vaultCertificates": { + "$id": "3027", + "kind": "array", + "type": { + "$ref": "732" + }, + "value": [ + { + "$id": "3028", + "kind": "model", + "type": { + "$ref": "733" + }, + "value": { + "$id": "3029", + "certificateUrl": { + "$id": "3030", + "kind": "string", + "type": { + "$ref": "735" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + }, + "certificateStore": { + "$id": "3031", + "kind": "string", + "type": { + "$ref": "739" + }, + "value": "nlxrwavpzhueffxsshlun" + } + } + } + ] + } + } + } + ] + }, + "allowExtensionOperations": { + "$id": "3032", + "kind": "boolean", + "type": { + "$ref": "747" + }, + "value": true + }, + "requireGuestProvisionSignal": { + "$id": "3033", + "kind": "boolean", + "type": { + "$ref": "751" + }, + "value": true + } + } + }, + "storageProfile": { + "$id": "3034", + "kind": "model", + "type": { + "$ref": "757" + }, + "value": { + "$id": "3035", + "imageReference": { + "$id": "3036", + "kind": "model", + "type": { + "$ref": "759" + }, + "value": { + "$id": "3037", + "publisher": { + "$id": "3038", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "mqxgwbiyjzmxavhbkd" + }, + "offer": { + "$id": "3039", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "isxgumkarlkomp" + }, + "sku": { + "$id": "3040", + "kind": "string", + "type": { + "$ref": "774" + }, + "value": "eojmppqcrnpmxirtp" + }, + "version": { + "$id": "3041", + "kind": "string", + "type": { + "$ref": "778" + }, + "value": "wvpcqefgtmqdgltiuz" + }, + "exactVersion": { + "$id": "3042", + "kind": "string", + "type": { + "$ref": "782" + }, + "value": "zjbntmiskjexlr" + }, + "sharedGalleryImageId": { + "$id": "3043", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "kmkgihoxwlawuuhcinfirktdwkmx" + }, + "communityGalleryImageId": { + "$id": "3044", + "kind": "string", + "type": { + "$ref": "790" + }, + "value": "vlqe" + }, + "id": { + "$id": "3045", + "kind": "string", + "type": { + "$ref": "761" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" + } + } + }, + "osDisk": { + "$id": "3046", + "kind": "model", + "type": { + "$ref": "796" + }, + "value": { + "$id": "3047", + "name": { + "$id": "3048", + "kind": "string", + "type": { + "$ref": "798" + }, + "value": "wfttw" + }, + "caching": { + "$id": "3049", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "3050", + "kind": "boolean", + "type": { + "$ref": "805" + }, + "value": true + }, + "createOption": { + "$id": "3051", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diffDiskSettings": { + "$id": "3052", + "kind": "model", + "type": { + "$ref": "812" + }, + "value": { + "$id": "3053", + "option": { + "$id": "3054", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Local" + }, + "placement": { + "$id": "3055", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "CacheDisk" + } + } + }, + "diskSizeGB": { + "$id": "3056", + "kind": "number", + "type": { + "$ref": "822" + }, + "value": 14 + }, + "osType": { + "$id": "3057", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Windows" + }, + "image": { + "$id": "3058", + "kind": "model", + "type": { + "$ref": "829" + }, + "value": { + "$id": "3059", + "uri": { + "$id": "3060", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "https://myStorageAccountName.blob.core.windows.net/myContainerName/myVhdName.vhd" + } + } + }, + "vhdContainers": { + "$id": "3061", + "kind": "array", + "type": { + "$ref": "837" + }, + "value": [ + { + "$id": "3062", + "kind": "string", + "type": { + "$ref": "838" + }, + "value": "tkzcwddtinkfpnfklatw" + } + ] + }, + "managedDisk": { + "$id": "3063", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "3064", + "storageAccountType": { + "$id": "3065", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "3066", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "3067", + "id": { + "$id": "3068", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "3069", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "3070", + "securityEncryptionType": { + "$id": "3071", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "3072", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "3073", + "id": { + "$id": "3074", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "deleteOption": { + "$id": "3075", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + }, + "dataDisks": { + "$id": "3076", + "kind": "array", + "type": { + "$ref": "873" + }, + "value": [ + { + "$id": "3077", + "kind": "model", + "type": { + "$ref": "874" + }, + "value": { + "$id": "3078", + "name": { + "$id": "3079", + "kind": "string", + "type": { + "$ref": "876" + }, + "value": "eogiykmdmeikswxmigjws" + }, + "lun": { + "$id": "3080", + "kind": "number", + "type": { + "$ref": "880" + }, + "value": 14 + }, + "caching": { + "$id": "3081", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "3082", + "kind": "boolean", + "type": { + "$ref": "887" + }, + "value": true + }, + "createOption": { + "$id": "3083", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diskSizeGB": { + "$id": "3084", + "kind": "number", + "type": { + "$ref": "894" + }, + "value": 6 + }, + "managedDisk": { + "$id": "3085", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "3086", + "storageAccountType": { + "$id": "3087", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "3088", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "3089", + "id": { + "$id": "3090", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "3091", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "3092", + "securityEncryptionType": { + "$id": "3093", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "3094", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "3095", + "id": { + "$id": "3096", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "diskIOPSReadWrite": { + "$id": "3097", + "kind": "number", + "type": { + "$ref": "901" + }, + "value": 27 + }, + "diskMBpsReadWrite": { + "$id": "3098", + "kind": "number", + "type": { + "$ref": "905" + }, + "value": 2 + }, + "deleteOption": { + "$id": "3099", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + } + ] + }, + "diskControllerType": { + "$id": "3100", + "kind": "string", + "type": { + "$ref": "230" + }, + "value": "uzb" + } + } + }, + "networkProfile": { + "$id": "3101", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "3102", + "healthProbe": { + "$id": "3103", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3104", + "id": { + "$id": "3105", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" + } + } + }, + "networkInterfaceConfigurations": { + "$id": "3106", + "kind": "array", + "type": { + "$ref": "930" + }, + "value": [ + { + "$id": "3107", + "kind": "model", + "type": { + "$ref": "931" + }, + "value": { + "$id": "3108", + "name": { + "$id": "3109", + "kind": "string", + "type": { + "$ref": "933" + }, + "value": "i" + }, + "properties": { + "$id": "3110", + "kind": "model", + "type": { + "$ref": "937" + }, + "value": { + "$id": "3111", + "primary": { + "$id": "3112", + "kind": "boolean", + "type": { + "$ref": "939" + }, + "value": true + }, + "enableAcceleratedNetworking": { + "$id": "3113", + "kind": "boolean", + "type": { + "$ref": "943" + }, + "value": true + }, + "disableTcpStateTracking": { + "$id": "3114", + "kind": "boolean", + "type": { + "$ref": "947" + }, + "value": true + }, + "enableFpga": { + "$id": "3115", + "kind": "boolean", + "type": { + "$ref": "951" + }, + "value": true + }, + "networkSecurityGroup": { + "$id": "3116", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3117", + "id": { + "$id": "3118", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" + } + } + }, + "dnsSettings": { + "$id": "3119", + "kind": "model", + "type": { + "$ref": "958" + }, + "value": { + "$id": "3120", + "dnsServers": { + "$id": "3121", + "kind": "array", + "type": { + "$ref": "960" + }, + "value": [ + { + "$id": "3122", + "kind": "string", + "type": { + "$ref": "961" + }, + "value": "nxmmfolhclsesu" + } + ] + } + } + }, + "ipConfigurations": { + "$id": "3123", + "kind": "array", + "type": { + "$ref": "967" + }, + "value": [ + { + "$id": "3124", + "kind": "model", + "type": { + "$ref": "968" + }, + "value": { + "$id": "3125", + "name": { + "$id": "3126", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "oezqhkidfhyywlfzwuotilrpbqnjg" + }, + "properties": { + "$id": "3127", + "kind": "model", + "type": { + "$ref": "974" + }, + "value": { + "$id": "3128", + "subnet": { + "$id": "3129", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3130", + "id": { + "$id": "3131", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + } + }, + "primary": { + "$id": "3132", + "kind": "boolean", + "type": { + "$ref": "979" + }, + "value": true + }, + "publicIPAddressConfiguration": { + "$id": "3133", + "kind": "model", + "type": { + "$ref": "983" + }, + "value": { + "$id": "3134", + "name": { + "$id": "3135", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "fvpqf" + }, + "properties": { + "$id": "3136", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "$id": "3137", + "idleTimeoutInMinutes": { + "$id": "3138", + "kind": "number", + "type": { + "$ref": "991" + }, + "value": 9 + }, + "dnsSettings": { + "$id": "3139", + "kind": "model", + "type": { + "$ref": "995" + }, + "value": { + "$id": "3140", + "domainNameLabel": { + "$id": "3141", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "ukrddzvmorpmfsczjwtbvp" + }, + "domainNameLabelScope": { + "$id": "3142", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "TenantReuse" + } + } + }, + "ipTags": { + "$id": "3143", + "kind": "array", + "type": { + "$ref": "1006" + }, + "value": [ + { + "$id": "3144", + "kind": "model", + "type": { + "$ref": "1007" + }, + "value": { + "$id": "3145", + "ipTagType": { + "$id": "3146", + "kind": "string", + "type": { + "$ref": "1009" + }, + "value": "sddgsoemnzgqizale" + }, + "tag": { + "$id": "3147", + "kind": "string", + "type": { + "$ref": "1013" + }, + "value": "wufmhrjsakbiaetyara" + } + } + } + ] + }, + "publicIPPrefix": { + "$id": "3148", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3149", + "id": { + "$id": "3150", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" + } + } + }, + "publicIPAddressVersion": { + "$id": "3151", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "deleteOption": { + "$id": "3152", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + } + } + }, + "sku": { + "$id": "3153", + "kind": "model", + "type": { + "$ref": "1030" + }, + "value": { + "$id": "3154", + "name": { + "$id": "3155", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "Basic" + }, + "tier": { + "$id": "3156", + "kind": "string", + "type": { + "$ref": "264" + }, + "value": "Regional" + } + } + } + } + }, + "privateIPAddressVersion": { + "$id": "3157", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "applicationGatewayBackendAddressPools": { + "$id": "3158", + "kind": "array", + "type": { + "$ref": "1045" + }, + "value": [ + { + "$id": "3159", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3160", + "id": { + "$id": "3161", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "applicationSecurityGroups": { + "$id": "3162", + "kind": "array", + "type": { + "$ref": "1049" + }, + "value": [ + { + "$id": "3163", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3164", + "id": { + "$id": "3165", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" + } + } + } + ] + }, + "loadBalancerBackendAddressPools": { + "$id": "3166", + "kind": "array", + "type": { + "$ref": "1053" + }, + "value": [ + { + "$id": "3167", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3168", + "id": { + "$id": "3169", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "loadBalancerInboundNatPools": { + "$id": "3170", + "kind": "array", + "type": { + "$ref": "1057" + }, + "value": [ + { + "$id": "3171", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3172", + "id": { + "$id": "3173", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" + } + } + } + ] + } + } + } + } + } + ] + }, + "enableIPForwarding": { + "$id": "3174", + "kind": "boolean", + "type": { + "$ref": "1065" + }, + "value": true + }, + "deleteOption": { + "$id": "3175", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + }, + "auxiliaryMode": { + "$id": "3176", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "None" + }, + "auxiliarySku": { + "$id": "3177", + "kind": "string", + "type": { + "$ref": "278" + }, + "value": "None" + } + } + } + } + } + ] + }, + "networkApiVersion": { + "$id": "3178", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "2020-11-01" + } + } + }, + "securityProfile": { + "$id": "3179", + "kind": "model", + "type": { + "$ref": "1087" + }, + "value": { + "$id": "3180", + "uefiSettings": { + "$id": "3181", + "kind": "model", + "type": { + "$ref": "1089" + }, + "value": { + "$id": "3182", + "secureBootEnabled": { + "$id": "3183", + "kind": "boolean", + "type": { + "$ref": "1091" + }, + "value": true + }, + "vTpmEnabled": { + "$id": "3184", + "kind": "boolean", + "type": { + "$ref": "1095" + }, + "value": true + } + } + }, + "encryptionAtHost": { + "$id": "3185", + "kind": "boolean", + "type": { + "$ref": "1101" + }, + "value": true + }, + "securityType": { + "$id": "3186", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "TrustedLaunch" + }, + "encryptionIdentity": { + "$id": "3187", + "kind": "model", + "type": { + "$ref": "1108" + }, + "value": { + "$id": "3188", + "userAssignedIdentityResourceId": { + "$id": "3189", + "kind": "string", + "type": { + "$ref": "1110" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" + } + } + }, + "proxyAgentSettings": { + "$id": "3190", + "kind": "model", + "type": { + "$ref": "1117" + }, + "value": { + "$id": "3191", + "enabled": { + "$id": "3192", + "kind": "boolean", + "type": { + "$ref": "1119" + }, + "value": true + }, + "mode": { + "$id": "3193", + "kind": "string", + "type": { + "$ref": "300" + }, + "value": "Audit" + }, + "keyIncarnationId": { + "$id": "3194", + "kind": "number", + "type": { + "$ref": "1126" + }, + "value": 20 + } + } + } + } + }, + "diagnosticsProfile": { + "$id": "3195", + "kind": "model", + "type": { + "$ref": "1134" + }, + "value": { + "$id": "3196", + "bootDiagnostics": { + "$id": "3197", + "kind": "model", + "type": { + "$ref": "1136" + }, + "value": { + "$id": "3198", + "enabled": { + "$id": "3199", + "kind": "boolean", + "type": { + "$ref": "1138" + }, + "value": true + }, + "storageUri": { + "$id": "3200", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "http://myStorageAccountName.blob.core.windows.net" + } + } + } + } + }, + "extensionProfile": { + "$id": "3201", + "kind": "model", + "type": { + "$ref": "1150" + }, + "value": { + "$id": "3202", + "extensions": { + "$id": "3203", + "kind": "array", + "type": { + "$ref": "1152" + }, + "value": [ + { + "$id": "3204", + "kind": "model", + "type": { + "$ref": "1153" + }, + "value": { + "$id": "3205", + "name": { + "$id": "3206", + "kind": "string", + "type": { + "$ref": "1160" + }, + "value": "bndxuxx" + }, + "type": { + "$id": "3207", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "cmeam" + }, + "properties": { + "$id": "3208", + "kind": "model", + "type": { + "$ref": "1168" + }, + "value": { + "$id": "3209", + "forceUpdateTag": { + "$id": "3210", + "kind": "string", + "type": { + "$ref": "1170" + }, + "value": "yhgxw" + }, + "publisher": { + "$id": "3211", + "kind": "string", + "type": { + "$ref": "1174" + }, + "value": "kpxtirxjfprhs" + }, + "type": { + "$id": "3212", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "pgjilctjjwaa" + }, + "typeHandlerVersion": { + "$id": "3213", + "kind": "string", + "type": { + "$ref": "1182" + }, + "value": "zevivcoilxmbwlrihhhibq" + }, + "autoUpgradeMinorVersion": { + "$id": "3214", + "kind": "boolean", + "type": { + "$ref": "1186" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "3215", + "kind": "boolean", + "type": { + "$ref": "1190" + }, + "value": true + }, + "settings": { + "$id": "3216", + "kind": "dict", + "type": { + "$ref": "1194" + }, + "value": { + "$id": "3217" + } + }, + "provisioningState": { + "$id": "3218", + "kind": "string", + "type": { + "$ref": "1206" + }, + "value": "Succeeded" + }, + "provisionAfterExtensions": { + "$id": "3219", + "kind": "array", + "type": { + "$ref": "1210" + }, + "value": [ + { + "$id": "3220", + "kind": "string", + "type": { + "$ref": "1211" + }, + "value": "nftzosroolbcwmpupujzqwqe" + } + ] + }, + "suppressFailures": { + "$id": "3221", + "kind": "boolean", + "type": { + "$ref": "1215" + }, + "value": true + }, + "protectedSettingsFromKeyVault": { + "$id": "3222", + "kind": "model", + "type": { + "$ref": "1219" + }, + "value": { + "$id": "3223", + "secretUrl": { + "$id": "3224", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "https://myVaultName.vault.azure.net/secrets/secret/mySecretName" + }, + "sourceVault": { + "$id": "3225", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3226", + "id": { + "$id": "3227", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + } + } + } + } + }, + "id": { + "$id": "3228", + "kind": "string", + "type": { + "$ref": "1155" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" + } + } + } + ] + }, + "extensionsTimeBudget": { + "$id": "3229", + "kind": "string", + "type": { + "$ref": "1234" + }, + "value": "mbhjahtdygwgyszdwjtvlvtgchdwil" + } + } + }, + "licenseType": { + "$id": "3230", + "kind": "string", + "type": { + "$ref": "1240" + }, + "value": "v" + }, + "scheduledEventsProfile": { + "$id": "3231", + "kind": "model", + "type": { + "$ref": "1244" + }, + "value": { + "$id": "3232", + "terminateNotificationProfile": { + "$id": "3233", + "kind": "model", + "type": { + "$ref": "1246" + }, + "value": { + "$id": "3234", + "notBeforeTimeout": { + "$id": "3235", + "kind": "string", + "type": { + "$ref": "1248" + }, + "value": "iljppmmw" + }, + "enable": { + "$id": "3236", + "kind": "boolean", + "type": { + "$ref": "1252" + }, + "value": true + } + } + }, + "osImageNotificationProfile": { + "$id": "3237", + "kind": "model", + "type": { + "$ref": "1258" + }, + "value": { + "$id": "3238", + "notBeforeTimeout": { + "$id": "3239", + "kind": "string", + "type": { + "$ref": "1260" + }, + "value": "olbpadmevekyczfokodtfprxti" + }, + "enable": { + "$id": "3240", + "kind": "boolean", + "type": { + "$ref": "1264" + }, + "value": true + } + } + } + } + }, + "userData": { + "$id": "3241", + "kind": "string", + "type": { + "$ref": "1272" + }, + "value": "s" + }, + "capacityReservation": { + "$id": "3242", + "kind": "model", + "type": { + "$ref": "1276" + }, + "value": { + "$id": "3243", + "capacityReservationGroup": { + "$id": "3244", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3245", + "id": { + "$id": "3246", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" + } + } + } + } + }, + "applicationProfile": { + "$id": "3247", + "kind": "model", + "type": { + "$ref": "1283" + }, + "value": { + "$id": "3248", + "galleryApplications": { + "$id": "3249", + "kind": "array", + "type": { + "$ref": "1285" + }, + "value": [ + { + "$id": "3250", + "kind": "model", + "type": { + "$ref": "1286" + }, + "value": { + "$id": "3251", + "tags": { + "$id": "3252", + "kind": "string", + "type": { + "$ref": "1288" + }, + "value": "eyrqjbib" + }, + "order": { + "$id": "3253", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 5 + }, + "packageReferenceId": { + "$id": "3254", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}" + }, + "treatFailureAsDeploymentFailure": { + "$id": "3255", + "kind": "boolean", + "type": { + "$ref": "1305" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "3256", + "kind": "boolean", + "type": { + "$ref": "1309" + }, + "value": true + } + } + } + ] + } + } + }, + "hardwareProfile": { + "$id": "3257", + "kind": "model", + "type": { + "$ref": "1317" + }, + "value": { + "$id": "3258", + "vmSizeProperties": { + "$id": "3259", + "kind": "model", + "type": { + "$ref": "1319" + }, + "value": { + "$id": "3260", + "vCPUsAvailable": { + "$id": "3261", + "kind": "number", + "type": { + "$ref": "1321" + }, + "value": 16 + }, + "vCPUsPerCore": { + "$id": "3262", + "kind": "number", + "type": { + "$ref": "1325" + }, + "value": 23 + } + } + } + } + }, + "serviceArtifactReference": { + "$id": "3263", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "$id": "3264", + "id": { + "$id": "3265", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" + } + } + }, + "securityPostureReference": { + "$id": "3266", + "kind": "model", + "type": { + "$ref": "1342" + }, + "value": { + "$id": "3267", + "id": { + "$id": "3268", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest" + }, + "excludeExtensions": { + "$id": "3269", + "kind": "array", + "type": { + "$ref": "1348" + }, + "value": [ + { + "$id": "3270", + "kind": "string", + "type": { + "$ref": "1349" + }, + "value": "{securityPostureVMExtensionName}" + } + ] + }, + "isOverridable": { + "$id": "3271", + "kind": "boolean", + "type": { + "$ref": "1353" + }, + "value": true + } + } + }, + "timeCreated": { + "$id": "3272", + "kind": "string", + "type": { + "$ref": "1359" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + }, + "computeApiVersion": { + "$id": "3273", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2023-07-01" + }, + "platformFaultDomainCount": { + "$id": "3274", + "kind": "number", + "type": { + "$ref": "1379" + }, + "value": 1 + } + } + }, + "timeCreated": { + "$id": "3275", + "kind": "string", + "type": { + "$ref": "1397" + }, + "value": "2024-07-10T00:16:34.8590555+00:00" + }, + "uniqueId": { + "$id": "3276", + "kind": "string", + "type": { + "$ref": "1402" + }, + "value": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + } + } + }, + "zones": { + "$id": "3277", + "kind": "array", + "type": { + "$ref": "1408" + }, + "value": [ + { + "$id": "3278", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone1" + }, + { + "$id": "3279", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone2" + } + ] + }, + "identity": { + "$id": "3280", + "kind": "model", + "type": { + "$ref": "1413" + }, + "value": { + "$id": "3281", + "principalId": { + "$id": "3282", + "kind": "string", + "type": { + "$ref": "1415" + }, + "value": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "tenantId": { + "$id": "3283", + "kind": "string", + "type": { + "$ref": "1420" + }, + "value": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "type": { + "$id": "3284", + "kind": "string", + "type": { + "$ref": "306" + }, + "value": "UserAssigned" + }, + "userAssignedIdentities": { + "$id": "3285", + "kind": "dict", + "type": { + "$ref": "1428" + }, + "value": { + "$id": "3286", + "key9851": { + "$id": "3287", + "kind": "model", + "type": { + "$ref": "1431" + }, + "value": { + "$id": "3288", + "principalId": { + "$id": "3289", + "kind": "string", + "type": { + "$ref": "1438" + }, + "value": "6d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "clientId": { + "$id": "3290", + "kind": "string", + "type": { + "$ref": "1433" + }, + "value": "7d508e5b-374b-4382-9a1c-01fb8b6cb37c" + } + } + } + } + } + } + }, + "tags": { + "$id": "3291", + "kind": "dict", + "type": { + "$ref": "396" + }, + "value": { + "$id": "3292", + "key3518": { + "$id": "3293", + "kind": "string", + "type": { + "$ref": "398" + }, + "value": "luvrnuvsgdpbuofdskkcoqhfh" + } + } + }, + "plan": { + "$id": "3294", + "kind": "model", + "type": { + "$ref": "1447" + }, + "value": { + "$id": "3295", + "name": { + "$id": "3296", + "kind": "string", + "type": { + "$ref": "1449" + }, + "value": "jwgrcrnrtfoxn" + }, + "publisher": { + "$id": "3297", + "kind": "string", + "type": { + "$ref": "1453" + }, + "value": "iozjbiqqckqm" + }, + "product": { + "$id": "3298", + "kind": "string", + "type": { + "$ref": "1457" + }, + "value": "cgopbyvdyqikahwyxfpzwaqk" + }, + "promotionCode": { + "$id": "3299", + "kind": "string", + "type": { + "$ref": "1461" + }, + "value": "naglezezplcaruqogtxnuizslqnnbr" + }, + "version": { + "$id": "3300", + "kind": "string", + "type": { + "$ref": "1465" + }, + "value": "wa" + } + } + }, + "location": { + "$id": "3301", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "westus" + }, + "id": { + "$id": "3302", + "kind": "string", + "type": { + "$ref": "354" + }, + "value": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet" + }, + "name": { + "$id": "3303", + "kind": "string", + "type": { + "$ref": "359" + }, + "value": "testFleet" + }, + "type": { + "$id": "3304", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "Microsoft.AzureFleet/fleets" + }, + "systemData": { + "$id": "3305", + "kind": "model", + "type": { + "$ref": "368" + }, + "value": { + "$id": "3306", + "createdBy": { + "$id": "3307", + "kind": "string", + "type": { + "$ref": "370" + }, + "value": "rowegentrpoajsv" + }, + "createdByType": { + "$id": "3308", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "createdAt": { + "$id": "3309", + "kind": "string", + "type": { + "$ref": "377" + }, + "value": "2024-04-29T21:51:44.043Z" + }, + "lastModifiedBy": { + "$id": "3310", + "kind": "string", + "type": { + "$ref": "382" + }, + "value": "edwuayhhaoepxzisfaqjhmrxjq" + }, + "lastModifiedByType": { + "$id": "3311", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "3312", + "kind": "string", + "type": { + "$ref": "389" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + } + } + } + } + ] + }, + { + "$id": "3313", + "kind": "http", + "name": "Fleets_CreateOrUpdate_MinimumSet", + "description": "Fleets_CreateOrUpdate_MinimumSet", + "filePath": "2024-11-01/Fleets_CreateOrUpdate_MinimumSet.json", + "parameters": [ + { + "$id": "3314", + "parameter": { + "$ref": "2179" + }, + "value": { + "$id": "3315", + "kind": "string", + "type": { + "$ref": "2180" + }, + "value": "2024-11-01" + } + }, + { + "$id": "3316", + "parameter": { + "$ref": "2183" + }, + "value": { + "$id": "3317", + "kind": "string", + "type": { + "$ref": "2184" + }, + "value": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB" + } + }, + { + "$id": "3318", + "parameter": { + "$ref": "2186" + }, + "value": { + "$id": "3319", + "kind": "string", + "type": { + "$ref": "2187" + }, + "value": "rgazurefleet" + } + }, + { + "$id": "3320", + "parameter": { + "$ref": "2188" + }, + "value": { + "$id": "3321", + "kind": "string", + "type": { + "$ref": "2189" + }, + "value": "testFleet" + } + }, + { + "$id": "3322", + "parameter": { + "$ref": "2196" + }, + "value": { + "$id": "3323", + "kind": "model", + "type": { + "$ref": "350" + }, + "value": { + "$id": "3324", + "properties": { + "$id": "3325", + "kind": "model", + "type": { + "$ref": "406" + }, + "value": { + "$id": "3326", + "spotPriorityProfile": { + "$id": "3327", + "kind": "model", + "type": { + "$ref": "411" + }, + "value": { + "$id": "3328", + "capacity": { + "$id": "3329", + "kind": "number", + "type": { + "$ref": "413" + }, + "value": 2 + }, + "minCapacity": { + "$id": "3330", + "kind": "number", + "type": { + "$ref": "417" + }, + "value": 1 + }, + "evictionPolicy": { + "$id": "3331", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Delete" + }, + "allocationStrategy": { + "$id": "3332", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "PriceCapacityOptimized" + }, + "maintain": { + "$id": "3333", + "kind": "boolean", + "type": { + "$ref": "431" + }, + "value": true + } + } + }, + "regularPriorityProfile": { + "$id": "3334", + "kind": "model", + "type": { + "$ref": "437" + }, + "value": { + "$id": "3335", + "capacity": { + "$id": "3336", + "kind": "number", + "type": { + "$ref": "439" + }, + "value": 2 + }, + "minCapacity": { + "$id": "3337", + "kind": "number", + "type": { + "$ref": "443" + }, + "value": 1 + }, + "allocationStrategy": { + "$id": "3338", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "LowestPrice" + } + } + }, + "vmSizesProfile": { + "$id": "3339", + "kind": "array", + "type": { + "$ref": "452" + }, + "value": [ + { + "$id": "3340", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "3341", + "name": { + "$id": "3342", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_D2s_v3" + } + } + }, + { + "$id": "3343", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "3344", + "name": { + "$id": "3345", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_D4s_v3" + } + } + }, + { + "$id": "3346", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "3347", + "name": { + "$id": "3348", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_E2s_v3" + } + } + } + ] + }, + "computeProfile": { + "$id": "3349", + "kind": "model", + "type": { + "$ref": "1370" + }, + "value": { + "$id": "3350", + "baseVirtualMachineProfile": { + "$id": "3351", + "kind": "model", + "type": { + "$ref": "565" + }, + "value": { + "$id": "3352", + "storageProfile": { + "$id": "3353", + "kind": "model", + "type": { + "$ref": "757" + }, + "value": { + "$id": "3354", + "imageReference": { + "$id": "3355", + "kind": "model", + "type": { + "$ref": "759" + }, + "value": { + "$id": "3356", + "publisher": { + "$id": "3357", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "canonical" + }, + "offer": { + "$id": "3358", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "0001-com-ubuntu-server-focal" + }, + "sku": { + "$id": "3359", + "kind": "string", + "type": { + "$ref": "774" + }, + "value": "20_04-lts-gen2" + }, + "version": { + "$id": "3360", + "kind": "string", + "type": { + "$ref": "778" + }, + "value": "latest" + } + } + }, + "osDisk": { + "$id": "3361", + "kind": "model", + "type": { + "$ref": "796" + }, + "value": { + "$id": "3362", + "caching": { + "$id": "3363", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "ReadWrite" + }, + "createOption": { + "$id": "3364", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "osType": { + "$id": "3365", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Linux" + }, + "managedDisk": { + "$id": "3366", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "3367", + "storageAccountType": { + "$id": "3368", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + } + } + } + } + } + } + }, + "osProfile": { + "$id": "3369", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "$id": "3370", + "computerNamePrefix": { + "$id": "3371", + "kind": "string", + "type": { + "$ref": "569" + }, + "value": "prefix" + }, + "adminUsername": { + "$id": "3372", + "kind": "string", + "type": { + "$ref": "573" + }, + "value": "azureuser" + }, + "adminPassword": { + "$id": "3373", + "kind": "string", + "type": { + "$ref": "577" + }, + "value": "TestPassword$0" + }, + "linuxConfiguration": { + "$id": "3374", + "kind": "model", + "type": { + "$ref": "666" + }, + "value": { + "$id": "3375", + "disablePasswordAuthentication": { + "$id": "3376", + "kind": "boolean", + "type": { + "$ref": "668" + }, + "value": false + } + } + } + } + }, + "networkProfile": { + "$id": "3377", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "3378", + "networkInterfaceConfigurations": { + "$id": "3379", + "kind": "array", + "type": { + "$ref": "930" + }, + "value": [ + { + "$id": "3380", + "kind": "model", + "type": { + "$ref": "931" + }, + "value": { + "$id": "3381", + "name": { + "$id": "3382", + "kind": "string", + "type": { + "$ref": "933" + }, + "value": "vmNameTest" + }, + "properties": { + "$id": "3383", + "kind": "model", + "type": { + "$ref": "937" + }, + "value": { + "$id": "3384", + "primary": { + "$id": "3385", + "kind": "boolean", + "type": { + "$ref": "939" + }, + "value": true + }, + "enableAcceleratedNetworking": { + "$id": "3386", + "kind": "boolean", + "type": { + "$ref": "943" + }, + "value": false + }, + "ipConfigurations": { + "$id": "3387", + "kind": "array", + "type": { + "$ref": "967" + }, + "value": [ + { + "$id": "3388", + "kind": "model", + "type": { + "$ref": "968" + }, + "value": { + "$id": "3389", + "name": { + "$id": "3390", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "vmNameTest" + }, + "properties": { + "$id": "3391", + "kind": "model", + "type": { + "$ref": "974" + }, + "value": { + "$id": "3392", + "subnet": { + "$id": "3393", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3394", + "id": { + "$id": "3395", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + } + }, + "primary": { + "$id": "3396", + "kind": "boolean", + "type": { + "$ref": "979" + }, + "value": true + }, + "loadBalancerBackendAddressPools": { + "$id": "3397", + "kind": "array", + "type": { + "$ref": "1053" + }, + "value": [ + { + "$id": "3398", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3399", + "id": { + "$id": "3400", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + } + } + } + } + } + ] + }, + "enableIPForwarding": { + "$id": "3401", + "kind": "boolean", + "type": { + "$ref": "1065" + }, + "value": true + } + } + } + } + } + ] + }, + "networkApiVersion": { + "$id": "3402", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "2022-07-01" + } + } + } + } + }, + "computeApiVersion": { + "$id": "3403", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2023-09-01" + }, + "platformFaultDomainCount": { + "$id": "3404", + "kind": "number", + "type": { + "$ref": "1379" + }, + "value": 1 + } + } + } + } + }, + "tags": { + "$id": "3405", + "kind": "dict", + "type": { + "$ref": "396" + }, + "value": { + "$id": "3406", + "key": { + "$id": "3407", + "kind": "string", + "type": { + "$ref": "398" + }, + "value": "fleets-test" + } + } + }, + "location": { + "$id": "3408", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "eastus2euap" + } + } + } + } + ], + "responses": [ + { + "$id": "3409", + "response": { + "$ref": "2197" + }, + "statusCode": 200, + "bodyValue": { + "$id": "3410", + "kind": "model", + "type": { + "$ref": "350" + }, + "value": { + "$id": "3411", + "properties": { + "$id": "3412", + "kind": "model", + "type": { + "$ref": "406" + }, + "value": { + "$id": "3413", + "provisioningState": { + "$id": "3414", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Succeeded" + }, + "spotPriorityProfile": { + "$id": "3415", + "kind": "model", + "type": { + "$ref": "411" + }, + "value": { + "$id": "3416", + "capacity": { + "$id": "3417", + "kind": "number", + "type": { + "$ref": "413" + }, + "value": 2 + }, + "minCapacity": { + "$id": "3418", + "kind": "number", + "type": { + "$ref": "417" + }, + "value": 1 + }, + "evictionPolicy": { + "$id": "3419", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Delete" + }, + "allocationStrategy": { + "$id": "3420", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "PriceCapacityOptimized" + }, + "maintain": { + "$id": "3421", + "kind": "boolean", + "type": { + "$ref": "431" + }, + "value": true + } + } + }, + "regularPriorityProfile": { + "$id": "3422", + "kind": "model", + "type": { + "$ref": "437" + }, + "value": { + "$id": "3423", + "capacity": { + "$id": "3424", + "kind": "number", + "type": { + "$ref": "439" + }, + "value": 2 + }, + "minCapacity": { + "$id": "3425", + "kind": "number", + "type": { + "$ref": "443" + }, + "value": 1 + }, + "allocationStrategy": { + "$id": "3426", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "LowestPrice" + } + } + }, + "vmSizesProfile": { + "$id": "3427", + "kind": "array", + "type": { + "$ref": "452" + }, + "value": [ + { + "$id": "3428", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "3429", + "name": { + "$id": "3430", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_D2s_v3" + } + } + }, + { + "$id": "3431", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "3432", + "name": { + "$id": "3433", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_D4s_v3" + } + } + }, + { + "$id": "3434", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "3435", + "name": { + "$id": "3436", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_E2s_v3" + } + } + } + ] + }, + "computeProfile": { + "$id": "3437", + "kind": "model", + "type": { + "$ref": "1370" + }, + "value": { + "$id": "3438", + "baseVirtualMachineProfile": { + "$id": "3439", + "kind": "model", + "type": { + "$ref": "565" + }, + "value": { + "$id": "3440", + "storageProfile": { + "$id": "3441", + "kind": "model", + "type": { + "$ref": "757" + }, + "value": { + "$id": "3442", + "imageReference": { + "$id": "3443", + "kind": "model", + "type": { + "$ref": "759" + }, + "value": { + "$id": "3444", + "publisher": { + "$id": "3445", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "canonical" + }, + "offer": { + "$id": "3446", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "0001-com-ubuntu-server-focal" + }, + "sku": { + "$id": "3447", + "kind": "string", + "type": { + "$ref": "774" + }, + "value": "20_04-lts-gen2" + }, + "version": { + "$id": "3448", + "kind": "string", + "type": { + "$ref": "778" + }, + "value": "latest" + } + } + }, + "osDisk": { + "$id": "3449", + "kind": "model", + "type": { + "$ref": "796" + }, + "value": { + "$id": "3450", + "caching": { + "$id": "3451", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "ReadWrite" + }, + "createOption": { + "$id": "3452", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "osType": { + "$id": "3453", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Linux" + }, + "managedDisk": { + "$id": "3454", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "3455", + "storageAccountType": { + "$id": "3456", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + } + } + } + } + } + } + }, + "osProfile": { + "$id": "3457", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "$id": "3458", + "computerNamePrefix": { + "$id": "3459", + "kind": "string", + "type": { + "$ref": "569" + }, + "value": "prefix" + }, + "adminUsername": { + "$id": "3460", + "kind": "string", + "type": { + "$ref": "573" + }, + "value": "azureuser" + }, + "linuxConfiguration": { + "$id": "3461", + "kind": "model", + "type": { + "$ref": "666" + }, + "value": { + "$id": "3462", + "disablePasswordAuthentication": { + "$id": "3463", + "kind": "boolean", + "type": { + "$ref": "668" + }, + "value": false + } + } + } + } + }, + "networkProfile": { + "$id": "3464", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "3465", + "networkInterfaceConfigurations": { + "$id": "3466", + "kind": "array", + "type": { + "$ref": "930" + }, + "value": [ + { + "$id": "3467", + "kind": "model", + "type": { + "$ref": "931" + }, + "value": { + "$id": "3468", + "name": { + "$id": "3469", + "kind": "string", + "type": { + "$ref": "933" + }, + "value": "vmNameTest" + }, + "properties": { + "$id": "3470", + "kind": "model", + "type": { + "$ref": "937" + }, + "value": { + "$id": "3471", + "primary": { + "$id": "3472", + "kind": "boolean", + "type": { + "$ref": "939" + }, + "value": true + }, + "enableAcceleratedNetworking": { + "$id": "3473", + "kind": "boolean", + "type": { + "$ref": "943" + }, + "value": false + }, + "ipConfigurations": { + "$id": "3474", + "kind": "array", + "type": { + "$ref": "967" + }, + "value": [ + { + "$id": "3475", + "kind": "model", + "type": { + "$ref": "968" + }, + "value": { + "$id": "3476", + "name": { + "$id": "3477", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "vmNameTest" + }, + "properties": { + "$id": "3478", + "kind": "model", + "type": { + "$ref": "974" + }, + "value": { + "$id": "3479", + "subnet": { + "$id": "3480", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3481", + "id": { + "$id": "3482", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + } + }, + "primary": { + "$id": "3483", + "kind": "boolean", + "type": { + "$ref": "979" + }, + "value": true + }, + "loadBalancerBackendAddressPools": { + "$id": "3484", + "kind": "array", + "type": { + "$ref": "1053" + }, + "value": [ + { + "$id": "3485", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3486", + "id": { + "$id": "3487", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + } + } + } + } + } + ] + }, + "enableIPForwarding": { + "$id": "3488", + "kind": "boolean", + "type": { + "$ref": "1065" + }, + "value": true + } + } + } + } + } + ] + }, + "networkApiVersion": { + "$id": "3489", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "2022-07-01" + } + } + } + } + }, + "computeApiVersion": { + "$id": "3490", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2023-09-01" + }, + "platformFaultDomainCount": { + "$id": "3491", + "kind": "number", + "type": { + "$ref": "1379" + }, + "value": 1 + } + } + }, + "timeCreated": { + "$id": "3492", + "kind": "string", + "type": { + "$ref": "1397" + }, + "value": "2024-07-10T00:16:34.8590555+00:00" + }, + "uniqueId": { + "$id": "3493", + "kind": "string", + "type": { + "$ref": "1402" + }, + "value": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + } + } + }, + "tags": { + "$id": "3494", + "kind": "dict", + "type": { + "$ref": "396" + }, + "value": { + "$id": "3495", + "key": { + "$id": "3496", + "kind": "string", + "type": { + "$ref": "398" + }, + "value": "fleets-test" + } + } + }, + "location": { + "$id": "3497", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "eastus2euap" + }, + "id": { + "$id": "3498", + "kind": "string", + "type": { + "$ref": "354" + }, + "value": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet" + }, + "name": { + "$id": "3499", + "kind": "string", + "type": { + "$ref": "359" + }, + "value": "testFleet" + }, + "type": { + "$id": "3500", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "Microsoft.AzureFleet/fleets" + } + } + } + }, + { + "$id": "3501", + "response": { + "$ref": "2198" + }, + "statusCode": 201, + "bodyValue": { + "$id": "3502", + "kind": "model", + "type": { + "$ref": "350" + }, + "value": { + "$id": "3503", + "properties": { + "$id": "3504", + "kind": "model", + "type": { + "$ref": "406" + }, + "value": { + "$id": "3505", + "provisioningState": { + "$id": "3506", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Creating" + }, + "spotPriorityProfile": { + "$id": "3507", + "kind": "model", + "type": { + "$ref": "411" + }, + "value": { + "$id": "3508", + "capacity": { + "$id": "3509", + "kind": "number", + "type": { + "$ref": "413" + }, + "value": 2 + }, + "minCapacity": { + "$id": "3510", + "kind": "number", + "type": { + "$ref": "417" + }, + "value": 1 + }, + "evictionPolicy": { + "$id": "3511", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Delete" + }, + "allocationStrategy": { + "$id": "3512", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "PriceCapacityOptimized" + }, + "maintain": { + "$id": "3513", + "kind": "boolean", + "type": { + "$ref": "431" + }, + "value": true + } + } + }, + "regularPriorityProfile": { + "$id": "3514", + "kind": "model", + "type": { + "$ref": "437" + }, + "value": { + "$id": "3515", + "capacity": { + "$id": "3516", + "kind": "number", + "type": { + "$ref": "439" + }, + "value": 2 + }, + "minCapacity": { + "$id": "3517", + "kind": "number", + "type": { + "$ref": "443" + }, + "value": 1 + }, + "allocationStrategy": { + "$id": "3518", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "LowestPrice" + } + } + }, + "vmSizesProfile": { + "$id": "3519", + "kind": "array", + "type": { + "$ref": "452" + }, + "value": [ + { + "$id": "3520", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "3521", + "name": { + "$id": "3522", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_D2s_v3" + } + } + }, + { + "$id": "3523", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "3524", + "name": { + "$id": "3525", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_D4s_v3" + } + } + }, + { + "$id": "3526", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "3527", + "name": { + "$id": "3528", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_E2s_v3" + } + } + } + ] + }, + "computeProfile": { + "$id": "3529", + "kind": "model", + "type": { + "$ref": "1370" + }, + "value": { + "$id": "3530", + "baseVirtualMachineProfile": { + "$id": "3531", + "kind": "model", + "type": { + "$ref": "565" + }, + "value": { + "$id": "3532", + "storageProfile": { + "$id": "3533", + "kind": "model", + "type": { + "$ref": "757" + }, + "value": { + "$id": "3534", + "imageReference": { + "$id": "3535", + "kind": "model", + "type": { + "$ref": "759" + }, + "value": { + "$id": "3536", + "publisher": { + "$id": "3537", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "canonical" + }, + "offer": { + "$id": "3538", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "0001-com-ubuntu-server-focal" + }, + "sku": { + "$id": "3539", + "kind": "string", + "type": { + "$ref": "774" + }, + "value": "20_04-lts-gen2" + }, + "version": { + "$id": "3540", + "kind": "string", + "type": { + "$ref": "778" + }, + "value": "latest" + } + } + }, + "osDisk": { + "$id": "3541", + "kind": "model", + "type": { + "$ref": "796" + }, + "value": { + "$id": "3542", + "caching": { + "$id": "3543", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "ReadWrite" + }, + "createOption": { + "$id": "3544", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "osType": { + "$id": "3545", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Linux" + }, + "managedDisk": { + "$id": "3546", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "3547", + "storageAccountType": { + "$id": "3548", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + } + } + } + } + } + } + }, + "osProfile": { + "$id": "3549", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "$id": "3550", + "computerNamePrefix": { + "$id": "3551", + "kind": "string", + "type": { + "$ref": "569" + }, + "value": "prefix" + }, + "adminUsername": { + "$id": "3552", + "kind": "string", + "type": { + "$ref": "573" + }, + "value": "azureuser" + }, + "linuxConfiguration": { + "$id": "3553", + "kind": "model", + "type": { + "$ref": "666" + }, + "value": { + "$id": "3554", + "disablePasswordAuthentication": { + "$id": "3555", + "kind": "boolean", + "type": { + "$ref": "668" + }, + "value": false + } + } + } + } + }, + "networkProfile": { + "$id": "3556", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "3557", + "networkInterfaceConfigurations": { + "$id": "3558", + "kind": "array", + "type": { + "$ref": "930" + }, + "value": [ + { + "$id": "3559", + "kind": "model", + "type": { + "$ref": "931" + }, + "value": { + "$id": "3560", + "name": { + "$id": "3561", + "kind": "string", + "type": { + "$ref": "933" + }, + "value": "vmNameTest" + }, + "properties": { + "$id": "3562", + "kind": "model", + "type": { + "$ref": "937" + }, + "value": { + "$id": "3563", + "primary": { + "$id": "3564", + "kind": "boolean", + "type": { + "$ref": "939" + }, + "value": true + }, + "enableAcceleratedNetworking": { + "$id": "3565", + "kind": "boolean", + "type": { + "$ref": "943" + }, + "value": false + }, + "ipConfigurations": { + "$id": "3566", + "kind": "array", + "type": { + "$ref": "967" + }, + "value": [ + { + "$id": "3567", + "kind": "model", + "type": { + "$ref": "968" + }, + "value": { + "$id": "3568", + "name": { + "$id": "3569", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "vmNameTest" + }, + "properties": { + "$id": "3570", + "kind": "model", + "type": { + "$ref": "974" + }, + "value": { + "$id": "3571", + "subnet": { + "$id": "3572", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3573", + "id": { + "$id": "3574", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + } + }, + "primary": { + "$id": "3575", + "kind": "boolean", + "type": { + "$ref": "979" + }, + "value": true + }, + "loadBalancerBackendAddressPools": { + "$id": "3576", + "kind": "array", + "type": { + "$ref": "1053" + }, + "value": [ + { + "$id": "3577", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3578", + "id": { + "$id": "3579", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + } + } + } + } + } + ] + }, + "enableIPForwarding": { + "$id": "3580", + "kind": "boolean", + "type": { + "$ref": "1065" + }, + "value": true + } + } + } + } + } + ] + }, + "networkApiVersion": { + "$id": "3581", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "2022-07-01" + } + } + } + } + }, + "computeApiVersion": { + "$id": "3582", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2023-09-01" + }, + "platformFaultDomainCount": { + "$id": "3583", + "kind": "number", + "type": { + "$ref": "1379" + }, + "value": 1 + } + } + }, + "timeCreated": { + "$id": "3584", + "kind": "string", + "type": { + "$ref": "1397" + }, + "value": "2024-07-10T00:16:34.8590555+00:00" + }, + "uniqueId": { + "$id": "3585", + "kind": "string", + "type": { + "$ref": "1402" + }, + "value": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + } + } + }, + "tags": { + "$id": "3586", + "kind": "dict", + "type": { + "$ref": "396" + }, + "value": { + "$id": "3587", + "key": { + "$id": "3588", + "kind": "string", + "type": { + "$ref": "398" + }, + "value": "fleets-test" + } + } + }, + "location": { + "$id": "3589", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "eastus2euap" + }, + "id": { + "$id": "3590", + "kind": "string", + "type": { + "$ref": "354" + }, + "value": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet" + }, + "name": { + "$id": "3591", + "kind": "string", + "type": { + "$ref": "359" + }, + "value": "testFleet" + }, + "type": { + "$id": "3592", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "Microsoft.AzureFleet/fleets" + } + } + } + } + ] + } + ] + }, + { + "$id": "3593", + "name": "update", + "resourceName": "Fleet", + "doc": "Update a Fleet", + "accessibility": "public", + "parameters": [ + { + "$id": "3594", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "3595", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "3596", + "type": { + "$id": "3597", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3598", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "3599", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "3600", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3601", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "3602", + "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": "3603", + "name": "fleetName", + "nameInRequest": "fleetName", + "doc": "The name of the Compute Fleet", + "type": { + "$id": "3604", + "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": "3605", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "3606", + "kind": "constant", + "valueType": { + "$id": "3607", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "3608", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "3609", + "kind": "constant", + "valueType": { + "$id": "3610", + "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 + }, + { + "$id": "3611", + "name": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "1504" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "3612", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "350" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "3613", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "3614", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "3615", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "3616", + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "3617", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "3618", + "finalStateVia": 1, + "finalResponse": { + "$id": "3619", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "350" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleets.update", + "decorators": [], + "examples": [ + { + "$id": "3620", + "kind": "http", + "name": "Fleets_Update", + "description": "Fleets_Update", + "filePath": "2024-11-01/Fleets_Update.json", + "parameters": [ + { + "$id": "3621", + "parameter": { + "$ref": "3594" + }, + "value": { + "$id": "3622", + "kind": "string", + "type": { + "$ref": "3595" + }, + "value": "2024-11-01" + } + }, + { + "$id": "3623", + "parameter": { + "$ref": "3598" + }, + "value": { + "$id": "3624", + "kind": "string", + "type": { + "$ref": "3599" + }, + "value": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB" + } + }, + { + "$id": "3625", + "parameter": { + "$ref": "3601" + }, + "value": { + "$id": "3626", + "kind": "string", + "type": { + "$ref": "3602" + }, + "value": "rgazurefleet" + } + }, + { + "$id": "3627", + "parameter": { + "$ref": "3603" + }, + "value": { + "$id": "3628", + "kind": "string", + "type": { + "$ref": "3604" + }, + "value": "testFleet" + } + }, + { + "$id": "3629", + "parameter": { + "$ref": "3611" + }, + "value": { + "$id": "3630", + "kind": "model", + "type": { + "$ref": "1504" + }, + "value": { + "$id": "3631", + "identity": { + "$id": "3632", + "kind": "model", + "type": { + "$ref": "1512" + }, + "value": { + "$id": "3633", + "type": { + "$id": "3634", + "kind": "string", + "type": { + "$ref": "306" + }, + "value": "UserAssigned" + }, + "userAssignedIdentities": { + "$id": "3635", + "kind": "dict", + "type": { + "$ref": "1517" + }, + "value": { + "$id": "3636" + } + } + } + }, + "tags": { + "$id": "3637", + "kind": "dict", + "type": { + "$ref": "1506" + }, + "value": { + "$id": "3638" + } + }, + "properties": { + "$id": "3639", + "kind": "model", + "type": { + "$ref": "406" + }, + "value": { + "$id": "3640", + "spotPriorityProfile": { + "$id": "3641", + "kind": "model", + "type": { + "$ref": "411" + }, + "value": { + "$id": "3642", + "capacity": { + "$id": "3643", + "kind": "number", + "type": { + "$ref": "413" + }, + "value": 20 + }, + "minCapacity": { + "$id": "3644", + "kind": "number", + "type": { + "$ref": "417" + }, + "value": 10 + }, + "maxPricePerVM": { + "$id": "3645", + "kind": "number", + "type": { + "$ref": "421" + }, + "value": 0.00865 + }, + "evictionPolicy": { + "$id": "3646", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Delete" + }, + "allocationStrategy": { + "$id": "3647", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "PriceCapacityOptimized" + }, + "maintain": { + "$id": "3648", + "kind": "boolean", + "type": { + "$ref": "431" + }, + "value": true + } + } + }, + "regularPriorityProfile": { + "$id": "3649", + "kind": "model", + "type": { + "$ref": "437" + }, + "value": { + "$id": "3650", + "capacity": { + "$id": "3651", + "kind": "number", + "type": { + "$ref": "439" + }, + "value": 20 + }, + "minCapacity": { + "$id": "3652", + "kind": "number", + "type": { + "$ref": "443" + }, + "value": 10 + }, + "allocationStrategy": { + "$id": "3653", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "LowestPrice" + } + } + }, + "vmSizesProfile": { + "$id": "3654", + "kind": "array", + "type": { + "$ref": "452" + }, + "value": [ + { + "$id": "3655", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "3656", + "name": { + "$id": "3657", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_d1_v2" + }, + "rank": { + "$id": "3658", + "kind": "number", + "type": { + "$ref": "459" + }, + "value": 19225 + } + } + } + ] + }, + "computeProfile": { + "$id": "3659", + "kind": "model", + "type": { + "$ref": "1370" + }, + "value": { + "$id": "3660", + "baseVirtualMachineProfile": { + "$id": "3661", + "kind": "model", + "type": { + "$ref": "565" + }, + "value": { + "$id": "3662", + "osProfile": { + "$id": "3663", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "$id": "3664", + "computerNamePrefix": { + "$id": "3665", + "kind": "string", + "type": { + "$ref": "569" + }, + "value": "o" + }, + "adminUsername": { + "$id": "3666", + "kind": "string", + "type": { + "$ref": "573" + }, + "value": "nrgzqciiaaxjrqldbmjbqkyhntp" + }, + "adminPassword": { + "$id": "3667", + "kind": "string", + "type": { + "$ref": "577" + }, + "value": "adfbrdxpv" + }, + "customData": { + "$id": "3668", + "kind": "string", + "type": { + "$ref": "581" + }, + "value": "xjjib" + }, + "windowsConfiguration": { + "$id": "3669", + "kind": "model", + "type": { + "$ref": "585" + }, + "value": { + "$id": "3670", + "provisionVMAgent": { + "$id": "3671", + "kind": "boolean", + "type": { + "$ref": "587" + }, + "value": true + }, + "enableAutomaticUpdates": { + "$id": "3672", + "kind": "boolean", + "type": { + "$ref": "591" + }, + "value": true + }, + "timeZone": { + "$id": "3673", + "kind": "string", + "type": { + "$ref": "595" + }, + "value": "hlyjiqcfksgrpjrct" + }, + "additionalUnattendContent": { + "$id": "3674", + "kind": "array", + "type": { + "$ref": "599" + }, + "value": [ + { + "$id": "3675", + "kind": "model", + "type": { + "$ref": "600" + }, + "value": { + "$id": "3676", + "passName": { + "$id": "3677", + "kind": "string", + "type": { + "$ref": "602" + }, + "value": "OobeSystem" + }, + "componentName": { + "$id": "3678", + "kind": "string", + "type": { + "$ref": "606" + }, + "value": "Microsoft-Windows-Shell-Setup" + }, + "settingName": { + "$id": "3679", + "kind": "string", + "type": { + "$ref": "104" + }, + "value": "AutoLogon" + }, + "content": { + "$id": "3680", + "kind": "string", + "type": { + "$ref": "613" + }, + "value": "bubmqbxjkj" + } + } + } + ] + }, + "patchSettings": { + "$id": "3681", + "kind": "model", + "type": { + "$ref": "619" + }, + "value": { + "$id": "3682", + "patchMode": { + "$id": "3683", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "Manual" + }, + "enableHotpatching": { + "$id": "3684", + "kind": "boolean", + "type": { + "$ref": "624" + }, + "value": true + }, + "assessmentMode": { + "$id": "3685", + "kind": "string", + "type": { + "$ref": "118" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "3686", + "kind": "model", + "type": { + "$ref": "631" + }, + "value": { + "$id": "3687", + "rebootSetting": { + "$id": "3688", + "kind": "string", + "type": { + "$ref": "124" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "3689", + "kind": "boolean", + "type": { + "$ref": "636" + }, + "value": true + } + } + } + } + }, + "winRM": { + "$id": "3690", + "kind": "model", + "type": { + "$ref": "644" + }, + "value": { + "$id": "3691", + "listeners": { + "$id": "3692", + "kind": "array", + "type": { + "$ref": "646" + }, + "value": [ + { + "$id": "3693", + "kind": "model", + "type": { + "$ref": "647" + }, + "value": { + "$id": "3694", + "protocol": { + "$id": "3695", + "kind": "string", + "type": { + "$ref": "134" + }, + "value": "Http" + }, + "certificateUrl": { + "$id": "3696", + "kind": "string", + "type": { + "$ref": "652" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + } + } + } + ] + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "3697", + "kind": "boolean", + "type": { + "$ref": "660" + }, + "value": true + } + } + }, + "linuxConfiguration": { + "$id": "3698", + "kind": "model", + "type": { + "$ref": "666" + }, + "value": { + "$id": "3699", + "disablePasswordAuthentication": { + "$id": "3700", + "kind": "boolean", + "type": { + "$ref": "668" + }, + "value": true + }, + "ssh": { + "$id": "3701", + "kind": "model", + "type": { + "$ref": "672" + }, + "value": { + "$id": "3702", + "publicKeys": { + "$id": "3703", + "kind": "array", + "type": { + "$ref": "674" + }, + "value": [ + { + "$id": "3704", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "$id": "3705", + "path": { + "$id": "3706", + "kind": "string", + "type": { + "$ref": "677" + }, + "value": "kmqz" + }, + "keyData": { + "$id": "3707", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "kivgsubusvpprwqaqpjcmhsv" + } + } + } + ] + } + } + }, + "provisionVMAgent": { + "$id": "3708", + "kind": "boolean", + "type": { + "$ref": "689" + }, + "value": true + }, + "patchSettings": { + "$id": "3709", + "kind": "model", + "type": { + "$ref": "693" + }, + "value": { + "$id": "3710", + "patchMode": { + "$id": "3711", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "ImageDefault" + }, + "assessmentMode": { + "$id": "3712", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "3713", + "kind": "model", + "type": { + "$ref": "701" + }, + "value": { + "$id": "3714", + "rebootSetting": { + "$id": "3715", + "kind": "string", + "type": { + "$ref": "152" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "3716", + "kind": "boolean", + "type": { + "$ref": "706" + }, + "value": true + } + } + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "3717", + "kind": "boolean", + "type": { + "$ref": "714" + }, + "value": true + } + } + }, + "secrets": { + "$id": "3718", + "kind": "array", + "type": { + "$ref": "720" + }, + "value": [ + { + "$id": "3719", + "kind": "model", + "type": { + "$ref": "721" + }, + "value": { + "$id": "3720", + "sourceVault": { + "$id": "3721", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3722", + "id": { + "$id": "3723", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + }, + "vaultCertificates": { + "$id": "3724", + "kind": "array", + "type": { + "$ref": "732" + }, + "value": [ + { + "$id": "3725", + "kind": "model", + "type": { + "$ref": "733" + }, + "value": { + "$id": "3726", + "certificateUrl": { + "$id": "3727", + "kind": "string", + "type": { + "$ref": "735" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + }, + "certificateStore": { + "$id": "3728", + "kind": "string", + "type": { + "$ref": "739" + }, + "value": "nlxrwavpzhueffxsshlun" + } + } + } + ] + } + } + } + ] + }, + "allowExtensionOperations": { + "$id": "3729", + "kind": "boolean", + "type": { + "$ref": "747" + }, + "value": true + }, + "requireGuestProvisionSignal": { + "$id": "3730", + "kind": "boolean", + "type": { + "$ref": "751" + }, + "value": true + } + } + }, + "storageProfile": { + "$id": "3731", + "kind": "model", + "type": { + "$ref": "757" + }, + "value": { + "$id": "3732", + "imageReference": { + "$id": "3733", + "kind": "model", + "type": { + "$ref": "759" + }, + "value": { + "$id": "3734", + "publisher": { + "$id": "3735", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "mqxgwbiyjzmxavhbkd" + }, + "offer": { + "$id": "3736", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "isxgumkarlkomp" + }, + "sku": { + "$id": "3737", + "kind": "string", + "type": { + "$ref": "774" + }, + "value": "eojmppqcrnpmxirtp" + }, + "version": { + "$id": "3738", + "kind": "string", + "type": { + "$ref": "778" + }, + "value": "wvpcqefgtmqdgltiuz" + }, + "sharedGalleryImageId": { + "$id": "3739", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "kmkgihoxwlawuuhcinfirktdwkmx" + }, + "communityGalleryImageId": { + "$id": "3740", + "kind": "string", + "type": { + "$ref": "790" + }, + "value": "vlqe" + }, + "id": { + "$id": "3741", + "kind": "string", + "type": { + "$ref": "761" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" + } + } + }, + "osDisk": { + "$id": "3742", + "kind": "model", + "type": { + "$ref": "796" + }, + "value": { + "$id": "3743", + "name": { + "$id": "3744", + "kind": "string", + "type": { + "$ref": "798" + }, + "value": "wfttw" + }, + "caching": { + "$id": "3745", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "3746", + "kind": "boolean", + "type": { + "$ref": "805" + }, + "value": true + }, + "createOption": { + "$id": "3747", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diffDiskSettings": { + "$id": "3748", + "kind": "model", + "type": { + "$ref": "812" + }, + "value": { + "$id": "3749", + "option": { + "$id": "3750", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Local" + }, + "placement": { + "$id": "3751", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "CacheDisk" + } + } + }, + "diskSizeGB": { + "$id": "3752", + "kind": "number", + "type": { + "$ref": "822" + }, + "value": 14 + }, + "osType": { + "$id": "3753", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Windows" + }, + "image": { + "$id": "3754", + "kind": "model", + "type": { + "$ref": "829" + }, + "value": { + "$id": "3755", + "uri": { + "$id": "3756", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "https://myStorageAccountName.blob.core.windows.net/myContainerName/myVhdName.vhd" + } + } + }, + "vhdContainers": { + "$id": "3757", + "kind": "array", + "type": { + "$ref": "837" + }, + "value": [ + { + "$id": "3758", + "kind": "string", + "type": { + "$ref": "838" + }, + "value": "tkzcwddtinkfpnfklatw" + } + ] + }, + "managedDisk": { + "$id": "3759", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "3760", + "storageAccountType": { + "$id": "3761", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "3762", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "3763", + "id": { + "$id": "3764", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "3765", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "3766", + "securityEncryptionType": { + "$id": "3767", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "3768", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "3769", + "id": { + "$id": "3770", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "deleteOption": { + "$id": "3771", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + }, + "dataDisks": { + "$id": "3772", + "kind": "array", + "type": { + "$ref": "873" + }, + "value": [ + { + "$id": "3773", + "kind": "model", + "type": { + "$ref": "874" + }, + "value": { + "$id": "3774", + "name": { + "$id": "3775", + "kind": "string", + "type": { + "$ref": "876" + }, + "value": "eogiykmdmeikswxmigjws" + }, + "lun": { + "$id": "3776", + "kind": "number", + "type": { + "$ref": "880" + }, + "value": 14 + }, + "caching": { + "$id": "3777", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "3778", + "kind": "boolean", + "type": { + "$ref": "887" + }, + "value": true + }, + "createOption": { + "$id": "3779", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diskSizeGB": { + "$id": "3780", + "kind": "number", + "type": { + "$ref": "894" + }, + "value": 6 + }, + "managedDisk": { + "$id": "3781", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "3782", + "storageAccountType": { + "$id": "3783", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "3784", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "3785", + "id": { + "$id": "3786", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "3787", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "3788", + "securityEncryptionType": { + "$id": "3789", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "3790", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "3791", + "id": { + "$id": "3792", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "diskIOPSReadWrite": { + "$id": "3793", + "kind": "number", + "type": { + "$ref": "901" + }, + "value": 27 + }, + "diskMBpsReadWrite": { + "$id": "3794", + "kind": "number", + "type": { + "$ref": "905" + }, + "value": 2 + }, + "deleteOption": { + "$id": "3795", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + } + ] + }, + "diskControllerType": { + "$id": "3796", + "kind": "string", + "type": { + "$ref": "230" + }, + "value": "uzb" + } + } + }, + "networkProfile": { + "$id": "3797", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "3798", + "healthProbe": { + "$id": "3799", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3800", + "id": { + "$id": "3801", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" + } + } + }, + "networkInterfaceConfigurations": { + "$id": "3802", + "kind": "array", + "type": { + "$ref": "930" + }, + "value": [ + { + "$id": "3803", + "kind": "model", + "type": { + "$ref": "931" + }, + "value": { + "$id": "3804", + "name": { + "$id": "3805", + "kind": "string", + "type": { + "$ref": "933" + }, + "value": "i" + }, + "properties": { + "$id": "3806", + "kind": "model", + "type": { + "$ref": "937" + }, + "value": { + "$id": "3807", + "primary": { + "$id": "3808", + "kind": "boolean", + "type": { + "$ref": "939" + }, + "value": true + }, + "enableAcceleratedNetworking": { + "$id": "3809", + "kind": "boolean", + "type": { + "$ref": "943" + }, + "value": true + }, + "disableTcpStateTracking": { + "$id": "3810", + "kind": "boolean", + "type": { + "$ref": "947" + }, + "value": true + }, + "enableFpga": { + "$id": "3811", + "kind": "boolean", + "type": { + "$ref": "951" + }, + "value": true + }, + "networkSecurityGroup": { + "$id": "3812", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3813", + "id": { + "$id": "3814", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" + } + } + }, + "dnsSettings": { + "$id": "3815", + "kind": "model", + "type": { + "$ref": "958" + }, + "value": { + "$id": "3816", + "dnsServers": { + "$id": "3817", + "kind": "array", + "type": { + "$ref": "960" + }, + "value": [ + { + "$id": "3818", + "kind": "string", + "type": { + "$ref": "961" + }, + "value": "nxmmfolhclsesu" + } + ] + } + } + }, + "ipConfigurations": { + "$id": "3819", + "kind": "array", + "type": { + "$ref": "967" + }, + "value": [ + { + "$id": "3820", + "kind": "model", + "type": { + "$ref": "968" + }, + "value": { + "$id": "3821", + "name": { + "$id": "3822", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "oezqhkidfhyywlfzwuotilrpbqnjg" + }, + "properties": { + "$id": "3823", + "kind": "model", + "type": { + "$ref": "974" + }, + "value": { + "$id": "3824", + "subnet": { + "$id": "3825", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "3826", + "id": { + "$id": "3827", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + } + }, + "primary": { + "$id": "3828", + "kind": "boolean", + "type": { + "$ref": "979" + }, + "value": true + }, + "publicIPAddressConfiguration": { + "$id": "3829", + "kind": "model", + "type": { + "$ref": "983" + }, + "value": { + "$id": "3830", + "name": { + "$id": "3831", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "fvpqf" + }, + "properties": { + "$id": "3832", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "$id": "3833", + "idleTimeoutInMinutes": { + "$id": "3834", + "kind": "number", + "type": { + "$ref": "991" + }, + "value": 9 + }, + "dnsSettings": { + "$id": "3835", + "kind": "model", + "type": { + "$ref": "995" + }, + "value": { + "$id": "3836", + "domainNameLabel": { + "$id": "3837", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "ukrddzvmorpmfsczjwtbvp" + }, + "domainNameLabelScope": { + "$id": "3838", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "TenantReuse" + } + } + }, + "ipTags": { + "$id": "3839", + "kind": "array", + "type": { + "$ref": "1006" + }, + "value": [ + { + "$id": "3840", + "kind": "model", + "type": { + "$ref": "1007" + }, + "value": { + "$id": "3841", + "ipTagType": { + "$id": "3842", + "kind": "string", + "type": { + "$ref": "1009" + }, + "value": "sddgsoemnzgqizale" + }, + "tag": { + "$id": "3843", + "kind": "string", + "type": { + "$ref": "1013" + }, + "value": "wufmhrjsakbiaetyara" + } + } + } + ] + }, + "publicIPPrefix": { + "$id": "3844", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3845", + "id": { + "$id": "3846", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" + } + } + }, + "publicIPAddressVersion": { + "$id": "3847", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "deleteOption": { + "$id": "3848", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + } + } + }, + "sku": { + "$id": "3849", + "kind": "model", + "type": { + "$ref": "1030" + }, + "value": { + "$id": "3850", + "name": { + "$id": "3851", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "Basic" + }, + "tier": { + "$id": "3852", + "kind": "string", + "type": { + "$ref": "264" + }, + "value": "Regional" + } + } + } + } + }, + "privateIPAddressVersion": { + "$id": "3853", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "applicationGatewayBackendAddressPools": { + "$id": "3854", + "kind": "array", + "type": { + "$ref": "1045" + }, + "value": [ + { + "$id": "3855", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3856", + "id": { + "$id": "3857", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "applicationSecurityGroups": { + "$id": "3858", + "kind": "array", + "type": { + "$ref": "1049" + }, + "value": [ + { + "$id": "3859", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3860", + "id": { + "$id": "3861", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" + } + } + } + ] + }, + "loadBalancerBackendAddressPools": { + "$id": "3862", + "kind": "array", + "type": { + "$ref": "1053" + }, + "value": [ + { + "$id": "3863", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3864", + "id": { + "$id": "3865", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "loadBalancerInboundNatPools": { + "$id": "3866", + "kind": "array", + "type": { + "$ref": "1057" + }, + "value": [ + { + "$id": "3867", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3868", + "id": { + "$id": "3869", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" + } + } + } + ] + } + } + } + } + } + ] + }, + "enableIPForwarding": { + "$id": "3870", + "kind": "boolean", + "type": { + "$ref": "1065" + }, + "value": true + }, + "deleteOption": { + "$id": "3871", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + }, + "auxiliaryMode": { + "$id": "3872", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "None" + }, + "auxiliarySku": { + "$id": "3873", + "kind": "string", + "type": { + "$ref": "278" + }, + "value": "None" + } + } + } + } + } + ] + }, + "networkApiVersion": { + "$id": "3874", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "2020-11-01" + } + } + }, + "securityProfile": { + "$id": "3875", + "kind": "model", + "type": { + "$ref": "1087" + }, + "value": { + "$id": "3876", + "uefiSettings": { + "$id": "3877", + "kind": "model", + "type": { + "$ref": "1089" + }, + "value": { + "$id": "3878", + "secureBootEnabled": { + "$id": "3879", + "kind": "boolean", + "type": { + "$ref": "1091" + }, + "value": true + }, + "vTpmEnabled": { + "$id": "3880", + "kind": "boolean", + "type": { + "$ref": "1095" + }, + "value": true + } + } + }, + "encryptionAtHost": { + "$id": "3881", + "kind": "boolean", + "type": { + "$ref": "1101" + }, + "value": true + }, + "securityType": { + "$id": "3882", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "TrustedLaunch" + }, + "encryptionIdentity": { + "$id": "3883", + "kind": "model", + "type": { + "$ref": "1108" + }, + "value": { + "$id": "3884", + "userAssignedIdentityResourceId": { + "$id": "3885", + "kind": "string", + "type": { + "$ref": "1110" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" + } + } + }, + "proxyAgentSettings": { + "$id": "3886", + "kind": "model", + "type": { + "$ref": "1117" + }, + "value": { + "$id": "3887", + "enabled": { + "$id": "3888", + "kind": "boolean", + "type": { + "$ref": "1119" + }, + "value": true + }, + "mode": { + "$id": "3889", + "kind": "string", + "type": { + "$ref": "300" + }, + "value": "Audit" + }, + "keyIncarnationId": { + "$id": "3890", + "kind": "number", + "type": { + "$ref": "1126" + }, + "value": 20 + } + } + } + } + }, + "diagnosticsProfile": { + "$id": "3891", + "kind": "model", + "type": { + "$ref": "1134" + }, + "value": { + "$id": "3892", + "bootDiagnostics": { + "$id": "3893", + "kind": "model", + "type": { + "$ref": "1136" + }, + "value": { + "$id": "3894", + "enabled": { + "$id": "3895", + "kind": "boolean", + "type": { + "$ref": "1138" + }, + "value": true + }, + "storageUri": { + "$id": "3896", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "http://myStorageAccountName.blob.core.windows.net" + } + } + } + } + }, + "extensionProfile": { + "$id": "3897", + "kind": "model", + "type": { + "$ref": "1150" + }, + "value": { + "$id": "3898", + "extensions": { + "$id": "3899", + "kind": "array", + "type": { + "$ref": "1152" + }, + "value": [ + { + "$id": "3900", + "kind": "model", + "type": { + "$ref": "1153" + }, + "value": { + "$id": "3901", + "name": { + "$id": "3902", + "kind": "string", + "type": { + "$ref": "1160" + }, + "value": "bndxuxx" + }, + "properties": { + "$id": "3903", + "kind": "model", + "type": { + "$ref": "1168" + }, + "value": { + "$id": "3904", + "forceUpdateTag": { + "$id": "3905", + "kind": "string", + "type": { + "$ref": "1170" + }, + "value": "yhgxw" + }, + "publisher": { + "$id": "3906", + "kind": "string", + "type": { + "$ref": "1174" + }, + "value": "kpxtirxjfprhs" + }, + "type": { + "$id": "3907", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "pgjilctjjwaa" + }, + "typeHandlerVersion": { + "$id": "3908", + "kind": "string", + "type": { + "$ref": "1182" + }, + "value": "zevivcoilxmbwlrihhhibq" + }, + "autoUpgradeMinorVersion": { + "$id": "3909", + "kind": "boolean", + "type": { + "$ref": "1186" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "3910", + "kind": "boolean", + "type": { + "$ref": "1190" + }, + "value": true + }, + "settings": { + "$id": "3911", + "kind": "dict", + "type": { + "$ref": "1194" + }, + "value": { + "$id": "3912" + } + }, + "protectedSettings": { + "$id": "3913", + "kind": "dict", + "type": { + "$ref": "1200" + }, + "value": { + "$id": "3914" + } + }, + "provisionAfterExtensions": { + "$id": "3915", + "kind": "array", + "type": { + "$ref": "1210" + }, + "value": [ + { + "$id": "3916", + "kind": "string", + "type": { + "$ref": "1211" + }, + "value": "nftzosroolbcwmpupujzqwqe" + } + ] + }, + "suppressFailures": { + "$id": "3917", + "kind": "boolean", + "type": { + "$ref": "1215" + }, + "value": true + }, + "protectedSettingsFromKeyVault": { + "$id": "3918", + "kind": "model", + "type": { + "$ref": "1219" + }, + "value": { + "$id": "3919", + "secretUrl": { + "$id": "3920", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "https://myVaultName.vault.azure.net/secrets/secret/mySecretName" + }, + "sourceVault": { + "$id": "3921", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3922", + "id": { + "$id": "3923", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + } + } + } + } + } + } + } + ] + }, + "extensionsTimeBudget": { + "$id": "3924", + "kind": "string", + "type": { + "$ref": "1234" + }, + "value": "mbhjahtdygwgyszdwjtvlvtgchdwil" + } + } + }, + "licenseType": { + "$id": "3925", + "kind": "string", + "type": { + "$ref": "1240" + }, + "value": "v" + }, + "scheduledEventsProfile": { + "$id": "3926", + "kind": "model", + "type": { + "$ref": "1244" + }, + "value": { + "$id": "3927", + "terminateNotificationProfile": { + "$id": "3928", + "kind": "model", + "type": { + "$ref": "1246" + }, + "value": { + "$id": "3929", + "notBeforeTimeout": { + "$id": "3930", + "kind": "string", + "type": { + "$ref": "1248" + }, + "value": "iljppmmw" + }, + "enable": { + "$id": "3931", + "kind": "boolean", + "type": { + "$ref": "1252" + }, + "value": true + } + } + }, + "osImageNotificationProfile": { + "$id": "3932", + "kind": "model", + "type": { + "$ref": "1258" + }, + "value": { + "$id": "3933", + "notBeforeTimeout": { + "$id": "3934", + "kind": "string", + "type": { + "$ref": "1260" + }, + "value": "olbpadmevekyczfokodtfprxti" + }, + "enable": { + "$id": "3935", + "kind": "boolean", + "type": { + "$ref": "1264" + }, + "value": true + } + } + } + } + }, + "userData": { + "$id": "3936", + "kind": "string", + "type": { + "$ref": "1272" + }, + "value": "s" + }, + "capacityReservation": { + "$id": "3937", + "kind": "model", + "type": { + "$ref": "1276" + }, + "value": { + "$id": "3938", + "capacityReservationGroup": { + "$id": "3939", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "3940", + "id": { + "$id": "3941", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" + } + } + } + } + }, + "applicationProfile": { + "$id": "3942", + "kind": "model", + "type": { + "$ref": "1283" + }, + "value": { + "$id": "3943", + "galleryApplications": { + "$id": "3944", + "kind": "array", + "type": { + "$ref": "1285" + }, + "value": [ + { + "$id": "3945", + "kind": "model", + "type": { + "$ref": "1286" + }, + "value": { + "$id": "3946", + "tags": { + "$id": "3947", + "kind": "string", + "type": { + "$ref": "1288" + }, + "value": "eyrqjbib" + }, + "order": { + "$id": "3948", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 5 + }, + "packageReferenceId": { + "$id": "3949", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}" + }, + "configurationReference": { + "$id": "3950", + "kind": "string", + "type": { + "$ref": "1301" + }, + "value": "ulztmiavpojpbpbddgnuuiimxcpau" + }, + "treatFailureAsDeploymentFailure": { + "$id": "3951", + "kind": "boolean", + "type": { + "$ref": "1305" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "3952", + "kind": "boolean", + "type": { + "$ref": "1309" + }, + "value": true + } + } + } + ] + } + } + }, + "hardwareProfile": { + "$id": "3953", + "kind": "model", + "type": { + "$ref": "1317" + }, + "value": { + "$id": "3954", + "vmSizeProperties": { + "$id": "3955", + "kind": "model", + "type": { + "$ref": "1319" + }, + "value": { + "$id": "3956", + "vCPUsAvailable": { + "$id": "3957", + "kind": "number", + "type": { + "$ref": "1321" + }, + "value": 16 + }, + "vCPUsPerCore": { + "$id": "3958", + "kind": "number", + "type": { + "$ref": "1325" + }, + "value": 23 + } + } + } + } + }, + "serviceArtifactReference": { + "$id": "3959", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "$id": "3960", + "id": { + "$id": "3961", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" + } + } + }, + "securityPostureReference": { + "$id": "3962", + "kind": "model", + "type": { + "$ref": "1342" + }, + "value": { + "$id": "3963", + "id": { + "$id": "3964", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest" + }, + "excludeExtensions": { + "$id": "3965", + "kind": "array", + "type": { + "$ref": "1348" + }, + "value": [ + { + "$id": "3966", + "kind": "string", + "type": { + "$ref": "1349" + }, + "value": "{securityPostureVMExtensionName}" + } + ] + }, + "isOverridable": { + "$id": "3967", + "kind": "boolean", + "type": { + "$ref": "1353" + }, + "value": true + } + } + } + } + }, + "computeApiVersion": { + "$id": "3968", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2023-07-01" + }, + "platformFaultDomainCount": { + "$id": "3969", + "kind": "number", + "type": { + "$ref": "1379" + }, + "value": 1 + } + } + } + } + }, + "plan": { + "$id": "3970", + "kind": "model", + "type": { + "$ref": "1524" + }, + "value": { + "$id": "3971", + "name": { + "$id": "3972", + "kind": "string", + "type": { + "$ref": "1526" + }, + "value": "jwgrcrnrtfoxn" + }, + "publisher": { + "$id": "3973", + "kind": "string", + "type": { + "$ref": "1530" + }, + "value": "iozjbiqqckqm" + }, + "product": { + "$id": "3974", + "kind": "string", + "type": { + "$ref": "1534" + }, + "value": "cgopbyvdyqikahwyxfpzwaqk" + }, + "promotionCode": { + "$id": "3975", + "kind": "string", + "type": { + "$ref": "1538" + }, + "value": "naglezezplcaruqogtxnuizslqnnbr" + }, + "version": { + "$id": "3976", + "kind": "string", + "type": { + "$ref": "1542" + }, + "value": "wa" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "3977", + "response": { + "$ref": "3612" + }, + "statusCode": 200, + "bodyValue": { + "$id": "3978", + "kind": "model", + "type": { + "$ref": "350" + }, + "value": { + "$id": "3979", + "properties": { + "$id": "3980", + "kind": "model", + "type": { + "$ref": "406" + }, + "value": { + "$id": "3981", + "spotPriorityProfile": { + "$id": "3982", + "kind": "model", + "type": { + "$ref": "411" + }, + "value": { + "$id": "3983", + "capacity": { + "$id": "3984", + "kind": "number", + "type": { + "$ref": "413" + }, + "value": 20 + }, + "minCapacity": { + "$id": "3985", + "kind": "number", + "type": { + "$ref": "417" + }, + "value": 10 + }, + "maxPricePerVM": { + "$id": "3986", + "kind": "number", + "type": { + "$ref": "421" + }, + "value": 0.00865 + }, + "evictionPolicy": { + "$id": "3987", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Delete" + }, + "allocationStrategy": { + "$id": "3988", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "PriceCapacityOptimized" + }, + "maintain": { + "$id": "3989", + "kind": "boolean", + "type": { + "$ref": "431" + }, + "value": true + } + } + }, + "regularPriorityProfile": { + "$id": "3990", + "kind": "model", + "type": { + "$ref": "437" + }, + "value": { + "$id": "3991", + "capacity": { + "$id": "3992", + "kind": "number", + "type": { + "$ref": "439" + }, + "value": 20 + }, + "minCapacity": { + "$id": "3993", + "kind": "number", + "type": { + "$ref": "443" + }, + "value": 10 + }, + "allocationStrategy": { + "$id": "3994", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "LowestPrice" + } + } + }, + "vmSizesProfile": { + "$id": "3995", + "kind": "array", + "type": { + "$ref": "452" + }, + "value": [ + { + "$id": "3996", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "3997", + "name": { + "$id": "3998", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_d1_v2" + }, + "rank": { + "$id": "3999", + "kind": "number", + "type": { + "$ref": "459" + }, + "value": 19225 + } + } + } + ] + }, + "computeProfile": { + "$id": "4000", + "kind": "model", + "type": { + "$ref": "1370" + }, + "value": { + "$id": "4001", + "baseVirtualMachineProfile": { + "$id": "4002", + "kind": "model", + "type": { + "$ref": "565" + }, + "value": { + "$id": "4003", + "osProfile": { + "$id": "4004", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "$id": "4005", + "computerNamePrefix": { + "$id": "4006", + "kind": "string", + "type": { + "$ref": "569" + }, + "value": "o" + }, + "adminUsername": { + "$id": "4007", + "kind": "string", + "type": { + "$ref": "573" + }, + "value": "nrgzqciiaaxjrqldbmjbqkyhntp" + }, + "windowsConfiguration": { + "$id": "4008", + "kind": "model", + "type": { + "$ref": "585" + }, + "value": { + "$id": "4009", + "provisionVMAgent": { + "$id": "4010", + "kind": "boolean", + "type": { + "$ref": "587" + }, + "value": true + }, + "enableAutomaticUpdates": { + "$id": "4011", + "kind": "boolean", + "type": { + "$ref": "591" + }, + "value": true + }, + "timeZone": { + "$id": "4012", + "kind": "string", + "type": { + "$ref": "595" + }, + "value": "hlyjiqcfksgrpjrct" + }, + "additionalUnattendContent": { + "$id": "4013", + "kind": "array", + "type": { + "$ref": "599" + }, + "value": [ + { + "$id": "4014", + "kind": "model", + "type": { + "$ref": "600" + }, + "value": { + "$id": "4015", + "passName": { + "$id": "4016", + "kind": "string", + "type": { + "$ref": "602" + }, + "value": "OobeSystem" + }, + "componentName": { + "$id": "4017", + "kind": "string", + "type": { + "$ref": "606" + }, + "value": "Microsoft-Windows-Shell-Setup" + }, + "settingName": { + "$id": "4018", + "kind": "string", + "type": { + "$ref": "104" + }, + "value": "AutoLogon" + } + } + } + ] + }, + "patchSettings": { + "$id": "4019", + "kind": "model", + "type": { + "$ref": "619" + }, + "value": { + "$id": "4020", + "patchMode": { + "$id": "4021", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "Manual" + }, + "enableHotpatching": { + "$id": "4022", + "kind": "boolean", + "type": { + "$ref": "624" + }, + "value": true + }, + "assessmentMode": { + "$id": "4023", + "kind": "string", + "type": { + "$ref": "118" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "4024", + "kind": "model", + "type": { + "$ref": "631" + }, + "value": { + "$id": "4025", + "rebootSetting": { + "$id": "4026", + "kind": "string", + "type": { + "$ref": "124" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "4027", + "kind": "boolean", + "type": { + "$ref": "636" + }, + "value": true + } + } + } + } + }, + "winRM": { + "$id": "4028", + "kind": "model", + "type": { + "$ref": "644" + }, + "value": { + "$id": "4029", + "listeners": { + "$id": "4030", + "kind": "array", + "type": { + "$ref": "646" + }, + "value": [ + { + "$id": "4031", + "kind": "model", + "type": { + "$ref": "647" + }, + "value": { + "$id": "4032", + "protocol": { + "$id": "4033", + "kind": "string", + "type": { + "$ref": "134" + }, + "value": "Http" + }, + "certificateUrl": { + "$id": "4034", + "kind": "string", + "type": { + "$ref": "652" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + } + } + } + ] + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "4035", + "kind": "boolean", + "type": { + "$ref": "660" + }, + "value": true + } + } + }, + "linuxConfiguration": { + "$id": "4036", + "kind": "model", + "type": { + "$ref": "666" + }, + "value": { + "$id": "4037", + "disablePasswordAuthentication": { + "$id": "4038", + "kind": "boolean", + "type": { + "$ref": "668" + }, + "value": true + }, + "ssh": { + "$id": "4039", + "kind": "model", + "type": { + "$ref": "672" + }, + "value": { + "$id": "4040", + "publicKeys": { + "$id": "4041", + "kind": "array", + "type": { + "$ref": "674" + }, + "value": [ + { + "$id": "4042", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "$id": "4043", + "path": { + "$id": "4044", + "kind": "string", + "type": { + "$ref": "677" + }, + "value": "kmqz" + }, + "keyData": { + "$id": "4045", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "kivgsubusvpprwqaqpjcmhsv" + } + } + } + ] + } + } + }, + "provisionVMAgent": { + "$id": "4046", + "kind": "boolean", + "type": { + "$ref": "689" + }, + "value": true + }, + "patchSettings": { + "$id": "4047", + "kind": "model", + "type": { + "$ref": "693" + }, + "value": { + "$id": "4048", + "patchMode": { + "$id": "4049", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "ImageDefault" + }, + "assessmentMode": { + "$id": "4050", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "4051", + "kind": "model", + "type": { + "$ref": "701" + }, + "value": { + "$id": "4052", + "rebootSetting": { + "$id": "4053", + "kind": "string", + "type": { + "$ref": "152" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "4054", + "kind": "boolean", + "type": { + "$ref": "706" + }, + "value": true + } + } + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "4055", + "kind": "boolean", + "type": { + "$ref": "714" + }, + "value": true + } + } + }, + "secrets": { + "$id": "4056", + "kind": "array", + "type": { + "$ref": "720" + }, + "value": [ + { + "$id": "4057", + "kind": "model", + "type": { + "$ref": "721" + }, + "value": { + "$id": "4058", + "sourceVault": { + "$id": "4059", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4060", + "id": { + "$id": "4061", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + }, + "vaultCertificates": { + "$id": "4062", + "kind": "array", + "type": { + "$ref": "732" + }, + "value": [ + { + "$id": "4063", + "kind": "model", + "type": { + "$ref": "733" + }, + "value": { + "$id": "4064", + "certificateUrl": { + "$id": "4065", + "kind": "string", + "type": { + "$ref": "735" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + }, + "certificateStore": { + "$id": "4066", + "kind": "string", + "type": { + "$ref": "739" + }, + "value": "nlxrwavpzhueffxsshlun" + } + } + } + ] + } + } + } + ] + }, + "allowExtensionOperations": { + "$id": "4067", + "kind": "boolean", + "type": { + "$ref": "747" + }, + "value": true + }, + "requireGuestProvisionSignal": { + "$id": "4068", + "kind": "boolean", + "type": { + "$ref": "751" + }, + "value": true + } + } + }, + "storageProfile": { + "$id": "4069", + "kind": "model", + "type": { + "$ref": "757" + }, + "value": { + "$id": "4070", + "imageReference": { + "$id": "4071", + "kind": "model", + "type": { + "$ref": "759" + }, + "value": { + "$id": "4072", + "publisher": { + "$id": "4073", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "mqxgwbiyjzmxavhbkd" + }, + "offer": { + "$id": "4074", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "isxgumkarlkomp" + }, + "sku": { + "$id": "4075", + "kind": "string", + "type": { + "$ref": "774" + }, + "value": "eojmppqcrnpmxirtp" + }, + "version": { + "$id": "4076", + "kind": "string", + "type": { + "$ref": "778" + }, + "value": "wvpcqefgtmqdgltiuz" + }, + "sharedGalleryImageId": { + "$id": "4077", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "kmkgihoxwlawuuhcinfirktdwkmx" + }, + "communityGalleryImageId": { + "$id": "4078", + "kind": "string", + "type": { + "$ref": "790" + }, + "value": "vlqe" + }, + "id": { + "$id": "4079", + "kind": "string", + "type": { + "$ref": "761" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" + }, + "exactVersion": { + "$id": "4080", + "kind": "string", + "type": { + "$ref": "782" + }, + "value": "zjbntmiskjexlr" + } + } + }, + "osDisk": { + "$id": "4081", + "kind": "model", + "type": { + "$ref": "796" + }, + "value": { + "$id": "4082", + "name": { + "$id": "4083", + "kind": "string", + "type": { + "$ref": "798" + }, + "value": "wfttw" + }, + "caching": { + "$id": "4084", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "4085", + "kind": "boolean", + "type": { + "$ref": "805" + }, + "value": true + }, + "createOption": { + "$id": "4086", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diffDiskSettings": { + "$id": "4087", + "kind": "model", + "type": { + "$ref": "812" + }, + "value": { + "$id": "4088", + "option": { + "$id": "4089", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Local" + }, + "placement": { + "$id": "4090", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "CacheDisk" + } + } + }, + "diskSizeGB": { + "$id": "4091", + "kind": "number", + "type": { + "$ref": "822" + }, + "value": 14 + }, + "osType": { + "$id": "4092", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Windows" + }, + "image": { + "$id": "4093", + "kind": "model", + "type": { + "$ref": "829" + }, + "value": { + "$id": "4094", + "uri": { + "$id": "4095", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "https://myStorageAccountName.blob.core.windows.net/myContainerName/myVhdName.vhd" + } + } + }, + "vhdContainers": { + "$id": "4096", + "kind": "array", + "type": { + "$ref": "837" + }, + "value": [ + { + "$id": "4097", + "kind": "string", + "type": { + "$ref": "838" + }, + "value": "tkzcwddtinkfpnfklatw" + } + ] + }, + "managedDisk": { + "$id": "4098", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "4099", + "storageAccountType": { + "$id": "4100", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "4101", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4102", + "id": { + "$id": "4103", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "4104", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "4105", + "securityEncryptionType": { + "$id": "4106", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "4107", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4108", + "id": { + "$id": "4109", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "deleteOption": { + "$id": "4110", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + }, + "dataDisks": { + "$id": "4111", + "kind": "array", + "type": { + "$ref": "873" + }, + "value": [ + { + "$id": "4112", + "kind": "model", + "type": { + "$ref": "874" + }, + "value": { + "$id": "4113", + "name": { + "$id": "4114", + "kind": "string", + "type": { + "$ref": "876" + }, + "value": "eogiykmdmeikswxmigjws" + }, + "lun": { + "$id": "4115", + "kind": "number", + "type": { + "$ref": "880" + }, + "value": 14 + }, + "caching": { + "$id": "4116", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "4117", + "kind": "boolean", + "type": { + "$ref": "887" + }, + "value": true + }, + "createOption": { + "$id": "4118", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diskSizeGB": { + "$id": "4119", + "kind": "number", + "type": { + "$ref": "894" + }, + "value": 6 + }, + "managedDisk": { + "$id": "4120", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "4121", + "storageAccountType": { + "$id": "4122", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "4123", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4124", + "id": { + "$id": "4125", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "4126", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "4127", + "securityEncryptionType": { + "$id": "4128", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "4129", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4130", + "id": { + "$id": "4131", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "diskIOPSReadWrite": { + "$id": "4132", + "kind": "number", + "type": { + "$ref": "901" + }, + "value": 27 + }, + "diskMBpsReadWrite": { + "$id": "4133", + "kind": "number", + "type": { + "$ref": "905" + }, + "value": 2 + }, + "deleteOption": { + "$id": "4134", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + } + ] + }, + "diskControllerType": { + "$id": "4135", + "kind": "string", + "type": { + "$ref": "230" + }, + "value": "uzb" + } + } + }, + "networkProfile": { + "$id": "4136", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "4137", + "healthProbe": { + "$id": "4138", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "4139", + "id": { + "$id": "4140", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" + } + } + }, + "networkInterfaceConfigurations": { + "$id": "4141", + "kind": "array", + "type": { + "$ref": "930" + }, + "value": [ + { + "$id": "4142", + "kind": "model", + "type": { + "$ref": "931" + }, + "value": { + "$id": "4143", + "name": { + "$id": "4144", + "kind": "string", + "type": { + "$ref": "933" + }, + "value": "i" + }, + "properties": { + "$id": "4145", + "kind": "model", + "type": { + "$ref": "937" + }, + "value": { + "$id": "4146", + "primary": { + "$id": "4147", + "kind": "boolean", + "type": { + "$ref": "939" + }, + "value": true + }, + "enableAcceleratedNetworking": { + "$id": "4148", + "kind": "boolean", + "type": { + "$ref": "943" + }, + "value": true + }, + "disableTcpStateTracking": { + "$id": "4149", + "kind": "boolean", + "type": { + "$ref": "947" + }, + "value": true + }, + "enableFpga": { + "$id": "4150", + "kind": "boolean", + "type": { + "$ref": "951" + }, + "value": true + }, + "networkSecurityGroup": { + "$id": "4151", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4152", + "id": { + "$id": "4153", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" + } + } + }, + "dnsSettings": { + "$id": "4154", + "kind": "model", + "type": { + "$ref": "958" + }, + "value": { + "$id": "4155", + "dnsServers": { + "$id": "4156", + "kind": "array", + "type": { + "$ref": "960" + }, + "value": [ + { + "$id": "4157", + "kind": "string", + "type": { + "$ref": "961" + }, + "value": "nxmmfolhclsesu" + } + ] + } + } + }, + "ipConfigurations": { + "$id": "4158", + "kind": "array", + "type": { + "$ref": "967" + }, + "value": [ + { + "$id": "4159", + "kind": "model", + "type": { + "$ref": "968" + }, + "value": { + "$id": "4160", + "name": { + "$id": "4161", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "oezqhkidfhyywlfzwuotilrpbqnjg" + }, + "properties": { + "$id": "4162", + "kind": "model", + "type": { + "$ref": "974" + }, + "value": { + "$id": "4163", + "subnet": { + "$id": "4164", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "4165", + "id": { + "$id": "4166", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + } + }, + "primary": { + "$id": "4167", + "kind": "boolean", + "type": { + "$ref": "979" + }, + "value": true + }, + "publicIPAddressConfiguration": { + "$id": "4168", + "kind": "model", + "type": { + "$ref": "983" + }, + "value": { + "$id": "4169", + "name": { + "$id": "4170", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "fvpqf" + }, + "properties": { + "$id": "4171", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "$id": "4172", + "idleTimeoutInMinutes": { + "$id": "4173", + "kind": "number", + "type": { + "$ref": "991" + }, + "value": 9 + }, + "dnsSettings": { + "$id": "4174", + "kind": "model", + "type": { + "$ref": "995" + }, + "value": { + "$id": "4175", + "domainNameLabel": { + "$id": "4176", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "ukrddzvmorpmfsczjwtbvp" + }, + "domainNameLabelScope": { + "$id": "4177", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "TenantReuse" + } + } + }, + "ipTags": { + "$id": "4178", + "kind": "array", + "type": { + "$ref": "1006" + }, + "value": [ + { + "$id": "4179", + "kind": "model", + "type": { + "$ref": "1007" + }, + "value": { + "$id": "4180", + "ipTagType": { + "$id": "4181", + "kind": "string", + "type": { + "$ref": "1009" + }, + "value": "sddgsoemnzgqizale" + }, + "tag": { + "$id": "4182", + "kind": "string", + "type": { + "$ref": "1013" + }, + "value": "wufmhrjsakbiaetyara" + } + } + } + ] + }, + "publicIPPrefix": { + "$id": "4183", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4184", + "id": { + "$id": "4185", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" + } + } + }, + "publicIPAddressVersion": { + "$id": "4186", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "deleteOption": { + "$id": "4187", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + } + } + }, + "sku": { + "$id": "4188", + "kind": "model", + "type": { + "$ref": "1030" + }, + "value": { + "$id": "4189", + "name": { + "$id": "4190", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "Basic" + }, + "tier": { + "$id": "4191", + "kind": "string", + "type": { + "$ref": "264" + }, + "value": "Regional" + } + } + } + } + }, + "privateIPAddressVersion": { + "$id": "4192", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "applicationGatewayBackendAddressPools": { + "$id": "4193", + "kind": "array", + "type": { + "$ref": "1045" + }, + "value": [ + { + "$id": "4194", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4195", + "id": { + "$id": "4196", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "applicationSecurityGroups": { + "$id": "4197", + "kind": "array", + "type": { + "$ref": "1049" + }, + "value": [ + { + "$id": "4198", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4199", + "id": { + "$id": "4200", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" + } + } + } + ] + }, + "loadBalancerBackendAddressPools": { + "$id": "4201", + "kind": "array", + "type": { + "$ref": "1053" + }, + "value": [ + { + "$id": "4202", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4203", + "id": { + "$id": "4204", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "loadBalancerInboundNatPools": { + "$id": "4205", + "kind": "array", + "type": { + "$ref": "1057" + }, + "value": [ + { + "$id": "4206", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4207", + "id": { + "$id": "4208", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" + } + } + } + ] + } + } + } + } + } + ] + }, + "enableIPForwarding": { + "$id": "4209", + "kind": "boolean", + "type": { + "$ref": "1065" + }, + "value": true + }, + "deleteOption": { + "$id": "4210", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + }, + "auxiliaryMode": { + "$id": "4211", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "None" + }, + "auxiliarySku": { + "$id": "4212", + "kind": "string", + "type": { + "$ref": "278" + }, + "value": "None" + } + } + } + } + } + ] + }, + "networkApiVersion": { + "$id": "4213", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "2020-11-01" + } + } + }, + "securityProfile": { + "$id": "4214", + "kind": "model", + "type": { + "$ref": "1087" + }, + "value": { + "$id": "4215", + "uefiSettings": { + "$id": "4216", + "kind": "model", + "type": { + "$ref": "1089" + }, + "value": { + "$id": "4217", + "secureBootEnabled": { + "$id": "4218", + "kind": "boolean", + "type": { + "$ref": "1091" + }, + "value": true + }, + "vTpmEnabled": { + "$id": "4219", + "kind": "boolean", + "type": { + "$ref": "1095" + }, + "value": true + } + } + }, + "encryptionAtHost": { + "$id": "4220", + "kind": "boolean", + "type": { + "$ref": "1101" + }, + "value": true + }, + "securityType": { + "$id": "4221", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "TrustedLaunch" + }, + "encryptionIdentity": { + "$id": "4222", + "kind": "model", + "type": { + "$ref": "1108" + }, + "value": { + "$id": "4223", + "userAssignedIdentityResourceId": { + "$id": "4224", + "kind": "string", + "type": { + "$ref": "1110" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" + } + } + }, + "proxyAgentSettings": { + "$id": "4225", + "kind": "model", + "type": { + "$ref": "1117" + }, + "value": { + "$id": "4226", + "enabled": { + "$id": "4227", + "kind": "boolean", + "type": { + "$ref": "1119" + }, + "value": true + }, + "mode": { + "$id": "4228", + "kind": "string", + "type": { + "$ref": "300" + }, + "value": "Audit" + }, + "keyIncarnationId": { + "$id": "4229", + "kind": "number", + "type": { + "$ref": "1126" + }, + "value": 20 + } + } + } + } + }, + "diagnosticsProfile": { + "$id": "4230", + "kind": "model", + "type": { + "$ref": "1134" + }, + "value": { + "$id": "4231", + "bootDiagnostics": { + "$id": "4232", + "kind": "model", + "type": { + "$ref": "1136" + }, + "value": { + "$id": "4233", + "enabled": { + "$id": "4234", + "kind": "boolean", + "type": { + "$ref": "1138" + }, + "value": true + }, + "storageUri": { + "$id": "4235", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "http://myStorageAccountName.blob.core.windows.net" + } + } + } + } + }, + "extensionProfile": { + "$id": "4236", + "kind": "model", + "type": { + "$ref": "1150" + }, + "value": { + "$id": "4237", + "extensions": { + "$id": "4238", + "kind": "array", + "type": { + "$ref": "1152" + }, + "value": [ + { + "$id": "4239", + "kind": "model", + "type": { + "$ref": "1153" + }, + "value": { + "$id": "4240", + "name": { + "$id": "4241", + "kind": "string", + "type": { + "$ref": "1160" + }, + "value": "bndxuxx" + }, + "properties": { + "$id": "4242", + "kind": "model", + "type": { + "$ref": "1168" + }, + "value": { + "$id": "4243", + "forceUpdateTag": { + "$id": "4244", + "kind": "string", + "type": { + "$ref": "1170" + }, + "value": "yhgxw" + }, + "publisher": { + "$id": "4245", + "kind": "string", + "type": { + "$ref": "1174" + }, + "value": "kpxtirxjfprhs" + }, + "type": { + "$id": "4246", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "pgjilctjjwaa" + }, + "typeHandlerVersion": { + "$id": "4247", + "kind": "string", + "type": { + "$ref": "1182" + }, + "value": "zevivcoilxmbwlrihhhibq" + }, + "autoUpgradeMinorVersion": { + "$id": "4248", + "kind": "boolean", + "type": { + "$ref": "1186" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "4249", + "kind": "boolean", + "type": { + "$ref": "1190" + }, + "value": true + }, + "provisionAfterExtensions": { + "$id": "4250", + "kind": "array", + "type": { + "$ref": "1210" + }, + "value": [ + { + "$id": "4251", + "kind": "string", + "type": { + "$ref": "1211" + }, + "value": "nftzosroolbcwmpupujzqwqe" + } + ] + }, + "suppressFailures": { + "$id": "4252", + "kind": "boolean", + "type": { + "$ref": "1215" + }, + "value": true + }, + "protectedSettingsFromKeyVault": { + "$id": "4253", + "kind": "model", + "type": { + "$ref": "1219" + }, + "value": { + "$id": "4254", + "secretUrl": { + "$id": "4255", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "https://myVaultName.vault.azure.net/secrets/secret/mySecretName" + }, + "sourceVault": { + "$id": "4256", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4257", + "id": { + "$id": "4258", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + } + } + }, + "settings": { + "$id": "4259", + "kind": "dict", + "type": { + "$ref": "1194" + }, + "value": { + "$id": "4260" + } + }, + "provisioningState": { + "$id": "4261", + "kind": "string", + "type": { + "$ref": "1206" + }, + "value": "Succeeded" + } + } + }, + "type": { + "$id": "4262", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "cmeam" + }, + "id": { + "$id": "4263", + "kind": "string", + "type": { + "$ref": "1155" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" + } + } + } + ] + }, + "extensionsTimeBudget": { + "$id": "4264", + "kind": "string", + "type": { + "$ref": "1234" + }, + "value": "mbhjahtdygwgyszdwjtvlvtgchdwil" + } + } + }, + "licenseType": { + "$id": "4265", + "kind": "string", + "type": { + "$ref": "1240" + }, + "value": "v" + }, + "scheduledEventsProfile": { + "$id": "4266", + "kind": "model", + "type": { + "$ref": "1244" + }, + "value": { + "$id": "4267", + "terminateNotificationProfile": { + "$id": "4268", + "kind": "model", + "type": { + "$ref": "1246" + }, + "value": { + "$id": "4269", + "notBeforeTimeout": { + "$id": "4270", + "kind": "string", + "type": { + "$ref": "1248" + }, + "value": "iljppmmw" + }, + "enable": { + "$id": "4271", + "kind": "boolean", + "type": { + "$ref": "1252" + }, + "value": true + } + } + }, + "osImageNotificationProfile": { + "$id": "4272", + "kind": "model", + "type": { + "$ref": "1258" + }, + "value": { + "$id": "4273", + "notBeforeTimeout": { + "$id": "4274", + "kind": "string", + "type": { + "$ref": "1260" + }, + "value": "olbpadmevekyczfokodtfprxti" + }, + "enable": { + "$id": "4275", + "kind": "boolean", + "type": { + "$ref": "1264" + }, + "value": true + } + } + } + } + }, + "userData": { + "$id": "4276", + "kind": "string", + "type": { + "$ref": "1272" + }, + "value": "s" + }, + "capacityReservation": { + "$id": "4277", + "kind": "model", + "type": { + "$ref": "1276" + }, + "value": { + "$id": "4278", + "capacityReservationGroup": { + "$id": "4279", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4280", + "id": { + "$id": "4281", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" + } + } + } + } + }, + "applicationProfile": { + "$id": "4282", + "kind": "model", + "type": { + "$ref": "1283" + }, + "value": { + "$id": "4283", + "galleryApplications": { + "$id": "4284", + "kind": "array", + "type": { + "$ref": "1285" + }, + "value": [ + { + "$id": "4285", + "kind": "model", + "type": { + "$ref": "1286" + }, + "value": { + "$id": "4286", + "tags": { + "$id": "4287", + "kind": "string", + "type": { + "$ref": "1288" + }, + "value": "eyrqjbib" + }, + "order": { + "$id": "4288", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 5 + }, + "packageReferenceId": { + "$id": "4289", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}" + }, + "treatFailureAsDeploymentFailure": { + "$id": "4290", + "kind": "boolean", + "type": { + "$ref": "1305" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "4291", + "kind": "boolean", + "type": { + "$ref": "1309" + }, + "value": true + } + } + } + ] + } + } + }, + "hardwareProfile": { + "$id": "4292", + "kind": "model", + "type": { + "$ref": "1317" + }, + "value": { + "$id": "4293", + "vmSizeProperties": { + "$id": "4294", + "kind": "model", + "type": { + "$ref": "1319" + }, + "value": { + "$id": "4295", + "vCPUsAvailable": { + "$id": "4296", + "kind": "number", + "type": { + "$ref": "1321" + }, + "value": 16 + }, + "vCPUsPerCore": { + "$id": "4297", + "kind": "number", + "type": { + "$ref": "1325" + }, + "value": 23 + } + } + } + } + }, + "serviceArtifactReference": { + "$id": "4298", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "$id": "4299", + "id": { + "$id": "4300", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" + } + } + }, + "securityPostureReference": { + "$id": "4301", + "kind": "model", + "type": { + "$ref": "1342" + }, + "value": { + "$id": "4302", + "id": { + "$id": "4303", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "/CommunityGalleries/{communityGalleryName}/securityPostures/{securityPostureName}/versions/{major.minor.patch}|{major.*}|latest" + }, + "excludeExtensions": { + "$id": "4304", + "kind": "array", + "type": { + "$ref": "1348" + }, + "value": [ + { + "$id": "4305", + "kind": "string", + "type": { + "$ref": "1349" + }, + "value": "{securityPostureVMExtensionName}" + } + ] + }, + "isOverridable": { + "$id": "4306", + "kind": "boolean", + "type": { + "$ref": "1353" + }, + "value": true + } + } + }, + "timeCreated": { + "$id": "4307", + "kind": "string", + "type": { + "$ref": "1359" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + }, + "computeApiVersion": { + "$id": "4308", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2023-07-01" + }, + "platformFaultDomainCount": { + "$id": "4309", + "kind": "number", + "type": { + "$ref": "1379" + }, + "value": 1 + } + } + }, + "provisioningState": { + "$id": "4310", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Creating" + }, + "timeCreated": { + "$id": "4311", + "kind": "string", + "type": { + "$ref": "1397" + }, + "value": "2024-07-10T00:16:34.8590555+00:00" + }, + "uniqueId": { + "$id": "4312", + "kind": "string", + "type": { + "$ref": "1402" + }, + "value": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + } + } + }, + "zones": { + "$id": "4313", + "kind": "array", + "type": { + "$ref": "1408" + }, + "value": [ + { + "$id": "4314", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone1" + }, + { + "$id": "4315", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone2" + } + ] + }, + "identity": { + "$id": "4316", + "kind": "model", + "type": { + "$ref": "1413" + }, + "value": { + "$id": "4317", + "type": { + "$id": "4318", + "kind": "string", + "type": { + "$ref": "306" + }, + "value": "UserAssigned" + }, + "userAssignedIdentities": { + "$id": "4319", + "kind": "dict", + "type": { + "$ref": "1428" + }, + "value": { + "$id": "4320" + } + }, + "principalId": { + "$id": "4321", + "kind": "string", + "type": { + "$ref": "1415" + }, + "value": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "tenantId": { + "$id": "4322", + "kind": "string", + "type": { + "$ref": "1420" + }, + "value": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c" + } + } + }, + "tags": { + "$id": "4323", + "kind": "dict", + "type": { + "$ref": "396" + }, + "value": { + "$id": "4324" + } + }, + "location": { + "$id": "4325", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "westus" + }, + "plan": { + "$id": "4326", + "kind": "model", + "type": { + "$ref": "1447" + }, + "value": { + "$id": "4327", + "name": { + "$id": "4328", + "kind": "string", + "type": { + "$ref": "1449" + }, + "value": "uapfngmdekvpgjhomthtpxjfdmmll" + }, + "publisher": { + "$id": "4329", + "kind": "string", + "type": { + "$ref": "1453" + }, + "value": "aqhles" + }, + "product": { + "$id": "4330", + "kind": "string", + "type": { + "$ref": "1457" + }, + "value": "bfzbkdnbexmedxdc" + }, + "promotionCode": { + "$id": "4331", + "kind": "string", + "type": { + "$ref": "1461" + }, + "value": "gspehogwfjxirz" + }, + "version": { + "$id": "4332", + "kind": "string", + "type": { + "$ref": "1465" + }, + "value": "yza" + } + } + }, + "id": { + "$id": "4333", + "kind": "string", + "type": { + "$ref": "354" + }, + "value": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet" + }, + "name": { + "$id": "4334", + "kind": "string", + "type": { + "$ref": "359" + }, + "value": "testFleet" + }, + "type": { + "$id": "4335", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "Microsoft.AzureFleet/fleets" + }, + "systemData": { + "$id": "4336", + "kind": "model", + "type": { + "$ref": "368" + }, + "value": { + "$id": "4337", + "createdBy": { + "$id": "4338", + "kind": "string", + "type": { + "$ref": "370" + }, + "value": "rowegentrpoajsv" + }, + "createdByType": { + "$id": "4339", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "createdAt": { + "$id": "4340", + "kind": "string", + "type": { + "$ref": "377" + }, + "value": "2024-04-29T21:51:44.043Z" + }, + "lastModifiedBy": { + "$id": "4341", + "kind": "string", + "type": { + "$ref": "382" + }, + "value": "edwuayhhaoepxzisfaqjhmrxjq" + }, + "lastModifiedByType": { + "$id": "4342", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4343", + "kind": "string", + "type": { + "$ref": "389" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + } + } + } + }, + { + "$id": "4344", + "response": { + "$ref": "3613" + }, + "statusCode": 202 + } + ] + } + ] + }, + { + "$id": "4345", + "name": "delete", + "resourceName": "Fleet", + "doc": "Delete a Fleet", + "accessibility": "public", + "parameters": [ + { + "$id": "4346", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4347", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "4348", + "type": { + "$id": "4349", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4350", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4351", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4352", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4353", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4354", + "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": "4355", + "name": "fleetName", + "nameInRequest": "fleetName", + "doc": "The name of the Compute Fleet", + "type": { + "$id": "4356", + "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": "4357", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "4358", + "kind": "constant", + "valueType": { + "$id": "4359", + "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": "4360", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "4361", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "4362", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "4363", + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "4364", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "4365", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{fleetName}", + "bufferResponse": true, + "longRunning": { + "$id": "4366", + "finalStateVia": 1, + "finalResponse": { + "$id": "4367", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleets.delete", + "decorators": [], + "examples": [ + { + "$id": "4368", + "kind": "http", + "name": "Fleets_Delete", + "description": "Fleets_Delete", + "filePath": "2024-11-01/Fleets_Delete.json", + "parameters": [ + { + "$id": "4369", + "parameter": { + "$ref": "4346" + }, + "value": { + "$id": "4370", + "kind": "string", + "type": { + "$ref": "4347" + }, + "value": "2024-11-01" + } + }, + { + "$id": "4371", + "parameter": { + "$ref": "4350" + }, + "value": { + "$id": "4372", + "kind": "string", + "type": { + "$ref": "4351" + }, + "value": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB" + } + }, + { + "$id": "4373", + "parameter": { + "$ref": "4353" + }, + "value": { + "$id": "4374", + "kind": "string", + "type": { + "$ref": "4354" + }, + "value": "rgazurefleet" + } + }, + { + "$id": "4375", + "parameter": { + "$ref": "4355" + }, + "value": { + "$id": "4376", + "kind": "string", + "type": { + "$ref": "4356" + }, + "value": "testFleet" + } + } + ], + "responses": [ + { + "$id": "4377", + "response": { + "$ref": "4360" + }, + "statusCode": 202 + }, + { + "$id": "4378", + "response": { + "$ref": "4365" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "4379", + "name": "listByResourceGroup", + "resourceName": "Fleet", + "doc": "List Fleet resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "4380", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4381", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "4382", + "type": { + "$id": "4383", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4384", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4385", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4386", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4387", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "4388", + "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": "4389", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "4390", + "kind": "constant", + "valueType": { + "$id": "4391", + "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": "4392", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1575" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets", + "bufferResponse": true, + "paging": { + "$id": "4393", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "4394", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleets.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "4395", + "kind": "http", + "name": "Fleets_ListByResourceGroup", + "description": "Fleets_ListByResourceGroup", + "filePath": "2024-11-01/Fleets_ListByResourceGroup.json", + "parameters": [ + { + "$id": "4396", + "parameter": { + "$ref": "4380" + }, + "value": { + "$id": "4397", + "kind": "string", + "type": { + "$ref": "4381" + }, + "value": "2024-11-01" + } + }, + { + "$id": "4398", + "parameter": { + "$ref": "4384" + }, + "value": { + "$id": "4399", + "kind": "string", + "type": { + "$ref": "4385" + }, + "value": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB" + } + }, + { + "$id": "4400", + "parameter": { + "$ref": "4387" + }, + "value": { + "$id": "4401", + "kind": "string", + "type": { + "$ref": "4388" + }, + "value": "rgazurefleet" + } + } + ], + "responses": [ + { + "$id": "4402", + "response": { + "$ref": "4392" + }, + "statusCode": 200, + "bodyValue": { + "$id": "4403", + "kind": "model", + "type": { + "$ref": "1575" + }, + "value": { + "$id": "4404", + "value": { + "$id": "4405", + "kind": "array", + "type": { + "$ref": "1577" + }, + "value": [ + { + "$id": "4406", + "kind": "model", + "type": { + "$ref": "350" + }, + "value": { + "$id": "4407", + "properties": { + "$id": "4408", + "kind": "model", + "type": { + "$ref": "406" + }, + "value": { + "$id": "4409", + "provisioningState": { + "$id": "4410", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Creating" + }, + "spotPriorityProfile": { + "$id": "4411", + "kind": "model", + "type": { + "$ref": "411" + }, + "value": { + "$id": "4412", + "capacity": { + "$id": "4413", + "kind": "number", + "type": { + "$ref": "413" + }, + "value": 20 + }, + "minCapacity": { + "$id": "4414", + "kind": "number", + "type": { + "$ref": "417" + }, + "value": 10 + }, + "maxPricePerVM": { + "$id": "4415", + "kind": "number", + "type": { + "$ref": "421" + }, + "value": 0.00865 + }, + "evictionPolicy": { + "$id": "4416", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Delete" + }, + "allocationStrategy": { + "$id": "4417", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "PriceCapacityOptimized" + }, + "maintain": { + "$id": "4418", + "kind": "boolean", + "type": { + "$ref": "431" + }, + "value": true + } + } + }, + "regularPriorityProfile": { + "$id": "4419", + "kind": "model", + "type": { + "$ref": "437" + }, + "value": { + "$id": "4420", + "capacity": { + "$id": "4421", + "kind": "number", + "type": { + "$ref": "439" + }, + "value": 20 + }, + "minCapacity": { + "$id": "4422", + "kind": "number", + "type": { + "$ref": "443" + }, + "value": 10 + }, + "allocationStrategy": { + "$id": "4423", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "LowestPrice" + } + } + }, + "vmSizesProfile": { + "$id": "4424", + "kind": "array", + "type": { + "$ref": "452" + }, + "value": [ + { + "$id": "4425", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "4426", + "name": { + "$id": "4427", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_d1_v2" + }, + "rank": { + "$id": "4428", + "kind": "number", + "type": { + "$ref": "459" + }, + "value": 19225 + } + } + } + ] + }, + "computeProfile": { + "$id": "4429", + "kind": "model", + "type": { + "$ref": "1370" + }, + "value": { + "$id": "4430", + "baseVirtualMachineProfile": { + "$id": "4431", + "kind": "model", + "type": { + "$ref": "565" + }, + "value": { + "$id": "4432", + "osProfile": { + "$id": "4433", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "$id": "4434", + "computerNamePrefix": { + "$id": "4435", + "kind": "string", + "type": { + "$ref": "569" + }, + "value": "o" + }, + "adminUsername": { + "$id": "4436", + "kind": "string", + "type": { + "$ref": "573" + }, + "value": "nrgzqciiaaxjrqldbmjbqkyhntp" + }, + "windowsConfiguration": { + "$id": "4437", + "kind": "model", + "type": { + "$ref": "585" + }, + "value": { + "$id": "4438", + "provisionVMAgent": { + "$id": "4439", + "kind": "boolean", + "type": { + "$ref": "587" + }, + "value": true + }, + "enableAutomaticUpdates": { + "$id": "4440", + "kind": "boolean", + "type": { + "$ref": "591" + }, + "value": true + }, + "timeZone": { + "$id": "4441", + "kind": "string", + "type": { + "$ref": "595" + }, + "value": "hlyjiqcfksgrpjrct" + }, + "additionalUnattendContent": { + "$id": "4442", + "kind": "array", + "type": { + "$ref": "599" + }, + "value": [ + { + "$id": "4443", + "kind": "model", + "type": { + "$ref": "600" + }, + "value": { + "$id": "4444", + "passName": { + "$id": "4445", + "kind": "string", + "type": { + "$ref": "602" + }, + "value": "OobeSystem" + }, + "componentName": { + "$id": "4446", + "kind": "string", + "type": { + "$ref": "606" + }, + "value": "Microsoft-Windows-Shell-Setup" + }, + "settingName": { + "$id": "4447", + "kind": "string", + "type": { + "$ref": "104" + }, + "value": "AutoLogon" + } + } + } + ] + }, + "patchSettings": { + "$id": "4448", + "kind": "model", + "type": { + "$ref": "619" + }, + "value": { + "$id": "4449", + "patchMode": { + "$id": "4450", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "Manual" + }, + "enableHotpatching": { + "$id": "4451", + "kind": "boolean", + "type": { + "$ref": "624" + }, + "value": true + }, + "assessmentMode": { + "$id": "4452", + "kind": "string", + "type": { + "$ref": "118" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "4453", + "kind": "model", + "type": { + "$ref": "631" + }, + "value": { + "$id": "4454", + "rebootSetting": { + "$id": "4455", + "kind": "string", + "type": { + "$ref": "124" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "4456", + "kind": "boolean", + "type": { + "$ref": "636" + }, + "value": true + } + } + } + } + }, + "winRM": { + "$id": "4457", + "kind": "model", + "type": { + "$ref": "644" + }, + "value": { + "$id": "4458", + "listeners": { + "$id": "4459", + "kind": "array", + "type": { + "$ref": "646" + }, + "value": [ + { + "$id": "4460", + "kind": "model", + "type": { + "$ref": "647" + }, + "value": { + "$id": "4461", + "protocol": { + "$id": "4462", + "kind": "string", + "type": { + "$ref": "134" + }, + "value": "Http" + }, + "certificateUrl": { + "$id": "4463", + "kind": "string", + "type": { + "$ref": "652" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + } + } + } + ] + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "4464", + "kind": "boolean", + "type": { + "$ref": "660" + }, + "value": true + } + } + }, + "linuxConfiguration": { + "$id": "4465", + "kind": "model", + "type": { + "$ref": "666" + }, + "value": { + "$id": "4466", + "disablePasswordAuthentication": { + "$id": "4467", + "kind": "boolean", + "type": { + "$ref": "668" + }, + "value": true + }, + "ssh": { + "$id": "4468", + "kind": "model", + "type": { + "$ref": "672" + }, + "value": { + "$id": "4469", + "publicKeys": { + "$id": "4470", + "kind": "array", + "type": { + "$ref": "674" + }, + "value": [ + { + "$id": "4471", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "$id": "4472", + "path": { + "$id": "4473", + "kind": "string", + "type": { + "$ref": "677" + }, + "value": "kmqz" + }, + "keyData": { + "$id": "4474", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "kivgsubusvpprwqaqpjcmhsv" + } + } + } + ] + } + } + }, + "provisionVMAgent": { + "$id": "4475", + "kind": "boolean", + "type": { + "$ref": "689" + }, + "value": true + }, + "patchSettings": { + "$id": "4476", + "kind": "model", + "type": { + "$ref": "693" + }, + "value": { + "$id": "4477", + "patchMode": { + "$id": "4478", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "ImageDefault" + }, + "assessmentMode": { + "$id": "4479", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "4480", + "kind": "model", + "type": { + "$ref": "701" + }, + "value": { + "$id": "4481", + "rebootSetting": { + "$id": "4482", + "kind": "string", + "type": { + "$ref": "152" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "4483", + "kind": "boolean", + "type": { + "$ref": "706" + }, + "value": true + } + } + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "4484", + "kind": "boolean", + "type": { + "$ref": "714" + }, + "value": true + } + } + }, + "secrets": { + "$id": "4485", + "kind": "array", + "type": { + "$ref": "720" + }, + "value": [ + { + "$id": "4486", + "kind": "model", + "type": { + "$ref": "721" + }, + "value": { + "$id": "4487", + "sourceVault": { + "$id": "4488", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4489", + "id": { + "$id": "4490", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + }, + "vaultCertificates": { + "$id": "4491", + "kind": "array", + "type": { + "$ref": "732" + }, + "value": [ + { + "$id": "4492", + "kind": "model", + "type": { + "$ref": "733" + }, + "value": { + "$id": "4493", + "certificateUrl": { + "$id": "4494", + "kind": "string", + "type": { + "$ref": "735" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + }, + "certificateStore": { + "$id": "4495", + "kind": "string", + "type": { + "$ref": "739" + }, + "value": "nlxrwavpzhueffxsshlun" + } + } + } + ] + } + } + } + ] + }, + "allowExtensionOperations": { + "$id": "4496", + "kind": "boolean", + "type": { + "$ref": "747" + }, + "value": true + }, + "requireGuestProvisionSignal": { + "$id": "4497", + "kind": "boolean", + "type": { + "$ref": "751" + }, + "value": true + } + } + }, + "storageProfile": { + "$id": "4498", + "kind": "model", + "type": { + "$ref": "757" + }, + "value": { + "$id": "4499", + "imageReference": { + "$id": "4500", + "kind": "model", + "type": { + "$ref": "759" + }, + "value": { + "$id": "4501", + "publisher": { + "$id": "4502", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "mqxgwbiyjzmxavhbkd" + }, + "offer": { + "$id": "4503", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "isxgumkarlkomp" + }, + "sku": { + "$id": "4504", + "kind": "string", + "type": { + "$ref": "774" + }, + "value": "eojmppqcrnpmxirtp" + }, + "version": { + "$id": "4505", + "kind": "string", + "type": { + "$ref": "778" + }, + "value": "wvpcqefgtmqdgltiuz" + }, + "exactVersion": { + "$id": "4506", + "kind": "string", + "type": { + "$ref": "782" + }, + "value": "zjbntmiskjexlr" + }, + "sharedGalleryImageId": { + "$id": "4507", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "kmkgihoxwlawuuhcinfirktdwkmx" + }, + "communityGalleryImageId": { + "$id": "4508", + "kind": "string", + "type": { + "$ref": "790" + }, + "value": "vlqe" + }, + "id": { + "$id": "4509", + "kind": "string", + "type": { + "$ref": "761" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" + } + } + }, + "osDisk": { + "$id": "4510", + "kind": "model", + "type": { + "$ref": "796" + }, + "value": { + "$id": "4511", + "name": { + "$id": "4512", + "kind": "string", + "type": { + "$ref": "798" + }, + "value": "wfttw" + }, + "caching": { + "$id": "4513", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "4514", + "kind": "boolean", + "type": { + "$ref": "805" + }, + "value": true + }, + "createOption": { + "$id": "4515", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diffDiskSettings": { + "$id": "4516", + "kind": "model", + "type": { + "$ref": "812" + }, + "value": { + "$id": "4517", + "option": { + "$id": "4518", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Local" + }, + "placement": { + "$id": "4519", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "CacheDisk" + } + } + }, + "diskSizeGB": { + "$id": "4520", + "kind": "number", + "type": { + "$ref": "822" + }, + "value": 14 + }, + "osType": { + "$id": "4521", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Windows" + }, + "image": { + "$id": "4522", + "kind": "model", + "type": { + "$ref": "829" + }, + "value": { + "$id": "4523", + "uri": { + "$id": "4524", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "https://myStorageAccountName.blob.core.windows.net/myContainerName/myVhdName.vhd" + } + } + }, + "vhdContainers": { + "$id": "4525", + "kind": "array", + "type": { + "$ref": "837" + }, + "value": [ + { + "$id": "4526", + "kind": "string", + "type": { + "$ref": "838" + }, + "value": "tkzcwddtinkfpnfklatw" + } + ] + }, + "managedDisk": { + "$id": "4527", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "4528", + "storageAccountType": { + "$id": "4529", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "4530", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4531", + "id": { + "$id": "4532", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "4533", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "4534", + "securityEncryptionType": { + "$id": "4535", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "4536", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4537", + "id": { + "$id": "4538", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "deleteOption": { + "$id": "4539", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + }, + "dataDisks": { + "$id": "4540", + "kind": "array", + "type": { + "$ref": "873" + }, + "value": [ + { + "$id": "4541", + "kind": "model", + "type": { + "$ref": "874" + }, + "value": { + "$id": "4542", + "name": { + "$id": "4543", + "kind": "string", + "type": { + "$ref": "876" + }, + "value": "eogiykmdmeikswxmigjws" + }, + "lun": { + "$id": "4544", + "kind": "number", + "type": { + "$ref": "880" + }, + "value": 14 + }, + "caching": { + "$id": "4545", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "4546", + "kind": "boolean", + "type": { + "$ref": "887" + }, + "value": true + }, + "createOption": { + "$id": "4547", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diskSizeGB": { + "$id": "4548", + "kind": "number", + "type": { + "$ref": "894" + }, + "value": 6 + }, + "managedDisk": { + "$id": "4549", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "4550", + "storageAccountType": { + "$id": "4551", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "4552", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4553", + "id": { + "$id": "4554", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "4555", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "4556", + "securityEncryptionType": { + "$id": "4557", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "4558", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4559", + "id": { + "$id": "4560", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "diskIOPSReadWrite": { + "$id": "4561", + "kind": "number", + "type": { + "$ref": "901" + }, + "value": 27 + }, + "diskMBpsReadWrite": { + "$id": "4562", + "kind": "number", + "type": { + "$ref": "905" + }, + "value": 2 + }, + "deleteOption": { + "$id": "4563", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + } + ] + }, + "diskControllerType": { + "$id": "4564", + "kind": "string", + "type": { + "$ref": "230" + }, + "value": "uzb" + } + } + }, + "networkProfile": { + "$id": "4565", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "4566", + "healthProbe": { + "$id": "4567", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "4568", + "id": { + "$id": "4569", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" + } + } + }, + "networkInterfaceConfigurations": { + "$id": "4570", + "kind": "array", + "type": { + "$ref": "930" + }, + "value": [ + { + "$id": "4571", + "kind": "model", + "type": { + "$ref": "931" + }, + "value": { + "$id": "4572", + "name": { + "$id": "4573", + "kind": "string", + "type": { + "$ref": "933" + }, + "value": "i" + }, + "properties": { + "$id": "4574", + "kind": "model", + "type": { + "$ref": "937" + }, + "value": { + "$id": "4575", + "primary": { + "$id": "4576", + "kind": "boolean", + "type": { + "$ref": "939" + }, + "value": true + }, + "enableAcceleratedNetworking": { + "$id": "4577", + "kind": "boolean", + "type": { + "$ref": "943" + }, + "value": true + }, + "disableTcpStateTracking": { + "$id": "4578", + "kind": "boolean", + "type": { + "$ref": "947" + }, + "value": true + }, + "enableFpga": { + "$id": "4579", + "kind": "boolean", + "type": { + "$ref": "951" + }, + "value": true + }, + "networkSecurityGroup": { + "$id": "4580", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4581", + "id": { + "$id": "4582", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" + } + } + }, + "dnsSettings": { + "$id": "4583", + "kind": "model", + "type": { + "$ref": "958" + }, + "value": { + "$id": "4584", + "dnsServers": { + "$id": "4585", + "kind": "array", + "type": { + "$ref": "960" + }, + "value": [ + { + "$id": "4586", + "kind": "string", + "type": { + "$ref": "961" + }, + "value": "nxmmfolhclsesu" + } + ] + } + } + }, + "ipConfigurations": { + "$id": "4587", + "kind": "array", + "type": { + "$ref": "967" + }, + "value": [ + { + "$id": "4588", + "kind": "model", + "type": { + "$ref": "968" + }, + "value": { + "$id": "4589", + "name": { + "$id": "4590", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "oezqhkidfhyywlfzwuotilrpbqnjg" + }, + "properties": { + "$id": "4591", + "kind": "model", + "type": { + "$ref": "974" + }, + "value": { + "$id": "4592", + "subnet": { + "$id": "4593", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "4594", + "id": { + "$id": "4595", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + } + }, + "primary": { + "$id": "4596", + "kind": "boolean", + "type": { + "$ref": "979" + }, + "value": true + }, + "publicIPAddressConfiguration": { + "$id": "4597", + "kind": "model", + "type": { + "$ref": "983" + }, + "value": { + "$id": "4598", + "name": { + "$id": "4599", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "fvpqf" + }, + "properties": { + "$id": "4600", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "$id": "4601", + "idleTimeoutInMinutes": { + "$id": "4602", + "kind": "number", + "type": { + "$ref": "991" + }, + "value": 9 + }, + "dnsSettings": { + "$id": "4603", + "kind": "model", + "type": { + "$ref": "995" + }, + "value": { + "$id": "4604", + "domainNameLabel": { + "$id": "4605", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "ukrddzvmorpmfsczjwtbvp" + }, + "domainNameLabelScope": { + "$id": "4606", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "TenantReuse" + } + } + }, + "ipTags": { + "$id": "4607", + "kind": "array", + "type": { + "$ref": "1006" + }, + "value": [ + { + "$id": "4608", + "kind": "model", + "type": { + "$ref": "1007" + }, + "value": { + "$id": "4609", + "ipTagType": { + "$id": "4610", + "kind": "string", + "type": { + "$ref": "1009" + }, + "value": "sddgsoemnzgqizale" + }, + "tag": { + "$id": "4611", + "kind": "string", + "type": { + "$ref": "1013" + }, + "value": "wufmhrjsakbiaetyara" + } + } + } + ] + }, + "publicIPPrefix": { + "$id": "4612", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4613", + "id": { + "$id": "4614", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" + } + } + }, + "publicIPAddressVersion": { + "$id": "4615", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "deleteOption": { + "$id": "4616", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + } + } + }, + "sku": { + "$id": "4617", + "kind": "model", + "type": { + "$ref": "1030" + }, + "value": { + "$id": "4618", + "name": { + "$id": "4619", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "Basic" + }, + "tier": { + "$id": "4620", + "kind": "string", + "type": { + "$ref": "264" + }, + "value": "Regional" + } + } + } + } + }, + "privateIPAddressVersion": { + "$id": "4621", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "applicationGatewayBackendAddressPools": { + "$id": "4622", + "kind": "array", + "type": { + "$ref": "1045" + }, + "value": [ + { + "$id": "4623", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4624", + "id": { + "$id": "4625", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "applicationSecurityGroups": { + "$id": "4626", + "kind": "array", + "type": { + "$ref": "1049" + }, + "value": [ + { + "$id": "4627", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4628", + "id": { + "$id": "4629", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" + } + } + } + ] + }, + "loadBalancerBackendAddressPools": { + "$id": "4630", + "kind": "array", + "type": { + "$ref": "1053" + }, + "value": [ + { + "$id": "4631", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4632", + "id": { + "$id": "4633", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "loadBalancerInboundNatPools": { + "$id": "4634", + "kind": "array", + "type": { + "$ref": "1057" + }, + "value": [ + { + "$id": "4635", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4636", + "id": { + "$id": "4637", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" + } + } + } + ] + } + } + } + } + } + ] + }, + "enableIPForwarding": { + "$id": "4638", + "kind": "boolean", + "type": { + "$ref": "1065" + }, + "value": true + }, + "deleteOption": { + "$id": "4639", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + }, + "auxiliaryMode": { + "$id": "4640", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "None" + }, + "auxiliarySku": { + "$id": "4641", + "kind": "string", + "type": { + "$ref": "278" + }, + "value": "None" + } + } + } + } + } + ] + }, + "networkApiVersion": { + "$id": "4642", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "2020-11-01" + } + } + }, + "securityProfile": { + "$id": "4643", + "kind": "model", + "type": { + "$ref": "1087" + }, + "value": { + "$id": "4644", + "uefiSettings": { + "$id": "4645", + "kind": "model", + "type": { + "$ref": "1089" + }, + "value": { + "$id": "4646", + "secureBootEnabled": { + "$id": "4647", + "kind": "boolean", + "type": { + "$ref": "1091" + }, + "value": true + }, + "vTpmEnabled": { + "$id": "4648", + "kind": "boolean", + "type": { + "$ref": "1095" + }, + "value": true + } + } + }, + "encryptionAtHost": { + "$id": "4649", + "kind": "boolean", + "type": { + "$ref": "1101" + }, + "value": true + }, + "securityType": { + "$id": "4650", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "TrustedLaunch" + }, + "encryptionIdentity": { + "$id": "4651", + "kind": "model", + "type": { + "$ref": "1108" + }, + "value": { + "$id": "4652", + "userAssignedIdentityResourceId": { + "$id": "4653", + "kind": "string", + "type": { + "$ref": "1110" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" + } + } + }, + "proxyAgentSettings": { + "$id": "4654", + "kind": "model", + "type": { + "$ref": "1117" + }, + "value": { + "$id": "4655", + "enabled": { + "$id": "4656", + "kind": "boolean", + "type": { + "$ref": "1119" + }, + "value": true + }, + "mode": { + "$id": "4657", + "kind": "string", + "type": { + "$ref": "300" + }, + "value": "Audit" + }, + "keyIncarnationId": { + "$id": "4658", + "kind": "number", + "type": { + "$ref": "1126" + }, + "value": 20 + } + } + } + } + }, + "diagnosticsProfile": { + "$id": "4659", + "kind": "model", + "type": { + "$ref": "1134" + }, + "value": { + "$id": "4660", + "bootDiagnostics": { + "$id": "4661", + "kind": "model", + "type": { + "$ref": "1136" + }, + "value": { + "$id": "4662", + "enabled": { + "$id": "4663", + "kind": "boolean", + "type": { + "$ref": "1138" + }, + "value": true + }, + "storageUri": { + "$id": "4664", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "http://myStorageAccountName.blob.core.windows.net" + } + } + } + } + }, + "extensionProfile": { + "$id": "4665", + "kind": "model", + "type": { + "$ref": "1150" + }, + "value": { + "$id": "4666", + "extensions": { + "$id": "4667", + "kind": "array", + "type": { + "$ref": "1152" + }, + "value": [ + { + "$id": "4668", + "kind": "model", + "type": { + "$ref": "1153" + }, + "value": { + "$id": "4669", + "name": { + "$id": "4670", + "kind": "string", + "type": { + "$ref": "1160" + }, + "value": "bndxuxx" + }, + "type": { + "$id": "4671", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "cmeam" + }, + "properties": { + "$id": "4672", + "kind": "model", + "type": { + "$ref": "1168" + }, + "value": { + "$id": "4673", + "forceUpdateTag": { + "$id": "4674", + "kind": "string", + "type": { + "$ref": "1170" + }, + "value": "yhgxw" + }, + "publisher": { + "$id": "4675", + "kind": "string", + "type": { + "$ref": "1174" + }, + "value": "kpxtirxjfprhs" + }, + "type": { + "$id": "4676", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "pgjilctjjwaa" + }, + "typeHandlerVersion": { + "$id": "4677", + "kind": "string", + "type": { + "$ref": "1182" + }, + "value": "zevivcoilxmbwlrihhhibq" + }, + "autoUpgradeMinorVersion": { + "$id": "4678", + "kind": "boolean", + "type": { + "$ref": "1186" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "4679", + "kind": "boolean", + "type": { + "$ref": "1190" + }, + "value": true + }, + "settings": { + "$id": "4680", + "kind": "dict", + "type": { + "$ref": "1194" + }, + "value": { + "$id": "4681" + } + }, + "provisioningState": { + "$id": "4682", + "kind": "string", + "type": { + "$ref": "1206" + }, + "value": "Succeeded" + }, + "provisionAfterExtensions": { + "$id": "4683", + "kind": "array", + "type": { + "$ref": "1210" + }, + "value": [ + { + "$id": "4684", + "kind": "string", + "type": { + "$ref": "1211" + }, + "value": "nftzosroolbcwmpupujzqwqe" + } + ] + }, + "suppressFailures": { + "$id": "4685", + "kind": "boolean", + "type": { + "$ref": "1215" + }, + "value": true + }, + "protectedSettingsFromKeyVault": { + "$id": "4686", + "kind": "model", + "type": { + "$ref": "1219" + }, + "value": { + "$id": "4687", + "secretUrl": { + "$id": "4688", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "https://myVaultName.vault.azure.net/secrets/secret/mySecretName" + }, + "sourceVault": { + "$id": "4689", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4690", + "id": { + "$id": "4691", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + } + } + } + } + }, + "id": { + "$id": "4692", + "kind": "string", + "type": { + "$ref": "1155" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" + } + } + } + ] + }, + "extensionsTimeBudget": { + "$id": "4693", + "kind": "string", + "type": { + "$ref": "1234" + }, + "value": "mbhjahtdygwgyszdwjtvlvtgchdwil" + } + } + }, + "licenseType": { + "$id": "4694", + "kind": "string", + "type": { + "$ref": "1240" + }, + "value": "v" + }, + "scheduledEventsProfile": { + "$id": "4695", + "kind": "model", + "type": { + "$ref": "1244" + }, + "value": { + "$id": "4696", + "terminateNotificationProfile": { + "$id": "4697", + "kind": "model", + "type": { + "$ref": "1246" + }, + "value": { + "$id": "4698", + "notBeforeTimeout": { + "$id": "4699", + "kind": "string", + "type": { + "$ref": "1248" + }, + "value": "iljppmmw" + }, + "enable": { + "$id": "4700", + "kind": "boolean", + "type": { + "$ref": "1252" + }, + "value": true + } + } + }, + "osImageNotificationProfile": { + "$id": "4701", + "kind": "model", + "type": { + "$ref": "1258" + }, + "value": { + "$id": "4702", + "notBeforeTimeout": { + "$id": "4703", + "kind": "string", + "type": { + "$ref": "1260" + }, + "value": "olbpadmevekyczfokodtfprxti" + }, + "enable": { + "$id": "4704", + "kind": "boolean", + "type": { + "$ref": "1264" + }, + "value": true + } + } + } + } + }, + "userData": { + "$id": "4705", + "kind": "string", + "type": { + "$ref": "1272" + }, + "value": "s" + }, + "capacityReservation": { + "$id": "4706", + "kind": "model", + "type": { + "$ref": "1276" + }, + "value": { + "$id": "4707", + "capacityReservationGroup": { + "$id": "4708", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4709", + "id": { + "$id": "4710", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" + } + } + } + } + }, + "applicationProfile": { + "$id": "4711", + "kind": "model", + "type": { + "$ref": "1283" + }, + "value": { + "$id": "4712", + "galleryApplications": { + "$id": "4713", + "kind": "array", + "type": { + "$ref": "1285" + }, + "value": [ + { + "$id": "4714", + "kind": "model", + "type": { + "$ref": "1286" + }, + "value": { + "$id": "4715", + "tags": { + "$id": "4716", + "kind": "string", + "type": { + "$ref": "1288" + }, + "value": "eyrqjbib" + }, + "order": { + "$id": "4717", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 5 + }, + "packageReferenceId": { + "$id": "4718", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}" + }, + "treatFailureAsDeploymentFailure": { + "$id": "4719", + "kind": "boolean", + "type": { + "$ref": "1305" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "4720", + "kind": "boolean", + "type": { + "$ref": "1309" + }, + "value": true + } + } + } + ] + } + } + }, + "hardwareProfile": { + "$id": "4721", + "kind": "model", + "type": { + "$ref": "1317" + }, + "value": { + "$id": "4722", + "vmSizeProperties": { + "$id": "4723", + "kind": "model", + "type": { + "$ref": "1319" + }, + "value": { + "$id": "4724", + "vCPUsAvailable": { + "$id": "4725", + "kind": "number", + "type": { + "$ref": "1321" + }, + "value": 16 + }, + "vCPUsPerCore": { + "$id": "4726", + "kind": "number", + "type": { + "$ref": "1325" + }, + "value": 23 + } + } + } + } + }, + "serviceArtifactReference": { + "$id": "4727", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "$id": "4728", + "id": { + "$id": "4729", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" + } + } + }, + "securityPostureReference": { + "$id": "4730", + "kind": "model", + "type": { + "$ref": "1342" + }, + "value": { + "$id": "4731", + "id": { + "$id": "4732", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "mubredelfbshboaxrsxiajihahaa" + }, + "excludeExtensions": { + "$id": "4733", + "kind": "array", + "type": { + "$ref": "1348" + }, + "value": [ + { + "$id": "4734", + "kind": "string", + "type": { + "$ref": "1349" + }, + "value": "{securityPostureVMExtensionName}" + } + ] + }, + "isOverridable": { + "$id": "4735", + "kind": "boolean", + "type": { + "$ref": "1353" + }, + "value": true + } + } + }, + "timeCreated": { + "$id": "4736", + "kind": "string", + "type": { + "$ref": "1359" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + }, + "computeApiVersion": { + "$id": "4737", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2023-07-01" + }, + "platformFaultDomainCount": { + "$id": "4738", + "kind": "number", + "type": { + "$ref": "1379" + }, + "value": 1 + } + } + }, + "timeCreated": { + "$id": "4739", + "kind": "string", + "type": { + "$ref": "1397" + }, + "value": "2024-07-10T00:16:34.8590555+00:00" + }, + "uniqueId": { + "$id": "4740", + "kind": "string", + "type": { + "$ref": "1402" + }, + "value": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + } + } + }, + "zones": { + "$id": "4741", + "kind": "array", + "type": { + "$ref": "1408" + }, + "value": [ + { + "$id": "4742", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone1" + }, + { + "$id": "4743", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone2" + } + ] + }, + "identity": { + "$id": "4744", + "kind": "model", + "type": { + "$ref": "1413" + }, + "value": { + "$id": "4745", + "principalId": { + "$id": "4746", + "kind": "string", + "type": { + "$ref": "1415" + }, + "value": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "tenantId": { + "$id": "4747", + "kind": "string", + "type": { + "$ref": "1420" + }, + "value": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "type": { + "$id": "4748", + "kind": "string", + "type": { + "$ref": "306" + }, + "value": "UserAssigned" + }, + "userAssignedIdentities": { + "$id": "4749", + "kind": "dict", + "type": { + "$ref": "1428" + }, + "value": { + "$id": "4750", + "key9851": { + "$id": "4751", + "kind": "model", + "type": { + "$ref": "1431" + }, + "value": { + "$id": "4752", + "principalId": { + "$id": "4753", + "kind": "string", + "type": { + "$ref": "1438" + }, + "value": "6d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "clientId": { + "$id": "4754", + "kind": "string", + "type": { + "$ref": "1433" + }, + "value": "7d508e5b-374b-4382-9a1c-01fb8b6cb37c" + } + } + } + } + } + } + }, + "plan": { + "$id": "4755", + "kind": "model", + "type": { + "$ref": "1447" + }, + "value": { + "$id": "4756", + "name": { + "$id": "4757", + "kind": "string", + "type": { + "$ref": "1449" + }, + "value": "jwgrcrnrtfoxn" + }, + "publisher": { + "$id": "4758", + "kind": "string", + "type": { + "$ref": "1453" + }, + "value": "iozjbiqqckqm" + }, + "product": { + "$id": "4759", + "kind": "string", + "type": { + "$ref": "1457" + }, + "value": "cgopbyvdyqikahwyxfpzwaqk" + }, + "promotionCode": { + "$id": "4760", + "kind": "string", + "type": { + "$ref": "1461" + }, + "value": "naglezezplcaruqogtxnuizslqnnbr" + }, + "version": { + "$id": "4761", + "kind": "string", + "type": { + "$ref": "1465" + }, + "value": "wa" + } + } + }, + "tags": { + "$id": "4762", + "kind": "dict", + "type": { + "$ref": "396" + }, + "value": { + "$id": "4763", + "key3518": { + "$id": "4764", + "kind": "string", + "type": { + "$ref": "398" + }, + "value": "luvrnuvsgdpbuofdskkcoqhfh" + } + } + }, + "location": { + "$id": "4765", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "westus" + }, + "id": { + "$id": "4766", + "kind": "string", + "type": { + "$ref": "354" + }, + "value": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet" + }, + "name": { + "$id": "4767", + "kind": "string", + "type": { + "$ref": "359" + }, + "value": "testFleet" + }, + "type": { + "$id": "4768", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "Microsoft.AzureFleet/fleets" + }, + "systemData": { + "$id": "4769", + "kind": "model", + "type": { + "$ref": "368" + }, + "value": { + "$id": "4770", + "createdBy": { + "$id": "4771", + "kind": "string", + "type": { + "$ref": "370" + }, + "value": "rowegentrpoajsv" + }, + "createdByType": { + "$id": "4772", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "createdAt": { + "$id": "4773", + "kind": "string", + "type": { + "$ref": "377" + }, + "value": "2024-04-29T21:51:44.043Z" + }, + "lastModifiedBy": { + "$id": "4774", + "kind": "string", + "type": { + "$ref": "382" + }, + "value": "edwuayhhaoepxzisfaqjhmrxjq" + }, + "lastModifiedByType": { + "$id": "4775", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "4776", + "kind": "string", + "type": { + "$ref": "389" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "4777", + "kind": "string", + "type": { + "$ref": "1581" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + }, + { + "$id": "4778", + "name": "listBySubscription", + "resourceName": "Fleet", + "doc": "List Fleet resources by subscription ID", + "accessibility": "public", + "parameters": [ + { + "$id": "4779", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "4780", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "4781", + "type": { + "$id": "4782", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4783", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "4784", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "4785", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "4786", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "4787", + "kind": "constant", + "valueType": { + "$id": "4788", + "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": "4789", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1575" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.AzureFleet/fleets", + "bufferResponse": true, + "paging": { + "$id": "4790", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "4791", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleets.listBySubscription", + "decorators": [], + "examples": [ + { + "$id": "4792", + "kind": "http", + "name": "Fleets_ListBySubscription", + "description": "Fleets_ListBySubscription", + "filePath": "2024-11-01/Fleets_ListBySubscription.json", + "parameters": [ + { + "$id": "4793", + "parameter": { + "$ref": "4779" + }, + "value": { + "$id": "4794", + "kind": "string", + "type": { + "$ref": "4780" + }, + "value": "2024-11-01" + } + }, + { + "$id": "4795", + "parameter": { + "$ref": "4783" + }, + "value": { + "$id": "4796", + "kind": "string", + "type": { + "$ref": "4784" + }, + "value": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB" + } + } + ], + "responses": [ + { + "$id": "4797", + "response": { + "$ref": "4789" + }, + "statusCode": 200, + "bodyValue": { + "$id": "4798", + "kind": "model", + "type": { + "$ref": "1575" + }, + "value": { + "$id": "4799", + "value": { + "$id": "4800", + "kind": "array", + "type": { + "$ref": "1577" + }, + "value": [ + { + "$id": "4801", + "kind": "model", + "type": { + "$ref": "350" + }, + "value": { + "$id": "4802", + "properties": { + "$id": "4803", + "kind": "model", + "type": { + "$ref": "406" + }, + "value": { + "$id": "4804", + "provisioningState": { + "$id": "4805", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Creating" + }, + "spotPriorityProfile": { + "$id": "4806", + "kind": "model", + "type": { + "$ref": "411" + }, + "value": { + "$id": "4807", + "capacity": { + "$id": "4808", + "kind": "number", + "type": { + "$ref": "413" + }, + "value": 20 + }, + "minCapacity": { + "$id": "4809", + "kind": "number", + "type": { + "$ref": "417" + }, + "value": 10 + }, + "maxPricePerVM": { + "$id": "4810", + "kind": "number", + "type": { + "$ref": "421" + }, + "value": 0.00865 + }, + "evictionPolicy": { + "$id": "4811", + "kind": "string", + "type": { + "$ref": "18" + }, + "value": "Delete" + }, + "allocationStrategy": { + "$id": "4812", + "kind": "string", + "type": { + "$ref": "24" + }, + "value": "PriceCapacityOptimized" + }, + "maintain": { + "$id": "4813", + "kind": "boolean", + "type": { + "$ref": "431" + }, + "value": true + } + } + }, + "regularPriorityProfile": { + "$id": "4814", + "kind": "model", + "type": { + "$ref": "437" + }, + "value": { + "$id": "4815", + "capacity": { + "$id": "4816", + "kind": "number", + "type": { + "$ref": "439" + }, + "value": 20 + }, + "minCapacity": { + "$id": "4817", + "kind": "number", + "type": { + "$ref": "443" + }, + "value": 10 + }, + "allocationStrategy": { + "$id": "4818", + "kind": "string", + "type": { + "$ref": "32" + }, + "value": "LowestPrice" + } + } + }, + "vmSizesProfile": { + "$id": "4819", + "kind": "array", + "type": { + "$ref": "452" + }, + "value": [ + { + "$id": "4820", + "kind": "model", + "type": { + "$ref": "453" + }, + "value": { + "$id": "4821", + "name": { + "$id": "4822", + "kind": "string", + "type": { + "$ref": "455" + }, + "value": "Standard_d1_v2" + }, + "rank": { + "$id": "4823", + "kind": "number", + "type": { + "$ref": "459" + }, + "value": 19225 + } + } + } + ] + }, + "computeProfile": { + "$id": "4824", + "kind": "model", + "type": { + "$ref": "1370" + }, + "value": { + "$id": "4825", + "baseVirtualMachineProfile": { + "$id": "4826", + "kind": "model", + "type": { + "$ref": "565" + }, + "value": { + "$id": "4827", + "osProfile": { + "$id": "4828", + "kind": "model", + "type": { + "$ref": "567" + }, + "value": { + "$id": "4829", + "computerNamePrefix": { + "$id": "4830", + "kind": "string", + "type": { + "$ref": "569" + }, + "value": "o" + }, + "adminUsername": { + "$id": "4831", + "kind": "string", + "type": { + "$ref": "573" + }, + "value": "nrgzqciiaaxjrqldbmjbqkyhntp" + }, + "windowsConfiguration": { + "$id": "4832", + "kind": "model", + "type": { + "$ref": "585" + }, + "value": { + "$id": "4833", + "provisionVMAgent": { + "$id": "4834", + "kind": "boolean", + "type": { + "$ref": "587" + }, + "value": true + }, + "enableAutomaticUpdates": { + "$id": "4835", + "kind": "boolean", + "type": { + "$ref": "591" + }, + "value": true + }, + "timeZone": { + "$id": "4836", + "kind": "string", + "type": { + "$ref": "595" + }, + "value": "hlyjiqcfksgrpjrct" + }, + "additionalUnattendContent": { + "$id": "4837", + "kind": "array", + "type": { + "$ref": "599" + }, + "value": [ + { + "$id": "4838", + "kind": "model", + "type": { + "$ref": "600" + }, + "value": { + "$id": "4839", + "passName": { + "$id": "4840", + "kind": "string", + "type": { + "$ref": "602" + }, + "value": "OobeSystem" + }, + "componentName": { + "$id": "4841", + "kind": "string", + "type": { + "$ref": "606" + }, + "value": "Microsoft-Windows-Shell-Setup" + }, + "settingName": { + "$id": "4842", + "kind": "string", + "type": { + "$ref": "104" + }, + "value": "AutoLogon" + } + } + } + ] + }, + "patchSettings": { + "$id": "4843", + "kind": "model", + "type": { + "$ref": "619" + }, + "value": { + "$id": "4844", + "patchMode": { + "$id": "4845", + "kind": "string", + "type": { + "$ref": "110" + }, + "value": "Manual" + }, + "enableHotpatching": { + "$id": "4846", + "kind": "boolean", + "type": { + "$ref": "624" + }, + "value": true + }, + "assessmentMode": { + "$id": "4847", + "kind": "string", + "type": { + "$ref": "118" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "4848", + "kind": "model", + "type": { + "$ref": "631" + }, + "value": { + "$id": "4849", + "rebootSetting": { + "$id": "4850", + "kind": "string", + "type": { + "$ref": "124" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "4851", + "kind": "boolean", + "type": { + "$ref": "636" + }, + "value": true + } + } + } + } + }, + "winRM": { + "$id": "4852", + "kind": "model", + "type": { + "$ref": "644" + }, + "value": { + "$id": "4853", + "listeners": { + "$id": "4854", + "kind": "array", + "type": { + "$ref": "646" + }, + "value": [ + { + "$id": "4855", + "kind": "model", + "type": { + "$ref": "647" + }, + "value": { + "$id": "4856", + "protocol": { + "$id": "4857", + "kind": "string", + "type": { + "$ref": "134" + }, + "value": "Http" + }, + "certificateUrl": { + "$id": "4858", + "kind": "string", + "type": { + "$ref": "652" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + } + } + } + ] + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "4859", + "kind": "boolean", + "type": { + "$ref": "660" + }, + "value": true + } + } + }, + "linuxConfiguration": { + "$id": "4860", + "kind": "model", + "type": { + "$ref": "666" + }, + "value": { + "$id": "4861", + "disablePasswordAuthentication": { + "$id": "4862", + "kind": "boolean", + "type": { + "$ref": "668" + }, + "value": true + }, + "ssh": { + "$id": "4863", + "kind": "model", + "type": { + "$ref": "672" + }, + "value": { + "$id": "4864", + "publicKeys": { + "$id": "4865", + "kind": "array", + "type": { + "$ref": "674" + }, + "value": [ + { + "$id": "4866", + "kind": "model", + "type": { + "$ref": "675" + }, + "value": { + "$id": "4867", + "path": { + "$id": "4868", + "kind": "string", + "type": { + "$ref": "677" + }, + "value": "kmqz" + }, + "keyData": { + "$id": "4869", + "kind": "string", + "type": { + "$ref": "681" + }, + "value": "kivgsubusvpprwqaqpjcmhsv" + } + } + } + ] + } + } + }, + "provisionVMAgent": { + "$id": "4870", + "kind": "boolean", + "type": { + "$ref": "689" + }, + "value": true + }, + "patchSettings": { + "$id": "4871", + "kind": "model", + "type": { + "$ref": "693" + }, + "value": { + "$id": "4872", + "patchMode": { + "$id": "4873", + "kind": "string", + "type": { + "$ref": "140" + }, + "value": "ImageDefault" + }, + "assessmentMode": { + "$id": "4874", + "kind": "string", + "type": { + "$ref": "146" + }, + "value": "ImageDefault" + }, + "automaticByPlatformSettings": { + "$id": "4875", + "kind": "model", + "type": { + "$ref": "701" + }, + "value": { + "$id": "4876", + "rebootSetting": { + "$id": "4877", + "kind": "string", + "type": { + "$ref": "152" + }, + "value": "Unknown" + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "$id": "4878", + "kind": "boolean", + "type": { + "$ref": "706" + }, + "value": true + } + } + } + } + }, + "enableVMAgentPlatformUpdates": { + "$id": "4879", + "kind": "boolean", + "type": { + "$ref": "714" + }, + "value": true + } + } + }, + "secrets": { + "$id": "4880", + "kind": "array", + "type": { + "$ref": "720" + }, + "value": [ + { + "$id": "4881", + "kind": "model", + "type": { + "$ref": "721" + }, + "value": { + "$id": "4882", + "sourceVault": { + "$id": "4883", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4884", + "id": { + "$id": "4885", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + }, + "vaultCertificates": { + "$id": "4886", + "kind": "array", + "type": { + "$ref": "732" + }, + "value": [ + { + "$id": "4887", + "kind": "model", + "type": { + "$ref": "733" + }, + "value": { + "$id": "4888", + "certificateUrl": { + "$id": "4889", + "kind": "string", + "type": { + "$ref": "735" + }, + "value": "https://myVaultName.vault.azure.net/secrets/myCertName" + }, + "certificateStore": { + "$id": "4890", + "kind": "string", + "type": { + "$ref": "739" + }, + "value": "nlxrwavpzhueffxsshlun" + } + } + } + ] + } + } + } + ] + }, + "allowExtensionOperations": { + "$id": "4891", + "kind": "boolean", + "type": { + "$ref": "747" + }, + "value": true + }, + "requireGuestProvisionSignal": { + "$id": "4892", + "kind": "boolean", + "type": { + "$ref": "751" + }, + "value": true + } + } + }, + "storageProfile": { + "$id": "4893", + "kind": "model", + "type": { + "$ref": "757" + }, + "value": { + "$id": "4894", + "imageReference": { + "$id": "4895", + "kind": "model", + "type": { + "$ref": "759" + }, + "value": { + "$id": "4896", + "publisher": { + "$id": "4897", + "kind": "string", + "type": { + "$ref": "766" + }, + "value": "mqxgwbiyjzmxavhbkd" + }, + "offer": { + "$id": "4898", + "kind": "string", + "type": { + "$ref": "770" + }, + "value": "isxgumkarlkomp" + }, + "sku": { + "$id": "4899", + "kind": "string", + "type": { + "$ref": "774" + }, + "value": "eojmppqcrnpmxirtp" + }, + "version": { + "$id": "4900", + "kind": "string", + "type": { + "$ref": "778" + }, + "value": "wvpcqefgtmqdgltiuz" + }, + "exactVersion": { + "$id": "4901", + "kind": "string", + "type": { + "$ref": "782" + }, + "value": "zjbntmiskjexlr" + }, + "sharedGalleryImageId": { + "$id": "4902", + "kind": "string", + "type": { + "$ref": "786" + }, + "value": "kmkgihoxwlawuuhcinfirktdwkmx" + }, + "communityGalleryImageId": { + "$id": "4903", + "kind": "string", + "type": { + "$ref": "790" + }, + "value": "vlqe" + }, + "id": { + "$id": "4904", + "kind": "string", + "type": { + "$ref": "761" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}/versions/{versionName}" + } + } + }, + "osDisk": { + "$id": "4905", + "kind": "model", + "type": { + "$ref": "796" + }, + "value": { + "$id": "4906", + "name": { + "$id": "4907", + "kind": "string", + "type": { + "$ref": "798" + }, + "value": "wfttw" + }, + "caching": { + "$id": "4908", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "4909", + "kind": "boolean", + "type": { + "$ref": "805" + }, + "value": true + }, + "createOption": { + "$id": "4910", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diffDiskSettings": { + "$id": "4911", + "kind": "model", + "type": { + "$ref": "812" + }, + "value": { + "$id": "4912", + "option": { + "$id": "4913", + "kind": "string", + "type": { + "$ref": "182" + }, + "value": "Local" + }, + "placement": { + "$id": "4914", + "kind": "string", + "type": { + "$ref": "186" + }, + "value": "CacheDisk" + } + } + }, + "diskSizeGB": { + "$id": "4915", + "kind": "number", + "type": { + "$ref": "822" + }, + "value": 14 + }, + "osType": { + "$id": "4916", + "kind": "string", + "type": { + "$ref": "194" + }, + "value": "Windows" + }, + "image": { + "$id": "4917", + "kind": "model", + "type": { + "$ref": "829" + }, + "value": { + "$id": "4918", + "uri": { + "$id": "4919", + "kind": "string", + "type": { + "$ref": "831" + }, + "value": "https://myStorageAccountName.blob.core.windows.net/myContainerName/myVhdName.vhd" + } + } + }, + "vhdContainers": { + "$id": "4920", + "kind": "array", + "type": { + "$ref": "837" + }, + "value": [ + { + "$id": "4921", + "kind": "string", + "type": { + "$ref": "838" + }, + "value": "tkzcwddtinkfpnfklatw" + } + ] + }, + "managedDisk": { + "$id": "4922", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "4923", + "storageAccountType": { + "$id": "4924", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "4925", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4926", + "id": { + "$id": "4927", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "4928", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "4929", + "securityEncryptionType": { + "$id": "4930", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "4931", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4932", + "id": { + "$id": "4933", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "deleteOption": { + "$id": "4934", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + }, + "dataDisks": { + "$id": "4935", + "kind": "array", + "type": { + "$ref": "873" + }, + "value": [ + { + "$id": "4936", + "kind": "model", + "type": { + "$ref": "874" + }, + "value": { + "$id": "4937", + "name": { + "$id": "4938", + "kind": "string", + "type": { + "$ref": "876" + }, + "value": "eogiykmdmeikswxmigjws" + }, + "lun": { + "$id": "4939", + "kind": "number", + "type": { + "$ref": "880" + }, + "value": 14 + }, + "caching": { + "$id": "4940", + "kind": "string", + "type": { + "$ref": "162" + }, + "value": "None" + }, + "writeAcceleratorEnabled": { + "$id": "4941", + "kind": "boolean", + "type": { + "$ref": "887" + }, + "value": true + }, + "createOption": { + "$id": "4942", + "kind": "string", + "type": { + "$ref": "170" + }, + "value": "FromImage" + }, + "diskSizeGB": { + "$id": "4943", + "kind": "number", + "type": { + "$ref": "894" + }, + "value": 6 + }, + "managedDisk": { + "$id": "4944", + "kind": "model", + "type": { + "$ref": "842" + }, + "value": { + "$id": "4945", + "storageAccountType": { + "$id": "4946", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "Standard_LRS" + }, + "diskEncryptionSet": { + "$id": "4947", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4948", + "id": { + "$id": "4949", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + }, + "securityProfile": { + "$id": "4950", + "kind": "model", + "type": { + "$ref": "856" + }, + "value": { + "$id": "4951", + "securityEncryptionType": { + "$id": "4952", + "kind": "string", + "type": { + "$ref": "216" + }, + "value": "VMGuestStateOnly" + }, + "diskEncryptionSet": { + "$id": "4953", + "kind": "model", + "type": { + "$ref": "847" + }, + "value": { + "$id": "4954", + "id": { + "$id": "4955", + "kind": "string", + "type": { + "$ref": "849" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}" + } + } + } + } + } + } + }, + "diskIOPSReadWrite": { + "$id": "4956", + "kind": "number", + "type": { + "$ref": "901" + }, + "value": 27 + }, + "diskMBpsReadWrite": { + "$id": "4957", + "kind": "number", + "type": { + "$ref": "905" + }, + "value": 2 + }, + "deleteOption": { + "$id": "4958", + "kind": "string", + "type": { + "$ref": "224" + }, + "value": "Delete" + } + } + } + ] + }, + "diskControllerType": { + "$id": "4959", + "kind": "string", + "type": { + "$ref": "230" + }, + "value": "uzb" + } + } + }, + "networkProfile": { + "$id": "4960", + "kind": "model", + "type": { + "$ref": "919" + }, + "value": { + "$id": "4961", + "healthProbe": { + "$id": "4962", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "4963", + "id": { + "$id": "4964", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}" + } + } + }, + "networkInterfaceConfigurations": { + "$id": "4965", + "kind": "array", + "type": { + "$ref": "930" + }, + "value": [ + { + "$id": "4966", + "kind": "model", + "type": { + "$ref": "931" + }, + "value": { + "$id": "4967", + "name": { + "$id": "4968", + "kind": "string", + "type": { + "$ref": "933" + }, + "value": "i" + }, + "properties": { + "$id": "4969", + "kind": "model", + "type": { + "$ref": "937" + }, + "value": { + "$id": "4970", + "primary": { + "$id": "4971", + "kind": "boolean", + "type": { + "$ref": "939" + }, + "value": true + }, + "enableAcceleratedNetworking": { + "$id": "4972", + "kind": "boolean", + "type": { + "$ref": "943" + }, + "value": true + }, + "disableTcpStateTracking": { + "$id": "4973", + "kind": "boolean", + "type": { + "$ref": "947" + }, + "value": true + }, + "enableFpga": { + "$id": "4974", + "kind": "boolean", + "type": { + "$ref": "951" + }, + "value": true + }, + "networkSecurityGroup": { + "$id": "4975", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "4976", + "id": { + "$id": "4977", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}" + } + } + }, + "dnsSettings": { + "$id": "4978", + "kind": "model", + "type": { + "$ref": "958" + }, + "value": { + "$id": "4979", + "dnsServers": { + "$id": "4980", + "kind": "array", + "type": { + "$ref": "960" + }, + "value": [ + { + "$id": "4981", + "kind": "string", + "type": { + "$ref": "961" + }, + "value": "nxmmfolhclsesu" + } + ] + } + } + }, + "ipConfigurations": { + "$id": "4982", + "kind": "array", + "type": { + "$ref": "967" + }, + "value": [ + { + "$id": "4983", + "kind": "model", + "type": { + "$ref": "968" + }, + "value": { + "$id": "4984", + "name": { + "$id": "4985", + "kind": "string", + "type": { + "$ref": "970" + }, + "value": "oezqhkidfhyywlfzwuotilrpbqnjg" + }, + "properties": { + "$id": "4986", + "kind": "model", + "type": { + "$ref": "974" + }, + "value": { + "$id": "4987", + "subnet": { + "$id": "4988", + "kind": "model", + "type": { + "$ref": "921" + }, + "value": { + "$id": "4989", + "id": { + "$id": "4990", + "kind": "string", + "type": { + "$ref": "923" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}" + } + } + }, + "primary": { + "$id": "4991", + "kind": "boolean", + "type": { + "$ref": "979" + }, + "value": true + }, + "publicIPAddressConfiguration": { + "$id": "4992", + "kind": "model", + "type": { + "$ref": "983" + }, + "value": { + "$id": "4993", + "name": { + "$id": "4994", + "kind": "string", + "type": { + "$ref": "985" + }, + "value": "fvpqf" + }, + "properties": { + "$id": "4995", + "kind": "model", + "type": { + "$ref": "989" + }, + "value": { + "$id": "4996", + "idleTimeoutInMinutes": { + "$id": "4997", + "kind": "number", + "type": { + "$ref": "991" + }, + "value": 9 + }, + "dnsSettings": { + "$id": "4998", + "kind": "model", + "type": { + "$ref": "995" + }, + "value": { + "$id": "4999", + "domainNameLabel": { + "$id": "5000", + "kind": "string", + "type": { + "$ref": "997" + }, + "value": "ukrddzvmorpmfsczjwtbvp" + }, + "domainNameLabelScope": { + "$id": "5001", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "TenantReuse" + } + } + }, + "ipTags": { + "$id": "5002", + "kind": "array", + "type": { + "$ref": "1006" + }, + "value": [ + { + "$id": "5003", + "kind": "model", + "type": { + "$ref": "1007" + }, + "value": { + "$id": "5004", + "ipTagType": { + "$id": "5005", + "kind": "string", + "type": { + "$ref": "1009" + }, + "value": "sddgsoemnzgqizale" + }, + "tag": { + "$id": "5006", + "kind": "string", + "type": { + "$ref": "1013" + }, + "value": "wufmhrjsakbiaetyara" + } + } + } + ] + }, + "publicIPPrefix": { + "$id": "5007", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "5008", + "id": { + "$id": "5009", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIPPrefixName}" + } + } + }, + "publicIPAddressVersion": { + "$id": "5010", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "deleteOption": { + "$id": "5011", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + } + } + }, + "sku": { + "$id": "5012", + "kind": "model", + "type": { + "$ref": "1030" + }, + "value": { + "$id": "5013", + "name": { + "$id": "5014", + "kind": "string", + "type": { + "$ref": "258" + }, + "value": "Basic" + }, + "tier": { + "$id": "5015", + "kind": "string", + "type": { + "$ref": "264" + }, + "value": "Regional" + } + } + } + } + }, + "privateIPAddressVersion": { + "$id": "5016", + "kind": "string", + "type": { + "$ref": "246" + }, + "value": "IPv4" + }, + "applicationGatewayBackendAddressPools": { + "$id": "5017", + "kind": "array", + "type": { + "$ref": "1045" + }, + "value": [ + { + "$id": "5018", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "5019", + "id": { + "$id": "5020", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "applicationSecurityGroups": { + "$id": "5021", + "kind": "array", + "type": { + "$ref": "1049" + }, + "value": [ + { + "$id": "5022", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "5023", + "id": { + "$id": "5024", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}" + } + } + } + ] + }, + "loadBalancerBackendAddressPools": { + "$id": "5025", + "kind": "array", + "type": { + "$ref": "1053" + }, + "value": [ + { + "$id": "5026", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "5027", + "id": { + "$id": "5028", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}" + } + } + } + ] + }, + "loadBalancerInboundNatPools": { + "$id": "5029", + "kind": "array", + "type": { + "$ref": "1057" + }, + "value": [ + { + "$id": "5030", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "5031", + "id": { + "$id": "5032", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatPools/{inboundNatPoolName}" + } + } + } + ] + } + } + } + } + } + ] + }, + "enableIPForwarding": { + "$id": "5033", + "kind": "boolean", + "type": { + "$ref": "1065" + }, + "value": true + }, + "deleteOption": { + "$id": "5034", + "kind": "string", + "type": { + "$ref": "252" + }, + "value": "Delete" + }, + "auxiliaryMode": { + "$id": "5035", + "kind": "string", + "type": { + "$ref": "270" + }, + "value": "None" + }, + "auxiliarySku": { + "$id": "5036", + "kind": "string", + "type": { + "$ref": "278" + }, + "value": "None" + } + } + } + } + } + ] + }, + "networkApiVersion": { + "$id": "5037", + "kind": "string", + "type": { + "$ref": "290" + }, + "value": "2020-11-01" + } + } + }, + "securityProfile": { + "$id": "5038", + "kind": "model", + "type": { + "$ref": "1087" + }, + "value": { + "$id": "5039", + "uefiSettings": { + "$id": "5040", + "kind": "model", + "type": { + "$ref": "1089" + }, + "value": { + "$id": "5041", + "secureBootEnabled": { + "$id": "5042", + "kind": "boolean", + "type": { + "$ref": "1091" + }, + "value": true + }, + "vTpmEnabled": { + "$id": "5043", + "kind": "boolean", + "type": { + "$ref": "1095" + }, + "value": true + } + } + }, + "encryptionAtHost": { + "$id": "5044", + "kind": "boolean", + "type": { + "$ref": "1101" + }, + "value": true + }, + "securityType": { + "$id": "5045", + "kind": "string", + "type": { + "$ref": "294" + }, + "value": "TrustedLaunch" + }, + "encryptionIdentity": { + "$id": "5046", + "kind": "model", + "type": { + "$ref": "1108" + }, + "value": { + "$id": "5047", + "userAssignedIdentityResourceId": { + "$id": "5048", + "kind": "string", + "type": { + "$ref": "1110" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{userAssignedIdentityName}" + } + } + }, + "proxyAgentSettings": { + "$id": "5049", + "kind": "model", + "type": { + "$ref": "1117" + }, + "value": { + "$id": "5050", + "enabled": { + "$id": "5051", + "kind": "boolean", + "type": { + "$ref": "1119" + }, + "value": true + }, + "mode": { + "$id": "5052", + "kind": "string", + "type": { + "$ref": "300" + }, + "value": "Audit" + }, + "keyIncarnationId": { + "$id": "5053", + "kind": "number", + "type": { + "$ref": "1126" + }, + "value": 20 + } + } + } + } + }, + "diagnosticsProfile": { + "$id": "5054", + "kind": "model", + "type": { + "$ref": "1134" + }, + "value": { + "$id": "5055", + "bootDiagnostics": { + "$id": "5056", + "kind": "model", + "type": { + "$ref": "1136" + }, + "value": { + "$id": "5057", + "enabled": { + "$id": "5058", + "kind": "boolean", + "type": { + "$ref": "1138" + }, + "value": true + }, + "storageUri": { + "$id": "5059", + "kind": "string", + "type": { + "$ref": "1142" + }, + "value": "http://myStorageAccountName.blob.core.windows.net" + } + } + } + } + }, + "extensionProfile": { + "$id": "5060", + "kind": "model", + "type": { + "$ref": "1150" + }, + "value": { + "$id": "5061", + "extensions": { + "$id": "5062", + "kind": "array", + "type": { + "$ref": "1152" + }, + "value": [ + { + "$id": "5063", + "kind": "model", + "type": { + "$ref": "1153" + }, + "value": { + "$id": "5064", + "name": { + "$id": "5065", + "kind": "string", + "type": { + "$ref": "1160" + }, + "value": "bndxuxx" + }, + "type": { + "$id": "5066", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "cmeam" + }, + "properties": { + "$id": "5067", + "kind": "model", + "type": { + "$ref": "1168" + }, + "value": { + "$id": "5068", + "forceUpdateTag": { + "$id": "5069", + "kind": "string", + "type": { + "$ref": "1170" + }, + "value": "yhgxw" + }, + "publisher": { + "$id": "5070", + "kind": "string", + "type": { + "$ref": "1174" + }, + "value": "kpxtirxjfprhs" + }, + "type": { + "$id": "5071", + "kind": "string", + "type": { + "$ref": "1178" + }, + "value": "pgjilctjjwaa" + }, + "typeHandlerVersion": { + "$id": "5072", + "kind": "string", + "type": { + "$ref": "1182" + }, + "value": "zevivcoilxmbwlrihhhibq" + }, + "autoUpgradeMinorVersion": { + "$id": "5073", + "kind": "boolean", + "type": { + "$ref": "1186" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "5074", + "kind": "boolean", + "type": { + "$ref": "1190" + }, + "value": true + }, + "settings": { + "$id": "5075", + "kind": "dict", + "type": { + "$ref": "1194" + }, + "value": { + "$id": "5076" + } + }, + "provisioningState": { + "$id": "5077", + "kind": "string", + "type": { + "$ref": "1206" + }, + "value": "Succeeded" + }, + "provisionAfterExtensions": { + "$id": "5078", + "kind": "array", + "type": { + "$ref": "1210" + }, + "value": [ + { + "$id": "5079", + "kind": "string", + "type": { + "$ref": "1211" + }, + "value": "nftzosroolbcwmpupujzqwqe" + } + ] + }, + "suppressFailures": { + "$id": "5080", + "kind": "boolean", + "type": { + "$ref": "1215" + }, + "value": true + }, + "protectedSettingsFromKeyVault": { + "$id": "5081", + "kind": "model", + "type": { + "$ref": "1219" + }, + "value": { + "$id": "5082", + "secretUrl": { + "$id": "5083", + "kind": "string", + "type": { + "$ref": "1221" + }, + "value": "https://myVaultName.vault.azure.net/secrets/secret/mySecretName" + }, + "sourceVault": { + "$id": "5084", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "5085", + "id": { + "$id": "5086", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/vaults/{vaultName}" + } + } + } + } + } + } + }, + "id": { + "$id": "5087", + "kind": "string", + "type": { + "$ref": "1155" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{extensionName}" + } + } + } + ] + }, + "extensionsTimeBudget": { + "$id": "5088", + "kind": "string", + "type": { + "$ref": "1234" + }, + "value": "mbhjahtdygwgyszdwjtvlvtgchdwil" + } + } + }, + "licenseType": { + "$id": "5089", + "kind": "string", + "type": { + "$ref": "1240" + }, + "value": "v" + }, + "scheduledEventsProfile": { + "$id": "5090", + "kind": "model", + "type": { + "$ref": "1244" + }, + "value": { + "$id": "5091", + "terminateNotificationProfile": { + "$id": "5092", + "kind": "model", + "type": { + "$ref": "1246" + }, + "value": { + "$id": "5093", + "notBeforeTimeout": { + "$id": "5094", + "kind": "string", + "type": { + "$ref": "1248" + }, + "value": "iljppmmw" + }, + "enable": { + "$id": "5095", + "kind": "boolean", + "type": { + "$ref": "1252" + }, + "value": true + } + } + }, + "osImageNotificationProfile": { + "$id": "5096", + "kind": "model", + "type": { + "$ref": "1258" + }, + "value": { + "$id": "5097", + "notBeforeTimeout": { + "$id": "5098", + "kind": "string", + "type": { + "$ref": "1260" + }, + "value": "olbpadmevekyczfokodtfprxti" + }, + "enable": { + "$id": "5099", + "kind": "boolean", + "type": { + "$ref": "1264" + }, + "value": true + } + } + } + } + }, + "userData": { + "$id": "5100", + "kind": "string", + "type": { + "$ref": "1272" + }, + "value": "s" + }, + "capacityReservation": { + "$id": "5101", + "kind": "model", + "type": { + "$ref": "1276" + }, + "value": { + "$id": "5102", + "capacityReservationGroup": { + "$id": "5103", + "kind": "model", + "type": { + "$ref": "723" + }, + "value": { + "$id": "5104", + "id": { + "$id": "5105", + "kind": "string", + "type": { + "$ref": "725" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}" + } + } + } + } + }, + "applicationProfile": { + "$id": "5106", + "kind": "model", + "type": { + "$ref": "1283" + }, + "value": { + "$id": "5107", + "galleryApplications": { + "$id": "5108", + "kind": "array", + "type": { + "$ref": "1285" + }, + "value": [ + { + "$id": "5109", + "kind": "model", + "type": { + "$ref": "1286" + }, + "value": { + "$id": "5110", + "tags": { + "$id": "5111", + "kind": "string", + "type": { + "$ref": "1288" + }, + "value": "eyrqjbib" + }, + "order": { + "$id": "5112", + "kind": "number", + "type": { + "$ref": "1292" + }, + "value": 5 + }, + "packageReferenceId": { + "$id": "5113", + "kind": "string", + "type": { + "$ref": "1296" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{applicationName}/versions/{versionName}" + }, + "treatFailureAsDeploymentFailure": { + "$id": "5114", + "kind": "boolean", + "type": { + "$ref": "1305" + }, + "value": true + }, + "enableAutomaticUpgrade": { + "$id": "5115", + "kind": "boolean", + "type": { + "$ref": "1309" + }, + "value": true + } + } + } + ] + } + } + }, + "hardwareProfile": { + "$id": "5116", + "kind": "model", + "type": { + "$ref": "1317" + }, + "value": { + "$id": "5117", + "vmSizeProperties": { + "$id": "5118", + "kind": "model", + "type": { + "$ref": "1319" + }, + "value": { + "$id": "5119", + "vCPUsAvailable": { + "$id": "5120", + "kind": "number", + "type": { + "$ref": "1321" + }, + "value": 16 + }, + "vCPUsPerCore": { + "$id": "5121", + "kind": "number", + "type": { + "$ref": "1325" + }, + "value": 23 + } + } + } + } + }, + "serviceArtifactReference": { + "$id": "5122", + "kind": "model", + "type": { + "$ref": "1333" + }, + "value": { + "$id": "5123", + "id": { + "$id": "5124", + "kind": "string", + "type": { + "$ref": "1335" + }, + "value": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/serviceArtifacts/{serviceArtifactsName}/vmArtifactsProfiles/{vmArtifactsProfileName}" + } + } + }, + "securityPostureReference": { + "$id": "5125", + "kind": "model", + "type": { + "$ref": "1342" + }, + "value": { + "$id": "5126", + "id": { + "$id": "5127", + "kind": "string", + "type": { + "$ref": "1344" + }, + "value": "mubredelfbshboaxrsxiajihahaa" + }, + "excludeExtensions": { + "$id": "5128", + "kind": "array", + "type": { + "$ref": "1348" + }, + "value": [ + { + "$id": "5129", + "kind": "string", + "type": { + "$ref": "1349" + }, + "value": "{securityPostureVMExtensionName}" + } + ] + }, + "isOverridable": { + "$id": "5130", + "kind": "boolean", + "type": { + "$ref": "1353" + }, + "value": true + } + } + }, + "timeCreated": { + "$id": "5131", + "kind": "string", + "type": { + "$ref": "1359" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + }, + "computeApiVersion": { + "$id": "5132", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2023-07-01" + }, + "platformFaultDomainCount": { + "$id": "5133", + "kind": "number", + "type": { + "$ref": "1379" + }, + "value": 1 + } + } + }, + "timeCreated": { + "$id": "5134", + "kind": "string", + "type": { + "$ref": "1397" + }, + "value": "2024-07-10T00:16:34.8590555+00:00" + }, + "uniqueId": { + "$id": "5135", + "kind": "string", + "type": { + "$ref": "1402" + }, + "value": "a2f7fabd-bbc2-4a20-afe1-49fdb3885a28" + } + } + }, + "zones": { + "$id": "5136", + "kind": "array", + "type": { + "$ref": "1408" + }, + "value": [ + { + "$id": "5137", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone1" + }, + { + "$id": "5138", + "kind": "string", + "type": { + "$ref": "1409" + }, + "value": "zone2" + } + ] + }, + "identity": { + "$id": "5139", + "kind": "model", + "type": { + "$ref": "1413" + }, + "value": { + "$id": "5140", + "principalId": { + "$id": "5141", + "kind": "string", + "type": { + "$ref": "1415" + }, + "value": "4d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "tenantId": { + "$id": "5142", + "kind": "string", + "type": { + "$ref": "1420" + }, + "value": "5d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "type": { + "$id": "5143", + "kind": "string", + "type": { + "$ref": "306" + }, + "value": "UserAssigned" + }, + "userAssignedIdentities": { + "$id": "5144", + "kind": "dict", + "type": { + "$ref": "1428" + }, + "value": { + "$id": "5145", + "key9851": { + "$id": "5146", + "kind": "model", + "type": { + "$ref": "1431" + }, + "value": { + "$id": "5147", + "principalId": { + "$id": "5148", + "kind": "string", + "type": { + "$ref": "1438" + }, + "value": "6d508e5b-374b-4382-9a1c-01fb8b6cb37c" + }, + "clientId": { + "$id": "5149", + "kind": "string", + "type": { + "$ref": "1433" + }, + "value": "7d508e5b-374b-4382-9a1c-01fb8b6cb37c" + } + } + } + } + } + } + }, + "plan": { + "$id": "5150", + "kind": "model", + "type": { + "$ref": "1447" + }, + "value": { + "$id": "5151", + "name": { + "$id": "5152", + "kind": "string", + "type": { + "$ref": "1449" + }, + "value": "jwgrcrnrtfoxn" + }, + "publisher": { + "$id": "5153", + "kind": "string", + "type": { + "$ref": "1453" + }, + "value": "iozjbiqqckqm" + }, + "product": { + "$id": "5154", + "kind": "string", + "type": { + "$ref": "1457" + }, + "value": "cgopbyvdyqikahwyxfpzwaqk" + }, + "promotionCode": { + "$id": "5155", + "kind": "string", + "type": { + "$ref": "1461" + }, + "value": "naglezezplcaruqogtxnuizslqnnbr" + }, + "version": { + "$id": "5156", + "kind": "string", + "type": { + "$ref": "1465" + }, + "value": "wa" + } + } + }, + "tags": { + "$id": "5157", + "kind": "dict", + "type": { + "$ref": "396" + }, + "value": { + "$id": "5158", + "key3518": { + "$id": "5159", + "kind": "string", + "type": { + "$ref": "398" + }, + "value": "luvrnuvsgdpbuofdskkcoqhfh" + } + } + }, + "location": { + "$id": "5160", + "kind": "string", + "type": { + "$ref": "402" + }, + "value": "westus" + }, + "id": { + "$id": "5161", + "kind": "string", + "type": { + "$ref": "354" + }, + "value": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/testFleet" + }, + "name": { + "$id": "5162", + "kind": "string", + "type": { + "$ref": "359" + }, + "value": "testFleet" + }, + "type": { + "$id": "5163", + "kind": "string", + "type": { + "$ref": "363" + }, + "value": "Microsoft.AzureFleet/fleets" + }, + "systemData": { + "$id": "5164", + "kind": "model", + "type": { + "$ref": "368" + }, + "value": { + "$id": "5165", + "createdBy": { + "$id": "5166", + "kind": "string", + "type": { + "$ref": "370" + }, + "value": "rowegentrpoajsv" + }, + "createdByType": { + "$id": "5167", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "createdAt": { + "$id": "5168", + "kind": "string", + "type": { + "$ref": "377" + }, + "value": "2024-04-29T21:51:44.043Z" + }, + "lastModifiedBy": { + "$id": "5169", + "kind": "string", + "type": { + "$ref": "382" + }, + "value": "edwuayhhaoepxzisfaqjhmrxjq" + }, + "lastModifiedByType": { + "$id": "5170", + "kind": "string", + "type": { + "$ref": "316" + }, + "value": "User" + }, + "lastModifiedAt": { + "$id": "5171", + "kind": "string", + "type": { + "$ref": "389" + }, + "value": "2024-04-29T21:51:44.043Z" + } + } + } + } + } + ] + }, + "nextLink": { + "$id": "5172", + "kind": "string", + "type": { + "$ref": "1581" + }, + "value": "https://microsoft.com/a" + } + } + } + } + ] + } + ] + }, + { + "$id": "5173", + "name": "listVirtualMachineScaleSets", + "resourceName": "VirtualMachineScaleSet", + "doc": "List VirtualMachineScaleSet resources by Fleet", + "accessibility": "public", + "parameters": [ + { + "$id": "5174", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "5175", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "5176", + "type": { + "$id": "5177", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-11-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5178", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "5179", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "5180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "5181", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "5182", + "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": "5183", + "name": "name", + "nameInRequest": "name", + "doc": "The name of the Fleet", + "type": { + "$id": "5184", + "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": "5185", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "5186", + "kind": "constant", + "valueType": { + "$id": "5187", + "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": "5188", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "1585" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureFleet/fleets/{name}/virtualMachineScaleSets", + "bufferResponse": true, + "paging": { + "$id": "5189", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "5190", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleets.listVirtualMachineScaleSets", + "decorators": [], + "examples": [ + { + "$id": "5191", + "kind": "http", + "name": "Fleets_ListVirtualMachineScaleSets", + "description": "Fleets_ListVirtualMachineScaleSets", + "filePath": "2024-11-01/Fleets_ListVirtualMachineScaleSets.json", + "parameters": [ + { + "$id": "5192", + "parameter": { + "$ref": "5174" + }, + "value": { + "$id": "5193", + "kind": "string", + "type": { + "$ref": "5175" + }, + "value": "2024-11-01" + } + }, + { + "$id": "5194", + "parameter": { + "$ref": "5178" + }, + "value": { + "$id": "5195", + "kind": "string", + "type": { + "$ref": "5179" + }, + "value": "1DC2F28C-A625-4B0E-9748-9885A3C9E9EB" + } + }, + { + "$id": "5196", + "parameter": { + "$ref": "5181" + }, + "value": { + "$id": "5197", + "kind": "string", + "type": { + "$ref": "5182" + }, + "value": "rgazurefleet" + } + }, + { + "$id": "5198", + "parameter": { + "$ref": "5183" + }, + "value": { + "$id": "5199", + "kind": "string", + "type": { + "$ref": "5184" + }, + "value": "myFleet" + } + } + ], + "responses": [ + { + "$id": "5200", + "response": { + "$ref": "5188" + }, + "statusCode": 200, + "bodyValue": { + "$id": "5201", + "kind": "model", + "type": { + "$ref": "1585" + }, + "value": { + "$id": "5202", + "value": { + "$id": "5203", + "kind": "array", + "type": { + "$ref": "1587" + }, + "value": [ + { + "$id": "5204", + "kind": "model", + "type": { + "$ref": "1588" + }, + "value": { + "$id": "5205", + "id": { + "$id": "5206", + "kind": "string", + "type": { + "$ref": "1590" + }, + "value": "/subscriptions/7B0CD4DB-3381-4013-9B31-FB6E6FD0FF1C/resourceGroups/rgazurefleet/providers/Microsoft.AzureFleet/fleets/myFleet/virtualMachineScaleSets/myVmss" + }, + "type": { + "$id": "5207", + "kind": "string", + "type": { + "$ref": "1595" + }, + "value": "Microsoft.AzureFleet/fleets/virtualMachineScaleSets" + }, + "operationStatus": { + "$id": "5208", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "Creating" + }, + "error": { + "$id": "5209", + "kind": "model", + "type": { + "$ref": "1602" + }, + "value": { + "$id": "5210", + "details": { + "$id": "5211", + "kind": "array", + "type": { + "$ref": "1616" + }, + "value": [ + { + "$id": "5212", + "kind": "model", + "type": { + "$ref": "1617" + }, + "value": { + "$id": "5213", + "code": { + "$id": "5214", + "kind": "string", + "type": { + "$ref": "1619" + }, + "value": "gzhtOverconstrainedAllocationRequestyosk" + }, + "target": { + "$id": "5215", + "kind": "string", + "type": { + "$ref": "1623" + }, + "value": "qfthabhrmndhfizfnrwpgxvnokpy" + }, + "message": { + "$id": "5216", + "kind": "string", + "type": { + "$ref": "1627" + }, + "value": "Allocation Failed" + } + } + } + ] + }, + "innererror": { + "$id": "5217", + "kind": "model", + "type": { + "$ref": "1633" + }, + "value": { + "$id": "5218", + "exceptionType": { + "$id": "5219", + "kind": "string", + "type": { + "$ref": "1635" + }, + "value": "sfaomfpoaptnbxchrfskm" + }, + "errorDetail": { + "$id": "5220", + "kind": "string", + "type": { + "$ref": "1639" + }, + "value": "ihjwbwykq" + } + } + }, + "code": { + "$id": "5221", + "kind": "string", + "type": { + "$ref": "1604" + }, + "value": "OverconstrainedAllocationRequest" + }, + "target": { + "$id": "5222", + "kind": "string", + "type": { + "$ref": "1608" + }, + "value": "nhaj" + }, + "message": { + "$id": "5223", + "kind": "string", + "type": { + "$ref": "1612" + }, + "value": "Allocation Failed" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + } + ], + "parent": "AzureFleetClient", + "parameters": [ + { + "$id": "5224", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "5225", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "5226", + "type": { + "$id": "5227", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.AzureFleet.Fleets" + } + ], + "auth": { + "$id": "5228", + "oAuth2": { + "$id": "5229", + "scopes": [ + "user_impersonation" + ] + } + } +} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyClient.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyClient.cs index f81053449e3b..631d60416f10 100644 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyClient.cs +++ b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyClient.cs @@ -8,7 +8,6 @@ using System; using System.Threading; using System.Threading.Tasks; -using Autorest.CSharp.Core; using Azure.Core; using Azure.Core.Pipeline; @@ -44,38 +43,28 @@ protected CodeTransparencyClient() { } - /// Get the status the entry operation. - /// ID of the operation to retrieve. + /// Get the transparency service configuration, mandatory in IETF SCITT draft. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// - public virtual async Task> GetEntryStatusAsync(string operationId, CancellationToken cancellationToken = default) + /// + public virtual async Task> GetTransparencyConfigCborAsync(CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(operationId, nameof(operationId)); - RequestContext context = FromCancellationToken(cancellationToken); - Response response = await GetEntryStatusAsync(operationId, context).ConfigureAwait(false); - return Response.FromValue(GetOperationResult.FromResponse(response), response); + Response response = await GetTransparencyConfigCborAsync(context).ConfigureAwait(false); + return Response.FromValue(response.Content, response); } - /// Get the status the entry operation. - /// ID of the operation to retrieve. + /// Get the transparency service configuration, mandatory in IETF SCITT draft. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// - public virtual Response GetEntryStatus(string operationId, CancellationToken cancellationToken = default) + /// + public virtual Response GetTransparencyConfigCbor(CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(operationId, nameof(operationId)); - RequestContext context = FromCancellationToken(cancellationToken); - Response response = GetEntryStatus(operationId, context); - return Response.FromValue(GetOperationResult.FromResponse(response), response); + Response response = GetTransparencyConfigCbor(context); + return Response.FromValue(response.Content, response); } /// - /// [Protocol Method] Get the status the entry operation + /// [Protocol Method] Get the transparency service configuration, mandatory in IETF SCITT draft /// /// /// @@ -84,27 +73,22 @@ public virtual Response GetEntryStatus(string operationId, C /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// /// - /// ID of the operation to retrieve. /// 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 GetEntryStatusAsync(string operationId, RequestContext context) + /// + public virtual async Task GetTransparencyConfigCborAsync(RequestContext context) { - Argument.AssertNotNullOrEmpty(operationId, nameof(operationId)); - - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntryStatus"); + using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetTransparencyConfigCbor"); scope.Start(); try { - using HttpMessage message = CreateGetEntryStatusRequest(operationId, context); + using HttpMessage message = CreateGetTransparencyConfigCborRequest(context); return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); } catch (Exception e) @@ -115,7 +99,7 @@ public virtual async Task GetEntryStatusAsync(string operationId, Requ } /// - /// [Protocol Method] Get the status the entry operation + /// [Protocol Method] Get the transparency service configuration, mandatory in IETF SCITT draft /// /// /// @@ -124,27 +108,22 @@ public virtual async Task GetEntryStatusAsync(string operationId, Requ /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// /// - /// ID of the operation to retrieve. /// 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 GetEntryStatus(string operationId, RequestContext context) + /// + public virtual Response GetTransparencyConfigCbor(RequestContext context) { - Argument.AssertNotNullOrEmpty(operationId, nameof(operationId)); - - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntryStatus"); + using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetTransparencyConfigCbor"); scope.Start(); try { - using HttpMessage message = CreateGetEntryStatusRequest(operationId, context); + using HttpMessage message = CreateGetTransparencyConfigCborRequest(context); return _pipeline.ProcessMessage(message, context); } catch (Exception e) @@ -154,28 +133,28 @@ public virtual Response GetEntryStatus(string operationId, RequestContext contex } } - /// Get the status of all entries operations. + /// Get the public keys used by the service to sign receipts, mentioned in IETF SCITT draft as part of jwks_uri implementation. /// The cancellation token to use. - /// - public virtual async Task> GetEntryStatusesAsync(CancellationToken cancellationToken = default) + /// + public virtual async Task> GetPublicKeysAsync(CancellationToken cancellationToken = default) { RequestContext context = FromCancellationToken(cancellationToken); - Response response = await GetEntryStatusesAsync(context).ConfigureAwait(false); - return Response.FromValue(ListOperationResult.FromResponse(response), response); + Response response = await GetPublicKeysAsync(context).ConfigureAwait(false); + return Response.FromValue(JwksDocument.FromResponse(response), response); } - /// Get the status of all entries operations. + /// Get the public keys used by the service to sign receipts, mentioned in IETF SCITT draft as part of jwks_uri implementation. /// The cancellation token to use. - /// - public virtual Response GetEntryStatuses(CancellationToken cancellationToken = default) + /// + public virtual Response GetPublicKeys(CancellationToken cancellationToken = default) { RequestContext context = FromCancellationToken(cancellationToken); - Response response = GetEntryStatuses(context); - return Response.FromValue(ListOperationResult.FromResponse(response), response); + Response response = GetPublicKeys(context); + return Response.FromValue(JwksDocument.FromResponse(response), response); } /// - /// [Protocol Method] Get the status of all entries operations + /// [Protocol Method] Get the public keys used by the service to sign receipts, mentioned in IETF SCITT draft as part of jwks_uri implementation /// /// /// @@ -184,7 +163,7 @@ public virtual Response GetEntryStatuses(CancellationToken /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -192,14 +171,14 @@ public virtual Response GetEntryStatuses(CancellationToken /// 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 response returned from the service. - /// - public virtual async Task GetEntryStatusesAsync(RequestContext context) + /// + public virtual async Task GetPublicKeysAsync(RequestContext context) { - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntryStatuses"); + using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetPublicKeys"); scope.Start(); try { - using HttpMessage message = CreateGetEntryStatusesRequest(context); + using HttpMessage message = CreateGetPublicKeysRequest(context); return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); } catch (Exception e) @@ -210,7 +189,7 @@ public virtual async Task GetEntryStatusesAsync(RequestContext context } /// - /// [Protocol Method] Get the status of all entries operations + /// [Protocol Method] Get the public keys used by the service to sign receipts, mentioned in IETF SCITT draft as part of jwks_uri implementation /// /// /// @@ -219,7 +198,7 @@ public virtual async Task GetEntryStatusesAsync(RequestContext context /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -227,14 +206,14 @@ public virtual async Task GetEntryStatusesAsync(RequestContext context /// 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 response returned from the service. - /// - public virtual Response GetEntryStatuses(RequestContext context) + /// + public virtual Response GetPublicKeys(RequestContext context) { - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntryStatuses"); + using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetPublicKeys"); scope.Start(); try { - using HttpMessage message = CreateGetEntryStatusesRequest(context); + using HttpMessage message = CreateGetPublicKeysRequest(context); return _pipeline.ProcessMessage(message, context); } catch (Exception e) @@ -244,40 +223,38 @@ public virtual Response GetEntryStatuses(RequestContext context) } } - /// Get Entry with or without receipt embedded in its unprotected header. - /// ID of the entry to retrieve. - /// Embed a receipt as part of the response. + /// Get status of the long running registration operation, mandatory in IETF SCITT draft. + /// ID of the operation to retrieve. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// - public virtual async Task> GetEntryAsync(string entryId, bool? embedReceipt = null, CancellationToken cancellationToken = default) + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual async Task> GetOperationAsync(string operationId, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); + Argument.AssertNotNullOrEmpty(operationId, nameof(operationId)); RequestContext context = FromCancellationToken(cancellationToken); - Response response = await GetEntryAsync(entryId, embedReceipt, context).ConfigureAwait(false); + Response response = await GetOperationAsync(operationId, context).ConfigureAwait(false); return Response.FromValue(response.Content, response); } - /// Get Entry with or without receipt embedded in its unprotected header. - /// ID of the entry to retrieve. - /// Embed a receipt as part of the response. + /// Get status of the long running registration operation, mandatory in IETF SCITT draft. + /// ID of the operation to retrieve. /// The cancellation token to use. - /// is null. - /// is an empty string, and was expected to be non-empty. - /// - public virtual Response GetEntry(string entryId, bool? embedReceipt = null, CancellationToken cancellationToken = default) + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual Response GetOperation(string operationId, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); + Argument.AssertNotNullOrEmpty(operationId, nameof(operationId)); RequestContext context = FromCancellationToken(cancellationToken); - Response response = GetEntry(entryId, embedReceipt, context); + Response response = GetOperation(operationId, context); return Response.FromValue(response.Content, response); } /// - /// [Protocol Method] Get Entry with or without receipt embedded in its unprotected header + /// [Protocol Method] Get status of the long running registration operation, mandatory in IETF SCITT draft /// /// /// @@ -286,28 +263,27 @@ public virtual Response GetEntry(string entryId, bool? embedReceipt /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// /// - /// ID of the entry to retrieve. - /// Embed a receipt as part of the response. + /// ID of the operation to retrieve. /// 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. + /// 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 GetEntryAsync(string entryId, bool? embedReceipt, RequestContext context) + /// + public virtual async Task GetOperationAsync(string operationId, RequestContext context) { - Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); + Argument.AssertNotNullOrEmpty(operationId, nameof(operationId)); - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntry"); + using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetOperation"); scope.Start(); try { - using HttpMessage message = CreateGetEntryRequest(entryId, embedReceipt, context); + using HttpMessage message = CreateGetOperationRequest(operationId, context); return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); } catch (Exception e) @@ -318,7 +294,7 @@ public virtual async Task GetEntryAsync(string entryId, bool? embedRec } /// - /// [Protocol Method] Get Entry with or without receipt embedded in its unprotected header + /// [Protocol Method] Get status of the long running registration operation, mandatory in IETF SCITT draft /// /// /// @@ -327,28 +303,27 @@ public virtual async Task GetEntryAsync(string entryId, bool? embedRec /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// /// - /// ID of the entry to retrieve. - /// Embed a receipt as part of the response. + /// ID of the operation to retrieve. /// 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. + /// 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 GetEntry(string entryId, bool? embedReceipt, RequestContext context) + /// + public virtual Response GetOperation(string operationId, RequestContext context) { - Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); + Argument.AssertNotNullOrEmpty(operationId, nameof(operationId)); - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntry"); + using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetOperation"); scope.Start(); try { - using HttpMessage message = CreateGetEntryRequest(entryId, embedReceipt, context); + using HttpMessage message = CreateGetOperationRequest(operationId, context); return _pipeline.ProcessMessage(message, context); } catch (Exception e) @@ -358,38 +333,38 @@ public virtual Response GetEntry(string entryId, bool? embedReceipt, RequestCont } } - /// Get the receipt of an entry given a specific entry id. + /// Get receipt. /// ID of the entry to retrieve. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - /// - public virtual async Task> GetEntryReceiptAsync(string entryId, CancellationToken cancellationToken = default) + /// + public virtual async Task> GetEntryAsync(string entryId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); RequestContext context = FromCancellationToken(cancellationToken); - Response response = await GetEntryReceiptAsync(entryId, context).ConfigureAwait(false); + Response response = await GetEntryAsync(entryId, context).ConfigureAwait(false); return Response.FromValue(response.Content, response); } - /// Get the receipt of an entry given a specific entry id. + /// Get receipt. /// ID of the entry to retrieve. /// The cancellation token to use. /// is null. /// is an empty string, and was expected to be non-empty. - /// - public virtual Response GetEntryReceipt(string entryId, CancellationToken cancellationToken = default) + /// + public virtual Response GetEntry(string entryId, CancellationToken cancellationToken = default) { Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); RequestContext context = FromCancellationToken(cancellationToken); - Response response = GetEntryReceipt(entryId, context); + Response response = GetEntry(entryId, context); return Response.FromValue(response.Content, response); } /// - /// [Protocol Method] Get the receipt of an entry given a specific entry id. + /// [Protocol Method] Get receipt /// /// /// @@ -398,7 +373,7 @@ public virtual Response GetEntryReceipt(string entryId, Cancellation /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -409,16 +384,16 @@ public virtual Response GetEntryReceipt(string entryId, Cancellation /// 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 GetEntryReceiptAsync(string entryId, RequestContext context) + /// + public virtual async Task GetEntryAsync(string entryId, RequestContext context) { Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntryReceipt"); + using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntry"); scope.Start(); try { - using HttpMessage message = CreateGetEntryReceiptRequest(entryId, context); + using HttpMessage message = CreateGetEntryRequest(entryId, context); return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); } catch (Exception e) @@ -429,7 +404,7 @@ public virtual async Task GetEntryReceiptAsync(string entryId, Request } /// - /// [Protocol Method] Get the receipt of an entry given a specific entry id. + /// [Protocol Method] Get receipt /// /// /// @@ -438,7 +413,7 @@ public virtual async Task GetEntryReceiptAsync(string entryId, Request /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// @@ -449,16 +424,16 @@ public virtual async Task GetEntryReceiptAsync(string entryId, Request /// 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 GetEntryReceipt(string entryId, RequestContext context) + /// + public virtual Response GetEntry(string entryId, RequestContext context) { Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntryReceipt"); + using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntry"); scope.Start(); try { - using HttpMessage message = CreateGetEntryReceiptRequest(entryId, context); + using HttpMessage message = CreateGetEntryRequest(entryId, context); return _pipeline.ProcessMessage(message, context); } catch (Exception e) @@ -468,153 +443,38 @@ public virtual Response GetEntryReceipt(string entryId, RequestContext context) } } - /// Get service parameters. + /// Get the transparent statement consisting of the signed statement and the receipt embedded in the header. + /// ID of the entry to retrieve. /// The cancellation token to use. - /// - public virtual async Task> GetParametersAsync(CancellationToken cancellationToken = default) + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual async Task> GetEntryStatementAsync(string entryId, CancellationToken cancellationToken = default) { - RequestContext context = FromCancellationToken(cancellationToken); - Response response = await GetParametersAsync(context).ConfigureAwait(false); - return Response.FromValue(ParametersResult.FromResponse(response), response); - } + Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); - /// Get service parameters. - /// The cancellation token to use. - /// - public virtual Response GetParameters(CancellationToken cancellationToken = default) - { RequestContext context = FromCancellationToken(cancellationToken); - Response response = GetParameters(context); - return Response.FromValue(ParametersResult.FromResponse(response), response); - } - - /// - /// [Protocol Method] Get service parameters - /// - /// - /// - /// 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 request context, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - /// - public virtual async Task GetParametersAsync(RequestContext context) - { - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetParameters"); - scope.Start(); - try - { - using HttpMessage message = CreateGetParametersRequest(context); - return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// - /// [Protocol Method] Get service parameters - /// - /// - /// - /// 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 request context, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - /// - public virtual Response GetParameters(RequestContext context) - { - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetParameters"); - scope.Start(); - try - { - using HttpMessage message = CreateGetParametersRequest(context); - return _pipeline.ProcessMessage(message, context); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } + Response response = await GetEntryStatementAsync(entryId, context).ConfigureAwait(false); + return Response.FromValue(response.Content, response); } - /// Get the DID configuration file. + /// Get the transparent statement consisting of the signed statement and the receipt embedded in the header. + /// ID of the entry to retrieve. /// The cancellation token to use. - /// - public virtual async Task> GetDidConfigAsync(CancellationToken cancellationToken = default) + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual Response GetEntryStatement(string entryId, CancellationToken cancellationToken = default) { - RequestContext context = FromCancellationToken(cancellationToken); - Response response = await GetDidConfigAsync(context).ConfigureAwait(false); - return Response.FromValue(DidDocument.FromResponse(response), response); - } + Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); - /// Get the DID configuration file. - /// The cancellation token to use. - /// - public virtual Response GetDidConfig(CancellationToken cancellationToken = default) - { RequestContext context = FromCancellationToken(cancellationToken); - Response response = GetDidConfig(context); - return Response.FromValue(DidDocument.FromResponse(response), response); - } - - /// - /// [Protocol Method] Get the DID configuration file. - /// - /// - /// - /// 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 request context, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - /// - public virtual async Task GetDidConfigAsync(RequestContext context) - { - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetDidConfig"); - scope.Start(); - try - { - using HttpMessage message = CreateGetDidConfigRequest(context); - return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } + Response response = GetEntryStatement(entryId, context); + return Response.FromValue(response.Content, response); } /// - /// [Protocol Method] Get the DID configuration file. + /// [Protocol Method] Get the transparent statement consisting of the signed statement and the receipt embedded in the header /// /// /// @@ -623,77 +483,27 @@ public virtual async Task GetDidConfigAsync(RequestContext context) /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// /// + /// ID of the entry to retrieve. /// 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 GetDidConfig(RequestContext context) + /// + public virtual async Task GetEntryStatementAsync(string entryId, RequestContext context) { - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetDidConfig"); - scope.Start(); - try - { - using HttpMessage message = CreateGetDidConfigRequest(context); - return _pipeline.ProcessMessage(message, context); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Get CodeTransparency configuration information. - /// The cancellation token to use. - /// - public virtual async Task> GetCodeTransparencyConfigAsync(CancellationToken cancellationToken = default) - { - RequestContext context = FromCancellationToken(cancellationToken); - Response response = await GetCodeTransparencyConfigAsync(context).ConfigureAwait(false); - return Response.FromValue(CodeTransparencyConfiguration.FromResponse(response), response); - } - - /// Get CodeTransparency configuration information. - /// The cancellation token to use. - /// - public virtual Response GetCodeTransparencyConfig(CancellationToken cancellationToken = default) - { - RequestContext context = FromCancellationToken(cancellationToken); - Response response = GetCodeTransparencyConfig(context); - return Response.FromValue(CodeTransparencyConfiguration.FromResponse(response), response); - } + Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); - /// - /// [Protocol Method] Get CodeTransparency configuration information. - /// - /// - /// - /// 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 request context, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - /// - public virtual async Task GetCodeTransparencyConfigAsync(RequestContext context) - { - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetCodeTransparencyConfig"); + using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntryStatement"); scope.Start(); try { - using HttpMessage message = CreateGetCodeTransparencyConfigRequest(context); + using HttpMessage message = CreateGetEntryStatementRequest(entryId, context); return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); } catch (Exception e) @@ -704,62 +514,7 @@ public virtual async Task GetCodeTransparencyConfigAsync(RequestContex } /// - /// [Protocol Method] Get CodeTransparency configuration information. - /// - /// - /// - /// 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 request context, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - /// - public virtual Response GetCodeTransparencyConfig(RequestContext context) - { - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetCodeTransparencyConfig"); - scope.Start(); - try - { - using HttpMessage message = CreateGetCodeTransparencyConfigRequest(context); - return _pipeline.ProcessMessage(message, context); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } - - /// Get CodeTransparency version information. - /// The cancellation token to use. - /// - public virtual async Task> GetCodeTransparencyVersionAsync(CancellationToken cancellationToken = default) - { - RequestContext context = FromCancellationToken(cancellationToken); - Response response = await GetCodeTransparencyVersionAsync(context).ConfigureAwait(false); - return Response.FromValue(VersionResult.FromResponse(response), response); - } - - /// Get CodeTransparency version information. - /// The cancellation token to use. - /// - public virtual Response GetCodeTransparencyVersion(CancellationToken cancellationToken = default) - { - RequestContext context = FromCancellationToken(cancellationToken); - Response response = GetCodeTransparencyVersion(context); - return Response.FromValue(VersionResult.FromResponse(response), response); - } - - /// - /// [Protocol Method] Get CodeTransparency version information. + /// [Protocol Method] Get the transparent statement consisting of the signed statement and the receipt embedded in the header /// /// /// @@ -768,57 +523,27 @@ public virtual Response GetCodeTransparencyVersion(CancellationTo /// /// /// - /// Please try the simpler convenience overload with strongly typed models first. + /// Please try the simpler convenience overload with strongly typed models first. /// /// /// /// + /// ID of the entry to retrieve. /// 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 GetCodeTransparencyVersionAsync(RequestContext context) + /// + public virtual Response GetEntryStatement(string entryId, RequestContext context) { - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetCodeTransparencyVersion"); - scope.Start(); - try - { - using HttpMessage message = CreateGetCodeTransparencyVersionRequest(context); - return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); - } - catch (Exception e) - { - scope.Failed(e); - throw; - } - } + Argument.AssertNotNullOrEmpty(entryId, nameof(entryId)); - /// - /// [Protocol Method] Get CodeTransparency version information. - /// - /// - /// - /// 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 request context, which can override default behaviors of the client pipeline on a per-call basis. - /// Service returned a non-success status code. - /// The response returned from the service. - /// - public virtual Response GetCodeTransparencyVersion(RequestContext context) - { - using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetCodeTransparencyVersion"); + using var scope = ClientDiagnostics.CreateScope("CodeTransparencyClient.GetEntryStatement"); scope.Start(); try { - using HttpMessage message = CreateGetCodeTransparencyVersionRequest(context); + using HttpMessage message = CreateGetEntryStatementRequest(entryId, context); return _pipeline.ProcessMessage(message, context); } catch (Exception e) @@ -828,240 +553,77 @@ public virtual Response GetCodeTransparencyVersion(RequestContext context) } } - /// Historical query to get a list of entries of a given range. - /// Starting Transaction Id. - /// Ending Transaction Id. - /// The cancellation token to use. - /// - public virtual AsyncPageable GetEntryIdsAsync(long? @from = null, long? to = null, CancellationToken cancellationToken = default) - { - RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; - HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetEntryIdsRequest(@from, to, context); - HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetEntryIdsNextPageRequest(nextLink, @from, to, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => e.GetString(), ClientDiagnostics, _pipeline, "CodeTransparencyClient.GetEntryIds", "transactionIds", "nextLink", context); - } - - /// Historical query to get a list of entries of a given range. - /// Starting Transaction Id. - /// Ending Transaction Id. - /// The cancellation token to use. - /// - public virtual Pageable GetEntryIds(long? @from = null, long? to = null, CancellationToken cancellationToken = default) - { - RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; - HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetEntryIdsRequest(@from, to, context); - HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetEntryIdsNextPageRequest(nextLink, @from, to, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => e.GetString(), ClientDiagnostics, _pipeline, "CodeTransparencyClient.GetEntryIds", "transactionIds", "nextLink", context); - } - - /// - /// [Protocol Method] Historical query to get a list of entries of a given range - /// - /// - /// - /// 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. - /// - /// - /// - /// - /// Starting Transaction Id. - /// Ending Transaction Id. - /// 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 GetEntryIdsAsync(long? @from, long? to, RequestContext context) - { - HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetEntryIdsRequest(@from, to, context); - HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetEntryIdsNextPageRequest(nextLink, @from, to, context); - return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => BinaryData.FromString(e.GetRawText()), ClientDiagnostics, _pipeline, "CodeTransparencyClient.GetEntryIds", "transactionIds", "nextLink", context); - } - - /// - /// [Protocol Method] Historical query to get a list of entries of a given range - /// - /// - /// - /// 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. - /// - /// - /// - /// - /// Starting Transaction Id. - /// Ending Transaction Id. - /// 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 GetEntryIds(long? @from, long? to, RequestContext context) - { - HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetEntryIdsRequest(@from, to, context); - HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetEntryIdsNextPageRequest(nextLink, @from, to, context); - return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => BinaryData.FromString(e.GetRawText()), ClientDiagnostics, _pipeline, "CodeTransparencyClient.GetEntryIds", "transactionIds", "nextLink", context); - } - - internal HttpMessage CreateGetEntryStatusRequest(string operationId, RequestContext context) + internal HttpMessage CreateGetTransparencyConfigCborRequest(RequestContext context) { - var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var message = _pipeline.CreateMessage(context, ResponseClassifier200500503); var request = message.Request; request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); - uri.AppendPath("/operations/", false); - uri.AppendPath(operationId, true); + uri.AppendPath("/.well-known/transparency-configuration", false); uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; - request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Accept", "application/cbor"); return message; } - internal HttpMessage CreateGetEntryStatusesRequest(RequestContext context) + internal HttpMessage CreateGetPublicKeysRequest(RequestContext context) { - var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var message = _pipeline.CreateMessage(context, ResponseClassifier200400404429500503); var request = message.Request; request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); - uri.AppendPath("/operations", false); + uri.AppendPath("/jwks", false); uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; request.Headers.Add("Accept", "application/json"); return message; } - internal HttpMessage CreateGetEntryRequest(string entryId, bool? embedReceipt, RequestContext context) + internal HttpMessage CreateGetOperationRequest(string operationId, RequestContext context) { - var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var message = _pipeline.CreateMessage(context, ResponseClassifier200202400404429500503); var request = message.Request; request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); - uri.AppendPath("/entries/", false); - uri.AppendPath(entryId, true); + uri.AppendPath("/operations/", false); + uri.AppendPath(operationId, true); uri.AppendQuery("api-version", _apiVersion, true); - if (embedReceipt != null) - { - uri.AppendQuery("embedReceipt", embedReceipt.Value, true); - } request.Uri = uri; - request.Headers.Add("Accept", "application/cose"); + request.Headers.Add("Accept", "application/cbor"); return message; } - internal HttpMessage CreateGetEntryReceiptRequest(string entryId, RequestContext context) + internal HttpMessage CreateGetEntryRequest(string entryId, RequestContext context) { - var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var message = _pipeline.CreateMessage(context, ResponseClassifier200400404429500503); var request = message.Request; request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); uri.AppendPath("/entries/", false); uri.AppendPath(entryId, true); - uri.AppendPath("/receipt", false); uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; - request.Headers.Add("Accept", "application/cbor"); - return message; - } - - internal HttpMessage CreateGetEntryIdsRequest(long? @from, long? to, RequestContext context) - { - var message = _pipeline.CreateMessage(context, ResponseClassifier200); - var request = message.Request; - request.Method = RequestMethod.Get; - var uri = new RawRequestUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/entries/txIds", false); - uri.AppendQuery("api-version", _apiVersion, true); - if (@from != null) - { - uri.AppendQuery("from", @from.Value, true); - } - if (to != null) - { - uri.AppendQuery("to", to.Value, true); - } - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - return message; - } - - internal HttpMessage CreateGetParametersRequest(RequestContext context) - { - var message = _pipeline.CreateMessage(context, ResponseClassifier200); - var request = message.Request; - request.Method = RequestMethod.Get; - var uri = new RawRequestUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/parameters", false); - uri.AppendQuery("api-version", _apiVersion, true); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - return message; - } - - internal HttpMessage CreateGetDidConfigRequest(RequestContext context) - { - var message = _pipeline.CreateMessage(context, ResponseClassifier200); - var request = message.Request; - request.Method = RequestMethod.Get; - var uri = new RawRequestUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/.well-known/did.json", false); - uri.AppendQuery("api-version", _apiVersion, true); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - return message; - } - - internal HttpMessage CreateGetCodeTransparencyConfigRequest(RequestContext context) - { - var message = _pipeline.CreateMessage(context, ResponseClassifier200); - var request = message.Request; - request.Method = RequestMethod.Get; - var uri = new RawRequestUriBuilder(); - uri.Reset(_endpoint); - uri.AppendPath("/configuration", false); - uri.AppendQuery("api-version", _apiVersion, true); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Accept", "application/cose"); return message; } - internal HttpMessage CreateGetCodeTransparencyVersionRequest(RequestContext context) + internal HttpMessage CreateGetEntryStatementRequest(string entryId, RequestContext context) { - var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var message = _pipeline.CreateMessage(context, ResponseClassifier200400404429500503); var request = message.Request; request.Method = RequestMethod.Get; var uri = new RawRequestUriBuilder(); uri.Reset(_endpoint); - uri.AppendPath("/version", false); + uri.AppendPath("/entries/", false); + uri.AppendPath(entryId, true); + uri.AppendPath("/statement", false); uri.AppendQuery("api-version", _apiVersion, true); request.Uri = uri; - request.Headers.Add("Accept", "application/json"); - return message; - } - - internal HttpMessage CreateGetEntryIdsNextPageRequest(string nextLink, long? @from, long? to, RequestContext context) - { - var message = _pipeline.CreateMessage(context, ResponseClassifier200); - var request = message.Request; - request.Method = RequestMethod.Get; - var uri = new RawRequestUriBuilder(); - uri.Reset(_endpoint); - uri.AppendRawNextLink(nextLink, false); - request.Uri = uri; - request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Accept", "application/cose"); return message; } @@ -1076,7 +638,13 @@ internal static RequestContext FromCancellationToken(CancellationToken cancellat return new RequestContext() { CancellationToken = cancellationToken }; } - private static ResponseClassifier _responseClassifier200; - private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier200500503; + private static ResponseClassifier ResponseClassifier200500503 => _responseClassifier200500503 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 500, 503 }); + private static ResponseClassifier _responseClassifier200400404429500503; + private static ResponseClassifier ResponseClassifier200400404429500503 => _responseClassifier200400404429500503 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 400, 404, 429, 500, 503 }); + private static ResponseClassifier _responseClassifier201202400404429500503; + private static ResponseClassifier ResponseClassifier201202400404429500503 => _responseClassifier201202400404429500503 ??= new StatusCodeClassifier(stackalloc ushort[] { 201, 202, 400, 404, 429, 500, 503 }); + private static ResponseClassifier _responseClassifier200202400404429500503; + private static ResponseClassifier ResponseClassifier200202400404429500503 => _responseClassifier200202400404429500503 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 202, 400, 404, 429, 500, 503 }); } } diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyClientOptions.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyClientOptions.cs index 34f941625bba..9ce33d7d3e67 100644 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyClientOptions.cs +++ b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyClientOptions.cs @@ -13,13 +13,13 @@ namespace Azure.Security.CodeTransparency /// Client options for CodeTransparencyClient. public partial class CodeTransparencyClientOptions : ClientOptions { - private const ServiceVersion LatestVersion = ServiceVersion.V2024_01_11_Preview; + private const ServiceVersion LatestVersion = ServiceVersion.V2025_01_31_Preview; /// The version of the service to use. public enum ServiceVersion { - /// Service version "2024-01-11-preview". - V2024_01_11_Preview = 1, + /// Service version "2025-01-31-preview". + V2025_01_31_Preview = 1, } internal string Version { get; } @@ -29,7 +29,7 @@ public CodeTransparencyClientOptions(ServiceVersion version = LatestVersion) { Version = version switch { - ServiceVersion.V2024_01_11_Preview => "2024-01-11-preview", + ServiceVersion.V2025_01_31_Preview => "2025-01-31-preview", _ => throw new NotSupportedException() }; } diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfiguration.Serialization.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfiguration.Serialization.cs deleted file mode 100644 index c394e35473fc..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfiguration.Serialization.cs +++ /dev/null @@ -1,175 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Security.CodeTransparency -{ - public partial class CodeTransparencyConfiguration : IUtf8JsonSerializable, IJsonModel - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - JsonModelWriteCore(writer, options); - writer.WriteEndObject(); - } - - /// The JSON writer. - /// The client options for reading and writing models. - protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(CodeTransparencyConfiguration)} does not support writing '{format}' format."); - } - - if (Optional.IsDefined(Policy)) - { - writer.WritePropertyName("policy"u8); - writer.WriteObjectValue(Policy, options); - } - if (Optional.IsDefined(Authentication)) - { - writer.WritePropertyName("authentication"u8); - writer.WriteObjectValue(Authentication, options); - } - if (Optional.IsDefined(ServiceIdentifier)) - { - writer.WritePropertyName("service_identifier"u8); - writer.WriteStringValue(ServiceIdentifier); - } - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - CodeTransparencyConfiguration IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(CodeTransparencyConfiguration)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeCodeTransparencyConfiguration(document.RootElement, options); - } - - internal static CodeTransparencyConfiguration DeserializeCodeTransparencyConfiguration(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - CodeTransparencyConfigurationPolicy policy = default; - CodeTransparencyConfigurationAuthentication authentication = default; - string serviceIdentifier = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("policy"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - policy = CodeTransparencyConfigurationPolicy.DeserializeCodeTransparencyConfigurationPolicy(property.Value, options); - continue; - } - if (property.NameEquals("authentication"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - authentication = CodeTransparencyConfigurationAuthentication.DeserializeCodeTransparencyConfigurationAuthentication(property.Value, options); - continue; - } - if (property.NameEquals("service_identifier"u8)) - { - serviceIdentifier = property.Value.GetString(); - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new CodeTransparencyConfiguration(policy, authentication, serviceIdentifier, serializedAdditionalRawData); - } - - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - return ModelReaderWriter.Write(this, options); - default: - throw new FormatException($"The model {nameof(CodeTransparencyConfiguration)} does not support writing '{options.Format}' format."); - } - } - - CodeTransparencyConfiguration IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - { - using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeCodeTransparencyConfiguration(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(CodeTransparencyConfiguration)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static CodeTransparencyConfiguration FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeCodeTransparencyConfiguration(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); - return content; - } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfiguration.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfiguration.cs deleted file mode 100644 index f0457a7dad24..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfiguration.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.Collections.Generic; - -namespace Azure.Security.CodeTransparency -{ - /// The Response body of the Configuration API. - public partial class CodeTransparencyConfiguration - { - /// - /// Keeps track of any properties unknown to the library. - /// - /// To assign an object to the value of this property use . - /// - /// - /// To assign an already formatted json string to this property use . - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromObjectAsJson("foo") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromString("\"foo\"") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromObjectAsJson(new { key = "value" }) - /// Creates a payload of { "key": "value" }. - /// - /// - /// BinaryData.FromString("{\"key\": \"value\"}") - /// Creates a payload of { "key": "value" }. - /// - /// - /// - /// - private IDictionary _serializedAdditionalRawData; - - /// Initializes a new instance of . - internal CodeTransparencyConfiguration() - { - } - - /// Initializes a new instance of . - /// - /// - /// did:web identifier. - /// Keeps track of any properties unknown to the library. - internal CodeTransparencyConfiguration(CodeTransparencyConfigurationPolicy policy, CodeTransparencyConfigurationAuthentication authentication, string serviceIdentifier, IDictionary serializedAdditionalRawData) - { - Policy = policy; - Authentication = authentication; - ServiceIdentifier = serviceIdentifier; - _serializedAdditionalRawData = serializedAdditionalRawData; - } - - /// Gets the policy. - public CodeTransparencyConfigurationPolicy Policy { get; } - /// Gets the authentication. - public CodeTransparencyConfigurationAuthentication Authentication { get; } - /// did:web identifier. - public string ServiceIdentifier { get; } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthentication.Serialization.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthentication.Serialization.cs deleted file mode 100644 index b9420349bca5..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthentication.Serialization.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.ClientModel.Primitives; -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Security.CodeTransparency -{ - public partial class CodeTransparencyConfigurationAuthentication : IUtf8JsonSerializable, IJsonModel - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - JsonModelWriteCore(writer, options); - writer.WriteEndObject(); - } - - /// The JSON writer. - /// The client options for reading and writing models. - protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationAuthentication)} does not support writing '{format}' format."); - } - - writer.WritePropertyName("allow_unauthenticated"u8); - writer.WriteBooleanValue(AllowUnauthenticated); - if (Optional.IsDefined(Jwt)) - { - writer.WritePropertyName("jwt"u8); - writer.WriteObjectValue(Jwt, options); - } - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - CodeTransparencyConfigurationAuthentication IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationAuthentication)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeCodeTransparencyConfigurationAuthentication(document.RootElement, options); - } - - internal static CodeTransparencyConfigurationAuthentication DeserializeCodeTransparencyConfigurationAuthentication(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - bool allowUnauthenticated = default; - CodeTransparencyConfigurationAuthenticationJwt jwt = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("allow_unauthenticated"u8)) - { - allowUnauthenticated = property.Value.GetBoolean(); - continue; - } - if (property.NameEquals("jwt"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - jwt = CodeTransparencyConfigurationAuthenticationJwt.DeserializeCodeTransparencyConfigurationAuthenticationJwt(property.Value, options); - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new CodeTransparencyConfigurationAuthentication(allowUnauthenticated, jwt, serializedAdditionalRawData); - } - - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - return ModelReaderWriter.Write(this, options); - default: - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationAuthentication)} does not support writing '{options.Format}' format."); - } - } - - CodeTransparencyConfigurationAuthentication IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - { - using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeCodeTransparencyConfigurationAuthentication(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationAuthentication)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static CodeTransparencyConfigurationAuthentication FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeCodeTransparencyConfigurationAuthentication(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); - return content; - } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthentication.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthentication.cs deleted file mode 100644 index e1c87d448398..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthentication.cs +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace Azure.Security.CodeTransparency -{ - /// Configuration of CCF authentication. - public partial class CodeTransparencyConfigurationAuthentication - { - /// - /// Keeps track of any properties unknown to the library. - /// - /// To assign an object to the value of this property use . - /// - /// - /// To assign an already formatted json string to this property use . - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromObjectAsJson("foo") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromString("\"foo\"") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromObjectAsJson(new { key = "value" }) - /// Creates a payload of { "key": "value" }. - /// - /// - /// BinaryData.FromString("{\"key\": \"value\"}") - /// Creates a payload of { "key": "value" }. - /// - /// - /// - /// - private IDictionary _serializedAdditionalRawData; - - /// Initializes a new instance of . - /// - internal CodeTransparencyConfigurationAuthentication(bool allowUnauthenticated) - { - AllowUnauthenticated = allowUnauthenticated; - } - - /// Initializes a new instance of . - /// - /// - /// Keeps track of any properties unknown to the library. - internal CodeTransparencyConfigurationAuthentication(bool allowUnauthenticated, CodeTransparencyConfigurationAuthenticationJwt jwt, IDictionary serializedAdditionalRawData) - { - AllowUnauthenticated = allowUnauthenticated; - Jwt = jwt; - _serializedAdditionalRawData = serializedAdditionalRawData; - } - - /// Initializes a new instance of for deserialization. - internal CodeTransparencyConfigurationAuthentication() - { - } - - /// Gets the allow unauthenticated. - public bool AllowUnauthenticated { get; } - /// Gets the jwt. - public CodeTransparencyConfigurationAuthenticationJwt Jwt { get; } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthenticationJwt.Serialization.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthenticationJwt.Serialization.cs deleted file mode 100644 index 7fb285204769..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthenticationJwt.Serialization.cs +++ /dev/null @@ -1,153 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Security.CodeTransparency -{ - public partial class CodeTransparencyConfigurationAuthenticationJwt : IUtf8JsonSerializable, IJsonModel - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - JsonModelWriteCore(writer, options); - writer.WriteEndObject(); - } - - /// The JSON writer. - /// The client options for reading and writing models. - protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationAuthenticationJwt)} does not support writing '{format}' format."); - } - - writer.WritePropertyName("required_claims"u8); - writer.WriteStartObject(); - foreach (var item in RequiredClaims) - { - writer.WritePropertyName(item.Key); - writer.WriteStringValue(item.Value); - } - writer.WriteEndObject(); - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - CodeTransparencyConfigurationAuthenticationJwt IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationAuthenticationJwt)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeCodeTransparencyConfigurationAuthenticationJwt(document.RootElement, options); - } - - internal static CodeTransparencyConfigurationAuthenticationJwt DeserializeCodeTransparencyConfigurationAuthenticationJwt(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - IReadOnlyDictionary requiredClaims = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("required_claims"u8)) - { - Dictionary dictionary = new Dictionary(); - foreach (var property0 in property.Value.EnumerateObject()) - { - dictionary.Add(property0.Name, property0.Value.GetString()); - } - requiredClaims = dictionary; - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new CodeTransparencyConfigurationAuthenticationJwt(requiredClaims, serializedAdditionalRawData); - } - - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - return ModelReaderWriter.Write(this, options); - default: - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationAuthenticationJwt)} does not support writing '{options.Format}' format."); - } - } - - CodeTransparencyConfigurationAuthenticationJwt IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - { - using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeCodeTransparencyConfigurationAuthenticationJwt(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationAuthenticationJwt)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static CodeTransparencyConfigurationAuthenticationJwt FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeCodeTransparencyConfigurationAuthenticationJwt(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); - return content; - } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthenticationJwt.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthenticationJwt.cs deleted file mode 100644 index e8f3459a23f9..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationAuthenticationJwt.cs +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace Azure.Security.CodeTransparency -{ - /// Configuration of JWT claims. - public partial class CodeTransparencyConfigurationAuthenticationJwt - { - /// - /// Keeps track of any properties unknown to the library. - /// - /// To assign an object to the value of this property use . - /// - /// - /// To assign an already formatted json string to this property use . - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromObjectAsJson("foo") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromString("\"foo\"") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromObjectAsJson(new { key = "value" }) - /// Creates a payload of { "key": "value" }. - /// - /// - /// BinaryData.FromString("{\"key\": \"value\"}") - /// Creates a payload of { "key": "value" }. - /// - /// - /// - /// - private IDictionary _serializedAdditionalRawData; - - /// Initializes a new instance of . - /// - /// is null. - internal CodeTransparencyConfigurationAuthenticationJwt(IReadOnlyDictionary requiredClaims) - { - Argument.AssertNotNull(requiredClaims, nameof(requiredClaims)); - - RequiredClaims = requiredClaims; - } - - /// Initializes a new instance of . - /// - /// Keeps track of any properties unknown to the library. - internal CodeTransparencyConfigurationAuthenticationJwt(IReadOnlyDictionary requiredClaims, IDictionary serializedAdditionalRawData) - { - RequiredClaims = requiredClaims; - _serializedAdditionalRawData = serializedAdditionalRawData; - } - - /// Initializes a new instance of for deserialization. - internal CodeTransparencyConfigurationAuthenticationJwt() - { - } - - /// Gets the required claims. - public IReadOnlyDictionary RequiredClaims { get; } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationPolicy.Serialization.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationPolicy.Serialization.cs deleted file mode 100644 index be886ec9bc91..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationPolicy.Serialization.cs +++ /dev/null @@ -1,184 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Security.CodeTransparency -{ - public partial class CodeTransparencyConfigurationPolicy : IUtf8JsonSerializable, IJsonModel - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - JsonModelWriteCore(writer, options); - writer.WriteEndObject(); - } - - /// The JSON writer. - /// The client options for reading and writing models. - protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationPolicy)} does not support writing '{format}' format."); - } - - if (Optional.IsCollectionDefined(AcceptedAlgorithms)) - { - writer.WritePropertyName("accepted_algorithms"u8); - writer.WriteStartArray(); - foreach (var item in AcceptedAlgorithms) - { - writer.WriteStringValue(item); - } - writer.WriteEndArray(); - } - if (Optional.IsCollectionDefined(AcceptedDidIssuers)) - { - writer.WritePropertyName("accepted_did_issuers"u8); - writer.WriteStartArray(); - foreach (var item in AcceptedDidIssuers) - { - writer.WriteStringValue(item); - } - writer.WriteEndArray(); - } - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - CodeTransparencyConfigurationPolicy IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationPolicy)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeCodeTransparencyConfigurationPolicy(document.RootElement, options); - } - - internal static CodeTransparencyConfigurationPolicy DeserializeCodeTransparencyConfigurationPolicy(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - IReadOnlyList acceptedAlgorithms = default; - IReadOnlyList acceptedDidIssuers = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("accepted_algorithms"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(item.GetString()); - } - acceptedAlgorithms = array; - continue; - } - if (property.NameEquals("accepted_did_issuers"u8)) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - continue; - } - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(item.GetString()); - } - acceptedDidIssuers = array; - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new CodeTransparencyConfigurationPolicy(acceptedAlgorithms ?? new ChangeTrackingList(), acceptedDidIssuers ?? new ChangeTrackingList(), serializedAdditionalRawData); - } - - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - return ModelReaderWriter.Write(this, options); - default: - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationPolicy)} does not support writing '{options.Format}' format."); - } - } - - CodeTransparencyConfigurationPolicy IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - { - using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeCodeTransparencyConfigurationPolicy(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(CodeTransparencyConfigurationPolicy)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static CodeTransparencyConfigurationPolicy FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeCodeTransparencyConfigurationPolicy(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); - return content; - } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CreateEntryResult.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CreateEntryResult.cs deleted file mode 100644 index 35a24b671ef9..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CreateEntryResult.cs +++ /dev/null @@ -1,75 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace Azure.Security.CodeTransparency -{ - /// Response of entry submission containing the operationId. - public partial class CreateEntryResult - { - /// - /// Keeps track of any properties unknown to the library. - /// - /// To assign an object to the value of this property use . - /// - /// - /// To assign an already formatted json string to this property use . - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromObjectAsJson("foo") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromString("\"foo\"") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromObjectAsJson(new { key = "value" }) - /// Creates a payload of { "key": "value" }. - /// - /// - /// BinaryData.FromString("{\"key\": \"value\"}") - /// Creates a payload of { "key": "value" }. - /// - /// - /// - /// - private IDictionary _serializedAdditionalRawData; - - /// Initializes a new instance of . - /// String representing the operation id submitted. - /// is null. - internal CreateEntryResult(string operationId) - { - Argument.AssertNotNull(operationId, nameof(operationId)); - - OperationId = operationId; - } - - /// Initializes a new instance of . - /// String representing the operation id submitted. - /// Keeps track of any properties unknown to the library. - internal CreateEntryResult(string operationId, IDictionary serializedAdditionalRawData) - { - OperationId = operationId; - _serializedAdditionalRawData = serializedAdditionalRawData; - } - - /// Initializes a new instance of for deserialization. - internal CreateEntryResult() - { - } - - /// String representing the operation id submitted. - public string OperationId { get; } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocument.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocument.cs deleted file mode 100644 index 45e7ad37cd29..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocument.cs +++ /dev/null @@ -1,83 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Azure.Security.CodeTransparency -{ - /// A DID document. - public partial class DidDocument - { - /// - /// Keeps track of any properties unknown to the library. - /// - /// To assign an object to the value of this property use . - /// - /// - /// To assign an already formatted json string to this property use . - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromObjectAsJson("foo") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromString("\"foo\"") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromObjectAsJson(new { key = "value" }) - /// Creates a payload of { "key": "value" }. - /// - /// - /// BinaryData.FromString("{\"key\": \"value\"}") - /// Creates a payload of { "key": "value" }. - /// - /// - /// - /// - private IDictionary _serializedAdditionalRawData; - - /// Initializes a new instance of . - /// String representing a DID issuer. - /// List of public keys used for receipt endorsement verification. - /// or is null. - internal DidDocument(string id, IEnumerable assertionMethod) - { - Argument.AssertNotNull(id, nameof(id)); - Argument.AssertNotNull(assertionMethod, nameof(assertionMethod)); - - Id = id; - AssertionMethod = assertionMethod.ToList(); - } - - /// Initializes a new instance of . - /// String representing a DID issuer. - /// List of public keys used for receipt endorsement verification. - /// Keeps track of any properties unknown to the library. - internal DidDocument(string id, IReadOnlyList assertionMethod, IDictionary serializedAdditionalRawData) - { - Id = id; - AssertionMethod = assertionMethod; - _serializedAdditionalRawData = serializedAdditionalRawData; - } - - /// Initializes a new instance of for deserialization. - internal DidDocument() - { - } - - /// String representing a DID issuer. - public string Id { get; } - /// List of public keys used for receipt endorsement verification. - public IReadOnlyList AssertionMethod { get; } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKey.Serialization.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKey.Serialization.cs deleted file mode 100644 index 76d79abccd9c..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKey.Serialization.cs +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Security.CodeTransparency -{ - public partial class DidDocumentKey : IUtf8JsonSerializable, IJsonModel - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - JsonModelWriteCore(writer, options); - writer.WriteEndObject(); - } - - /// The JSON writer. - /// The client options for reading and writing models. - protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(DidDocumentKey)} does not support writing '{format}' format."); - } - - writer.WritePropertyName("id"u8); - writer.WriteStringValue(Id); - writer.WritePropertyName("controller"u8); - writer.WriteStringValue(Controller); - writer.WritePropertyName("type"u8); - writer.WriteStringValue(Type.ToString()); - writer.WritePropertyName("publicKeyJwk"u8); - writer.WriteObjectValue(PublicKeyJwk, options); - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - DidDocumentKey IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(DidDocumentKey)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeDidDocumentKey(document.RootElement, options); - } - - internal static DidDocumentKey DeserializeDidDocumentKey(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string id = default; - string controller = default; - DidDocumentKeyType type = default; - JsonWebKey publicKeyJwk = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("id"u8)) - { - id = property.Value.GetString(); - continue; - } - if (property.NameEquals("controller"u8)) - { - controller = property.Value.GetString(); - continue; - } - if (property.NameEquals("type"u8)) - { - type = new DidDocumentKeyType(property.Value.GetString()); - continue; - } - if (property.NameEquals("publicKeyJwk"u8)) - { - publicKeyJwk = JsonWebKey.DeserializeJsonWebKey(property.Value, options); - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new DidDocumentKey(id, controller, type, publicKeyJwk, serializedAdditionalRawData); - } - - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - return ModelReaderWriter.Write(this, options); - default: - throw new FormatException($"The model {nameof(DidDocumentKey)} does not support writing '{options.Format}' format."); - } - } - - DidDocumentKey IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - { - using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeDidDocumentKey(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(DidDocumentKey)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static DidDocumentKey FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeDidDocumentKey(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); - return content; - } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKey.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKey.cs deleted file mode 100644 index 4c959e28c237..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKey.cs +++ /dev/null @@ -1,94 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace Azure.Security.CodeTransparency -{ - /// A DID document key. - public partial class DidDocumentKey - { - /// - /// Keeps track of any properties unknown to the library. - /// - /// To assign an object to the value of this property use . - /// - /// - /// To assign an already formatted json string to this property use . - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromObjectAsJson("foo") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromString("\"foo\"") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromObjectAsJson(new { key = "value" }) - /// Creates a payload of { "key": "value" }. - /// - /// - /// BinaryData.FromString("{\"key\": \"value\"}") - /// Creates a payload of { "key": "value" }. - /// - /// - /// - /// - private IDictionary _serializedAdditionalRawData; - - /// Initializes a new instance of . - /// Key identifier. - /// Key controller - similar to DID issuer. - /// Serialized public key in JWK format. - /// , or is null. - internal DidDocumentKey(string id, string controller, JsonWebKey publicKeyJwk) - { - Argument.AssertNotNull(id, nameof(id)); - Argument.AssertNotNull(controller, nameof(controller)); - Argument.AssertNotNull(publicKeyJwk, nameof(publicKeyJwk)); - - Id = id; - Controller = controller; - PublicKeyJwk = publicKeyJwk; - } - - /// Initializes a new instance of . - /// Key identifier. - /// Key controller - similar to DID issuer. - /// Key type. - /// Serialized public key in JWK format. - /// Keeps track of any properties unknown to the library. - internal DidDocumentKey(string id, string controller, DidDocumentKeyType type, JsonWebKey publicKeyJwk, IDictionary serializedAdditionalRawData) - { - Id = id; - Controller = controller; - Type = type; - PublicKeyJwk = publicKeyJwk; - _serializedAdditionalRawData = serializedAdditionalRawData; - } - - /// Initializes a new instance of for deserialization. - internal DidDocumentKey() - { - } - - /// Key identifier. - public string Id { get; } - /// Key controller - similar to DID issuer. - public string Controller { get; } - /// Key type. - public DidDocumentKeyType Type { get; } = DidDocumentKeyType.JsonWebKey2020; - - /// Serialized public key in JWK format. - public JsonWebKey PublicKeyJwk { get; } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKeyType.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKeyType.cs deleted file mode 100644 index 7f3ae63215fc..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocumentKeyType.cs +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.Security.CodeTransparency -{ - /// The DidDocumentKey_type. - public readonly partial struct DidDocumentKeyType : IEquatable - { - private readonly string _value; - - /// Initializes a new instance of . - /// is null. - public DidDocumentKeyType(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string JsonWebKey2020Value = "JsonWebKey2020"; - - /// JsonWebKey2020. - public static DidDocumentKeyType JsonWebKey2020 { get; } = new DidDocumentKeyType(JsonWebKey2020Value); - /// Determines if two values are the same. - public static bool operator ==(DidDocumentKeyType left, DidDocumentKeyType right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(DidDocumentKeyType left, DidDocumentKeyType right) => !left.Equals(right); - /// Converts a to a . - public static implicit operator DidDocumentKeyType(string value) => new DidDocumentKeyType(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is DidDocumentKeyType other && Equals(other); - /// - public bool Equals(DidDocumentKeyType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/Docs/CodeTransparencyClient.xml b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/Docs/CodeTransparencyClient.xml index 193a8fab888f..33841852c195 100644 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/Docs/CodeTransparencyClient.xml +++ b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/Docs/CodeTransparencyClient.xml @@ -1,478 +1,254 @@ - + -This sample shows how to call GetEntryStatusAsync. +This sample shows how to call GetTransparencyConfigCborAsync. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = await client.GetEntryStatusAsync("2.123"); +Response response = await client.GetTransparencyConfigCborAsync(); ]]> - + -This sample shows how to call GetEntryStatus. +This sample shows how to call GetTransparencyConfigCbor. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = client.GetEntryStatus("2.123"); +Response response = client.GetTransparencyConfigCbor(); ]]> - + -This sample shows how to call GetEntryStatusAsync and parse the result. +This sample shows how to call GetTransparencyConfigCborAsync and parse the result. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = await client.GetEntryStatusAsync("2.123", null); +Response response = await client.GetTransparencyConfigCborAsync(null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; -Console.WriteLine(result.GetProperty("operationId").ToString()); -Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.ToString()); ]]> - + -This sample shows how to call GetEntryStatus and parse the result. +This sample shows how to call GetTransparencyConfigCbor and parse the result. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = client.GetEntryStatus("2.123", null); +Response response = client.GetTransparencyConfigCbor(null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; -Console.WriteLine(result.GetProperty("operationId").ToString()); -Console.WriteLine(result.GetProperty("status").ToString()); +Console.WriteLine(result.ToString()); ]]> - + -This sample shows how to call GetEntryStatusesAsync. +This sample shows how to call GetPublicKeysAsync. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = await client.GetEntryStatusesAsync(); +Response response = await client.GetPublicKeysAsync(); ]]> - + -This sample shows how to call GetEntryStatuses. +This sample shows how to call GetPublicKeys. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = client.GetEntryStatuses(); +Response response = client.GetPublicKeys(); ]]> - + -This sample shows how to call GetEntryStatusesAsync and parse the result. +This sample shows how to call GetPublicKeysAsync and parse the result. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = await client.GetEntryStatusesAsync(null); +Response response = await client.GetPublicKeysAsync(null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; -Console.WriteLine(result.GetProperty("operations")[0].GetProperty("operationId").ToString()); -Console.WriteLine(result.GetProperty("operations")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("keys")[0].GetProperty("kty").ToString()); ]]> - + -This sample shows how to call GetEntryStatuses and parse the result. +This sample shows how to call GetPublicKeys and parse the result. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = client.GetEntryStatuses(null); +Response response = client.GetPublicKeys(null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; -Console.WriteLine(result.GetProperty("operations")[0].GetProperty("operationId").ToString()); -Console.WriteLine(result.GetProperty("operations")[0].GetProperty("status").ToString()); +Console.WriteLine(result.GetProperty("keys")[0].GetProperty("kty").ToString()); ]]> - + -This sample shows how to call GetEntryAsync. +This sample shows how to call GetOperationAsync. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = await client.GetEntryAsync("2.131"); +Response response = await client.GetOperationAsync("2.131"); ]]> - + -This sample shows how to call GetEntry. +This sample shows how to call GetOperation. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = client.GetEntry("2.131"); +Response response = client.GetOperation("2.131"); ]]> - + -This sample shows how to call GetEntryAsync and parse the result. +This sample shows how to call GetOperationAsync and parse the result. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = await client.GetEntryAsync("2.131", null, null); +Response response = await client.GetOperationAsync("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); ]]> - + -This sample shows how to call GetEntry and parse the result. +This sample shows how to call GetOperation and parse the result. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = client.GetEntry("2.131", null, null); +Response response = client.GetOperation("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); ]]> - + -This sample shows how to call GetEntryReceiptAsync. +This sample shows how to call GetEntryAsync. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = await client.GetEntryReceiptAsync("2.131"); +Response response = await client.GetEntryAsync("2.131"); ]]> - + -This sample shows how to call GetEntryReceipt. +This sample shows how to call GetEntry. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = client.GetEntryReceipt("2.131"); +Response response = client.GetEntry("2.131"); ]]> - + -This sample shows how to call GetEntryReceiptAsync and parse the result. +This sample shows how to call GetEntryAsync and parse the result. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = await client.GetEntryReceiptAsync("2.131", null); +Response response = await client.GetEntryAsync("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); ]]> - + -This sample shows how to call GetEntryReceipt and parse the result. +This sample shows how to call GetEntry and parse the result. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = client.GetEntryReceipt("2.131", null); +Response response = client.GetEntry("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); ]]> - - -This sample shows how to call GetParametersAsync. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = await client.GetParametersAsync(); -]]> - - - -This sample shows how to call GetParameters. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = client.GetParameters(); -]]> - - - -This sample shows how to call GetParametersAsync and parse the result. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = await client.GetParametersAsync(null); - -JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; -Console.WriteLine(result.GetProperty("serviceCertificate").ToString()); -Console.WriteLine(result.GetProperty("serviceId").ToString()); -Console.WriteLine(result.GetProperty("signatureAlgorithm").ToString()); -Console.WriteLine(result.GetProperty("treeAlgorithm").ToString()); -]]> - - - -This sample shows how to call GetParameters and parse the result. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = client.GetParameters(null); - -JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; -Console.WriteLine(result.GetProperty("serviceCertificate").ToString()); -Console.WriteLine(result.GetProperty("serviceId").ToString()); -Console.WriteLine(result.GetProperty("signatureAlgorithm").ToString()); -Console.WriteLine(result.GetProperty("treeAlgorithm").ToString()); -]]> - - - -This sample shows how to call GetDidConfigAsync. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = await client.GetDidConfigAsync(); -]]> - - - -This sample shows how to call GetDidConfig. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = client.GetDidConfig(); -]]> - - - -This sample shows how to call GetDidConfigAsync and parse the result. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = await client.GetDidConfigAsync(null); - -JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; -Console.WriteLine(result.GetProperty("id").ToString()); -Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("id").ToString()); -Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("controller").ToString()); -Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("type").ToString()); -Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("publicKeyJwk").GetProperty("kty").ToString()); -]]> - - - -This sample shows how to call GetDidConfig and parse the result. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = client.GetDidConfig(null); - -JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; -Console.WriteLine(result.GetProperty("id").ToString()); -Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("id").ToString()); -Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("controller").ToString()); -Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("type").ToString()); -Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("publicKeyJwk").GetProperty("kty").ToString()); -]]> - - + -This sample shows how to call GetCodeTransparencyConfigAsync. +This sample shows how to call GetEntryStatementAsync. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = await client.GetCodeTransparencyConfigAsync(); +Response response = await client.GetEntryStatementAsync("2.131"); ]]> - + -This sample shows how to call GetCodeTransparencyConfig. +This sample shows how to call GetEntryStatement. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = client.GetCodeTransparencyConfig(); +Response response = client.GetEntryStatement("2.131"); ]]> - + -This sample shows how to call GetCodeTransparencyConfigAsync and parse the result. +This sample shows how to call GetEntryStatementAsync and parse the result. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = await client.GetCodeTransparencyConfigAsync(null); +Response response = await client.GetEntryStatementAsync("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); ]]> - + -This sample shows how to call GetCodeTransparencyConfig and parse the result. +This sample shows how to call GetEntryStatement and parse the result. "); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); -Response response = client.GetCodeTransparencyConfig(null); +Response response = client.GetEntryStatement("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); -]]> - - - -This sample shows how to call GetCodeTransparencyVersionAsync. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = await client.GetCodeTransparencyVersionAsync(); -]]> - - - -This sample shows how to call GetCodeTransparencyVersion. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = client.GetCodeTransparencyVersion(); -]]> - - - -This sample shows how to call GetCodeTransparencyVersionAsync and parse the result. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = await client.GetCodeTransparencyVersionAsync(null); - -JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; -Console.WriteLine(result.GetProperty("scitt_version").ToString()); -]]> - - - -This sample shows how to call GetCodeTransparencyVersion and parse the result. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -Response response = client.GetCodeTransparencyVersion(null); - -JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; -Console.WriteLine(result.GetProperty("scitt_version").ToString()); -]]> - - - -This sample shows how to call GetEntryIdsAsync. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -await foreach (string item in client.GetEntryIdsAsync()) -{ -} -]]> - - - -This sample shows how to call GetEntryIds. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -foreach (string item in client.GetEntryIds()) -{ -} -]]> - - - -This sample shows how to call GetEntryIdsAsync and parse the result. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -await foreach (BinaryData item in client.GetEntryIdsAsync(null, null, null)) -{ - JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement; - Console.WriteLine(result.ToString()); -} -]]> - - - -This sample shows how to call GetEntryIds and parse the result. -"); -AzureKeyCredential credential = new AzureKeyCredential(""); -CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - -foreach (BinaryData item in client.GetEntryIds(null, null, null)) -{ - JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement; - Console.WriteLine(result.ToString()); -} ]]> diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/GetOperationResult.Serialization.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/GetOperationResult.Serialization.cs deleted file mode 100644 index a6277965e0ee..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/GetOperationResult.Serialization.cs +++ /dev/null @@ -1,172 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Security.CodeTransparency -{ - public partial class GetOperationResult : IUtf8JsonSerializable, IJsonModel - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - JsonModelWriteCore(writer, options); - writer.WriteEndObject(); - } - - /// The JSON writer. - /// The client options for reading and writing models. - protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(GetOperationResult)} does not support writing '{format}' format."); - } - - if (Optional.IsDefined(EntryId)) - { - writer.WritePropertyName("entryId"u8); - writer.WriteStringValue(EntryId); - } - if (Optional.IsDefined(Error)) - { - writer.WritePropertyName("error"u8); - writer.WriteStringValue(Error); - } - writer.WritePropertyName("operationId"u8); - writer.WriteStringValue(OperationId); - writer.WritePropertyName("status"u8); - writer.WriteStringValue(Status.ToString()); - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - GetOperationResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(GetOperationResult)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeGetOperationResult(document.RootElement, options); - } - - internal static GetOperationResult DeserializeGetOperationResult(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string entryId = default; - string error = default; - string operationId = default; - OperationStatus status = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("entryId"u8)) - { - entryId = property.Value.GetString(); - continue; - } - if (property.NameEquals("error"u8)) - { - error = property.Value.GetString(); - continue; - } - if (property.NameEquals("operationId"u8)) - { - operationId = property.Value.GetString(); - continue; - } - if (property.NameEquals("status"u8)) - { - status = new OperationStatus(property.Value.GetString()); - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new GetOperationResult(entryId, error, operationId, status, serializedAdditionalRawData); - } - - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - return ModelReaderWriter.Write(this, options); - default: - throw new FormatException($"The model {nameof(GetOperationResult)} does not support writing '{options.Format}' format."); - } - } - - GetOperationResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - { - using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeGetOperationResult(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(GetOperationResult)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static GetOperationResult FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeGetOperationResult(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); - return content; - } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/GetOperationResult.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/GetOperationResult.cs deleted file mode 100644 index ae1ba5386228..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/GetOperationResult.cs +++ /dev/null @@ -1,89 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace Azure.Security.CodeTransparency -{ - /// The Response body of the GetOperationId API. - public partial class GetOperationResult - { - /// - /// Keeps track of any properties unknown to the library. - /// - /// To assign an object to the value of this property use . - /// - /// - /// To assign an already formatted json string to this property use . - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromObjectAsJson("foo") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromString("\"foo\"") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromObjectAsJson(new { key = "value" }) - /// Creates a payload of { "key": "value" }. - /// - /// - /// BinaryData.FromString("{\"key\": \"value\"}") - /// Creates a payload of { "key": "value" }. - /// - /// - /// - /// - private IDictionary _serializedAdditionalRawData; - - /// Initializes a new instance of . - /// OperationId. - /// Status of the operation. - /// is null. - internal GetOperationResult(string operationId, OperationStatus status) - { - Argument.AssertNotNull(operationId, nameof(operationId)); - - OperationId = operationId; - Status = status; - } - - /// Initializes a new instance of . - /// ID of the transaction. Only if status is Succeeded. - /// Error in json format. Only if Status is Failed. - /// OperationId. - /// Status of the operation. - /// Keeps track of any properties unknown to the library. - internal GetOperationResult(string entryId, string error, string operationId, OperationStatus status, IDictionary serializedAdditionalRawData) - { - EntryId = entryId; - Error = error; - OperationId = operationId; - Status = status; - _serializedAdditionalRawData = serializedAdditionalRawData; - } - - /// Initializes a new instance of for deserialization. - internal GetOperationResult() - { - } - - /// ID of the transaction. Only if status is Succeeded. - public string EntryId { get; } - /// Error in json format. Only if Status is Failed. - public string Error { get; } - /// OperationId. - public string OperationId { get; } - /// Status of the operation. - public OperationStatus Status { get; } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ListOperationResult.Serialization.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/JwksDocument.Serialization.cs similarity index 62% rename from sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ListOperationResult.Serialization.cs rename to sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/JwksDocument.Serialization.cs index ac3d2168dc56..1d307e170100 100644 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ListOperationResult.Serialization.cs +++ b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/JwksDocument.Serialization.cs @@ -13,11 +13,11 @@ namespace Azure.Security.CodeTransparency { - public partial class ListOperationResult : IUtf8JsonSerializable, IJsonModel + public partial class JwksDocument : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,15 +28,15 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWri /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ListOperationResult)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(JwksDocument)} does not support writing '{format}' format."); } - writer.WritePropertyName("operations"u8); + writer.WritePropertyName("keys"u8); writer.WriteStartArray(); - foreach (var item in Operations) + foreach (var item in Keys) { writer.WriteObjectValue(item, options); } @@ -58,19 +58,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - ListOperationResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + JwksDocument IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(ListOperationResult)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(JwksDocument)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeListOperationResult(document.RootElement, options); + return DeserializeJwksDocument(document.RootElement, options); } - internal static ListOperationResult DeserializeListOperationResult(JsonElement element, ModelReaderWriterOptions options = null) + internal static JwksDocument DeserializeJwksDocument(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -78,19 +78,19 @@ internal static ListOperationResult DeserializeListOperationResult(JsonElement e { return null; } - IReadOnlyList operations = default; + IReadOnlyList keys = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("operations"u8)) + if (property.NameEquals("keys"u8)) { - List array = new List(); + List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(GetOperationResult.DeserializeGetOperationResult(item, options)); + array.Add(JsonWebKey.DeserializeJsonWebKey(item, options)); } - operations = array; + keys = array; continue; } if (options.Format != "W") @@ -99,46 +99,46 @@ internal static ListOperationResult DeserializeListOperationResult(JsonElement e } } serializedAdditionalRawData = rawDataDictionary; - return new ListOperationResult(operations, serializedAdditionalRawData); + return new JwksDocument(keys, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(ListOperationResult)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(JwksDocument)} does not support writing '{options.Format}' format."); } } - ListOperationResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + JwksDocument IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeListOperationResult(document.RootElement, options); + return DeserializeJwksDocument(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(ListOperationResult)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(JwksDocument)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static ListOperationResult FromResponse(Response response) + internal static JwksDocument FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeListOperationResult(document.RootElement); + return DeserializeJwksDocument(document.RootElement); } /// Convert into a . diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/VersionResult.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/JwksDocument.cs similarity index 63% rename from sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/VersionResult.cs rename to sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/JwksDocument.cs index 3f6a977a143f..64538ddc8825 100644 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/VersionResult.cs +++ b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/JwksDocument.cs @@ -7,11 +7,12 @@ using System; using System.Collections.Generic; +using System.Linq; namespace Azure.Security.CodeTransparency { - /// The Response body of the Version API. - public partial class VersionResult + /// A JWKS like document. + public partial class JwksDocument { /// /// Keeps track of any properties unknown to the library. @@ -45,31 +46,31 @@ public partial class VersionResult /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . - /// Version of the CodeTransparency service. - /// is null. - internal VersionResult(string scittVersion) + /// Initializes a new instance of . + /// List of public keys used for receipt verification. + /// is null. + internal JwksDocument(IEnumerable keys) { - Argument.AssertNotNull(scittVersion, nameof(scittVersion)); + Argument.AssertNotNull(keys, nameof(keys)); - ScittVersion = scittVersion; + Keys = keys.ToList(); } - /// Initializes a new instance of . - /// Version of the CodeTransparency service. + /// Initializes a new instance of . + /// List of public keys used for receipt verification. /// Keeps track of any properties unknown to the library. - internal VersionResult(string scittVersion, IDictionary serializedAdditionalRawData) + internal JwksDocument(IReadOnlyList keys, IDictionary serializedAdditionalRawData) { - ScittVersion = scittVersion; + Keys = keys; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Initializes a new instance of for deserialization. - internal VersionResult() + /// Initializes a new instance of for deserialization. + internal JwksDocument() { } - /// Version of the CodeTransparency service. - public string ScittVersion { get; } + /// List of public keys used for receipt verification. + public IReadOnlyList Keys { get; } } } diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ListOperationResult.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ListOperationResult.cs deleted file mode 100644 index 707eb569d8db..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ListOperationResult.cs +++ /dev/null @@ -1,76 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Azure.Security.CodeTransparency -{ - /// The Response body of the ListOperations API. - public partial class ListOperationResult - { - /// - /// Keeps track of any properties unknown to the library. - /// - /// To assign an object to the value of this property use . - /// - /// - /// To assign an already formatted json string to this property use . - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromObjectAsJson("foo") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromString("\"foo\"") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromObjectAsJson(new { key = "value" }) - /// Creates a payload of { "key": "value" }. - /// - /// - /// BinaryData.FromString("{\"key\": \"value\"}") - /// Creates a payload of { "key": "value" }. - /// - /// - /// - /// - private IDictionary _serializedAdditionalRawData; - - /// Initializes a new instance of . - /// List of operations. - /// is null. - internal ListOperationResult(IEnumerable operations) - { - Argument.AssertNotNull(operations, nameof(operations)); - - Operations = operations.ToList(); - } - - /// Initializes a new instance of . - /// List of operations. - /// Keeps track of any properties unknown to the library. - internal ListOperationResult(IReadOnlyList operations, IDictionary serializedAdditionalRawData) - { - Operations = operations; - _serializedAdditionalRawData = serializedAdditionalRawData; - } - - /// Initializes a new instance of for deserialization. - internal ListOperationResult() - { - } - - /// List of operations. - public IReadOnlyList Operations { get; } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/OperationStatus.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/OperationStatus.cs deleted file mode 100644 index 7d785267bed1..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/OperationStatus.cs +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; - -namespace Azure.Security.CodeTransparency -{ - /// Possible statuses of the operation. - public readonly partial struct OperationStatus : IEquatable - { - private readonly string _value; - - /// Initializes a new instance of . - /// is null. - public OperationStatus(string value) - { - _value = value ?? throw new ArgumentNullException(nameof(value)); - } - - private const string RunningValue = "running"; - private const string FailedValue = "failed"; - private const string SucceededValue = "succeeded"; - - /// Operation is still running. - public static OperationStatus Running { get; } = new OperationStatus(RunningValue); - /// Operation failed. - public static OperationStatus Failed { get; } = new OperationStatus(FailedValue); - /// Operation succeeded. - public static OperationStatus Succeeded { get; } = new OperationStatus(SucceededValue); - /// Determines if two values are the same. - public static bool operator ==(OperationStatus left, OperationStatus right) => left.Equals(right); - /// Determines if two values are not the same. - public static bool operator !=(OperationStatus left, OperationStatus right) => !left.Equals(right); - /// Converts a to a . - public static implicit operator OperationStatus(string value) => new OperationStatus(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is OperationStatus other && Equals(other); - /// - public bool Equals(OperationStatus other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; - /// - public override string ToString() => _value; - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ParametersResult.Serialization.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ParametersResult.Serialization.cs deleted file mode 100644 index b5f4efa1ade0..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ParametersResult.Serialization.cs +++ /dev/null @@ -1,166 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Security.CodeTransparency -{ - public partial class ParametersResult : IUtf8JsonSerializable, IJsonModel - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - JsonModelWriteCore(writer, options); - writer.WriteEndObject(); - } - - /// The JSON writer. - /// The client options for reading and writing models. - protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(ParametersResult)} does not support writing '{format}' format."); - } - - writer.WritePropertyName("serviceCertificate"u8); - writer.WriteStringValue(ServiceCertificate); - writer.WritePropertyName("serviceId"u8); - writer.WriteStringValue(ServiceId); - writer.WritePropertyName("signatureAlgorithm"u8); - writer.WriteStringValue(SignatureAlgorithm); - writer.WritePropertyName("treeAlgorithm"u8); - writer.WriteStringValue(TreeAlgorithm); - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - ParametersResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(ParametersResult)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeParametersResult(document.RootElement, options); - } - - internal static ParametersResult DeserializeParametersResult(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string serviceCertificate = default; - string serviceId = default; - string signatureAlgorithm = default; - string treeAlgorithm = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("serviceCertificate"u8)) - { - serviceCertificate = property.Value.GetString(); - continue; - } - if (property.NameEquals("serviceId"u8)) - { - serviceId = property.Value.GetString(); - continue; - } - if (property.NameEquals("signatureAlgorithm"u8)) - { - signatureAlgorithm = property.Value.GetString(); - continue; - } - if (property.NameEquals("treeAlgorithm"u8)) - { - treeAlgorithm = property.Value.GetString(); - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new ParametersResult(serviceCertificate, serviceId, signatureAlgorithm, treeAlgorithm, serializedAdditionalRawData); - } - - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - return ModelReaderWriter.Write(this, options); - default: - throw new FormatException($"The model {nameof(ParametersResult)} does not support writing '{options.Format}' format."); - } - } - - ParametersResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - { - using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeParametersResult(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(ParametersResult)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static ParametersResult FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeParametersResult(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); - return content; - } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ParametersResult.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ParametersResult.cs deleted file mode 100644 index bfe505d3a084..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/ParametersResult.cs +++ /dev/null @@ -1,96 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Collections.Generic; - -namespace Azure.Security.CodeTransparency -{ - /// The Response body of the service parameters. - public partial class ParametersResult - { - /// - /// Keeps track of any properties unknown to the library. - /// - /// To assign an object to the value of this property use . - /// - /// - /// To assign an already formatted json string to this property use . - /// - /// - /// Examples: - /// - /// - /// BinaryData.FromObjectAsJson("foo") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromString("\"foo\"") - /// Creates a payload of "foo". - /// - /// - /// BinaryData.FromObjectAsJson(new { key = "value" }) - /// Creates a payload of { "key": "value" }. - /// - /// - /// BinaryData.FromString("{\"key\": \"value\"}") - /// Creates a payload of { "key": "value" }. - /// - /// - /// - /// - private IDictionary _serializedAdditionalRawData; - - /// Initializes a new instance of . - /// - /// - /// - /// - /// , , or is null. - internal ParametersResult(string serviceCertificate, string serviceId, string signatureAlgorithm, string treeAlgorithm) - { - Argument.AssertNotNull(serviceCertificate, nameof(serviceCertificate)); - Argument.AssertNotNull(serviceId, nameof(serviceId)); - Argument.AssertNotNull(signatureAlgorithm, nameof(signatureAlgorithm)); - Argument.AssertNotNull(treeAlgorithm, nameof(treeAlgorithm)); - - ServiceCertificate = serviceCertificate; - ServiceId = serviceId; - SignatureAlgorithm = signatureAlgorithm; - TreeAlgorithm = treeAlgorithm; - } - - /// Initializes a new instance of . - /// - /// - /// - /// - /// Keeps track of any properties unknown to the library. - internal ParametersResult(string serviceCertificate, string serviceId, string signatureAlgorithm, string treeAlgorithm, IDictionary serializedAdditionalRawData) - { - ServiceCertificate = serviceCertificate; - ServiceId = serviceId; - SignatureAlgorithm = signatureAlgorithm; - TreeAlgorithm = treeAlgorithm; - _serializedAdditionalRawData = serializedAdditionalRawData; - } - - /// Initializes a new instance of for deserialization. - internal ParametersResult() - { - } - - /// Gets the service certificate. - public string ServiceCertificate { get; } - /// Gets the service id. - public string ServiceId { get; } - /// Gets the signature algorithm. - public string SignatureAlgorithm { get; } - /// Gets the tree algorithm. - public string TreeAlgorithm { get; } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/SecurityCodeTransparencyModelFactory.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/SecurityCodeTransparencyModelFactory.cs index fd78223fa192..0dfb3f68ef5d 100644 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/SecurityCodeTransparencyModelFactory.cs +++ b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/SecurityCodeTransparencyModelFactory.cs @@ -13,66 +13,14 @@ namespace Azure.Security.CodeTransparency /// Model factory for models. public static partial class SecurityCodeTransparencyModelFactory { - /// Initializes a new instance of . - /// String representing the operation id submitted. - /// A new instance for mocking. - public static CreateEntryResult CreateEntryResult(string operationId = null) + /// Initializes a new instance of . + /// List of public keys used for receipt verification. + /// A new instance for mocking. + public static JwksDocument JwksDocument(IEnumerable keys = null) { - return new CreateEntryResult(operationId, serializedAdditionalRawData: null); - } + keys ??= new List(); - /// Initializes a new instance of . - /// ID of the transaction. Only if status is Succeeded. - /// Error in json format. Only if Status is Failed. - /// OperationId. - /// Status of the operation. - /// A new instance for mocking. - public static GetOperationResult GetOperationResult(string entryId = null, string error = null, string operationId = null, OperationStatus status = default) - { - return new GetOperationResult(entryId, error, operationId, status, serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// List of operations. - /// A new instance for mocking. - public static ListOperationResult ListOperationResult(IEnumerable operations = null) - { - operations ??= new List(); - - return new ListOperationResult(operations?.ToList(), serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// - /// - /// - /// A new instance for mocking. - public static ParametersResult ParametersResult(string serviceCertificate = null, string serviceId = null, string signatureAlgorithm = null, string treeAlgorithm = null) - { - return new ParametersResult(serviceCertificate, serviceId, signatureAlgorithm, treeAlgorithm, serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// String representing a DID issuer. - /// List of public keys used for receipt endorsement verification. - /// A new instance for mocking. - public static DidDocument DidDocument(string id = null, IEnumerable assertionMethod = null) - { - assertionMethod ??= new List(); - - return new DidDocument(id, assertionMethod?.ToList(), serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// Key identifier. - /// Key controller - similar to DID issuer. - /// Key type. - /// Serialized public key in JWK format. - /// A new instance for mocking. - public static DidDocumentKey DidDocumentKey(string id = null, string controller = null, DidDocumentKeyType type = default, JsonWebKey publicKeyJwk = null) - { - return new DidDocumentKey(id, controller, type, publicKeyJwk, serializedAdditionalRawData: null); + return new JwksDocument(keys?.ToList(), serializedAdditionalRawData: null); } /// Initializes a new instance of . @@ -153,54 +101,5 @@ public static JsonWebKey JsonWebKey(string alg = null, string crv = null, string y, serializedAdditionalRawData: null); } - - /// Initializes a new instance of . - /// - /// - /// did:web identifier. - /// A new instance for mocking. - public static CodeTransparencyConfiguration CodeTransparencyConfiguration(CodeTransparencyConfigurationPolicy policy = null, CodeTransparencyConfigurationAuthentication authentication = null, string serviceIdentifier = null) - { - return new CodeTransparencyConfiguration(policy, authentication, serviceIdentifier, serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// - /// A new instance for mocking. - public static CodeTransparencyConfigurationPolicy CodeTransparencyConfigurationPolicy(IEnumerable acceptedAlgorithms = null, IEnumerable acceptedDidIssuers = null) - { - acceptedAlgorithms ??= new List(); - acceptedDidIssuers ??= new List(); - - return new CodeTransparencyConfigurationPolicy(acceptedAlgorithms?.ToList(), acceptedDidIssuers?.ToList(), serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// - /// A new instance for mocking. - public static CodeTransparencyConfigurationAuthentication CodeTransparencyConfigurationAuthentication(bool allowUnauthenticated = default, CodeTransparencyConfigurationAuthenticationJwt jwt = null) - { - return new CodeTransparencyConfigurationAuthentication(allowUnauthenticated, jwt, serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// - /// A new instance for mocking. - public static CodeTransparencyConfigurationAuthenticationJwt CodeTransparencyConfigurationAuthenticationJwt(IReadOnlyDictionary requiredClaims = null) - { - requiredClaims ??= new Dictionary(); - - return new CodeTransparencyConfigurationAuthenticationJwt(requiredClaims, serializedAdditionalRawData: null); - } - - /// Initializes a new instance of . - /// Version of the CodeTransparency service. - /// A new instance for mocking. - public static VersionResult VersionResult(string scittVersion = null) - { - return new VersionResult(scittVersion, serializedAdditionalRawData: null); - } } } diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/VersionResult.Serialization.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/VersionResult.Serialization.cs deleted file mode 100644 index e57dc46a1c3f..000000000000 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/VersionResult.Serialization.cs +++ /dev/null @@ -1,142 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ClientModel.Primitives; -using System.Collections.Generic; -using System.Text.Json; -using Azure.Core; - -namespace Azure.Security.CodeTransparency -{ - public partial class VersionResult : IUtf8JsonSerializable, IJsonModel - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - writer.WriteStartObject(); - JsonModelWriteCore(writer, options); - writer.WriteEndObject(); - } - - /// The JSON writer. - /// The client options for reading and writing models. - protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(VersionResult)} does not support writing '{format}' format."); - } - - writer.WritePropertyName("scitt_version"u8); - writer.WriteStringValue(ScittVersion); - if (options.Format != "W" && _serializedAdditionalRawData != null) - { - foreach (var item in _serializedAdditionalRawData) - { - writer.WritePropertyName(item.Key); -#if NET6_0_OR_GREATER - writer.WriteRawValue(item.Value); -#else - using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) - { - JsonSerializer.Serialize(writer, document.RootElement); - } -#endif - } - } - } - - VersionResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - if (format != "J") - { - throw new FormatException($"The model {nameof(VersionResult)} does not support reading '{format}' format."); - } - - using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeVersionResult(document.RootElement, options); - } - - internal static VersionResult DeserializeVersionResult(JsonElement element, ModelReaderWriterOptions options = null) - { - options ??= ModelSerializationExtensions.WireOptions; - - if (element.ValueKind == JsonValueKind.Null) - { - return null; - } - string scittVersion = default; - IDictionary serializedAdditionalRawData = default; - Dictionary rawDataDictionary = new Dictionary(); - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("scitt_version"u8)) - { - scittVersion = property.Value.GetString(); - continue; - } - if (options.Format != "W") - { - rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); - } - } - serializedAdditionalRawData = rawDataDictionary; - return new VersionResult(scittVersion, serializedAdditionalRawData); - } - - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - return ModelReaderWriter.Write(this, options); - default: - throw new FormatException($"The model {nameof(VersionResult)} does not support writing '{options.Format}' format."); - } - } - - VersionResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) - { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; - - switch (format) - { - case "J": - { - using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeVersionResult(document.RootElement, options); - } - default: - throw new FormatException($"The model {nameof(VersionResult)} does not support reading '{options.Format}' format."); - } - } - - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static VersionResult FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeVersionResult(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); - return content; - } - } -} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/tests/Generated/Samples/Samples_CodeTransparencyClient.cs b/sdk/confidentialledger/Azure.Security.CodeTransparency/tests/Generated/Samples/Samples_CodeTransparencyClient.cs index 34e71d072ab7..e4dfbc1f562b 100644 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/tests/Generated/Samples/Samples_CodeTransparencyClient.cs +++ b/sdk/confidentialledger/Azure.Security.CodeTransparency/tests/Generated/Samples/Samples_CodeTransparencyClient.cs @@ -17,117 +17,113 @@ public partial class Samples_CodeTransparencyClient { [Test] [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetEntryStatus_GetEntryStatus() + public void Example_CodeTransparency_GetTransparencyConfigCbor_GetTransparencyConfigCbor() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = client.GetEntryStatus("2.123", null); + Response response = client.GetTransparencyConfigCbor(null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; - Console.WriteLine(result.GetProperty("operationId").ToString()); - Console.WriteLine(result.GetProperty("status").ToString()); + Console.WriteLine(result.ToString()); } [Test] [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetEntryStatus_GetEntryStatus_Async() + public async Task Example_CodeTransparency_GetTransparencyConfigCbor_GetTransparencyConfigCbor_Async() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = await client.GetEntryStatusAsync("2.123", null); + Response response = await client.GetTransparencyConfigCborAsync(null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; - Console.WriteLine(result.GetProperty("operationId").ToString()); - Console.WriteLine(result.GetProperty("status").ToString()); + Console.WriteLine(result.ToString()); } [Test] [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetEntryStatus_GetEntryStatus_Convenience() + public void Example_CodeTransparency_GetTransparencyConfigCbor_GetTransparencyConfigCbor_Convenience() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = client.GetEntryStatus("2.123"); + Response response = client.GetTransparencyConfigCbor(); } [Test] [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetEntryStatus_GetEntryStatus_Convenience_Async() + public async Task Example_CodeTransparency_GetTransparencyConfigCbor_GetTransparencyConfigCbor_Convenience_Async() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = await client.GetEntryStatusAsync("2.123"); + Response response = await client.GetTransparencyConfigCborAsync(); } [Test] [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetEntryStatuses_ListEntryStatuses() + public void Example_CodeTransparency_GetPublicKeys_GetPublicKeys() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = client.GetEntryStatuses(null); + Response response = client.GetPublicKeys(null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; - Console.WriteLine(result.GetProperty("operations")[0].GetProperty("operationId").ToString()); - Console.WriteLine(result.GetProperty("operations")[0].GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("keys")[0].GetProperty("kty").ToString()); } [Test] [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetEntryStatuses_ListEntryStatuses_Async() + public async Task Example_CodeTransparency_GetPublicKeys_GetPublicKeys_Async() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = await client.GetEntryStatusesAsync(null); + Response response = await client.GetPublicKeysAsync(null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; - Console.WriteLine(result.GetProperty("operations")[0].GetProperty("operationId").ToString()); - Console.WriteLine(result.GetProperty("operations")[0].GetProperty("status").ToString()); + Console.WriteLine(result.GetProperty("keys")[0].GetProperty("kty").ToString()); } [Test] [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetEntryStatuses_ListEntryStatuses_Convenience() + public void Example_CodeTransparency_GetPublicKeys_GetPublicKeys_Convenience() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = client.GetEntryStatuses(); + Response response = client.GetPublicKeys(); } [Test] [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetEntryStatuses_ListEntryStatuses_Convenience_Async() + public async Task Example_CodeTransparency_GetPublicKeys_GetPublicKeys_Convenience_Async() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = await client.GetEntryStatusesAsync(); + Response response = await client.GetPublicKeysAsync(); } [Test] [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetEntry_GetEntry() + public void Example_CodeTransparency_GetOperation_GetOperation() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = client.GetEntry("2.131", null, null); + Response response = client.GetOperation("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); @@ -135,13 +131,13 @@ public void Example_CodeTransparency_GetEntry_GetEntry() [Test] [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetEntry_GetEntry_Async() + public async Task Example_CodeTransparency_GetOperation_GetOperation_Async() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = await client.GetEntryAsync("2.131", null, null); + Response response = await client.GetOperationAsync("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); @@ -149,35 +145,35 @@ public async Task Example_CodeTransparency_GetEntry_GetEntry_Async() [Test] [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetEntry_GetEntry_Convenience() + public void Example_CodeTransparency_GetOperation_GetOperation_Convenience() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = client.GetEntry("2.131"); + Response response = client.GetOperation("2.131"); } [Test] [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetEntry_GetEntry_Convenience_Async() + public async Task Example_CodeTransparency_GetOperation_GetOperation_Convenience_Async() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = await client.GetEntryAsync("2.131"); + Response response = await client.GetOperationAsync("2.131"); } [Test] [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetEntryReceipt_GetEntryReceipt() + public void Example_CodeTransparency_GetEntry_GetEntry() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = client.GetEntryReceipt("2.131", null); + Response response = client.GetEntry("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); @@ -185,13 +181,13 @@ public void Example_CodeTransparency_GetEntryReceipt_GetEntryReceipt() [Test] [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetEntryReceipt_GetEntryReceipt_Async() + public async Task Example_CodeTransparency_GetEntry_GetEntry_Async() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = await client.GetEntryReceiptAsync("2.131", null); + Response response = await client.GetEntryAsync("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); @@ -199,149 +195,35 @@ public async Task Example_CodeTransparency_GetEntryReceipt_GetEntryReceipt_Async [Test] [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetEntryReceipt_GetEntryReceipt_Convenience() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = client.GetEntryReceipt("2.131"); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetEntryReceipt_GetEntryReceipt_Convenience_Async() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = await client.GetEntryReceiptAsync("2.131"); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetParameters_GetParameters() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = client.GetParameters(null); - - JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; - Console.WriteLine(result.GetProperty("serviceCertificate").ToString()); - Console.WriteLine(result.GetProperty("serviceId").ToString()); - Console.WriteLine(result.GetProperty("signatureAlgorithm").ToString()); - Console.WriteLine(result.GetProperty("treeAlgorithm").ToString()); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetParameters_GetParameters_Async() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = await client.GetParametersAsync(null); - - JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; - Console.WriteLine(result.GetProperty("serviceCertificate").ToString()); - Console.WriteLine(result.GetProperty("serviceId").ToString()); - Console.WriteLine(result.GetProperty("signatureAlgorithm").ToString()); - Console.WriteLine(result.GetProperty("treeAlgorithm").ToString()); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetParameters_GetParameters_Convenience() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = client.GetParameters(); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetParameters_GetParameters_Convenience_Async() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = await client.GetParametersAsync(); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetDidConfig_GetDidConfig() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = client.GetDidConfig(null); - - JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; - Console.WriteLine(result.GetProperty("id").ToString()); - Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("id").ToString()); - Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("controller").ToString()); - Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("type").ToString()); - Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("publicKeyJwk").GetProperty("kty").ToString()); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetDidConfig_GetDidConfig_Async() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = await client.GetDidConfigAsync(null); - - JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; - Console.WriteLine(result.GetProperty("id").ToString()); - Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("id").ToString()); - Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("controller").ToString()); - Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("type").ToString()); - Console.WriteLine(result.GetProperty("assertionMethod")[0].GetProperty("publicKeyJwk").GetProperty("kty").ToString()); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetDidConfig_GetDidConfig_Convenience() + public void Example_CodeTransparency_GetEntry_GetEntry_Convenience() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = client.GetDidConfig(); + Response response = client.GetEntry("2.131"); } [Test] [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetDidConfig_GetDidConfig_Convenience_Async() + public async Task Example_CodeTransparency_GetEntry_GetEntry_Convenience_Async() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = await client.GetDidConfigAsync(); + Response response = await client.GetEntryAsync("2.131"); } [Test] [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetCodeTransparencyConfig_GetCodeTransparencyConfig() + public void Example_CodeTransparency_GetEntryStatement_GetEntryStatement() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = client.GetCodeTransparencyConfig(null); + Response response = client.GetEntryStatement("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); @@ -349,13 +231,13 @@ public void Example_CodeTransparency_GetCodeTransparencyConfig_GetCodeTransparen [Test] [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetCodeTransparencyConfig_GetCodeTransparencyConfig_Async() + public async Task Example_CodeTransparency_GetEntryStatement_GetEntryStatement_Async() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - Response response = await client.GetCodeTransparencyConfigAsync(null); + Response response = await client.GetEntryStatementAsync("2.131", null); JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; Console.WriteLine(result.ToString()); @@ -363,130 +245,24 @@ public async Task Example_CodeTransparency_GetCodeTransparencyConfig_GetCodeTran [Test] [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetCodeTransparencyConfig_GetCodeTransparencyConfig_Convenience() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = client.GetCodeTransparencyConfig(); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetCodeTransparencyConfig_GetCodeTransparencyConfig_Convenience_Async() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = await client.GetCodeTransparencyConfigAsync(); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetCodeTransparencyVersion_GetCodeTransparencyVersion() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = client.GetCodeTransparencyVersion(null); - - JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; - Console.WriteLine(result.GetProperty("scitt_version").ToString()); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetCodeTransparencyVersion_GetCodeTransparencyVersion_Async() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = await client.GetCodeTransparencyVersionAsync(null); - - JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; - Console.WriteLine(result.GetProperty("scitt_version").ToString()); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetCodeTransparencyVersion_GetCodeTransparencyVersion_Convenience() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = client.GetCodeTransparencyVersion(); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetCodeTransparencyVersion_GetCodeTransparencyVersion_Convenience_Async() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - Response response = await client.GetCodeTransparencyVersionAsync(); - } - - [Test] - [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetEntryIds_ListEntryIds() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - foreach (BinaryData item in client.GetEntryIds(null, null, null)) - { - JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement; - Console.WriteLine(result.ToString()); - } - } - - [Test] - [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetEntryIds_ListEntryIds_Async() - { - Uri endpoint = new Uri(""); - AzureKeyCredential credential = new AzureKeyCredential(""); - CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - - await foreach (BinaryData item in client.GetEntryIdsAsync(null, null, null)) - { - JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement; - Console.WriteLine(result.ToString()); - } - } - - [Test] - [Ignore("Only validating compilation of examples")] - public void Example_CodeTransparency_GetEntryIds_ListEntryIds_Convenience() + public void Example_CodeTransparency_GetEntryStatement_GetEntryStatement_Convenience() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - foreach (string item in client.GetEntryIds()) - { - } + Response response = client.GetEntryStatement("2.131"); } [Test] [Ignore("Only validating compilation of examples")] - public async Task Example_CodeTransparency_GetEntryIds_ListEntryIds_Convenience_Async() + public async Task Example_CodeTransparency_GetEntryStatement_GetEntryStatement_Convenience_Async() { Uri endpoint = new Uri(""); AzureKeyCredential credential = new AzureKeyCredential(""); CodeTransparencyClient client = new CodeTransparencyClient(endpoint, credential); - await foreach (string item in client.GetEntryIdsAsync()) - { - } + Response response = await client.GetEntryStatementAsync("2.131"); } } } diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/tsp-location.yaml b/sdk/confidentialledger/Azure.Security.CodeTransparency/tsp-location.yaml index 3d79979a2302..0d98403146fe 100644 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/tsp-location.yaml +++ b/sdk/confidentialledger/Azure.Security.CodeTransparency/tsp-location.yaml @@ -1,5 +1,4 @@ -commit: b77f89e29b5fdd9a0a0c39c2176c6ffbdc8cc5a1 -repo: Azure/azure-rest-api-specs directory: specification/confidentialledger/Microsoft.CodeTransparency -additionalDirectories: [] - +commit: a2bd6a405683c01ba4bf92b47380d20e2306d991 +repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/api/Azure.ResourceManager.MongoCluster.net8.0.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/api/Azure.ResourceManager.MongoCluster.net8.0.cs index be41ef5b289c..61a91910b891 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/api/Azure.ResourceManager.MongoCluster.net8.0.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/api/Azure.ResourceManager.MongoCluster.net8.0.cs @@ -215,12 +215,30 @@ public static partial class ArmMongoClusterModelFactory public static Azure.ResourceManager.MongoCluster.MongoClusterPrivateEndpointConnectionResourceData MongoClusterPrivateEndpointConnectionResourceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterPrivateEndpointConnectionProperties properties = null) { throw null; } public static Azure.ResourceManager.MongoCluster.Models.MongoClusterPrivateLinkResourceData MongoClusterPrivateLinkResourceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterPrivateLinkResourceProperties properties = null) { throw null; } public static Azure.ResourceManager.MongoCluster.Models.MongoClusterPrivateLinkResourceProperties MongoClusterPrivateLinkResourceProperties(string groupId = null, System.Collections.Generic.IEnumerable requiredMembers = null, System.Collections.Generic.IEnumerable requiredZoneNames = null) { throw null; } - public static Azure.ResourceManager.MongoCluster.Models.MongoClusterProperties MongoClusterProperties(Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode? createMode = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode?), Azure.ResourceManager.MongoCluster.Models.MongoClusterRestoreContent restoreParameters = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicaContent replicaParameters = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterAdministratorProperties administrator = null, string serverVersion = null, string connectionString = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState? provisioningState = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState?), Azure.ResourceManager.MongoCluster.Models.MongoClusterStatus? clusterStatus = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterStatus?), Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess?), Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode? highAvailabilityTargetMode = default(Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode?), long? storageSizeGb = default(long?), int? shardingShardCount = default(int?), string computeTier = null, string backupEarliestRestoreTime = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, System.Collections.Generic.IEnumerable previewFeatures = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationProperties replica = null, string infrastructureVersion = null) { throw null; } + public static Azure.ResourceManager.MongoCluster.Models.MongoClusterProperties MongoClusterProperties(Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode? createMode = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode?), Azure.ResourceManager.MongoCluster.Models.MongoClusterRestoreContent restoreParameters = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicaContent replicaParameters = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterAdministratorProperties administrator = null, string serverVersion = null, string connectionString = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState? provisioningState = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState?), Azure.ResourceManager.MongoCluster.Models.MongoClusterStatus? clusterStatus = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterStatus?), Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess?), Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode? highAvailabilityTargetMode = default(Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode?), long? storageSizeGb = default(long?), int? shardingShardCount = default(int?), string computeTier = null, string backupEarliestRestoreTime = null, Azure.ResourceManager.MongoCluster.Models.DataApiMode? dataApiMode = default(Azure.ResourceManager.MongoCluster.Models.DataApiMode?), System.Collections.Generic.IEnumerable privateEndpointConnections = null, System.Collections.Generic.IEnumerable previewFeatures = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationProperties replica = null, string infrastructureVersion = null) { throw null; } public static Azure.ResourceManager.MongoCluster.Models.MongoClusterReplica MongoClusterReplica(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterProperties properties = null) { throw null; } public static Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationProperties MongoClusterReplicationProperties(Azure.Core.ResourceIdentifier sourceResourceId = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationRole? role = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationRole?), Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationState? replicationState = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationState?)) { throw null; } public static Azure.ResourceManager.MongoCluster.Models.PromoteReplicaContent PromoteReplicaContent(Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteOption promoteOption = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteOption), Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteMode? mode = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteMode?)) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct DataApiMode : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DataApiMode(string value) { throw null; } + public static Azure.ResourceManager.MongoCluster.Models.DataApiMode Disabled { get { throw null; } } + public static Azure.ResourceManager.MongoCluster.Models.DataApiMode Enabled { get { throw null; } } + public bool Equals(Azure.ResourceManager.MongoCluster.Models.DataApiMode 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.ResourceManager.MongoCluster.Models.DataApiMode left, Azure.ResourceManager.MongoCluster.Models.DataApiMode right) { throw null; } + public static implicit operator Azure.ResourceManager.MongoCluster.Models.DataApiMode (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.MongoCluster.Models.DataApiMode left, Azure.ResourceManager.MongoCluster.Models.DataApiMode right) { throw null; } + public override string ToString() { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct HighAvailabilityMode : System.IEquatable { private readonly object _dummy; @@ -524,6 +542,7 @@ public MongoClusterProperties() { } public string ComputeTier { get { throw null; } set { } } public string ConnectionString { get { throw null; } } public Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode? CreateMode { get { throw null; } set { } } + public Azure.ResourceManager.MongoCluster.Models.DataApiMode? DataApiMode { get { throw null; } set { } } public Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode? HighAvailabilityTargetMode { get { throw null; } set { } } public string InfrastructureVersion { get { throw null; } } public System.Collections.Generic.IList PreviewFeatures { get { throw null; } } @@ -701,6 +720,7 @@ public MongoClusterUpdateProperties() { } public Azure.ResourceManager.MongoCluster.Models.MongoClusterAdministratorProperties Administrator { get { throw null; } set { } } public string BackupEarliestRestoreTime { get { throw null; } } public string ComputeTier { get { throw null; } set { } } + public Azure.ResourceManager.MongoCluster.Models.DataApiMode? DataApiMode { get { throw null; } set { } } public Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode? HighAvailabilityTargetMode { get { throw null; } set { } } public System.Collections.Generic.IList PreviewFeatures { get { throw null; } } public Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/api/Azure.ResourceManager.MongoCluster.netstandard2.0.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/api/Azure.ResourceManager.MongoCluster.netstandard2.0.cs index be41ef5b289c..61a91910b891 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/api/Azure.ResourceManager.MongoCluster.netstandard2.0.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/api/Azure.ResourceManager.MongoCluster.netstandard2.0.cs @@ -215,12 +215,30 @@ public static partial class ArmMongoClusterModelFactory public static Azure.ResourceManager.MongoCluster.MongoClusterPrivateEndpointConnectionResourceData MongoClusterPrivateEndpointConnectionResourceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterPrivateEndpointConnectionProperties properties = null) { throw null; } public static Azure.ResourceManager.MongoCluster.Models.MongoClusterPrivateLinkResourceData MongoClusterPrivateLinkResourceData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterPrivateLinkResourceProperties properties = null) { throw null; } public static Azure.ResourceManager.MongoCluster.Models.MongoClusterPrivateLinkResourceProperties MongoClusterPrivateLinkResourceProperties(string groupId = null, System.Collections.Generic.IEnumerable requiredMembers = null, System.Collections.Generic.IEnumerable requiredZoneNames = null) { throw null; } - public static Azure.ResourceManager.MongoCluster.Models.MongoClusterProperties MongoClusterProperties(Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode? createMode = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode?), Azure.ResourceManager.MongoCluster.Models.MongoClusterRestoreContent restoreParameters = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicaContent replicaParameters = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterAdministratorProperties administrator = null, string serverVersion = null, string connectionString = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState? provisioningState = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState?), Azure.ResourceManager.MongoCluster.Models.MongoClusterStatus? clusterStatus = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterStatus?), Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess?), Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode? highAvailabilityTargetMode = default(Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode?), long? storageSizeGb = default(long?), int? shardingShardCount = default(int?), string computeTier = null, string backupEarliestRestoreTime = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, System.Collections.Generic.IEnumerable previewFeatures = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationProperties replica = null, string infrastructureVersion = null) { throw null; } + public static Azure.ResourceManager.MongoCluster.Models.MongoClusterProperties MongoClusterProperties(Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode? createMode = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode?), Azure.ResourceManager.MongoCluster.Models.MongoClusterRestoreContent restoreParameters = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicaContent replicaParameters = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterAdministratorProperties administrator = null, string serverVersion = null, string connectionString = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState? provisioningState = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterProvisioningState?), Azure.ResourceManager.MongoCluster.Models.MongoClusterStatus? clusterStatus = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterStatus?), Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess?), Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode? highAvailabilityTargetMode = default(Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode?), long? storageSizeGb = default(long?), int? shardingShardCount = default(int?), string computeTier = null, string backupEarliestRestoreTime = null, Azure.ResourceManager.MongoCluster.Models.DataApiMode? dataApiMode = default(Azure.ResourceManager.MongoCluster.Models.DataApiMode?), System.Collections.Generic.IEnumerable privateEndpointConnections = null, System.Collections.Generic.IEnumerable previewFeatures = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationProperties replica = null, string infrastructureVersion = null) { throw null; } public static Azure.ResourceManager.MongoCluster.Models.MongoClusterReplica MongoClusterReplica(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterProperties properties = null) { throw null; } public static Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationProperties MongoClusterReplicationProperties(Azure.Core.ResourceIdentifier sourceResourceId = null, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationRole? role = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationRole?), Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationState? replicationState = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationState?)) { throw null; } public static Azure.ResourceManager.MongoCluster.Models.PromoteReplicaContent PromoteReplicaContent(Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteOption promoteOption = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteOption), Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteMode? mode = default(Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteMode?)) { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] + public readonly partial struct DataApiMode : System.IEquatable + { + private readonly object _dummy; + private readonly int _dummyPrimitive; + public DataApiMode(string value) { throw null; } + public static Azure.ResourceManager.MongoCluster.Models.DataApiMode Disabled { get { throw null; } } + public static Azure.ResourceManager.MongoCluster.Models.DataApiMode Enabled { get { throw null; } } + public bool Equals(Azure.ResourceManager.MongoCluster.Models.DataApiMode 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.ResourceManager.MongoCluster.Models.DataApiMode left, Azure.ResourceManager.MongoCluster.Models.DataApiMode right) { throw null; } + public static implicit operator Azure.ResourceManager.MongoCluster.Models.DataApiMode (string value) { throw null; } + public static bool operator !=(Azure.ResourceManager.MongoCluster.Models.DataApiMode left, Azure.ResourceManager.MongoCluster.Models.DataApiMode right) { throw null; } + public override string ToString() { throw null; } + } + [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct HighAvailabilityMode : System.IEquatable { private readonly object _dummy; @@ -524,6 +542,7 @@ public MongoClusterProperties() { } public string ComputeTier { get { throw null; } set { } } public string ConnectionString { get { throw null; } } public Azure.ResourceManager.MongoCluster.Models.MongoClusterCreateMode? CreateMode { get { throw null; } set { } } + public Azure.ResourceManager.MongoCluster.Models.DataApiMode? DataApiMode { get { throw null; } set { } } public Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode? HighAvailabilityTargetMode { get { throw null; } set { } } public string InfrastructureVersion { get { throw null; } } public System.Collections.Generic.IList PreviewFeatures { get { throw null; } } @@ -701,6 +720,7 @@ public MongoClusterUpdateProperties() { } public Azure.ResourceManager.MongoCluster.Models.MongoClusterAdministratorProperties Administrator { get { throw null; } set { } } public string BackupEarliestRestoreTime { get { throw null; } } public string ComputeTier { get { throw null; } set { } } + public Azure.ResourceManager.MongoCluster.Models.DataApiMode? DataApiMode { get { throw null; } set { } } public Azure.ResourceManager.MongoCluster.Models.HighAvailabilityMode? HighAvailabilityTargetMode { get { throw null; } set { } } public System.Collections.Generic.IList PreviewFeatures { get { throw null; } } public Azure.ResourceManager.MongoCluster.Models.MongoClusterPublicNetworkAccess? PublicNetworkAccess { get { throw null; } set { } } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterCollection.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterCollection.cs index 3a1dea587e91..ec076fb08bcb 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterCollection.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterCollection.cs @@ -21,7 +21,7 @@ public partial class Sample_MongoClusterCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesANewMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_Create.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_Create.json // this example is just showing the usage of "MongoCluster_CreateOrUpdate" 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 @@ -71,7 +71,7 @@ public async Task CreateOrUpdate_CreatesANewMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAReplicaMongoClusterResourceFromASourceResource() { - // Generated from example definition: 2024-07-01/MongoClusters_CreateGeoReplica.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_CreateGeoReplica.json // this example is just showing the usage of "MongoCluster_CreateOrUpdate" 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 @@ -113,7 +113,7 @@ public async Task CreateOrUpdate_CreatesAReplicaMongoClusterResourceFromASourceR [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAMongoClusterResourceFromAPointInTimeRestore() { - // Generated from example definition: 2024-07-01/MongoClusters_CreatePITR.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_CreatePITR.json // this example is just showing the usage of "MongoCluster_CreateOrUpdate" 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 @@ -159,7 +159,7 @@ public async Task CreateOrUpdate_CreatesAMongoClusterResourceFromAPointInTimeRes [Ignore("Only validating compilation of examples")] public async Task Get_GetsAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_Get.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_Get.json // this example is just showing the usage of "MongoCluster_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 @@ -192,7 +192,7 @@ public async Task Get_GetsAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsTheMongoClusterResourcesInAResourceGroup() { - // Generated from example definition: 2024-07-01/MongoClusters_ListByResourceGroup.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_ListByResourceGroup.json // this example is just showing the usage of "MongoCluster_ListByResourceGroup" 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 @@ -227,7 +227,7 @@ public async Task GetAll_ListsTheMongoClusterResourcesInAResourceGroup() [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_Get.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_Get.json // this example is just showing the usage of "MongoCluster_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 @@ -256,7 +256,7 @@ public async Task Exists_GetsAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_Get.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_Get.json // this example is just showing the usage of "MongoCluster_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 diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleCollection.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleCollection.cs index f95bd4dccd14..1fd66ec01117 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleCollection.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_MongoClusterFirewallRuleCollection [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_CreatesAFirewallRuleOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleCreate.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_FirewallRuleCreate.json // this example is just showing the usage of "FirewallRule_CreateOrUpdate" 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 @@ -59,7 +59,7 @@ public async Task CreateOrUpdate_CreatesAFirewallRuleOnAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task Get_GetsAFirewallRuleOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleGet.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_FirewallRuleGet.json // this example is just showing the usage of "FirewallRule_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 @@ -93,7 +93,7 @@ public async Task Get_GetsAFirewallRuleOnAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task GetAll_ListTheFirewallRulesOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleList.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_FirewallRuleList.json // this example is just showing the usage of "FirewallRule_ListByMongoCluster" 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 @@ -129,7 +129,7 @@ public async Task GetAll_ListTheFirewallRulesOnAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task Exists_GetsAFirewallRuleOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleGet.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_FirewallRuleGet.json // this example is just showing the usage of "FirewallRule_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 @@ -159,7 +159,7 @@ public async Task Exists_GetsAFirewallRuleOnAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetsAFirewallRuleOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleGet.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_FirewallRuleGet.json // this example is just showing the usage of "FirewallRule_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 diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleResource.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleResource.cs index d4aa354b7aaf..c56bc9192467 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleResource.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterFirewallRuleResource.cs @@ -20,7 +20,7 @@ public partial class Sample_MongoClusterFirewallRuleResource [Ignore("Only validating compilation of examples")] public async Task Get_GetsAFirewallRuleOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleGet.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_FirewallRuleGet.json // this example is just showing the usage of "FirewallRule_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 @@ -51,7 +51,7 @@ public async Task Get_GetsAFirewallRuleOnAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAFirewallRuleOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleDelete.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_FirewallRuleDelete.json // this example is just showing the usage of "FirewallRule_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 @@ -78,7 +78,7 @@ public async Task Delete_DeletesAFirewallRuleOnAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task Update_CreatesAFirewallRuleOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_FirewallRuleCreate.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_FirewallRuleCreate.json // this example is just showing the usage of "FirewallRule_CreateOrUpdate" 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 diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResource.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResource.cs index b613f615940e..5c8ec07c0c79 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResource.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResource.cs @@ -20,7 +20,7 @@ public partial class Sample_MongoClusterPrivateEndpointConnectionResource [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionGet.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_PrivateEndpointConnectionGet.json // this example is just showing the usage of "PrivateEndpointConnectionResource_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 @@ -51,7 +51,7 @@ public async Task Get_GetAPrivateEndpointConnectionOnAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task Delete_DeleteAPrivateEndpointConnectionOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionDelete.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_PrivateEndpointConnectionDelete.json // this example is just showing the usage of "PrivateEndpointConnectionResource_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 @@ -78,7 +78,7 @@ public async Task Delete_DeleteAPrivateEndpointConnectionOnAMongoClusterResource [Ignore("Only validating compilation of examples")] public async Task Update_ApprovesAPrivateEndpointConnectionOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionPut.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_PrivateEndpointConnectionPut.json // this example is just showing the usage of "PrivateEndpointConnectionResource_Create" 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 diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResourceCollection.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResourceCollection.cs index f0480e5f2648..4b57ad591764 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResourceCollection.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterPrivateEndpointConnectionResourceCollection.cs @@ -20,7 +20,7 @@ public partial class Sample_MongoClusterPrivateEndpointConnectionResourceCollect [Ignore("Only validating compilation of examples")] public async Task CreateOrUpdate_ApprovesAPrivateEndpointConnectionOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionPut.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_PrivateEndpointConnectionPut.json // this example is just showing the usage of "PrivateEndpointConnectionResource_Create" 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 @@ -63,7 +63,7 @@ public async Task CreateOrUpdate_ApprovesAPrivateEndpointConnectionOnAMongoClust [Ignore("Only validating compilation of examples")] public async Task Get_GetAPrivateEndpointConnectionOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionGet.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_PrivateEndpointConnectionGet.json // this example is just showing the usage of "PrivateEndpointConnectionResource_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 @@ -97,7 +97,7 @@ public async Task Get_GetAPrivateEndpointConnectionOnAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task GetAll_ListsThePrivateEndpointConnectionResourcesOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionList.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_PrivateEndpointConnectionList.json // this example is just showing the usage of "PrivateEndpointConnectionResource_ListByMongoCluster" 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 @@ -133,7 +133,7 @@ public async Task GetAll_ListsThePrivateEndpointConnectionResourcesOnAMongoClust [Ignore("Only validating compilation of examples")] public async Task Exists_GetAPrivateEndpointConnectionOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionGet.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_PrivateEndpointConnectionGet.json // this example is just showing the usage of "PrivateEndpointConnectionResource_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 @@ -163,7 +163,7 @@ public async Task Exists_GetAPrivateEndpointConnectionOnAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task GetIfExists_GetAPrivateEndpointConnectionOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_PrivateEndpointConnectionGet.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_PrivateEndpointConnectionGet.json // this example is just showing the usage of "PrivateEndpointConnectionResource_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 diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterResource.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterResource.cs index 89dc0e9ea8fe..a256b8b856f5 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterResource.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_MongoClusterResource.cs @@ -20,7 +20,7 @@ public partial class Sample_MongoClusterResource [Ignore("Only validating compilation of examples")] public async Task Get_GetsAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_Get.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_Get.json // this example is just showing the usage of "MongoCluster_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 @@ -50,7 +50,7 @@ public async Task Get_GetsAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task Delete_DeletesAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_Delete.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_Delete.json // this example is just showing the usage of "MongoCluster_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 @@ -72,11 +72,49 @@ public async Task Delete_DeletesAMongoClusterResource() Console.WriteLine("Succeeded"); } + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Update_EnablesDataAPIOnAMongoClusterResource() + { + // Generated from example definition: 2024-10-01-preview/MongoClusters_PatchDataApi.json + // this example is just showing the usage of "MongoCluster_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 MongoClusterResource created on azure + // for more information of creating MongoClusterResource, please refer to the document of MongoClusterResource + string subscriptionId = "ffffffff-ffff-ffff-ffff-ffffffffffff"; + string resourceGroupName = "TestResourceGroup"; + string mongoClusterName = "myMongoCluster"; + ResourceIdentifier mongoClusterResourceId = MongoClusterResource.CreateResourceIdentifier(subscriptionId, resourceGroupName, mongoClusterName); + MongoClusterResource mongoCluster = client.GetMongoClusterResource(mongoClusterResourceId); + + // invoke the operation + MongoClusterPatch patch = new MongoClusterPatch + { + Properties = new MongoClusterUpdateProperties + { + DataApiMode = DataApiMode.Enabled, + }, + }; + ArmOperation lro = await mongoCluster.UpdateAsync(WaitUntil.Completed, patch); + MongoClusterResource 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 + MongoClusterData resourceData = result.Data; + // for demo we just print out the id + Console.WriteLine($"Succeeded on id: {resourceData.Id}"); + } + [Test] [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesTheDiskSizeOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_PatchDiskSize.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_PatchDiskSize.json // this example is just showing the usage of "MongoCluster_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 @@ -114,7 +152,7 @@ public async Task Update_UpdatesTheDiskSizeOnAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task Update_DisablesPublicNetworkAccessOnAMongoClusterResourceWithAPrivateEndpointConnection() { - // Generated from example definition: 2024-07-01/MongoClusters_PatchPrivateNetworkAccess.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_PatchPrivateNetworkAccess.json // this example is just showing the usage of "MongoCluster_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 @@ -152,7 +190,7 @@ public async Task Update_DisablesPublicNetworkAccessOnAMongoClusterResourceWithA [Ignore("Only validating compilation of examples")] public async Task Update_ResetsTheAdministratorLoginPassword() { - // Generated from example definition: 2024-07-01/MongoClusters_ResetPassword.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_ResetPassword.json // this example is just showing the usage of "MongoCluster_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 @@ -194,7 +232,7 @@ public async Task Update_ResetsTheAdministratorLoginPassword() [Ignore("Only validating compilation of examples")] public async Task Update_UpdatesAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_Update.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_Update.json // this example is just showing the usage of "MongoCluster_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 @@ -242,7 +280,7 @@ public async Task Update_UpdatesAMongoClusterResource() [Ignore("Only validating compilation of examples")] public async Task GetConnectionStrings_ListTheAvailableConnectionStringsForTheMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_ListConnectionStrings.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_ListConnectionStrings.json // this example is just showing the usage of "MongoClusters_ListConnectionStrings" 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 @@ -268,7 +306,7 @@ public async Task GetConnectionStrings_ListTheAvailableConnectionStringsForTheMo [Ignore("Only validating compilation of examples")] public async Task Promote_PromotesAReplicaMongoClusterResourceToAPrimaryRole() { - // Generated from example definition: 2024-07-01/MongoClusters_ForcePromoteReplica.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_ForcePromoteReplica.json // this example is just showing the usage of "MongoClusters_Promote" 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 @@ -298,7 +336,7 @@ public async Task Promote_PromotesAReplicaMongoClusterResourceToAPrimaryRole() [Ignore("Only validating compilation of examples")] public async Task GetPrivateLinks_ListsThePrivateLinkResourcesAvailableOnAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_PrivateLinkResourceList.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_PrivateLinkResourceList.json // this example is just showing the usage of "PrivateLinkResource_ListByMongoCluster" 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 @@ -327,7 +365,7 @@ public async Task GetPrivateLinks_ListsThePrivateLinkResourcesAvailableOnAMongoC [Ignore("Only validating compilation of examples")] public async Task GetReplicasByParent_ListTheReplicasLinkedToAMongoClusterResource() { - // Generated from example definition: 2024-07-01/MongoClusters_ReplicaList.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_ReplicaList.json // this example is just showing the usage of "Replica_ListByParent" 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 diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs index 30d2c455dea6..b1a0920f2f00 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/samples/Generated/Samples/Sample_SubscriptionResourceExtensions.cs @@ -21,7 +21,7 @@ public partial class Sample_SubscriptionResourceExtensions [Ignore("Only validating compilation of examples")] public async Task GetMongoClusters_ListsTheMongoClusterResourcesInASubscription() { - // Generated from example definition: 2024-07-01/MongoClusters_List.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_List.json // this example is just showing the usage of "MongoCluster_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 @@ -52,7 +52,7 @@ public async Task GetMongoClusters_ListsTheMongoClusterResourcesInASubscription( [Ignore("Only validating compilation of examples")] public async Task CheckMongoClusterNameAvailability_ChecksAndConfirmsTheMongoClusterNameIsAvailabilityForUse() { - // Generated from example definition: 2024-07-01/MongoClusters_NameAvailability.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_NameAvailability.json // this example is just showing the usage of "MongoClusters_CheckMongoClusterNameAvailability" 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 @@ -82,7 +82,7 @@ public async Task CheckMongoClusterNameAvailability_ChecksAndConfirmsTheMongoClu [Ignore("Only validating compilation of examples")] public async Task CheckMongoClusterNameAvailability_ChecksAndReturnsThatTheMongoClusterNameIsAlreadyInUse() { - // Generated from example definition: 2024-07-01/MongoClusters_NameAvailability_AlreadyExists.json + // Generated from example definition: 2024-10-01-preview/MongoClusters_NameAvailability_AlreadyExists.json // this example is just showing the usage of "MongoClusters_CheckMongoClusterNameAvailability" 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 diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/ArmMongoClusterModelFactory.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/ArmMongoClusterModelFactory.cs index c34be115aacd..efe73ca88d92 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/ArmMongoClusterModelFactory.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/ArmMongoClusterModelFactory.cs @@ -49,12 +49,13 @@ public static MongoClusterReplica MongoClusterReplica(ResourceIdentifier id = nu /// The sharding properties of the mongo cluster. /// The compute properties of the mongo cluster. /// The backup properties of the mongo cluster. + /// The Data API properties of the mongo cluster. /// List of private endpoint connections. /// List of private endpoint connections. /// The replication properties for the mongo cluster. /// The infrastructure version the cluster is provisioned on. /// A new instance for mocking. - public static MongoClusterProperties MongoClusterProperties(MongoClusterCreateMode? createMode = null, MongoClusterRestoreContent restoreParameters = null, MongoClusterReplicaContent replicaParameters = null, MongoClusterAdministratorProperties administrator = null, string serverVersion = null, string connectionString = null, MongoClusterProvisioningState? provisioningState = null, MongoClusterStatus? clusterStatus = null, MongoClusterPublicNetworkAccess? publicNetworkAccess = null, HighAvailabilityMode? highAvailabilityTargetMode = null, long? storageSizeGb = null, int? shardingShardCount = null, string computeTier = null, string backupEarliestRestoreTime = null, IEnumerable privateEndpointConnections = null, IEnumerable previewFeatures = null, MongoClusterReplicationProperties replica = null, string infrastructureVersion = null) + public static MongoClusterProperties MongoClusterProperties(MongoClusterCreateMode? createMode = null, MongoClusterRestoreContent restoreParameters = null, MongoClusterReplicaContent replicaParameters = null, MongoClusterAdministratorProperties administrator = null, string serverVersion = null, string connectionString = null, MongoClusterProvisioningState? provisioningState = null, MongoClusterStatus? clusterStatus = null, MongoClusterPublicNetworkAccess? publicNetworkAccess = null, HighAvailabilityMode? highAvailabilityTargetMode = null, long? storageSizeGb = null, int? shardingShardCount = null, string computeTier = null, string backupEarliestRestoreTime = null, DataApiMode? dataApiMode = null, IEnumerable privateEndpointConnections = null, IEnumerable previewFeatures = null, MongoClusterReplicationProperties replica = null, string infrastructureVersion = null) { privateEndpointConnections ??= new List(); previewFeatures ??= new List(); @@ -74,6 +75,7 @@ public static MongoClusterProperties MongoClusterProperties(MongoClusterCreateMo shardingShardCount != null ? new ShardingProperties(shardingShardCount, serializedAdditionalRawData: null) : null, computeTier != null ? new ComputeProperties(computeTier, serializedAdditionalRawData: null) : null, backupEarliestRestoreTime != null ? new BackupProperties(backupEarliestRestoreTime, serializedAdditionalRawData: null) : null, + dataApiMode != null ? new DataApiProperties(dataApiMode, serializedAdditionalRawData: null) : null, privateEndpointConnections?.ToList(), previewFeatures?.ToList(), replica, diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MockableMongoClusterResourceGroupResource.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MockableMongoClusterResourceGroupResource.cs index 87e8ad903dcb..44026ea2aba3 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MockableMongoClusterResourceGroupResource.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MockableMongoClusterResourceGroupResource.cs @@ -53,7 +53,7 @@ public virtual MongoClusterCollection GetMongoClusters() /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -84,7 +84,7 @@ public virtual async Task> GetMongoClusterAsync(s /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MockableMongoClusterSubscriptionResource.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MockableMongoClusterSubscriptionResource.cs index bcba1d0d3f84..f39a86ce17b1 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MockableMongoClusterSubscriptionResource.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MockableMongoClusterSubscriptionResource.cs @@ -55,7 +55,7 @@ private string GetApiVersionOrNull(ResourceType resourceType) /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -85,7 +85,7 @@ public virtual AsyncPageable GetMongoClustersAsync(Cancell /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -115,7 +115,7 @@ public virtual Pageable GetMongoClusters(CancellationToken /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -158,7 +158,7 @@ public virtual async Task> CheckMon /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MongoClusterExtensions.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MongoClusterExtensions.cs index ee4d0e4ffd35..5553f5d5064c 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MongoClusterExtensions.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Extensions/MongoClusterExtensions.cs @@ -120,7 +120,7 @@ public static MongoClusterCollection GetMongoClusters(this ResourceGroupResource /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -158,7 +158,7 @@ public static async Task> GetMongoClusterAsync(th /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -196,7 +196,7 @@ public static Response GetMongoCluster(this ResourceGroupR /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -232,7 +232,7 @@ public static AsyncPageable GetMongoClustersAsync(this Sub /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -268,7 +268,7 @@ public static Pageable GetMongoClusters(this SubscriptionR /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -305,7 +305,7 @@ public static async Task> CheckMong /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiMode.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiMode.cs new file mode 100644 index 000000000000..72ce8ed51f95 --- /dev/null +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiMode.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.ResourceManager.MongoCluster.Models +{ + /// The mode to apply to the Mongo Data API. + public readonly partial struct DataApiMode : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public DataApiMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string EnabledValue = "Enabled"; + private const string DisabledValue = "Disabled"; + + /// Mongo Data API is enabled for the cluster. + public static DataApiMode Enabled { get; } = new DataApiMode(EnabledValue); + /// Mongo Data API is disabled for the cluster. + public static DataApiMode Disabled { get; } = new DataApiMode(DisabledValue); + /// Determines if two values are the same. + public static bool operator ==(DataApiMode left, DataApiMode right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(DataApiMode left, DataApiMode right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator DataApiMode(string value) => new DataApiMode(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is DataApiMode other && Equals(other); + /// + public bool Equals(DataApiMode other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CreateEntryResult.Serialization.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiProperties.Serialization.cs similarity index 58% rename from sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CreateEntryResult.Serialization.cs rename to sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiProperties.Serialization.cs index d76a9e5b2b7b..6c3490ccc23e 100644 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CreateEntryResult.Serialization.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiProperties.Serialization.cs @@ -11,13 +11,13 @@ using System.Text.Json; using Azure.Core; -namespace Azure.Security.CodeTransparency +namespace Azure.ResourceManager.MongoCluster.Models { - public partial class CreateEntryResult : IUtf8JsonSerializable, IJsonModel + internal partial class DataApiProperties : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,14 +28,17 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWrite /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(CreateEntryResult)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(DataApiProperties)} does not support writing '{format}' format."); } - writer.WritePropertyName("operationId"u8); - writer.WriteStringValue(OperationId); + if (Optional.IsDefined(Mode)) + { + writer.WritePropertyName("mode"u8); + writer.WriteStringValue(Mode.Value.ToString()); + } if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) @@ -53,19 +56,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - CreateEntryResult IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + DataApiProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(CreateEntryResult)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(DataApiProperties)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeCreateEntryResult(document.RootElement, options); + return DeserializeDataApiProperties(document.RootElement, options); } - internal static CreateEntryResult DeserializeCreateEntryResult(JsonElement element, ModelReaderWriterOptions options = null) + internal static DataApiProperties DeserializeDataApiProperties(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -73,14 +76,18 @@ internal static CreateEntryResult DeserializeCreateEntryResult(JsonElement eleme { return null; } - string operationId = default; + DataApiMode? mode = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) { - if (property.NameEquals("operationId"u8)) + if (property.NameEquals("mode"u8)) { - operationId = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + mode = new DataApiMode(property.Value.GetString()); continue; } if (options.Format != "W") @@ -89,54 +96,38 @@ internal static CreateEntryResult DeserializeCreateEntryResult(JsonElement eleme } } serializedAdditionalRawData = rawDataDictionary; - return new CreateEntryResult(operationId, serializedAdditionalRawData); + return new DataApiProperties(mode, serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(CreateEntryResult)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(DataApiProperties)} does not support writing '{options.Format}' format."); } } - CreateEntryResult IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + DataApiProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeCreateEntryResult(document.RootElement, options); + return DeserializeDataApiProperties(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(CreateEntryResult)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(DataApiProperties)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; - - /// Deserializes the model from a raw response. - /// The response to deserialize the model from. - internal static CreateEntryResult FromResponse(Response response) - { - using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeCreateEntryResult(document.RootElement); - } - - /// Convert into a . - internal virtual RequestContent ToRequestContent() - { - var content = new Utf8JsonRequestContent(); - content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); - return content; - } + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; } } diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationPolicy.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiProperties.cs similarity index 58% rename from sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationPolicy.cs rename to sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiProperties.cs index a4f352778ca3..5eccac330a35 100644 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/CodeTransparencyConfigurationPolicy.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/DataApiProperties.cs @@ -8,10 +8,10 @@ using System; using System.Collections.Generic; -namespace Azure.Security.CodeTransparency +namespace Azure.ResourceManager.MongoCluster.Models { - /// Configuration of CCF Authentication policies. - public partial class CodeTransparencyConfigurationPolicy + /// Data API properties. + internal partial class DataApiProperties { /// /// Keeps track of any properties unknown to the library. @@ -45,27 +45,21 @@ public partial class CodeTransparencyConfigurationPolicy /// private IDictionary _serializedAdditionalRawData; - /// Initializes a new instance of . - internal CodeTransparencyConfigurationPolicy() + /// Initializes a new instance of . + public DataApiProperties() { - AcceptedAlgorithms = new ChangeTrackingList(); - AcceptedDidIssuers = new ChangeTrackingList(); } - /// Initializes a new instance of . - /// - /// + /// Initializes a new instance of . + /// The mode to indicate whether the Mongo Data API is enabled for a cluster. /// Keeps track of any properties unknown to the library. - internal CodeTransparencyConfigurationPolicy(IReadOnlyList acceptedAlgorithms, IReadOnlyList acceptedDidIssuers, IDictionary serializedAdditionalRawData) + internal DataApiProperties(DataApiMode? mode, IDictionary serializedAdditionalRawData) { - AcceptedAlgorithms = acceptedAlgorithms; - AcceptedDidIssuers = acceptedDidIssuers; + Mode = mode; _serializedAdditionalRawData = serializedAdditionalRawData; } - /// Gets the accepted algorithms. - public IReadOnlyList AcceptedAlgorithms { get; } - /// Gets the accepted did issuers. - public IReadOnlyList AcceptedDidIssuers { get; } + /// The mode to indicate whether the Mongo Data API is enabled for a cluster. + public DataApiMode? Mode { get; set; } } } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterProperties.Serialization.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterProperties.Serialization.cs index 50859044b270..192e76cb4c2d 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterProperties.Serialization.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterProperties.Serialization.cs @@ -104,6 +104,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("backup"u8); writer.WriteObjectValue(Backup, options); } + if (Optional.IsDefined(DataApi)) + { + writer.WritePropertyName("dataApi"u8); + writer.WriteObjectValue(DataApi, options); + } if (options.Format != "W" && Optional.IsCollectionDefined(PrivateEndpointConnections)) { writer.WritePropertyName("privateEndpointConnections"u8); @@ -185,6 +190,7 @@ internal static MongoClusterProperties DeserializeMongoClusterProperties(JsonEle ShardingProperties sharding = default; ComputeProperties compute = default; BackupProperties backup = default; + DataApiProperties dataApi = default; IReadOnlyList privateEndpointConnections = default; IList previewFeatures = default; MongoClusterReplicationProperties replica = default; @@ -311,6 +317,15 @@ internal static MongoClusterProperties DeserializeMongoClusterProperties(JsonEle backup = BackupProperties.DeserializeBackupProperties(property.Value, options); continue; } + if (property.NameEquals("dataApi"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + dataApi = DataApiProperties.DeserializeDataApiProperties(property.Value, options); + continue; + } if (property.NameEquals("privateEndpointConnections"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -374,6 +389,7 @@ internal static MongoClusterProperties DeserializeMongoClusterProperties(JsonEle sharding, compute, backup, + dataApi, privateEndpointConnections ?? new ChangeTrackingList(), previewFeatures ?? new ChangeTrackingList(), replica, diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterProperties.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterProperties.cs index 34981443c068..fbd8073d21cd 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterProperties.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterProperties.cs @@ -67,12 +67,13 @@ public MongoClusterProperties() /// The sharding properties of the mongo cluster. /// The compute properties of the mongo cluster. /// The backup properties of the mongo cluster. + /// The Data API properties of the mongo cluster. /// List of private endpoint connections. /// List of private endpoint connections. /// The replication properties for the mongo cluster. /// The infrastructure version the cluster is provisioned on. /// Keeps track of any properties unknown to the library. - internal MongoClusterProperties(MongoClusterCreateMode? createMode, MongoClusterRestoreContent restoreParameters, MongoClusterReplicaContent replicaParameters, MongoClusterAdministratorProperties administrator, string serverVersion, string connectionString, MongoClusterProvisioningState? provisioningState, MongoClusterStatus? clusterStatus, MongoClusterPublicNetworkAccess? publicNetworkAccess, HighAvailabilityProperties highAvailability, StorageProperties storage, ShardingProperties sharding, ComputeProperties compute, BackupProperties backup, IReadOnlyList privateEndpointConnections, IList previewFeatures, MongoClusterReplicationProperties replica, string infrastructureVersion, IDictionary serializedAdditionalRawData) + internal MongoClusterProperties(MongoClusterCreateMode? createMode, MongoClusterRestoreContent restoreParameters, MongoClusterReplicaContent replicaParameters, MongoClusterAdministratorProperties administrator, string serverVersion, string connectionString, MongoClusterProvisioningState? provisioningState, MongoClusterStatus? clusterStatus, MongoClusterPublicNetworkAccess? publicNetworkAccess, HighAvailabilityProperties highAvailability, StorageProperties storage, ShardingProperties sharding, ComputeProperties compute, BackupProperties backup, DataApiProperties dataApi, IReadOnlyList privateEndpointConnections, IList previewFeatures, MongoClusterReplicationProperties replica, string infrastructureVersion, IDictionary serializedAdditionalRawData) { CreateMode = createMode; RestoreParameters = restoreParameters; @@ -88,6 +89,7 @@ internal MongoClusterProperties(MongoClusterCreateMode? createMode, MongoCluster Sharding = sharding; Compute = compute; Backup = backup; + DataApi = dataApi; PrivateEndpointConnections = privateEndpointConnections; PreviewFeatures = previewFeatures; Replica = replica; @@ -177,6 +179,20 @@ public string BackupEarliestRestoreTime get => Backup is null ? default : Backup.EarliestRestoreTime; } + /// The Data API properties of the mongo cluster. + internal DataApiProperties DataApi { get; set; } + /// The mode to indicate whether the Mongo Data API is enabled for a cluster. + public DataApiMode? DataApiMode + { + get => DataApi is null ? default : DataApi.Mode; + set + { + if (DataApi is null) + DataApi = new DataApiProperties(); + DataApi.Mode = value; + } + } + /// List of private endpoint connections. public IReadOnlyList PrivateEndpointConnections { get; } /// List of private endpoint connections. diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterUpdateProperties.Serialization.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterUpdateProperties.Serialization.cs index 2ec12a14f6ac..5bd7b3fdd706 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterUpdateProperties.Serialization.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterUpdateProperties.Serialization.cs @@ -74,6 +74,11 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("backup"u8); writer.WriteObjectValue(Backup, options); } + if (Optional.IsDefined(DataApi)) + { + writer.WritePropertyName("dataApi"u8); + writer.WriteObjectValue(DataApi, options); + } if (Optional.IsCollectionDefined(PreviewFeatures)) { writer.WritePropertyName("previewFeatures"u8); @@ -129,6 +134,7 @@ internal static MongoClusterUpdateProperties DeserializeMongoClusterUpdateProper ShardingProperties sharding = default; ComputeProperties compute = default; BackupProperties backup = default; + DataApiProperties dataApi = default; IList previewFeatures = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); @@ -202,6 +208,15 @@ internal static MongoClusterUpdateProperties DeserializeMongoClusterUpdateProper backup = BackupProperties.DeserializeBackupProperties(property.Value, options); continue; } + if (property.NameEquals("dataApi"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + dataApi = DataApiProperties.DeserializeDataApiProperties(property.Value, options); + continue; + } if (property.NameEquals("previewFeatures"u8)) { if (property.Value.ValueKind == JsonValueKind.Null) @@ -231,6 +246,7 @@ internal static MongoClusterUpdateProperties DeserializeMongoClusterUpdateProper sharding, compute, backup, + dataApi, previewFeatures ?? new ChangeTrackingList(), serializedAdditionalRawData); } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterUpdateProperties.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterUpdateProperties.cs index 182cdb763b42..6a5064ab3b83 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterUpdateProperties.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/Models/MongoClusterUpdateProperties.cs @@ -60,9 +60,10 @@ public MongoClusterUpdateProperties() /// The sharding properties of the mongo cluster. /// The compute properties of the mongo cluster. /// The backup properties of the mongo cluster. + /// The Data API properties of the mongo cluster. /// List of private endpoint connections. /// Keeps track of any properties unknown to the library. - internal MongoClusterUpdateProperties(MongoClusterAdministratorProperties administrator, string serverVersion, MongoClusterPublicNetworkAccess? publicNetworkAccess, HighAvailabilityProperties highAvailability, StorageProperties storage, ShardingProperties sharding, ComputeProperties compute, BackupProperties backup, IList previewFeatures, IDictionary serializedAdditionalRawData) + internal MongoClusterUpdateProperties(MongoClusterAdministratorProperties administrator, string serverVersion, MongoClusterPublicNetworkAccess? publicNetworkAccess, HighAvailabilityProperties highAvailability, StorageProperties storage, ShardingProperties sharding, ComputeProperties compute, BackupProperties backup, DataApiProperties dataApi, IList previewFeatures, IDictionary serializedAdditionalRawData) { Administrator = administrator; ServerVersion = serverVersion; @@ -72,6 +73,7 @@ internal MongoClusterUpdateProperties(MongoClusterAdministratorProperties admini Sharding = sharding; Compute = compute; Backup = backup; + DataApi = dataApi; PreviewFeatures = previewFeatures; _serializedAdditionalRawData = serializedAdditionalRawData; } @@ -146,6 +148,20 @@ public string BackupEarliestRestoreTime get => Backup is null ? default : Backup.EarliestRestoreTime; } + /// The Data API properties of the mongo cluster. + internal DataApiProperties DataApi { get; set; } + /// The mode to indicate whether the Mongo Data API is enabled for a cluster. + public DataApiMode? DataApiMode + { + get => DataApi is null ? default : DataApi.Mode; + set + { + if (DataApi is null) + DataApi = new DataApiProperties(); + DataApi.Mode = value; + } + } + /// List of private endpoint connections. public IList PreviewFeatures { get; } } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterCollection.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterCollection.cs index c8d9efdce71d..fa42720d1dca 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterCollection.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterCollection.cs @@ -65,7 +65,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -114,7 +114,7 @@ public virtual async Task> CreateOrUpdateAsyn /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -163,7 +163,7 @@ public virtual ArmOperation CreateOrUpdate(WaitUntil waitU /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -208,7 +208,7 @@ public virtual async Task> GetAsync(string mongoC /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -253,7 +253,7 @@ public virtual Response Get(string mongoClusterName, Cance /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -283,7 +283,7 @@ public virtual AsyncPageable GetAllAsync(CancellationToken /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -313,7 +313,7 @@ public virtual Pageable GetAll(CancellationToken cancellat /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -356,7 +356,7 @@ public virtual async Task> ExistsAsync(string mongoClusterName, C /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -399,7 +399,7 @@ public virtual Response Exists(string mongoClusterName, CancellationToken /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -444,7 +444,7 @@ public virtual async Task> GetIfExistsAsy /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterFirewallRuleCollection.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterFirewallRuleCollection.cs index 941f285a6a0f..339303e8b618 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterFirewallRuleCollection.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterFirewallRuleCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task> Create /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation CreateOrUpdate(Wai /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task> GetAsync(s /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(string firewallRul /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetAllAsync(Cance /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(CancellationTok /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string firewallRuleName, C /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string firewallRuleName, CancellationToken /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task> Ge /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterFirewallRuleResource.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterFirewallRuleResource.cs index fd29a6f95f8d..54451a15a37b 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterFirewallRuleResource.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterFirewallRuleResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task> GetAsync(C /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -181,7 +181,7 @@ public virtual Response Get(CancellationToken /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -311,7 +311,7 @@ public virtual async Task> Update /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterPrivateEndpointConnectionResource.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterPrivateEndpointConnectionResource.cs index 07c1a1c07d42..03d574d3fe68 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterPrivateEndpointConnectionResource.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterPrivateEndpointConnectionResource.cs @@ -101,7 +101,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -141,7 +141,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -181,7 +181,7 @@ public virtual Response Get(Cance /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -223,7 +223,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -265,7 +265,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -311,7 +311,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterPrivateEndpointConnectionResourceCollection.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterPrivateEndpointConnectionResourceCollection.cs index 8136ff74d1d0..d6f6245505b1 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterPrivateEndpointConnectionResourceCollection.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterPrivateEndpointConnectionResourceCollection.cs @@ -64,7 +64,7 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -113,7 +113,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -162,7 +162,7 @@ public virtual ArmOperation Creat /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -207,7 +207,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -252,7 +252,7 @@ public virtual Response Get(strin /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -282,7 +282,7 @@ public virtual AsyncPageable GetA /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -312,7 +312,7 @@ public virtual Pageable GetAll(Ca /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -355,7 +355,7 @@ public virtual async Task> ExistsAsync(string privateEndpointConn /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -398,7 +398,7 @@ public virtual Response Exists(string privateEndpointConnectionName, Cance /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -443,7 +443,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterResource.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterResource.cs index 6804c462bb87..fe2df69ff779 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterResource.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/MongoClusterResource.cs @@ -119,7 +119,7 @@ public virtual MongoClusterFirewallRuleCollection GetMongoClusterFirewallRules() /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -150,7 +150,7 @@ public virtual async Task> GetMongoCl /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -188,7 +188,7 @@ public virtual MongoClusterPrivateEndpointConnectionResourceCollection GetMongoC /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -219,7 +219,7 @@ public virtual async Task /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -250,7 +250,7 @@ public virtual Response GetMongoC /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -290,7 +290,7 @@ public virtual async Task> GetAsync(CancellationT /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -330,7 +330,7 @@ public virtual Response Get(CancellationToken cancellation /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -372,7 +372,7 @@ public virtual async Task DeleteAsync(WaitUntil waitUntil, Cancell /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -414,7 +414,7 @@ public virtual ArmOperation Delete(WaitUntil waitUntil, CancellationToken cancel /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -460,7 +460,7 @@ public virtual async Task> UpdateAsync(WaitUn /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -506,7 +506,7 @@ public virtual ArmOperation Update(WaitUntil waitUntil, Mo /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -544,7 +544,7 @@ public virtual async Task> GetConn /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -582,7 +582,7 @@ public virtual Response GetConnectionString /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -628,7 +628,7 @@ public virtual async Task PromoteAsync(WaitUntil waitUntil, Promot /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -674,7 +674,7 @@ public virtual ArmOperation Promote(WaitUntil waitUntil, PromoteReplicaContent c /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// @@ -700,7 +700,7 @@ public virtual AsyncPageable GetPrivateLink /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// @@ -726,7 +726,7 @@ public virtual Pageable GetPrivateLinks(Can /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// @@ -752,7 +752,7 @@ public virtual AsyncPageable GetReplicasByParentAsync(Cance /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// @@ -778,7 +778,7 @@ public virtual Pageable GetReplicasByParent(CancellationTok /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -840,7 +840,7 @@ public virtual async Task> AddTagAsync(string key /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -902,7 +902,7 @@ public virtual Response AddTag(string key, string value, C /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -959,7 +959,7 @@ public virtual async Task> SetTagsAsync(IDictiona /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -1016,7 +1016,7 @@ public virtual Response SetTags(IDictionary /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource @@ -1076,7 +1076,7 @@ public virtual async Task> RemoveTagAsync(string /// /// /// Default Api Version - /// 2024-07-01 + /// 2024-10-01-preview /// /// /// Resource diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/FirewallRulesRestOperations.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/FirewallRulesRestOperations.cs index 4d0d6ac3ecd6..419ec8029a09 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/FirewallRulesRestOperations.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/FirewallRulesRestOperations.cs @@ -32,7 +32,7 @@ public FirewallRulesRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-07-01"; + _apiVersion = apiVersion ?? "2024-10-01-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/MongoClustersRestOperations.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/MongoClustersRestOperations.cs index 159287b991d5..6c1eaaa5ac4b 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/MongoClustersRestOperations.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/MongoClustersRestOperations.cs @@ -32,7 +32,7 @@ public MongoClustersRestOperations(HttpPipeline pipeline, string applicationId, { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-07-01"; + _apiVersion = apiVersion ?? "2024-10-01-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs index a25fc00275c0..d14984b59776 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/PrivateEndpointConnectionsRestOperations.cs @@ -32,7 +32,7 @@ public PrivateEndpointConnectionsRestOperations(HttpPipeline pipeline, string ap { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-07-01"; + _apiVersion = apiVersion ?? "2024-10-01-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/PrivateLinksRestOperations.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/PrivateLinksRestOperations.cs index 04d9d0daf17a..f0b69726b397 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/PrivateLinksRestOperations.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/PrivateLinksRestOperations.cs @@ -32,7 +32,7 @@ public PrivateLinksRestOperations(HttpPipeline pipeline, string applicationId, U { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-07-01"; + _apiVersion = apiVersion ?? "2024-10-01-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/ReplicasRestOperations.cs b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/ReplicasRestOperations.cs index c99a3c0e0d27..05ea7ed0de1b 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/ReplicasRestOperations.cs +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/src/Generated/RestOperations/ReplicasRestOperations.cs @@ -32,7 +32,7 @@ public ReplicasRestOperations(HttpPipeline pipeline, string applicationId, Uri e { _pipeline = pipeline ?? throw new ArgumentNullException(nameof(pipeline)); _endpoint = endpoint ?? new Uri("https://management.azure.com"); - _apiVersion = apiVersion ?? "2024-07-01"; + _apiVersion = apiVersion ?? "2024-10-01-preview"; _userAgent = new TelemetryDetails(GetType().Assembly, applicationId); } diff --git a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/tsp-location.yaml b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/tsp-location.yaml index 1d7ced7e41b4..e84476ebb3cb 100644 --- a/sdk/mongocluster/Azure.ResourceManager.MongoCluster/tsp-location.yaml +++ b/sdk/mongocluster/Azure.ResourceManager.MongoCluster/tsp-location.yaml @@ -1,3 +1,4 @@ -directory: specification\mongocluster\DocumentDB.MongoCluster.Management -commit: a105688c303677e1bd3b0968b977b924f2cbbcb8 -repo: Azure/azure-rest-api-specs \ No newline at end of file +directory: specification/mongocluster/DocumentDB.MongoCluster.Management +commit: a2bd6a405683c01ba4bf92b47380d20e2306d991 +repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/Azure.Developer.MicrosoftPlaywrightTesting.sln b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/Azure.Developer.MicrosoftPlaywrightTesting.sln new file mode 100644 index 000000000000..f0b95cc94a15 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/Azure.Developer.MicrosoftPlaywrightTesting.sln @@ -0,0 +1,56 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29709.97 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{ECC730C1-4AEA-420C-916A-66B19B79E4DC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Developer.MicrosoftPlaywrightTesting", "src\Azure.Developer.MicrosoftPlaywrightTesting.csproj", "{28FF4005-4467-4E36-92E7-DEA27DEB1519}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.Developer.MicrosoftPlaywrightTesting.Tests", "tests\Azure.Developer.MicrosoftPlaywrightTesting.Tests.csproj", "{1F1CD1D4-9932-4B73-99D8-C252A67D4B46}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B0C276D1-2930-4887-B29A-D1A33E7009A2}.Release|Any CPU.Build.0 = Release|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8E9A77AC-792A-4432-8320-ACFD46730401}.Release|Any CPU.Build.0 = Release|Any CPU + {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Release|Any CPU.Build.0 = Release|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A4241C1F-A53D-474C-9E4E-075054407E74}.Release|Any CPU.Build.0 = Release|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FA8BD3F1-8616-47B6-974C-7576CDF4717E}.Release|Any CPU.Build.0 = Release|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {85677AD3-C214-42FA-AE6E-49B956CAC8DC}.Release|Any CPU.Build.0 = Release|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Debug|Any CPU.Build.0 = Debug|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.ActiveCfg = Release|Any CPU + {28FF4005-4467-4E36-92E7-DEA27DEB1519}.Release|Any CPU.Build.0 = Release|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1F1CD1D4-9932-4B73-99D8-C252A67D4B46}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE} + EndGlobalSection +EndGlobal diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/CHANGELOG.md b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/CHANGELOG.md new file mode 100644 index 000000000000..8b33f0fedccc --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/CHANGELOG.md @@ -0,0 +1,11 @@ +# Release History + +## 1.0.0-beta.1 (Unreleased) + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes \ No newline at end of file diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/Directory.Build.props b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/Directory.Build.props new file mode 100644 index 000000000000..63bd836ad44b --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/Directory.Build.props @@ -0,0 +1,6 @@ + + + + diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/README.md b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/README.md new file mode 100644 index 000000000000..ba9958c97bb7 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/README.md @@ -0,0 +1,107 @@ +# Azure.Developer.MicrosoftPlaywrightTesting client library for .NET + +Azure.Developer.MicrosoftPlaywrightTesting is a managed service that helps developers get secret simply and securely. + +Use the client library for to: + +* [Get secret](https://docs.microsoft.com/azure) + +[Source code][source_root] | [Package (NuGet)][package] | [API reference documentation][reference_docs] | [Product documentation][azconfig_docs] | [Samples][source_samples] + + [Source code](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src) | [Package (NuGet)](https://www.nuget.org/packages) | [API reference documentation](https://azure.github.io/azure-sdk-for-net) | [Product documentation](https://docs.microsoft.com/azure) + +## Getting started + +This section should include everything a developer needs to do to install and create their first client connection *very quickly*. + +### Install the package + +First, provide instruction for obtaining and installing the package or library. This section might include only a single line of code, like `dotnet add package package-name`, but should enable a developer to successfully install the package from NuGet, npm, or even cloning a GitHub repository. + +Install the client library for .NET with [NuGet](https://www.nuget.org/ ): + +```dotnetcli +dotnet add package Azure.Developer.MicrosoftPlaywrightTesting --prerelease +``` + +### Prerequisites + +Include a section after the install command that details any requirements that must be satisfied before a developer can [authenticate](#authenticate-the-client) and test all of the snippets in the [Examples](#examples) section. For example, for Cosmos DB: + +> You must have an [Azure subscription](https://azure.microsoft.com/free/dotnet/) and [Cosmos DB account](https://docs.microsoft.com/azure/cosmos-db/account-overview) (SQL API). In order to take advantage of the C# 8.0 syntax, it is recommended that you compile using the [.NET Core SDK](https://dotnet.microsoft.com/download) 3.0 or higher with a [language version](https://docs.microsoft.com/dotnet/csharp/language-reference/configure-language-version#override-a-default) of `latest`. It is also possible to compile with the .NET Core SDK 2.1.x using a language version of `preview`. + +### Authenticate the client + +If your library requires authentication for use, such as for Azure services, include instructions and example code needed for initializing and authenticating. + +For example, include details on obtaining an account key and endpoint URI, setting environment variables for each, and initializing the client object. + +### Service API versions + +The client library targets the latest service API version by default. A client instance accepts an optional service API version parameter from its options to specify which API version service to communicate. + +#### Select a service API version + +You have the flexibility to explicitly select a supported service API version when instantiating a client by configuring its associated options. This ensures that the client can communicate with services using the specified API version. + +For example, + +```C# Snippet:CreateClientForSpecificApiVersion +Uri endpoint = new Uri(""); +DefaultAzureCredential credential = new DefaultAzureCredential(); +ClientOptions options = new ClientOptions(ClientOptions.ServiceVersion.) +var client = new Client(endpoint, credential, options); +``` + +When selecting an API version, it's important to verify that there are no breaking changes compared to the latest API version. If there are significant differences, API calls may fail due to incompatibility. + +Always ensure that the chosen API version is fully supported and operational for your specific use case and that it aligns with the service's versioning policy. + +## Key concepts + +The *Key concepts* section should describe the functionality of the main classes. Point out the most important and useful classes in the package (with links to their reference pages) and explain how those classes work together. Feel free to use bulleted lists, tables, code blocks, or even diagrams for clarity. + +Include the *Thread safety* and *Additional concepts* sections below at the end of your *Key concepts* section. You may remove or add links depending on what your library makes use of: + +### Thread safety + +We guarantee that all client instance methods are thread-safe and independent of each other ([guideline](https://azure.github.io/azure-sdk/dotnet_introduction.html#dotnet-service-methods-thread-safety)). This ensures that the recommendation of reusing client instances is always safe, even across threads. + +### Additional concepts + +[Client options](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#configuring-service-clients-using-clientoptions) | +[Accessing the response](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#accessing-http-response-details-using-responset) | +[Long-running operations](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#consuming-long-running-operations-using-operationt) | +[Handling failures](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#reporting-errors-requestfailedexception) | +[Diagnostics](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md) | +[Mocking](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/README.md#mocking) | +[Client lifetime](https://devblogs.microsoft.com/azure-sdk/lifetime-management-and-thread-safety-guarantees-of-azure-sdk-net-clients/) + + +## Examples + +You can familiarize yourself with different APIs using [Samples](https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/samples). + +## Troubleshooting + +Describe common errors and exceptions, how to "unpack" them if necessary, and include guidance for graceful handling and recovery. + +Provide information to help developers avoid throttling or other service-enforced errors they might encounter. For example, provide guidance and examples for using retry or connection policies in the API. + +If the package or a related package supports it, include tips for logging or enabling instrumentation to help them debug their code. + +## Next steps + +* Provide a link to additional code examples, ideally to those sitting alongside the README in the package's `/samples` directory. +* If appropriate, point users to other packages that might be useful. +* If you think there's a good chance that developers might stumble across your package in error (because they're searching for specific functionality and mistakenly think the package provides that functionality), point them to the packages they might be looking for. + +## Contributing + +This is a template, but your SDK readme should include details on how to contribute code to the repo/package. + + +[style-guide-msft]: https://docs.microsoft.com/style-guide/capitalization +[style-guide-cloud]: https://aka.ms/azsdk/cloud-style-guide + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-net/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/README.png) \ No newline at end of file diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Azure.Developer.MicrosoftPlaywrightTesting.csproj b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Azure.Developer.MicrosoftPlaywrightTesting.csproj new file mode 100644 index 000000000000..4a68b892e00d --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Azure.Developer.MicrosoftPlaywrightTesting.csproj @@ -0,0 +1,19 @@ + + + This is the Azure.Developer.MicrosoftPlaywrightTesting client library for developing .NET applications with rich experience. + Azure SDK Code Generation Azure.Developer.MicrosoftPlaywrightTesting for Azure Data Plane + 1.0.0-beta.1 + Azure.Developer.MicrosoftPlaywrightTesting + $(RequiredTargetFrameworks) + true + + + + + + + + + + + diff --git a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocument.Serialization.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessToken.Serialization.cs similarity index 54% rename from sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocument.Serialization.cs rename to sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessToken.Serialization.cs index 200c346f69f5..e2466ce5d94d 100644 --- a/sdk/confidentialledger/Azure.Security.CodeTransparency/src/Generated/DidDocument.Serialization.cs +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessToken.Serialization.cs @@ -11,13 +11,13 @@ using System.Text.Json; using Azure.Core; -namespace Azure.Security.CodeTransparency +namespace Azure.Developer.MicrosoftPlaywrightTesting { - public partial class DidDocument : IUtf8JsonSerializable, IJsonModel + public partial class AccessToken : IUtf8JsonSerializable, IJsonModel { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); - void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) { writer.WriteStartObject(); JsonModelWriteCore(writer, options); @@ -28,21 +28,36 @@ void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptio /// The client options for reading and writing models. protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DidDocument)} does not support writing '{format}' format."); + throw new FormatException($"The model {nameof(AccessToken)} does not support writing '{format}' format."); } - writer.WritePropertyName("id"u8); - writer.WriteStringValue(Id); - writer.WritePropertyName("assertionMethod"u8); - writer.WriteStartArray(); - foreach (var item in AssertionMethod) + if (options.Format != "W") { - writer.WriteObjectValue(item, options); + writer.WritePropertyName("id"u8); + writer.WriteStringValue(Id); + } + writer.WritePropertyName("name"u8); + writer.WriteStringValue(Name); + if (options.Format != "W" && Optional.IsDefined(JwtToken)) + { + writer.WritePropertyName("jwtToken"u8); + writer.WriteStringValue(JwtToken); + } + if (options.Format != "W") + { + writer.WritePropertyName("createdAt"u8); + writer.WriteStringValue(CreatedAt, "O"); + } + writer.WritePropertyName("expiryAt"u8); + writer.WriteStringValue(ExpiryAt, "O"); + if (options.Format != "W") + { + writer.WritePropertyName("state"u8); + writer.WriteStringValue(State.ToString()); } - writer.WriteEndArray(); if (options.Format != "W" && _serializedAdditionalRawData != null) { foreach (var item in _serializedAdditionalRawData) @@ -60,19 +75,19 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit } } - DidDocument IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + AccessToken IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; if (format != "J") { - throw new FormatException($"The model {nameof(DidDocument)} does not support reading '{format}' format."); + throw new FormatException($"The model {nameof(AccessToken)} does not support reading '{format}' format."); } using JsonDocument document = JsonDocument.ParseValue(ref reader); - return DeserializeDidDocument(document.RootElement, options); + return DeserializeAccessToken(document.RootElement, options); } - internal static DidDocument DeserializeDidDocument(JsonElement element, ModelReaderWriterOptions options = null) + internal static AccessToken DeserializeAccessToken(JsonElement element, ModelReaderWriterOptions options = null) { options ??= ModelSerializationExtensions.WireOptions; @@ -80,25 +95,44 @@ internal static DidDocument DeserializeDidDocument(JsonElement element, ModelRea { return null; } - string id = default; - IReadOnlyList assertionMethod = default; + Guid id = default; + string name = default; + string jwtToken = default; + DateTimeOffset createdAt = default; + DateTimeOffset expiryAt = default; + AccessTokenState state = default; IDictionary serializedAdditionalRawData = default; Dictionary rawDataDictionary = new Dictionary(); foreach (var property in element.EnumerateObject()) { if (property.NameEquals("id"u8)) { - id = property.Value.GetString(); + id = property.Value.GetGuid(); continue; } - if (property.NameEquals("assertionMethod"u8)) + if (property.NameEquals("name"u8)) { - List array = new List(); - foreach (var item in property.Value.EnumerateArray()) - { - array.Add(DidDocumentKey.DeserializeDidDocumentKey(item, options)); - } - assertionMethod = array; + name = property.Value.GetString(); + continue; + } + if (property.NameEquals("jwtToken"u8)) + { + jwtToken = property.Value.GetString(); + continue; + } + if (property.NameEquals("createdAt"u8)) + { + createdAt = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("expiryAt"u8)) + { + expiryAt = property.Value.GetDateTimeOffset("O"); + continue; + } + if (property.NameEquals("state"u8)) + { + state = new AccessTokenState(property.Value.GetString()); continue; } if (options.Format != "W") @@ -107,46 +141,53 @@ internal static DidDocument DeserializeDidDocument(JsonElement element, ModelRea } } serializedAdditionalRawData = rawDataDictionary; - return new DidDocument(id, assertionMethod, serializedAdditionalRawData); + return new AccessToken( + id, + name, + jwtToken, + createdAt, + expiryAt, + state, + serializedAdditionalRawData); } - BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": return ModelReaderWriter.Write(this, options); default: - throw new FormatException($"The model {nameof(DidDocument)} does not support writing '{options.Format}' format."); + throw new FormatException($"The model {nameof(AccessToken)} does not support writing '{options.Format}' format."); } } - DidDocument IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + AccessToken IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) { - var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; switch (format) { case "J": { using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeDidDocument(document.RootElement, options); + return DeserializeAccessToken(document.RootElement, options); } default: - throw new FormatException($"The model {nameof(DidDocument)} does not support reading '{options.Format}' format."); + throw new FormatException($"The model {nameof(AccessToken)} does not support reading '{options.Format}' format."); } } - string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; /// Deserializes the model from a raw response. /// The response to deserialize the model from. - internal static DidDocument FromResponse(Response response) + internal static AccessToken FromResponse(Response response) { using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); - return DeserializeDidDocument(document.RootElement); + return DeserializeAccessToken(document.RootElement); } /// Convert into a . diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessToken.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessToken.cs new file mode 100644 index 000000000000..f681c953a689 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessToken.cs @@ -0,0 +1,97 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + /// Model of an access-token linked to an account. + public partial class AccessToken + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + /// The access-token name. + /// The access-token expiryAt utcDateTime. + /// is null. + public AccessToken(string name, DateTimeOffset expiryAt) + { + Argument.AssertNotNull(name, nameof(name)); + + Name = name; + ExpiryAt = expiryAt; + } + + /// Initializes a new instance of . + /// The access-token id. + /// The access-token name. + /// The access-token value in JWT format. + /// The access-token createdAt utcDateTime. + /// The access-token expiryAt utcDateTime. + /// The access-token state - Active | Expired. + /// Keeps track of any properties unknown to the library. + internal AccessToken(Guid id, string name, string jwtToken, DateTimeOffset createdAt, DateTimeOffset expiryAt, AccessTokenState state, IDictionary serializedAdditionalRawData) + { + Id = id; + Name = name; + JwtToken = jwtToken; + CreatedAt = createdAt; + ExpiryAt = expiryAt; + State = state; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// Initializes a new instance of for deserialization. + internal AccessToken() + { + } + + /// The access-token id. + public Guid Id { get; } + /// The access-token name. + public string Name { get; set; } + /// The access-token value in JWT format. + public string JwtToken { get; } + /// The access-token createdAt utcDateTime. + public DateTimeOffset CreatedAt { get; } + /// The access-token expiryAt utcDateTime. + public DateTimeOffset ExpiryAt { get; set; } + /// The access-token state - Active | Expired. + public AccessTokenState State { get; } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessTokenState.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessTokenState.cs new file mode 100644 index 000000000000..f321e8733180 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessTokenState.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + /// The access-token state. + public readonly partial struct AccessTokenState : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public AccessTokenState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string ActiveValue = "Active"; + private const string ExpiredValue = "Expired"; + + /// The access-token is Active. + public static AccessTokenState Active { get; } = new AccessTokenState(ActiveValue); + /// The access-token is Expired. + public static AccessTokenState Expired { get; } = new AccessTokenState(ExpiredValue); + /// Determines if two values are the same. + public static bool operator ==(AccessTokenState left, AccessTokenState right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(AccessTokenState left, AccessTokenState right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator AccessTokenState(string value) => new AccessTokenState(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is AccessTokenState other && Equals(other); + /// + public bool Equals(AccessTokenState other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessTokens.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessTokens.cs new file mode 100644 index 000000000000..141567fa8cc8 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccessTokens.cs @@ -0,0 +1,562 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading; +using System.Threading.Tasks; +using Autorest.CSharp.Core; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + // Data plane generated sub-client. + /// The AccessTokens sub-client. + public partial class AccessTokens + { + private static readonly string[] AuthorizationScopes = new string[] { "https://playwright.microsoft.com/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly Uri _endpoint; + private readonly string _apiVersion; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of AccessTokens for mocking. + protected AccessTokens() + { + } + + /// Initializes a new instance of AccessTokens. + /// The handler for diagnostic messaging in the client. + /// The HTTP pipeline for sending and receiving REST requests and responses. + /// The token credential to copy. + /// + /// Supported Azure Playwright Service API Endpoints (protocol and hostname, for example: + /// https://{region}.api.playwright.microsoft.com). + /// + /// The API version to use for this operation. + internal AccessTokens(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, TokenCredential tokenCredential, Uri endpoint, string apiVersion) + { + ClientDiagnostics = clientDiagnostics; + _pipeline = pipeline; + _tokenCredential = tokenCredential; + _endpoint = endpoint; + _apiVersion = apiVersion; + } + + /// Creates an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID. + /// The account id. + /// The access-token id. + /// The resource instance. + /// The cancellation token to use. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual async Task> CreateOrReplaceAsync(string accountId, Guid accessTokenId, AccessToken resource, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + Argument.AssertNotNull(resource, nameof(resource)); + + using RequestContent content = resource.ToRequestContent(); + RequestContext context = FromCancellationToken(cancellationToken); + Response response = await CreateOrReplaceAsync(accountId, accessTokenId, content, context).ConfigureAwait(false); + return Response.FromValue(AccessToken.FromResponse(response), response); + } + + /// Creates an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID. + /// The account id. + /// The access-token id. + /// The resource instance. + /// The cancellation token to use. + /// or is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual Response CreateOrReplace(string accountId, Guid accessTokenId, AccessToken resource, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + Argument.AssertNotNull(resource, nameof(resource)); + + using RequestContent content = resource.ToRequestContent(); + RequestContext context = FromCancellationToken(cancellationToken); + Response response = CreateOrReplace(accountId, accessTokenId, content, context); + return Response.FromValue(AccessToken.FromResponse(response), response); + } + + /// + /// [Protocol Method] Creates an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID. + /// + /// + /// + /// 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 account id. + /// The access-token id. + /// The content to send as the body of the request. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or 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 CreateOrReplaceAsync(string accountId, Guid accessTokenId, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("AccessTokens.CreateOrReplace"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrReplaceRequest(accountId, accessTokenId, content, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// [Protocol Method] Creates an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID. + /// + /// + /// + /// 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 account id. + /// The access-token id. + /// The content to send as the body of the request. + /// The request context, which can override default behaviors of the client pipeline on a per-call basis. + /// or 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 CreateOrReplace(string accountId, Guid accessTokenId, RequestContent content, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + Argument.AssertNotNull(content, nameof(content)); + + using var scope = ClientDiagnostics.CreateScope("AccessTokens.CreateOrReplace"); + scope.Start(); + try + { + using HttpMessage message = CreateCreateOrReplaceRequest(accountId, accessTokenId, content, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID. + /// The account id. + /// The access-token id. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual async Task> GetAccessTokenAsync(string accountId, Guid accessTokenId, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + RequestContext context = FromCancellationToken(cancellationToken); + Response response = await GetAccessTokenAsync(accountId, accessTokenId, context).ConfigureAwait(false); + return Response.FromValue(AccessToken.FromResponse(response), response); + } + + /// Gets an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID. + /// The account id. + /// The access-token id. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual Response GetAccessToken(string accountId, Guid accessTokenId, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + RequestContext context = FromCancellationToken(cancellationToken); + Response response = GetAccessToken(accountId, accessTokenId, context); + return Response.FromValue(AccessToken.FromResponse(response), response); + } + + /// + /// [Protocol Method] Gets an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID. + /// + /// + /// + /// 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 account id. + /// The access-token id. + /// 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 GetAccessTokenAsync(string accountId, Guid accessTokenId, RequestContext context) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + using var scope = ClientDiagnostics.CreateScope("AccessTokens.GetAccessToken"); + scope.Start(); + try + { + using HttpMessage message = CreateGetAccessTokenRequest(accountId, accessTokenId, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// [Protocol Method] Gets an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID. + /// + /// + /// + /// 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 account id. + /// The access-token id. + /// 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 GetAccessToken(string accountId, Guid accessTokenId, RequestContext context) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + using var scope = ClientDiagnostics.CreateScope("AccessTokens.GetAccessToken"); + scope.Start(); + try + { + using HttpMessage message = CreateGetAccessTokenRequest(accountId, accessTokenId, context); + return _pipeline.ProcessMessage(message, context); + } + 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] Deletes an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID. + /// + /// + /// + /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios. + /// + /// + /// + /// + /// The account id. + /// The access-token id. + /// 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 DeleteAsync(string accountId, Guid accessTokenId, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + using var scope = ClientDiagnostics.CreateScope("AccessTokens.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(accountId, accessTokenId, 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] Deletes an access-token for the account with given access-token id. Authorization required is Bearer JWT Access token provided by EntraID. + /// + /// + /// + /// This protocol method allows explicit creation of the request and processing of the response for advanced scenarios. + /// + /// + /// + /// + /// The account id. + /// The access-token id. + /// 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 Delete(string accountId, Guid accessTokenId, RequestContext context = null) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + using var scope = ClientDiagnostics.CreateScope("AccessTokens.Delete"); + scope.Start(); + try + { + using HttpMessage message = CreateDeleteRequest(accountId, accessTokenId, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Lists access-tokens for the given account id. It can use OData query params like $select, $filter, $orderby, $top and $skip. The default page size is 10. Use nextLink in response to fetch more objects in the list. Authorization required is Bearer JWT Access token provided by EntraID. + /// The account id. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual AsyncPageable GetAccessTokensAsync(string accountId, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; + HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetAccessTokensRequest(accountId, context); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetAccessTokensNextPageRequest(nextLink, accountId, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => AccessToken.DeserializeAccessToken(e), ClientDiagnostics, _pipeline, "AccessTokens.GetAccessTokens", "value", "nextLink", context); + } + + /// Lists access-tokens for the given account id. It can use OData query params like $select, $filter, $orderby, $top and $skip. The default page size is 10. Use nextLink in response to fetch more objects in the list. Authorization required is Bearer JWT Access token provided by EntraID. + /// The account id. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual Pageable GetAccessTokens(string accountId, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + RequestContext context = cancellationToken.CanBeCanceled ? new RequestContext { CancellationToken = cancellationToken } : null; + HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetAccessTokensRequest(accountId, context); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetAccessTokensNextPageRequest(nextLink, accountId, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => AccessToken.DeserializeAccessToken(e), ClientDiagnostics, _pipeline, "AccessTokens.GetAccessTokens", "value", "nextLink", context); + } + + /// + /// [Protocol Method] Lists access-tokens for the given account id. It can use OData query params like $select, $filter, $orderby, $top and $skip. The default page size is 10. Use nextLink in response to fetch more objects in the list. Authorization required is Bearer JWT Access token provided by EntraID. + /// + /// + /// + /// 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 account id. + /// 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 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 GetAccessTokensAsync(string accountId, RequestContext context) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetAccessTokensRequest(accountId, context); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetAccessTokensNextPageRequest(nextLink, accountId, context); + return GeneratorPageableHelpers.CreateAsyncPageable(FirstPageRequest, NextPageRequest, e => BinaryData.FromString(e.GetRawText()), ClientDiagnostics, _pipeline, "AccessTokens.GetAccessTokens", "value", "nextLink", context); + } + + /// + /// [Protocol Method] Lists access-tokens for the given account id. It can use OData query params like $select, $filter, $orderby, $top and $skip. The default page size is 10. Use nextLink in response to fetch more objects in the list. Authorization required is Bearer JWT Access token provided by EntraID. + /// + /// + /// + /// 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 account id. + /// 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 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 GetAccessTokens(string accountId, RequestContext context) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + HttpMessage FirstPageRequest(int? pageSizeHint) => CreateGetAccessTokensRequest(accountId, context); + HttpMessage NextPageRequest(int? pageSizeHint, string nextLink) => CreateGetAccessTokensNextPageRequest(nextLink, accountId, context); + return GeneratorPageableHelpers.CreatePageable(FirstPageRequest, NextPageRequest, e => BinaryData.FromString(e.GetRawText()), ClientDiagnostics, _pipeline, "AccessTokens.GetAccessTokens", "value", "nextLink", context); + } + + internal HttpMessage CreateCreateOrReplaceRequest(string accountId, Guid accessTokenId, RequestContent content, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200201); + var request = message.Request; + request.Method = RequestMethod.Put; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/accounts/", false); + uri.AppendPath(accountId, true); + uri.AppendPath("/access-tokens/", false); + uri.AppendPath(accessTokenId, true); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + request.Headers.Add("Content-Type", "application/json"); + request.Content = content; + return message; + } + + internal HttpMessage CreateGetAccessTokenRequest(string accountId, Guid accessTokenId, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/accounts/", false); + uri.AppendPath(accountId, true); + uri.AppendPath("/access-tokens/", false); + uri.AppendPath(accessTokenId, true); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateDeleteRequest(string accountId, Guid accessTokenId, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier204); + var request = message.Request; + request.Method = RequestMethod.Delete; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/accounts/", false); + uri.AppendPath(accountId, true); + uri.AppendPath("/access-tokens/", false); + uri.AppendPath(accessTokenId, true); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetAccessTokensRequest(string accountId, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/accounts/", false); + uri.AppendPath(accountId, true); + uri.AppendPath("/access-tokens", false); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetAccessTokensNextPageRequest(string nextLink, string accountId, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendRawNextLink(nextLink, false); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static RequestContext DefaultRequestContext = new RequestContext(); + internal static RequestContext FromCancellationToken(CancellationToken cancellationToken = default) + { + if (!cancellationToken.CanBeCanceled) + { + return DefaultRequestContext; + } + + return new RequestContext() { CancellationToken = cancellationToken }; + } + + private static ResponseClassifier _responseClassifier200201; + private static ResponseClassifier ResponseClassifier200201 => _responseClassifier200201 ??= new StatusCodeClassifier(stackalloc ushort[] { 200, 201 }); + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier204; + private static ResponseClassifier ResponseClassifier204 => _responseClassifier204 ??= new StatusCodeClassifier(stackalloc ushort[] { 204 }); + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Account.Serialization.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Account.Serialization.cs new file mode 100644 index 000000000000..d7c296e6a58f --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Account.Serialization.cs @@ -0,0 +1,295 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using Azure.Core; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + public partial class Account : IUtf8JsonSerializable, IJsonModel + { + void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) => ((IJsonModel)this).Write(writer, ModelSerializationExtensions.WireOptions); + + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(Account)} does not support writing '{format}' format."); + } + + if (options.Format != "W") + { + writer.WritePropertyName("id"u8); + writer.WriteStringValue(Id); + } + if (options.Format != "W") + { + writer.WritePropertyName("resourceId"u8); + writer.WriteStringValue(ResourceId); + } + if (options.Format != "W") + { + writer.WritePropertyName("name"u8); + writer.WriteStringValue(Name); + } + if (options.Format != "W") + { + writer.WritePropertyName("state"u8); + writer.WriteStringValue(State.ToString()); + } + if (options.Format != "W") + { + writer.WritePropertyName("subscriptionId"u8); + writer.WriteStringValue(SubscriptionId); + } + if (options.Format != "W") + { + writer.WritePropertyName("subscriptionState"u8); + writer.WriteStringValue(SubscriptionState.ToString()); + } + if (options.Format != "W") + { + writer.WritePropertyName("tenantId"u8); + writer.WriteStringValue(TenantId); + } + if (options.Format != "W") + { + writer.WritePropertyName("location"u8); + writer.WriteStringValue(Location); + } + if (options.Format != "W" && Optional.IsDefined(RegionalAffinity)) + { + writer.WritePropertyName("regionalAffinity"u8); + writer.WriteStringValue(RegionalAffinity.Value.ToString()); + } + if (options.Format != "W" && Optional.IsDefined(ScalableExecution)) + { + writer.WritePropertyName("scalableExecution"u8); + writer.WriteStringValue(ScalableExecution.Value.ToString()); + } + if (options.Format != "W" && Optional.IsDefined(Reporting)) + { + writer.WritePropertyName("reporting"u8); + writer.WriteStringValue(Reporting.Value.ToString()); + } + if (options.Format != "W" && Optional.IsDefined(LocalAuth)) + { + writer.WritePropertyName("localAuth"u8); + writer.WriteStringValue(LocalAuth.Value.ToString()); + } + if (options.Format != "W" && _serializedAdditionalRawData != null) + { + foreach (var item in _serializedAdditionalRawData) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value, ModelSerializationExtensions.JsonDocumentOptions)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + Account IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(Account)} does not support reading '{format}' format."); + } + + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeAccount(document.RootElement, options); + } + + internal static Account DeserializeAccount(JsonElement element, ModelReaderWriterOptions options = null) + { + options ??= ModelSerializationExtensions.WireOptions; + + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string id = default; + string resourceId = default; + string name = default; + AccountState state = default; + Guid subscriptionId = default; + SubscriptionState subscriptionState = default; + Guid tenantId = default; + string location = default; + EnablementStatus? regionalAffinity = default; + EnablementStatus? scalableExecution = default; + EnablementStatus? reporting = default; + EnablementStatus? localAuth = default; + IDictionary serializedAdditionalRawData = default; + Dictionary rawDataDictionary = new Dictionary(); + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("id"u8)) + { + id = property.Value.GetString(); + continue; + } + if (property.NameEquals("resourceId"u8)) + { + resourceId = property.Value.GetString(); + continue; + } + if (property.NameEquals("name"u8)) + { + name = property.Value.GetString(); + continue; + } + if (property.NameEquals("state"u8)) + { + state = new AccountState(property.Value.GetString()); + continue; + } + if (property.NameEquals("subscriptionId"u8)) + { + subscriptionId = property.Value.GetGuid(); + continue; + } + if (property.NameEquals("subscriptionState"u8)) + { + subscriptionState = new SubscriptionState(property.Value.GetString()); + continue; + } + if (property.NameEquals("tenantId"u8)) + { + tenantId = property.Value.GetGuid(); + continue; + } + if (property.NameEquals("location"u8)) + { + location = property.Value.GetString(); + continue; + } + if (property.NameEquals("regionalAffinity"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + regionalAffinity = new EnablementStatus(property.Value.GetString()); + continue; + } + if (property.NameEquals("scalableExecution"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + scalableExecution = new EnablementStatus(property.Value.GetString()); + continue; + } + if (property.NameEquals("reporting"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + reporting = new EnablementStatus(property.Value.GetString()); + continue; + } + if (property.NameEquals("localAuth"u8)) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + localAuth = new EnablementStatus(property.Value.GetString()); + continue; + } + if (options.Format != "W") + { + rawDataDictionary.Add(property.Name, BinaryData.FromString(property.Value.GetRawText())); + } + } + serializedAdditionalRawData = rawDataDictionary; + return new Account( + id, + resourceId, + name, + state, + subscriptionId, + subscriptionState, + tenantId, + location, + regionalAffinity, + scalableExecution, + reporting, + localAuth, + serializedAdditionalRawData); + } + + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options); + default: + throw new FormatException($"The model {nameof(Account)} does not support writing '{options.Format}' format."); + } + } + + Account IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) + { + var format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + + switch (format) + { + case "J": + { + using JsonDocument document = JsonDocument.Parse(data, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeAccount(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(Account)} does not support reading '{options.Format}' format."); + } + } + + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + + /// Deserializes the model from a raw response. + /// The response to deserialize the model from. + internal static Account FromResponse(Response response) + { + using var document = JsonDocument.Parse(response.Content, ModelSerializationExtensions.JsonDocumentOptions); + return DeserializeAccount(document.RootElement); + } + + /// Convert into a . + internal virtual RequestContent ToRequestContent() + { + var content = new Utf8JsonRequestContent(); + content.JsonWriter.WriteObjectValue(this, ModelSerializationExtensions.WireOptions); + return content; + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Account.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Account.cs new file mode 100644 index 000000000000..be4afd6848bb --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Account.cs @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + /// An account is a parent resource for most of the other service resources. It's directly mapped to an Azure resource. + public partial class Account + { + /// + /// Keeps track of any properties unknown to the library. + /// + /// To assign an object to the value of this property use . + /// + /// + /// To assign an already formatted json string to this property use . + /// + /// + /// Examples: + /// + /// + /// BinaryData.FromObjectAsJson("foo") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromString("\"foo\"") + /// Creates a payload of "foo". + /// + /// + /// BinaryData.FromObjectAsJson(new { key = "value" }) + /// Creates a payload of { "key": "value" }. + /// + /// + /// BinaryData.FromString("{\"key\": \"value\"}") + /// Creates a payload of { "key": "value" }. + /// + /// + /// + /// + private IDictionary _serializedAdditionalRawData; + + /// Initializes a new instance of . + internal Account() + { + } + + /// Initializes a new instance of . + /// The account id. + /// The fully-qualified Azure resource id for the account. + /// The account name. + /// The state of account - Active | Inactive. + /// The Azure subscription id for the account. + /// The Azure subscription state - Registered | Unregistered | Warned | Suspended | Deleted. + /// The Azure tenant id of the account. + /// The account resource location in Azure, for eg. eastus, southeastasia. + /// This property sets the connection region for Playwright client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created. + /// When enabled, Playwright client workers can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing test completion durations. + /// When enabled, this feature allows the workspace to upload and display test results, including artifacts like traces and screenshots, in the Playwright portal. This enables faster and more efficient troubleshooting. + /// When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations. + /// Keeps track of any properties unknown to the library. + internal Account(string id, string resourceId, string name, AccountState state, Guid subscriptionId, SubscriptionState subscriptionState, Guid tenantId, string location, EnablementStatus? regionalAffinity, EnablementStatus? scalableExecution, EnablementStatus? reporting, EnablementStatus? localAuth, IDictionary serializedAdditionalRawData) + { + Id = id; + ResourceId = resourceId; + Name = name; + State = state; + SubscriptionId = subscriptionId; + SubscriptionState = subscriptionState; + TenantId = tenantId; + Location = location; + RegionalAffinity = regionalAffinity; + ScalableExecution = scalableExecution; + Reporting = reporting; + LocalAuth = localAuth; + _serializedAdditionalRawData = serializedAdditionalRawData; + } + + /// The account id. + public string Id { get; } + /// The fully-qualified Azure resource id for the account. + public string ResourceId { get; } + /// The account name. + public string Name { get; } + /// The state of account - Active | Inactive. + public AccountState State { get; } + /// The Azure subscription id for the account. + public Guid SubscriptionId { get; } + /// The Azure subscription state - Registered | Unregistered | Warned | Suspended | Deleted. + public SubscriptionState SubscriptionState { get; } + /// The Azure tenant id of the account. + public Guid TenantId { get; } + /// The account resource location in Azure, for eg. eastus, southeastasia. + public string Location { get; } + /// This property sets the connection region for Playwright client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created. + public EnablementStatus? RegionalAffinity { get; } + /// When enabled, Playwright client workers can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing test completion durations. + public EnablementStatus? ScalableExecution { get; } + /// When enabled, this feature allows the workspace to upload and display test results, including artifacts like traces and screenshots, in the Playwright portal. This enables faster and more efficient troubleshooting. + public EnablementStatus? Reporting { get; } + /// When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations. + public EnablementStatus? LocalAuth { get; } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccountState.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccountState.cs new file mode 100644 index 000000000000..bac66ed7f0e2 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AccountState.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + /// The account state. + public readonly partial struct AccountState : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public AccountState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string ActiveValue = "Active"; + private const string InactiveValue = "Inactive"; + + /// The account is Active. + public static AccountState Active { get; } = new AccountState(ActiveValue); + /// The account is Inactive. + public static AccountState Inactive { get; } = new AccountState(InactiveValue); + /// Determines if two values are the same. + public static bool operator ==(AccountState left, AccountState right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(AccountState left, AccountState right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator AccountState(string value) => new AccountState(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is AccountState other && Equals(other); + /// + public bool Equals(AccountState other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Accounts.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Accounts.cs new file mode 100644 index 000000000000..c7773ce95649 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Accounts.cs @@ -0,0 +1,340 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + // Data plane generated sub-client. + /// The Accounts sub-client. + public partial class Accounts + { + private static readonly string[] AuthorizationScopes = new string[] { "https://playwright.microsoft.com/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly Uri _endpoint; + private readonly string _apiVersion; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of Accounts for mocking. + protected Accounts() + { + } + + /// Initializes a new instance of Accounts. + /// The handler for diagnostic messaging in the client. + /// The HTTP pipeline for sending and receiving REST requests and responses. + /// The token credential to copy. + /// + /// Supported Azure Playwright Service API Endpoints (protocol and hostname, for example: + /// https://{region}.api.playwright.microsoft.com). + /// + /// The API version to use for this operation. + internal Accounts(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, TokenCredential tokenCredential, Uri endpoint, string apiVersion) + { + ClientDiagnostics = clientDiagnostics; + _pipeline = pipeline; + _tokenCredential = tokenCredential; + _endpoint = endpoint; + _apiVersion = apiVersion; + } + + /// Get details of the Azure resource mapped to an account for the given account id. Authorization required is Bearer JWT Access token provided by EntraID. + /// The account id. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual async Task> GetAccountAsync(string accountId, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + RequestContext context = FromCancellationToken(cancellationToken); + Response response = await GetAccountAsync(accountId, context).ConfigureAwait(false); + return Response.FromValue(Account.FromResponse(response), response); + } + + /// Get details of the Azure resource mapped to an account for the given account id. Authorization required is Bearer JWT Access token provided by EntraID. + /// The account id. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual Response GetAccount(string accountId, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + RequestContext context = FromCancellationToken(cancellationToken); + Response response = GetAccount(accountId, context); + return Response.FromValue(Account.FromResponse(response), response); + } + + /// + /// [Protocol Method] Get details of the Azure resource mapped to an account for the given account id. Authorization required is Bearer JWT Access token provided by EntraID. + /// + /// + /// + /// 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 account id. + /// 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 GetAccountAsync(string accountId, RequestContext context) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + using var scope = ClientDiagnostics.CreateScope("Accounts.GetAccount"); + scope.Start(); + try + { + using HttpMessage message = CreateGetAccountRequest(accountId, context); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// [Protocol Method] Get details of the Azure resource mapped to an account for the given account id. Authorization required is Bearer JWT Access token provided by EntraID. + /// + /// + /// + /// 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 account id. + /// 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 GetAccount(string accountId, RequestContext context) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + using var scope = ClientDiagnostics.CreateScope("Accounts.GetAccount"); + scope.Start(); + try + { + using HttpMessage message = CreateGetAccountRequest(accountId, context); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Gets remote browsers corresponding to given account id and redirects the client for running Playwright tests. Authorization required is Bearer JWT Access token provided by EntraID or Microsoft Playwright Testing Service. + /// The account id. + /// The run id provided by client for corresponding remote test run. + /// The os provided by client for remote test runs. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual async Task GetBrowsersAsync(string accountId, string runId = null, OS? os = null, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + RequestContext context = FromCancellationToken(cancellationToken); + Response response = await GetBrowsersAsync(accountId, runId, os?.ToString(), context).ConfigureAwait(false); + return response; + } + + /// Gets remote browsers corresponding to given account id and redirects the client for running Playwright tests. Authorization required is Bearer JWT Access token provided by EntraID or Microsoft Playwright Testing Service. + /// The account id. + /// The run id provided by client for corresponding remote test run. + /// The os provided by client for remote test runs. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + /// + public virtual Response GetBrowsers(string accountId, string runId = null, OS? os = null, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + RequestContext context = FromCancellationToken(cancellationToken); + Response response = GetBrowsers(accountId, runId, os?.ToString(), context); + return response; + } + + /// + /// [Protocol Method] Gets remote browsers corresponding to given account id and redirects the client for running Playwright tests. Authorization required is Bearer JWT Access token provided by EntraID or Microsoft Playwright Testing Service. + /// + /// + /// + /// 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 account id. + /// The run id provided by client for corresponding remote test run. + /// The os provided by client for remote test runs. Allowed values: "Linux" | "Windows". + /// 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 GetBrowsersAsync(string accountId, string runId, string os, RequestContext context) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + using var scope = ClientDiagnostics.CreateScope("Accounts.GetBrowsers"); + scope.Start(); + try + { + using HttpMessage message = CreateGetBrowsersRequest(accountId, runId, os, context); + RedirectPolicy.SetAllowAutoRedirect(message, true); + return await _pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// + /// [Protocol Method] Gets remote browsers corresponding to given account id and redirects the client for running Playwright tests. Authorization required is Bearer JWT Access token provided by EntraID or Microsoft Playwright Testing Service. + /// + /// + /// + /// 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 account id. + /// The run id provided by client for corresponding remote test run. + /// The os provided by client for remote test runs. Allowed values: "Linux" | "Windows". + /// 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 GetBrowsers(string accountId, string runId, string os, RequestContext context) + { + Argument.AssertNotNullOrEmpty(accountId, nameof(accountId)); + + using var scope = ClientDiagnostics.CreateScope("Accounts.GetBrowsers"); + scope.Start(); + try + { + using HttpMessage message = CreateGetBrowsersRequest(accountId, runId, os, context); + RedirectPolicy.SetAllowAutoRedirect(message, true); + return _pipeline.ProcessMessage(message, context); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + internal HttpMessage CreateGetAccountRequest(string accountId, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier200); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/accounts/", false); + uri.AppendPath(accountId, true); + uri.AppendQuery("api-version", _apiVersion, true); + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + internal HttpMessage CreateGetBrowsersRequest(string accountId, string runId, string os, RequestContext context) + { + var message = _pipeline.CreateMessage(context, ResponseClassifier302); + var request = message.Request; + request.Method = RequestMethod.Get; + var uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/accounts/", false); + uri.AppendPath(accountId, true); + uri.AppendPath("/browsers", false); + uri.AppendQuery("api-version", _apiVersion, true); + if (runId != null) + { + uri.AppendQuery("runId", runId, true); + } + if (os != null) + { + uri.AppendQuery("os", os, true); + } + request.Uri = uri; + request.Headers.Add("Accept", "application/json"); + return message; + } + + private static RequestContext DefaultRequestContext = new RequestContext(); + internal static RequestContext FromCancellationToken(CancellationToken cancellationToken = default) + { + if (!cancellationToken.CanBeCanceled) + { + return DefaultRequestContext; + } + + return new RequestContext() { CancellationToken = cancellationToken }; + } + + private static ResponseClassifier _responseClassifier200; + private static ResponseClassifier ResponseClassifier200 => _responseClassifier200 ??= new StatusCodeClassifier(stackalloc ushort[] { 200 }); + private static ResponseClassifier _responseClassifier302; + private static ResponseClassifier ResponseClassifier302 => _responseClassifier302 ??= new StatusCodeClassifier(stackalloc ushort[] { 302 }); + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AuthManagerClient.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AuthManagerClient.cs new file mode 100644 index 000000000000..aeae0a5f3275 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AuthManagerClient.cs @@ -0,0 +1,85 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + // Data plane generated client. + /// The AuthManager service client. + public partial class AuthManagerClient + { + private static readonly string[] AuthorizationScopes = new string[] { "https://playwright.microsoft.com/.default" }; + private readonly TokenCredential _tokenCredential; + private readonly HttpPipeline _pipeline; + private readonly Uri _endpoint; + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline => _pipeline; + + /// Initializes a new instance of AuthManagerClient for mocking. + protected AuthManagerClient() + { + } + + /// Initializes a new instance of AuthManagerClient. + /// + /// Supported Azure Playwright Service API Endpoints (protocol and hostname, for example: + /// https://{region}.api.playwright.microsoft.com). + /// + /// A credential used to authenticate to an Azure Service. + /// or is null. + public AuthManagerClient(Uri endpoint, TokenCredential credential) : this(endpoint, credential, new AuthManagerClientOptions()) + { + } + + /// Initializes a new instance of AuthManagerClient. + /// + /// Supported Azure Playwright Service API Endpoints (protocol and hostname, for example: + /// https://{region}.api.playwright.microsoft.com). + /// + /// A credential used to authenticate to an Azure Service. + /// The options for configuring the client. + /// or is null. + public AuthManagerClient(Uri endpoint, TokenCredential credential, AuthManagerClientOptions options) + { + Argument.AssertNotNull(endpoint, nameof(endpoint)); + Argument.AssertNotNull(credential, nameof(credential)); + options ??= new AuthManagerClientOptions(); + + ClientDiagnostics = new ClientDiagnostics(options, true); + _tokenCredential = credential; + _pipeline = HttpPipelineBuilder.Build(options, Array.Empty(), new HttpPipelinePolicy[] { new BearerTokenAuthenticationPolicy(_tokenCredential, AuthorizationScopes) }, new ResponseClassifier()); + _endpoint = endpoint; + } + + /// Initializes a new instance of AccessTokens. + /// The API version to use for this operation. + /// is null. + public virtual AccessTokens GetAccessTokensClient(string apiVersion = "2024-12-01") + { + Argument.AssertNotNull(apiVersion, nameof(apiVersion)); + + return new AccessTokens(ClientDiagnostics, _pipeline, _tokenCredential, _endpoint, apiVersion); + } + + /// Initializes a new instance of Accounts. + /// The API version to use for this operation. + /// is null. + public virtual Accounts GetAccountsClient(string apiVersion = "2024-12-01") + { + Argument.AssertNotNull(apiVersion, nameof(apiVersion)); + + return new Accounts(ClientDiagnostics, _pipeline, _tokenCredential, _endpoint, apiVersion); + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AuthManagerClientOptions.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AuthManagerClientOptions.cs new file mode 100644 index 000000000000..99fd673ddfd4 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/AuthManagerClientOptions.cs @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using Azure.Core; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + /// Client options for AuthManagerClient. + public partial class AuthManagerClientOptions : ClientOptions + { + private const ServiceVersion LatestVersion = ServiceVersion.V2024_12_01; + + /// The version of the service to use. + public enum ServiceVersion + { + /// Service version "2024-12-01". + V2024_12_01 = 1, + } + + internal string Version { get; } + + /// Initializes new instance of AuthManagerClientOptions. + public AuthManagerClientOptions(ServiceVersion version = LatestVersion) + { + Version = version switch + { + ServiceVersion.V2024_12_01 => "2024-12-01", + _ => throw new NotSupportedException() + }; + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/DeveloperMicrosoftPlaywrightTestingClientBuilderExtensions.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/DeveloperMicrosoftPlaywrightTestingClientBuilderExtensions.cs new file mode 100644 index 000000000000..364126f7a80c --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/DeveloperMicrosoftPlaywrightTestingClientBuilderExtensions.cs @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using Azure.Core.Extensions; +using Azure.Developer.MicrosoftPlaywrightTesting; + +namespace Microsoft.Extensions.Azure +{ + /// Extension methods to add to client builder. + public static partial class DeveloperMicrosoftPlaywrightTestingClientBuilderExtensions + { + /// Registers a instance. + /// The builder to register with. + /// + /// Supported Azure Playwright Service API Endpoints (protocol and hostname, for example: + /// https://{region}.api.playwright.microsoft.com). + /// + public static IAzureClientBuilder AddAuthManagerClient(this TBuilder builder, Uri endpoint) + where TBuilder : IAzureClientFactoryBuilderWithCredential + { + return builder.RegisterClientFactory((options, cred) => new AuthManagerClient(endpoint, cred, options)); + } + + /// Registers a instance. + /// The builder to register with. + /// The configuration values. + public static IAzureClientBuilder AddAuthManagerClient(this TBuilder builder, TConfiguration configuration) + where TBuilder : IAzureClientFactoryBuilderWithConfiguration + { + return builder.RegisterClientFactory(configuration); + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/DeveloperMicrosoftPlaywrightTestingModelFactory.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/DeveloperMicrosoftPlaywrightTestingModelFactory.cs new file mode 100644 index 000000000000..91a05b3a7100 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/DeveloperMicrosoftPlaywrightTestingModelFactory.cs @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using System.Linq; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + /// Model factory for models. + public static partial class DeveloperMicrosoftPlaywrightTestingModelFactory + { + /// Initializes a new instance of . + /// The account id. + /// The fully-qualified Azure resource id for the account. + /// The account name. + /// The state of account - Active | Inactive. + /// The Azure subscription id for the account. + /// The Azure subscription state - Registered | Unregistered | Warned | Suspended | Deleted. + /// The Azure tenant id of the account. + /// The account resource location in Azure, for eg. eastus, southeastasia. + /// This property sets the connection region for Playwright client workers to cloud-hosted browsers. If enabled, workers connect to browsers in the closest Azure region, ensuring lower latency. If disabled, workers connect to browsers in the Azure region in which the workspace was initially created. + /// When enabled, Playwright client workers can connect to cloud-hosted browsers. This can increase the number of parallel workers for a test run, significantly minimizing test completion durations. + /// When enabled, this feature allows the workspace to upload and display test results, including artifacts like traces and screenshots, in the Playwright portal. This enables faster and more efficient troubleshooting. + /// When enabled, this feature allows the workspace to use local auth (through service access token) for executing operations. + /// A new instance for mocking. + public static Account Account(string id = null, string resourceId = null, string name = null, AccountState state = default, Guid subscriptionId = default, SubscriptionState subscriptionState = default, Guid tenantId = default, string location = null, EnablementStatus? regionalAffinity = null, EnablementStatus? scalableExecution = null, EnablementStatus? reporting = null, EnablementStatus? localAuth = null) + { + return new Account( + id, + resourceId, + name, + state, + subscriptionId, + subscriptionState, + tenantId, + location, + regionalAffinity, + scalableExecution, + reporting, + localAuth, + serializedAdditionalRawData: null); + } + + /// Initializes a new instance of . + /// The access-token id. + /// The access-token name. + /// The access-token value in JWT format. + /// The access-token createdAt utcDateTime. + /// The access-token expiryAt utcDateTime. + /// The access-token state - Active | Expired. + /// A new instance for mocking. + public static AccessToken AccessToken(Guid id = default, string name = null, string jwtToken = null, DateTimeOffset createdAt = default, DateTimeOffset expiryAt = default, AccessTokenState state = default) + { + return new AccessToken( + id, + name, + jwtToken, + createdAt, + expiryAt, + state, + serializedAdditionalRawData: null); + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Docs/AccessTokens.xml b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Docs/AccessTokens.xml new file mode 100644 index 000000000000..fe737d05e5e0 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Docs/AccessTokens.xml @@ -0,0 +1,225 @@ + + + + + +This sample shows how to call CreateOrReplaceAsync. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +AccessToken resource = new AccessToken("sampleAccessToken", DateTimeOffset.Parse("2022-09-28T12:32:33Z")); +Response response = await client.CreateOrReplaceAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), resource); +]]> + + + +This sample shows how to call CreateOrReplace. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +AccessToken resource = new AccessToken("sampleAccessToken", DateTimeOffset.Parse("2022-09-28T12:32:33Z")); +Response response = client.CreateOrReplace("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), resource); +]]> + + + +This sample shows how to call CreateOrReplaceAsync and parse the result. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +using RequestContent content = RequestContent.Create(new +{ + id = "00000000-0000-0000-0000-000000000000", + name = "sampleAccessToken", + expiryAt = "2022-09-28T12:32:33Z", +}); +Response response = await client.CreateOrReplaceAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), content); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("createdAt").ToString()); +Console.WriteLine(result.GetProperty("expiryAt").ToString()); +Console.WriteLine(result.GetProperty("state").ToString()); +]]> + + + +This sample shows how to call CreateOrReplace and parse the result. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +using RequestContent content = RequestContent.Create(new +{ + id = "00000000-0000-0000-0000-000000000000", + name = "sampleAccessToken", + expiryAt = "2022-09-28T12:32:33Z", +}); +Response response = client.CreateOrReplace("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), content); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("createdAt").ToString()); +Console.WriteLine(result.GetProperty("expiryAt").ToString()); +Console.WriteLine(result.GetProperty("state").ToString()); +]]> + + + +This sample shows how to call GetAccessTokenAsync. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +Response response = await client.GetAccessTokenAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000")); +]]> + + + +This sample shows how to call GetAccessToken. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +Response response = client.GetAccessToken("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000")); +]]> + + + +This sample shows how to call GetAccessTokenAsync and parse the result. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +Response response = await client.GetAccessTokenAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), null); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("createdAt").ToString()); +Console.WriteLine(result.GetProperty("expiryAt").ToString()); +Console.WriteLine(result.GetProperty("state").ToString()); +]]> + + + +This sample shows how to call GetAccessToken and parse the result. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +Response response = client.GetAccessToken("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), null); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("createdAt").ToString()); +Console.WriteLine(result.GetProperty("expiryAt").ToString()); +Console.WriteLine(result.GetProperty("state").ToString()); +]]> + + + +This sample shows how to call DeleteAsync. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +Response response = await client.DeleteAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000")); + +Console.WriteLine(response.Status); +]]> + + + +This sample shows how to call Delete. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +Response response = client.Delete("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000")); + +Console.WriteLine(response.Status); +]]> + + + +This sample shows how to call GetAccessTokensAsync. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +await foreach (AccessToken item in client.GetAccessTokensAsync("sampleAccountId_00000000-0000-0000-0000-000000000000")) +{ +} +]]> + + + +This sample shows how to call GetAccessTokens. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +foreach (AccessToken item in client.GetAccessTokens("sampleAccountId_00000000-0000-0000-0000-000000000000")) +{ +} +]]> + + + +This sample shows how to call GetAccessTokensAsync and parse the result. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +await foreach (BinaryData item in client.GetAccessTokensAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", null)) +{ + JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("createdAt").ToString()); + Console.WriteLine(result.GetProperty("expiryAt").ToString()); + Console.WriteLine(result.GetProperty("state").ToString()); +} +]]> + + + +This sample shows how to call GetAccessTokens and parse the result. +"); +TokenCredential credential = new DefaultAzureCredential(); +AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + +foreach (BinaryData item in client.GetAccessTokens("sampleAccountId_00000000-0000-0000-0000-000000000000", null)) +{ + JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("createdAt").ToString()); + Console.WriteLine(result.GetProperty("expiryAt").ToString()); + Console.WriteLine(result.GetProperty("state").ToString()); +} +]]> + + + \ No newline at end of file diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Docs/Accounts.xml b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Docs/Accounts.xml new file mode 100644 index 000000000000..62ebdf2b75ee --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Docs/Accounts.xml @@ -0,0 +1,117 @@ + + + + + +This sample shows how to call GetAccountAsync. +"); +TokenCredential credential = new DefaultAzureCredential(); +Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + +Response response = await client.GetAccountAsync("sampleAccountId_00000000-0000-0000-0000-000000000000"); +]]> + + + +This sample shows how to call GetAccount. +"); +TokenCredential credential = new DefaultAzureCredential(); +Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + +Response response = client.GetAccount("sampleAccountId_00000000-0000-0000-0000-000000000000"); +]]> + + + +This sample shows how to call GetAccountAsync and parse the result. +"); +TokenCredential credential = new DefaultAzureCredential(); +Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + +Response response = await client.GetAccountAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", null); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("state").ToString()); +Console.WriteLine(result.GetProperty("subscriptionId").ToString()); +Console.WriteLine(result.GetProperty("subscriptionState").ToString()); +Console.WriteLine(result.GetProperty("tenantId").ToString()); +Console.WriteLine(result.GetProperty("location").ToString()); +]]> + + + +This sample shows how to call GetAccount and parse the result. +"); +TokenCredential credential = new DefaultAzureCredential(); +Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + +Response response = client.GetAccount("sampleAccountId_00000000-0000-0000-0000-000000000000", null); + +JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; +Console.WriteLine(result.GetProperty("id").ToString()); +Console.WriteLine(result.GetProperty("resourceId").ToString()); +Console.WriteLine(result.GetProperty("name").ToString()); +Console.WriteLine(result.GetProperty("state").ToString()); +Console.WriteLine(result.GetProperty("subscriptionId").ToString()); +Console.WriteLine(result.GetProperty("subscriptionState").ToString()); +Console.WriteLine(result.GetProperty("tenantId").ToString()); +Console.WriteLine(result.GetProperty("location").ToString()); +]]> + + + +This sample shows how to call GetBrowsersAsync. +"); +TokenCredential credential = new DefaultAzureCredential(); +Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + +Response response = await client.GetBrowsersAsync("sampleAccountId_00000000-0000-0000-0000-000000000000"); +]]> + + + +This sample shows how to call GetBrowsers. +"); +TokenCredential credential = new DefaultAzureCredential(); +Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + +Response response = client.GetBrowsers("sampleAccountId_00000000-0000-0000-0000-000000000000"); +]]> + + + +This sample shows how to call GetBrowsersAsync. +"); +TokenCredential credential = new DefaultAzureCredential(); +Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + +Response response = await client.GetBrowsersAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", null, "Linux", null); + +Console.WriteLine(response.Status); +]]> + + + +This sample shows how to call GetBrowsers. +"); +TokenCredential credential = new DefaultAzureCredential(); +Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + +Response response = client.GetBrowsers("sampleAccountId_00000000-0000-0000-0000-000000000000", null, "Linux", null); + +Console.WriteLine(response.Status); +]]> + + + \ No newline at end of file diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/EnablementStatus.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/EnablementStatus.cs new file mode 100644 index 000000000000..98e5aab7d42d --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/EnablementStatus.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + /// The enablement status of a feature. + public readonly partial struct EnablementStatus : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public EnablementStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string EnabledValue = "Enabled"; + private const string DisabledValue = "Disabled"; + + /// The feature is Enabled. + public static EnablementStatus Enabled { get; } = new EnablementStatus(EnabledValue); + /// The feature is Disabled. + public static EnablementStatus Disabled { get; } = new EnablementStatus(DisabledValue); + /// Determines if two values are the same. + public static bool operator ==(EnablementStatus left, EnablementStatus right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(EnablementStatus left, EnablementStatus right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator EnablementStatus(string value) => new EnablementStatus(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is EnablementStatus other && Equals(other); + /// + public bool Equals(EnablementStatus other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Argument.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Argument.cs new file mode 100644 index 000000000000..751c33a54e9a --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Argument.cs @@ -0,0 +1,129 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections; +using System.Collections.Generic; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + internal static class Argument + { + public static void AssertNotNull(T value, string name) + { + if (value is null) + { + throw new ArgumentNullException(name); + } + } + + public static void AssertNotNull(T? value, string name) + where T : struct + { + if (!value.HasValue) + { + throw new ArgumentNullException(name); + } + } + + public static void AssertNotNullOrEmpty(IEnumerable value, string name) + { + if (value is null) + { + throw new ArgumentNullException(name); + } + if (value is ICollection collectionOfT && collectionOfT.Count == 0) + { + throw new ArgumentException("Value cannot be an empty collection.", name); + } + if (value is ICollection collection && collection.Count == 0) + { + throw new ArgumentException("Value cannot be an empty collection.", name); + } + using IEnumerator e = value.GetEnumerator(); + if (!e.MoveNext()) + { + throw new ArgumentException("Value cannot be an empty collection.", name); + } + } + + public static void AssertNotNullOrEmpty(string value, string name) + { + if (value is null) + { + throw new ArgumentNullException(name); + } + if (value.Length == 0) + { + throw new ArgumentException("Value cannot be an empty string.", name); + } + } + + public static void AssertNotNullOrWhiteSpace(string value, string name) + { + if (value is null) + { + throw new ArgumentNullException(name); + } + if (string.IsNullOrWhiteSpace(value)) + { + throw new ArgumentException("Value cannot be empty or contain only white-space characters.", name); + } + } + + public static void AssertNotDefault(ref T value, string name) + where T : struct, IEquatable + { + if (value.Equals(default)) + { + throw new ArgumentException("Value cannot be empty.", name); + } + } + + public static void AssertInRange(T value, T minimum, T maximum, string name) + where T : notnull, IComparable + { + if (minimum.CompareTo(value) > 0) + { + throw new ArgumentOutOfRangeException(name, "Value is less than the minimum allowed."); + } + if (maximum.CompareTo(value) < 0) + { + throw new ArgumentOutOfRangeException(name, "Value is greater than the maximum allowed."); + } + } + + public static void AssertEnumDefined(Type enumType, object value, string name) + { + if (!Enum.IsDefined(enumType, value)) + { + throw new ArgumentException($"Value not defined for {enumType.FullName}.", name); + } + } + + public static T CheckNotNull(T value, string name) + where T : class + { + AssertNotNull(value, name); + return value; + } + + public static string CheckNotNullOrEmpty(string value, string name) + { + AssertNotNullOrEmpty(value, name); + return value; + } + + public static void AssertNull(T value, string name, string message = null) + { + if (value != null) + { + throw new ArgumentException(message ?? "Value must be null.", name); + } + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ChangeTrackingDictionary.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ChangeTrackingDictionary.cs new file mode 100644 index 000000000000..f1d970892926 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ChangeTrackingDictionary.cs @@ -0,0 +1,167 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections; +using System.Collections.Generic; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + internal class ChangeTrackingDictionary : IDictionary, IReadOnlyDictionary where TKey : notnull + { + private IDictionary _innerDictionary; + + public ChangeTrackingDictionary() + { + } + + public ChangeTrackingDictionary(IDictionary dictionary) + { + if (dictionary == null) + { + return; + } + _innerDictionary = new Dictionary(dictionary); + } + + public ChangeTrackingDictionary(IReadOnlyDictionary dictionary) + { + if (dictionary == null) + { + return; + } + _innerDictionary = new Dictionary(); + foreach (var pair in dictionary) + { + _innerDictionary.Add(pair); + } + } + + public bool IsUndefined => _innerDictionary == null; + + public int Count => IsUndefined ? 0 : EnsureDictionary().Count; + + public bool IsReadOnly => IsUndefined ? false : EnsureDictionary().IsReadOnly; + + public ICollection Keys => IsUndefined ? Array.Empty() : EnsureDictionary().Keys; + + public ICollection Values => IsUndefined ? Array.Empty() : EnsureDictionary().Values; + + public TValue this[TKey key] + { + get + { + if (IsUndefined) + { + throw new KeyNotFoundException(nameof(key)); + } + return EnsureDictionary()[key]; + } + set + { + EnsureDictionary()[key] = value; + } + } + + IEnumerable IReadOnlyDictionary.Keys => Keys; + + IEnumerable IReadOnlyDictionary.Values => Values; + + public IEnumerator> GetEnumerator() + { + if (IsUndefined) + { + IEnumerator> enumerateEmpty() + { + yield break; + } + return enumerateEmpty(); + } + return EnsureDictionary().GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + + public void Add(KeyValuePair item) + { + EnsureDictionary().Add(item); + } + + public void Clear() + { + EnsureDictionary().Clear(); + } + + public bool Contains(KeyValuePair item) + { + if (IsUndefined) + { + return false; + } + return EnsureDictionary().Contains(item); + } + + public void CopyTo(KeyValuePair[] array, int index) + { + if (IsUndefined) + { + return; + } + EnsureDictionary().CopyTo(array, index); + } + + public bool Remove(KeyValuePair item) + { + if (IsUndefined) + { + return false; + } + return EnsureDictionary().Remove(item); + } + + public void Add(TKey key, TValue value) + { + EnsureDictionary().Add(key, value); + } + + public bool ContainsKey(TKey key) + { + if (IsUndefined) + { + return false; + } + return EnsureDictionary().ContainsKey(key); + } + + public bool Remove(TKey key) + { + if (IsUndefined) + { + return false; + } + return EnsureDictionary().Remove(key); + } + + public bool TryGetValue(TKey key, out TValue value) + { + if (IsUndefined) + { + value = default; + return false; + } + return EnsureDictionary().TryGetValue(key, out value); + } + + public IDictionary EnsureDictionary() + { + return _innerDictionary ??= new Dictionary(); + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ChangeTrackingList.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ChangeTrackingList.cs new file mode 100644 index 000000000000..19167552757e --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ChangeTrackingList.cs @@ -0,0 +1,153 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + internal class ChangeTrackingList : IList, IReadOnlyList + { + private IList _innerList; + + public ChangeTrackingList() + { + } + + public ChangeTrackingList(IList innerList) + { + if (innerList != null) + { + _innerList = innerList; + } + } + + public ChangeTrackingList(IReadOnlyList innerList) + { + if (innerList != null) + { + _innerList = innerList.ToList(); + } + } + + public bool IsUndefined => _innerList == null; + + public int Count => IsUndefined ? 0 : EnsureList().Count; + + public bool IsReadOnly => IsUndefined ? false : EnsureList().IsReadOnly; + + public T this[int index] + { + get + { + if (IsUndefined) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + return EnsureList()[index]; + } + set + { + if (IsUndefined) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + EnsureList()[index] = value; + } + } + + public void Reset() + { + _innerList = null; + } + + public IEnumerator GetEnumerator() + { + if (IsUndefined) + { + IEnumerator enumerateEmpty() + { + yield break; + } + return enumerateEmpty(); + } + return EnsureList().GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetEnumerator(); + } + + public void Add(T item) + { + EnsureList().Add(item); + } + + public void Clear() + { + EnsureList().Clear(); + } + + public bool Contains(T item) + { + if (IsUndefined) + { + return false; + } + return EnsureList().Contains(item); + } + + public void CopyTo(T[] array, int arrayIndex) + { + if (IsUndefined) + { + return; + } + EnsureList().CopyTo(array, arrayIndex); + } + + public bool Remove(T item) + { + if (IsUndefined) + { + return false; + } + return EnsureList().Remove(item); + } + + public int IndexOf(T item) + { + if (IsUndefined) + { + return -1; + } + return EnsureList().IndexOf(item); + } + + public void Insert(int index, T item) + { + EnsureList().Insert(index, item); + } + + public void RemoveAt(int index) + { + if (IsUndefined) + { + throw new ArgumentOutOfRangeException(nameof(index)); + } + EnsureList().RemoveAt(index); + } + + public IList EnsureList() + { + return _innerList ??= new List(); + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ModelSerializationExtensions.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ModelSerializationExtensions.cs new file mode 100644 index 000000000000..edae67d6f482 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/ModelSerializationExtensions.cs @@ -0,0 +1,399 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Diagnostics; +using System.Globalization; +using System.Text.Json; +using System.Xml; +using Azure.Core; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + internal static class ModelSerializationExtensions + { + internal static readonly JsonDocumentOptions JsonDocumentOptions = new JsonDocumentOptions { MaxDepth = 256 }; + internal static readonly ModelReaderWriterOptions WireOptions = new ModelReaderWriterOptions("W"); + + public static object GetObject(this JsonElement element) + { + switch (element.ValueKind) + { + case JsonValueKind.String: + return element.GetString(); + case JsonValueKind.Number: + if (element.TryGetInt32(out int intValue)) + { + return intValue; + } + if (element.TryGetInt64(out long longValue)) + { + return longValue; + } + return element.GetDouble(); + case JsonValueKind.True: + return true; + case JsonValueKind.False: + return false; + case JsonValueKind.Undefined: + case JsonValueKind.Null: + return null; + case JsonValueKind.Object: + var dictionary = new Dictionary(); + foreach (var jsonProperty in element.EnumerateObject()) + { + dictionary.Add(jsonProperty.Name, jsonProperty.Value.GetObject()); + } + return dictionary; + case JsonValueKind.Array: + var list = new List(); + foreach (var item in element.EnumerateArray()) + { + list.Add(item.GetObject()); + } + return list.ToArray(); + default: + throw new NotSupportedException($"Not supported value kind {element.ValueKind}"); + } + } + + public static byte[] GetBytesFromBase64(this JsonElement element, string format) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + + return format switch + { + "U" => TypeFormatters.FromBase64UrlString(element.GetRequiredString()), + "D" => element.GetBytesFromBase64(), + _ => throw new ArgumentException($"Format is not supported: '{format}'", nameof(format)) + }; + } + + public static DateTimeOffset GetDateTimeOffset(this JsonElement element, string format) => format switch + { + "U" when element.ValueKind == JsonValueKind.Number => DateTimeOffset.FromUnixTimeSeconds(element.GetInt64()), + _ => TypeFormatters.ParseDateTimeOffset(element.GetString(), format) + }; + + public static TimeSpan GetTimeSpan(this JsonElement element, string format) => TypeFormatters.ParseTimeSpan(element.GetString(), format); + + public static char GetChar(this JsonElement element) + { + if (element.ValueKind == JsonValueKind.String) + { + var text = element.GetString(); + if (text == null || text.Length != 1) + { + throw new NotSupportedException($"Cannot convert \"{text}\" to a char"); + } + return text[0]; + } + else + { + throw new NotSupportedException($"Cannot convert {element.ValueKind} to a char"); + } + } + + [Conditional("DEBUG")] + public static void ThrowNonNullablePropertyIsNull(this JsonProperty property) + { + throw new JsonException($"A property '{property.Name}' defined as non-nullable but received as null from the service. This exception only happens in DEBUG builds of the library and would be ignored in the release build"); + } + + public static string GetRequiredString(this JsonElement element) + { + var value = element.GetString(); + if (value == null) + { + throw new InvalidOperationException($"The requested operation requires an element of type 'String', but the target element has type '{element.ValueKind}'."); + } + return value; + } + + public static void WriteStringValue(this Utf8JsonWriter writer, DateTimeOffset value, string format) + { + writer.WriteStringValue(TypeFormatters.ToString(value, format)); + } + + public static void WriteStringValue(this Utf8JsonWriter writer, DateTime value, string format) + { + writer.WriteStringValue(TypeFormatters.ToString(value, format)); + } + + public static void WriteStringValue(this Utf8JsonWriter writer, TimeSpan value, string format) + { + writer.WriteStringValue(TypeFormatters.ToString(value, format)); + } + + public static void WriteStringValue(this Utf8JsonWriter writer, char value) + { + writer.WriteStringValue(value.ToString(CultureInfo.InvariantCulture)); + } + + public static void WriteBase64StringValue(this Utf8JsonWriter writer, byte[] value, string format) + { + if (value == null) + { + writer.WriteNullValue(); + return; + } + switch (format) + { + case "U": + writer.WriteStringValue(TypeFormatters.ToBase64UrlString(value)); + break; + case "D": + writer.WriteBase64StringValue(value); + break; + default: + throw new ArgumentException($"Format is not supported: '{format}'", nameof(format)); + } + } + + public static void WriteNumberValue(this Utf8JsonWriter writer, DateTimeOffset value, string format) + { + if (format != "U") + { + throw new ArgumentOutOfRangeException(nameof(format), "Only 'U' format is supported when writing a DateTimeOffset as a Number."); + } + writer.WriteNumberValue(value.ToUnixTimeSeconds()); + } + + public static void WriteObjectValue(this Utf8JsonWriter writer, T value, ModelReaderWriterOptions options = null) + { + switch (value) + { + case null: + writer.WriteNullValue(); + break; + case IJsonModel jsonModel: + jsonModel.Write(writer, options ?? WireOptions); + break; + case IUtf8JsonSerializable serializable: + serializable.Write(writer); + break; + case byte[] bytes: + writer.WriteBase64StringValue(bytes); + break; + case BinaryData bytes0: + writer.WriteBase64StringValue(bytes0); + break; + case JsonElement json: + json.WriteTo(writer); + break; + case int i: + writer.WriteNumberValue(i); + break; + case decimal d: + writer.WriteNumberValue(d); + break; + case double d0: + if (double.IsNaN(d0)) + { + writer.WriteStringValue("NaN"); + } + else + { + writer.WriteNumberValue(d0); + } + break; + case float f: + writer.WriteNumberValue(f); + break; + case long l: + writer.WriteNumberValue(l); + break; + case string s: + writer.WriteStringValue(s); + break; + case bool b: + writer.WriteBooleanValue(b); + break; + case Guid g: + writer.WriteStringValue(g); + break; + case DateTimeOffset dateTimeOffset: + writer.WriteStringValue(dateTimeOffset, "O"); + break; + case DateTime dateTime: + writer.WriteStringValue(dateTime, "O"); + break; + case IEnumerable> enumerable: + writer.WriteStartObject(); + foreach (var pair in enumerable) + { + writer.WritePropertyName(pair.Key); + writer.WriteObjectValue(pair.Value, options); + } + writer.WriteEndObject(); + break; + case IEnumerable objectEnumerable: + writer.WriteStartArray(); + foreach (var item in objectEnumerable) + { + writer.WriteObjectValue(item, options); + } + writer.WriteEndArray(); + break; + case TimeSpan timeSpan: + writer.WriteStringValue(timeSpan, "P"); + break; + default: + throw new NotSupportedException($"Not supported type {value.GetType()}"); + } + } + + public static void WriteObjectValue(this Utf8JsonWriter writer, object value, ModelReaderWriterOptions options = null) + { + writer.WriteObjectValue(value, options); + } + + internal static class TypeFormatters + { + private const string RoundtripZFormat = "yyyy-MM-ddTHH:mm:ss.fffffffZ"; + public const string DefaultNumberFormat = "G"; + + public static string ToString(bool value) => value ? "true" : "false"; + + public static string ToString(DateTime value, string format) => value.Kind switch + { + DateTimeKind.Utc => ToString((DateTimeOffset)value, format), + _ => throw new NotSupportedException($"DateTime {value} has a Kind of {value.Kind}. Azure SDK requires it to be UTC. You can call DateTime.SpecifyKind to change Kind property value to DateTimeKind.Utc.") + }; + + public static string ToString(DateTimeOffset value, string format) => format switch + { + "D" => value.ToString("yyyy-MM-dd", CultureInfo.InvariantCulture), + "U" => value.ToUnixTimeSeconds().ToString(CultureInfo.InvariantCulture), + "O" => value.ToUniversalTime().ToString(RoundtripZFormat, CultureInfo.InvariantCulture), + "o" => value.ToUniversalTime().ToString(RoundtripZFormat, CultureInfo.InvariantCulture), + "R" => value.ToString("r", CultureInfo.InvariantCulture), + _ => value.ToString(format, CultureInfo.InvariantCulture) + }; + + public static string ToString(TimeSpan value, string format) => format switch + { + "P" => XmlConvert.ToString(value), + _ => value.ToString(format, CultureInfo.InvariantCulture) + }; + + public static string ToString(byte[] value, string format) => format switch + { + "U" => ToBase64UrlString(value), + "D" => Convert.ToBase64String(value), + _ => throw new ArgumentException($"Format is not supported: '{format}'", nameof(format)) + }; + + public static string ToBase64UrlString(byte[] value) + { + int numWholeOrPartialInputBlocks = checked(value.Length + 2) / 3; + int size = checked(numWholeOrPartialInputBlocks * 4); + char[] output = new char[size]; + + int numBase64Chars = Convert.ToBase64CharArray(value, 0, value.Length, output, 0); + + int i = 0; + for (; i < numBase64Chars; i++) + { + char ch = output[i]; + if (ch == '+') + { + output[i] = '-'; + } + else + { + if (ch == '/') + { + output[i] = '_'; + } + else + { + if (ch == '=') + { + break; + } + } + } + } + + return new string(output, 0, i); + } + + public static byte[] FromBase64UrlString(string value) + { + int paddingCharsToAdd = (value.Length % 4) switch + { + 0 => 0, + 2 => 2, + 3 => 1, + _ => throw new InvalidOperationException("Malformed input") + }; + char[] output = new char[(value.Length + paddingCharsToAdd)]; + int i = 0; + for (; i < value.Length; i++) + { + char ch = value[i]; + if (ch == '-') + { + output[i] = '+'; + } + else + { + if (ch == '_') + { + output[i] = '/'; + } + else + { + output[i] = ch; + } + } + } + + for (; i < output.Length; i++) + { + output[i] = '='; + } + + return Convert.FromBase64CharArray(output, 0, output.Length); + } + + public static DateTimeOffset ParseDateTimeOffset(string value, string format) => format switch + { + "U" => DateTimeOffset.FromUnixTimeSeconds(long.Parse(value, CultureInfo.InvariantCulture)), + _ => DateTimeOffset.Parse(value, CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal) + }; + + public static TimeSpan ParseTimeSpan(string value, string format) => format switch + { + "P" => XmlConvert.ToTimeSpan(value), + _ => TimeSpan.ParseExact(value, format, CultureInfo.InvariantCulture) + }; + + public static string ConvertToString(object value, string format = null) => value switch + { + null => "null", + string s => s, + bool b => ToString(b), + int or float or double or long or decimal => ((IFormattable)value).ToString(DefaultNumberFormat, CultureInfo.InvariantCulture), + byte[] b0 when format != null => ToString(b0, format), + IEnumerable s0 => string.Join(",", s0), + DateTimeOffset dateTime when format != null => ToString(dateTime, format), + TimeSpan timeSpan when format != null => ToString(timeSpan, format), + TimeSpan timeSpan0 => XmlConvert.ToString(timeSpan0), + Guid guid => guid.ToString(), + BinaryData binaryData => ConvertToString(binaryData.ToArray(), format), + _ => value.ToString() + }; + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Optional.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Optional.cs new file mode 100644 index 000000000000..aeefc5cf26a9 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Optional.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Collections.Generic; +using System.Text.Json; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + internal static class Optional + { + public static bool IsCollectionDefined(IEnumerable collection) + { + return !(collection is ChangeTrackingList changeTrackingList && changeTrackingList.IsUndefined); + } + + public static bool IsCollectionDefined(IDictionary collection) + { + return !(collection is ChangeTrackingDictionary changeTrackingDictionary && changeTrackingDictionary.IsUndefined); + } + + public static bool IsCollectionDefined(IReadOnlyDictionary collection) + { + return !(collection is ChangeTrackingDictionary changeTrackingDictionary && changeTrackingDictionary.IsUndefined); + } + + public static bool IsDefined(T? value) + where T : struct + { + return value.HasValue; + } + + public static bool IsDefined(object value) + { + return value != null; + } + + public static bool IsDefined(JsonElement value) + { + return value.ValueKind != JsonValueKind.Undefined; + } + + public static bool IsDefined(string value) + { + return value != null; + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Utf8JsonRequestContent.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Utf8JsonRequestContent.cs new file mode 100644 index 000000000000..56ddcc549b34 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/Internal/Utf8JsonRequestContent.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.IO; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Azure.Core; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + internal class Utf8JsonRequestContent : RequestContent + { + private readonly MemoryStream _stream; + private readonly RequestContent _content; + + public Utf8JsonRequestContent() + { + _stream = new MemoryStream(); + _content = Create(_stream); + JsonWriter = new Utf8JsonWriter(_stream); + } + + public Utf8JsonWriter JsonWriter { get; } + + public override async Task WriteToAsync(Stream stream, CancellationToken cancellationToken = default) + { + await JsonWriter.FlushAsync().ConfigureAwait(false); + await _content.WriteToAsync(stream, cancellationToken).ConfigureAwait(false); + } + + public override void WriteTo(Stream stream, CancellationToken cancellationToken = default) + { + JsonWriter.Flush(); + _content.WriteTo(stream, cancellationToken); + } + + public override bool TryComputeLength(out long length) + { + length = JsonWriter.BytesCommitted + JsonWriter.BytesPending; + return true; + } + + public override void Dispose() + { + JsonWriter.Dispose(); + _content.Dispose(); + _stream.Dispose(); + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/OS.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/OS.cs new file mode 100644 index 000000000000..e9fcbb0f87a8 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/OS.cs @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + /// The os to configure for remote test runs. + public readonly partial struct OS : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public OS(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string LinuxValue = "Linux"; + private const string WindowsValue = "Windows"; + + /// Linux OS. + public static OS Linux { get; } = new OS(LinuxValue); + /// Windows OS. + public static OS Windows { get; } = new OS(WindowsValue); + /// Determines if two values are the same. + public static bool operator ==(OS left, OS right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(OS left, OS right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator OS(string value) => new OS(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is OS other && Equals(other); + /// + public bool Equals(OS other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/SubscriptionState.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/SubscriptionState.cs new file mode 100644 index 000000000000..d3fb25818b1a --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Generated/SubscriptionState.cs @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ComponentModel; + +namespace Azure.Developer.MicrosoftPlaywrightTesting +{ + /// The Azure subscription state. + public readonly partial struct SubscriptionState : IEquatable + { + private readonly string _value; + + /// Initializes a new instance of . + /// is null. + public SubscriptionState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + private const string RegisteredValue = "Registered"; + private const string WarnedValue = "Warned"; + private const string SuspendedValue = "Suspended"; + private const string DeletedValue = "Deleted"; + private const string UnregisteredValue = "Unregistered"; + + /// The subscription state is Registered. + public static SubscriptionState Registered { get; } = new SubscriptionState(RegisteredValue); + /// The subscription state is Warned. + public static SubscriptionState Warned { get; } = new SubscriptionState(WarnedValue); + /// The subscription state is Suspended. + public static SubscriptionState Suspended { get; } = new SubscriptionState(SuspendedValue); + /// The subscription state is Deleted. + public static SubscriptionState Deleted { get; } = new SubscriptionState(DeletedValue); + /// The subscription state is Unregistered. + public static SubscriptionState Unregistered { get; } = new SubscriptionState(UnregisteredValue); + /// Determines if two values are the same. + public static bool operator ==(SubscriptionState left, SubscriptionState right) => left.Equals(right); + /// Determines if two values are not the same. + public static bool operator !=(SubscriptionState left, SubscriptionState right) => !left.Equals(right); + /// Converts a to a . + public static implicit operator SubscriptionState(string value) => new SubscriptionState(value); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object obj) => obj is SubscriptionState other && Equals(other); + /// + public bool Equals(SubscriptionState other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); + + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; + /// + public override string ToString() => _value; + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Properties/AssemblyInfo.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..145709b2db91 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/src/Properties/AssemblyInfo.cs @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("Azure.Developer.MicrosoftPlaywrightTesting.Tests, PublicKey = 0024000004800000940000000602000000240000525341310004000001000100d15ddcb29688295338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593daa7b11b4")] + +// Replace Microsoft.Test with the correct resource provider namepace for your service and uncomment. +// See https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/azure-services-resource-providers +// for the list of possible values. +[assembly: Azure.Core.AzureResourceProviderNamespace("Microsoft.Template")] diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Azure.Developer.MicrosoftPlaywrightTesting.Tests.csproj b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Azure.Developer.MicrosoftPlaywrightTesting.Tests.csproj new file mode 100644 index 000000000000..f3becb133be8 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Azure.Developer.MicrosoftPlaywrightTesting.Tests.csproj @@ -0,0 +1,20 @@ + + + $(RequiredTargetFrameworks) + + $(NoWarn);CS1591 + + + + + + + + + + + + + + + diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Generated/Samples/Samples_AccessTokens.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Generated/Samples/Samples_AccessTokens.cs new file mode 100644 index 000000000000..4a11c551742b --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Generated/Samples/Samples_AccessTokens.cs @@ -0,0 +1,239 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Text.Json; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Identity; +using NUnit.Framework; + +namespace Azure.Developer.MicrosoftPlaywrightTesting.Samples +{ + public partial class Samples_AccessTokens + { + [Test] + [Ignore("Only validating compilation of examples")] + public void Example_AccessToken_CreateOrReplace_AccessTokensCreateOrReplace() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + using RequestContent content = RequestContent.Create(new + { + id = "00000000-0000-0000-0000-000000000000", + name = "sampleAccessToken", + expiryAt = "2022-09-28T12:32:33Z", + }); + Response response = client.CreateOrReplace("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), content); + + JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("createdAt").ToString()); + Console.WriteLine(result.GetProperty("expiryAt").ToString()); + Console.WriteLine(result.GetProperty("state").ToString()); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Example_AccessToken_CreateOrReplace_AccessTokensCreateOrReplace_Async() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + using RequestContent content = RequestContent.Create(new + { + id = "00000000-0000-0000-0000-000000000000", + name = "sampleAccessToken", + expiryAt = "2022-09-28T12:32:33Z", + }); + Response response = await client.CreateOrReplaceAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), content); + + JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("createdAt").ToString()); + Console.WriteLine(result.GetProperty("expiryAt").ToString()); + Console.WriteLine(result.GetProperty("state").ToString()); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public void Example_AccessToken_CreateOrReplace_AccessTokensCreateOrReplace_Convenience() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + AccessToken resource = new AccessToken("sampleAccessToken", DateTimeOffset.Parse("2022-09-28T12:32:33Z")); + Response response = client.CreateOrReplace("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), resource); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Example_AccessToken_CreateOrReplace_AccessTokensCreateOrReplace_Convenience_Async() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + AccessToken resource = new AccessToken("sampleAccessToken", DateTimeOffset.Parse("2022-09-28T12:32:33Z")); + Response response = await client.CreateOrReplaceAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), resource); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public void Example_AccessToken_GetAccessToken_AccessTokensGet() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + Response response = client.GetAccessToken("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), null); + + JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("createdAt").ToString()); + Console.WriteLine(result.GetProperty("expiryAt").ToString()); + Console.WriteLine(result.GetProperty("state").ToString()); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Example_AccessToken_GetAccessToken_AccessTokensGet_Async() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + Response response = await client.GetAccessTokenAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000"), null); + + JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("createdAt").ToString()); + Console.WriteLine(result.GetProperty("expiryAt").ToString()); + Console.WriteLine(result.GetProperty("state").ToString()); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public void Example_AccessToken_GetAccessToken_AccessTokensGet_Convenience() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + Response response = client.GetAccessToken("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000")); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Example_AccessToken_GetAccessToken_AccessTokensGet_Convenience_Async() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + Response response = await client.GetAccessTokenAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000")); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public void Example_AccessToken_Delete_AccessTokensDelete() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + Response response = client.Delete("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000")); + + Console.WriteLine(response.Status); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Example_AccessToken_Delete_AccessTokensDelete_Async() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + Response response = await client.DeleteAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", Guid.Parse("00000000-0000-0000-0000-000000000000")); + + Console.WriteLine(response.Status); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public void Example_AccessToken_GetAccessTokens_AccessTokensList() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + foreach (BinaryData item in client.GetAccessTokens("sampleAccountId_00000000-0000-0000-0000-000000000000", null)) + { + JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("createdAt").ToString()); + Console.WriteLine(result.GetProperty("expiryAt").ToString()); + Console.WriteLine(result.GetProperty("state").ToString()); + } + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Example_AccessToken_GetAccessTokens_AccessTokensList_Async() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + await foreach (BinaryData item in client.GetAccessTokensAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", null)) + { + JsonElement result = JsonDocument.Parse(item.ToStream()).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("createdAt").ToString()); + Console.WriteLine(result.GetProperty("expiryAt").ToString()); + Console.WriteLine(result.GetProperty("state").ToString()); + } + } + + [Test] + [Ignore("Only validating compilation of examples")] + public void Example_AccessToken_GetAccessTokens_AccessTokensList_Convenience() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + foreach (AccessToken item in client.GetAccessTokens("sampleAccountId_00000000-0000-0000-0000-000000000000")) + { + } + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Example_AccessToken_GetAccessTokens_AccessTokensList_Convenience_Async() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + AccessTokens client = new AuthManagerClient(endpoint, credential).GetAccessTokensClient(apiVersion: "2024-12-01"); + + await foreach (AccessToken item in client.GetAccessTokensAsync("sampleAccountId_00000000-0000-0000-0000-000000000000")) + { + } + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Generated/Samples/Samples_Accounts.cs b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Generated/Samples/Samples_Accounts.cs new file mode 100644 index 000000000000..774f29c21146 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tests/Generated/Samples/Samples_Accounts.cs @@ -0,0 +1,131 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Text.Json; +using System.Threading.Tasks; +using Azure.Core; +using Azure.Identity; +using NUnit.Framework; + +namespace Azure.Developer.MicrosoftPlaywrightTesting.Samples +{ + public partial class Samples_Accounts + { + [Test] + [Ignore("Only validating compilation of examples")] + public void Example_Account_GetAccount_AccountsGet() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + + Response response = client.GetAccount("sampleAccountId_00000000-0000-0000-0000-000000000000", null); + + JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("resourceId").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("state").ToString()); + Console.WriteLine(result.GetProperty("subscriptionId").ToString()); + Console.WriteLine(result.GetProperty("subscriptionState").ToString()); + Console.WriteLine(result.GetProperty("tenantId").ToString()); + Console.WriteLine(result.GetProperty("location").ToString()); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Example_Account_GetAccount_AccountsGet_Async() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + + Response response = await client.GetAccountAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", null); + + JsonElement result = JsonDocument.Parse(response.ContentStream).RootElement; + Console.WriteLine(result.GetProperty("id").ToString()); + Console.WriteLine(result.GetProperty("resourceId").ToString()); + Console.WriteLine(result.GetProperty("name").ToString()); + Console.WriteLine(result.GetProperty("state").ToString()); + Console.WriteLine(result.GetProperty("subscriptionId").ToString()); + Console.WriteLine(result.GetProperty("subscriptionState").ToString()); + Console.WriteLine(result.GetProperty("tenantId").ToString()); + Console.WriteLine(result.GetProperty("location").ToString()); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public void Example_Account_GetAccount_AccountsGet_Convenience() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + + Response response = client.GetAccount("sampleAccountId_00000000-0000-0000-0000-000000000000"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Example_Account_GetAccount_AccountsGet_Convenience_Async() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + + Response response = await client.GetAccountAsync("sampleAccountId_00000000-0000-0000-0000-000000000000"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public void Example_Accounts_GetBrowsers_AccountsGetBrowsers() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + + Response response = client.GetBrowsers("sampleAccountId_00000000-0000-0000-0000-000000000000", null, "Linux", null); + + Console.WriteLine(response.Status); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Example_Accounts_GetBrowsers_AccountsGetBrowsers_Async() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + + Response response = await client.GetBrowsersAsync("sampleAccountId_00000000-0000-0000-0000-000000000000", null, "Linux", null); + + Console.WriteLine(response.Status); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public void Example_Accounts_GetBrowsers_AccountsGetBrowsers_Convenience() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + + Response response = client.GetBrowsers("sampleAccountId_00000000-0000-0000-0000-000000000000"); + } + + [Test] + [Ignore("Only validating compilation of examples")] + public async Task Example_Accounts_GetBrowsers_AccountsGetBrowsers_Convenience_Async() + { + Uri endpoint = new Uri(""); + TokenCredential credential = new DefaultAzureCredential(); + Accounts client = new AuthManagerClient(endpoint, credential).GetAccountsClient(apiVersion: "2024-12-01"); + + Response response = await client.GetBrowsersAsync("sampleAccountId_00000000-0000-0000-0000-000000000000"); + } + } +} diff --git a/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tsp-location.yaml b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tsp-location.yaml new file mode 100644 index 000000000000..bb717c668e67 --- /dev/null +++ b/sdk/playwrighttesting/Azure.Developer.MicrosoftPlaywrightTesting/tsp-location.yaml @@ -0,0 +1,5 @@ +directory: specification/playwrighttesting/PlaywrightTesting.AuthManager +commit: a2bd6a405683c01ba4bf92b47380d20e2306d991 +repo: Azure/azure-rest-api-specs +additionalDirectories: +- specification/playwrighttesting/PlaywrightTesting.Shared diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.net8.0.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.net8.0.cs index b64e8e89bc63..a9cd424cb7b8 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.net8.0.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.net8.0.cs @@ -21,9 +21,9 @@ public static partial class AnalyticsPurviewDataMapModelFactory public static Azure.Analytics.Purview.DataMap.SearchFacetItemValue SearchFacetItemValue(int? count = default(int?), string value = null) { throw null; } public static Azure.Analytics.Purview.DataMap.SearchFacetResultValue SearchFacetResultValue(System.Collections.Generic.IEnumerable entityType = null, System.Collections.Generic.IEnumerable assetType = null, System.Collections.Generic.IEnumerable classification = null, System.Collections.Generic.IEnumerable term = null, System.Collections.Generic.IEnumerable contactId = null, System.Collections.Generic.IEnumerable contactType = null, System.Collections.Generic.IEnumerable label = null, System.Collections.Generic.IEnumerable glossaryType = null, System.Collections.Generic.IEnumerable termStatus = null, System.Collections.Generic.IEnumerable termTemplate = null) { throw null; } public static Azure.Analytics.Purview.DataMap.SearchHighlights SearchHighlights(System.Collections.Generic.IEnumerable id = null, System.Collections.Generic.IEnumerable qualifiedName = null, System.Collections.Generic.IEnumerable name = null, System.Collections.Generic.IEnumerable description = null, System.Collections.Generic.IEnumerable entityType = null) { throw null; } - public static Azure.Analytics.Purview.DataMap.SearchResultValue SearchResultValue(float? searchScore = default(float?), Azure.Analytics.Purview.DataMap.SearchHighlights searchHighlights = null, string objectType = null, long? createTime = default(long?), long? updateTime = default(long?), string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, string endorsement = null, string owner = null, System.Collections.Generic.IEnumerable classification = null, System.Collections.Generic.IEnumerable label = null, System.Collections.Generic.IEnumerable term = null, System.Collections.Generic.IEnumerable contact = null, System.Collections.Generic.IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, System.Collections.Generic.IEnumerable termTemplate = null, string longDescription = null) { throw null; } + public static Azure.Analytics.Purview.DataMap.SearchResultValue SearchResultValue(float? searchScore = default(float?), Azure.Analytics.Purview.DataMap.SearchHighlights searchHighlights = null, string objectType = null, long? createTime = default(long?), long? updateTime = default(long?), string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, System.Collections.Generic.IEnumerable endorsement = null, string owner = null, System.Collections.Generic.IEnumerable classification = null, System.Collections.Generic.IEnumerable label = null, System.Collections.Generic.IEnumerable term = null, System.Collections.Generic.IEnumerable contact = null, System.Collections.Generic.IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, System.Collections.Generic.IEnumerable termTemplate = null, string longDescription = null) { throw null; } public static Azure.Analytics.Purview.DataMap.SuggestResult SuggestResult(System.Collections.Generic.IEnumerable value = null) { throw null; } - public static Azure.Analytics.Purview.DataMap.SuggestResultValue SuggestResultValue(float? searchScore = default(float?), string searchText = null, string objectType = null, long? createTime = default(long?), long? updateTime = default(long?), string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, string endorsement = null, string owner = null, System.Collections.Generic.IEnumerable classification = null, System.Collections.Generic.IEnumerable label = null, System.Collections.Generic.IEnumerable term = null, System.Collections.Generic.IEnumerable contact = null, System.Collections.Generic.IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, System.Collections.Generic.IEnumerable termTemplate = null, string longDescription = null) { throw null; } + public static Azure.Analytics.Purview.DataMap.SuggestResultValue SuggestResultValue(float? searchScore = default(float?), string searchText = null, string objectType = null, long? createTime = default(long?), long? updateTime = default(long?), string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, System.Collections.Generic.IEnumerable endorsement = null, string owner = null, System.Collections.Generic.IEnumerable classification = null, System.Collections.Generic.IEnumerable label = null, System.Collections.Generic.IEnumerable term = null, System.Collections.Generic.IEnumerable contact = null, System.Collections.Generic.IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, System.Collections.Generic.IEnumerable termTemplate = null, string longDescription = null) { throw null; } public static Azure.Analytics.Purview.DataMap.TermSearchResultValue TermSearchResultValue(string name = null, string glossaryName = null, string guid = null) { throw null; } } public partial class AtlasAttributeDef : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel @@ -1658,7 +1658,7 @@ internal SearchResultValue() { } public System.Collections.Generic.IReadOnlyList Contact { get { throw null; } } public long? CreateTime { get { throw null; } } public string Description { get { throw null; } } - public string Endorsement { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Endorsement { get { throw null; } } public string EntityType { get { throw null; } } public string Glossary { get { throw null; } } public string GlossaryType { get { throw null; } } @@ -1762,7 +1762,7 @@ internal SuggestResultValue() { } public System.Collections.Generic.IReadOnlyList Contact { get { throw null; } } public long? CreateTime { get { throw null; } } public string Description { get { throw null; } } - public string Endorsement { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Endorsement { get { throw null; } } public string EntityType { get { throw null; } } public string Glossary { get { throw null; } } public string GlossaryType { get { throw null; } } diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs index b64e8e89bc63..a9cd424cb7b8 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/api/Azure.Analytics.Purview.DataMap.netstandard2.0.cs @@ -21,9 +21,9 @@ public static partial class AnalyticsPurviewDataMapModelFactory public static Azure.Analytics.Purview.DataMap.SearchFacetItemValue SearchFacetItemValue(int? count = default(int?), string value = null) { throw null; } public static Azure.Analytics.Purview.DataMap.SearchFacetResultValue SearchFacetResultValue(System.Collections.Generic.IEnumerable entityType = null, System.Collections.Generic.IEnumerable assetType = null, System.Collections.Generic.IEnumerable classification = null, System.Collections.Generic.IEnumerable term = null, System.Collections.Generic.IEnumerable contactId = null, System.Collections.Generic.IEnumerable contactType = null, System.Collections.Generic.IEnumerable label = null, System.Collections.Generic.IEnumerable glossaryType = null, System.Collections.Generic.IEnumerable termStatus = null, System.Collections.Generic.IEnumerable termTemplate = null) { throw null; } public static Azure.Analytics.Purview.DataMap.SearchHighlights SearchHighlights(System.Collections.Generic.IEnumerable id = null, System.Collections.Generic.IEnumerable qualifiedName = null, System.Collections.Generic.IEnumerable name = null, System.Collections.Generic.IEnumerable description = null, System.Collections.Generic.IEnumerable entityType = null) { throw null; } - public static Azure.Analytics.Purview.DataMap.SearchResultValue SearchResultValue(float? searchScore = default(float?), Azure.Analytics.Purview.DataMap.SearchHighlights searchHighlights = null, string objectType = null, long? createTime = default(long?), long? updateTime = default(long?), string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, string endorsement = null, string owner = null, System.Collections.Generic.IEnumerable classification = null, System.Collections.Generic.IEnumerable label = null, System.Collections.Generic.IEnumerable term = null, System.Collections.Generic.IEnumerable contact = null, System.Collections.Generic.IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, System.Collections.Generic.IEnumerable termTemplate = null, string longDescription = null) { throw null; } + public static Azure.Analytics.Purview.DataMap.SearchResultValue SearchResultValue(float? searchScore = default(float?), Azure.Analytics.Purview.DataMap.SearchHighlights searchHighlights = null, string objectType = null, long? createTime = default(long?), long? updateTime = default(long?), string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, System.Collections.Generic.IEnumerable endorsement = null, string owner = null, System.Collections.Generic.IEnumerable classification = null, System.Collections.Generic.IEnumerable label = null, System.Collections.Generic.IEnumerable term = null, System.Collections.Generic.IEnumerable contact = null, System.Collections.Generic.IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, System.Collections.Generic.IEnumerable termTemplate = null, string longDescription = null) { throw null; } public static Azure.Analytics.Purview.DataMap.SuggestResult SuggestResult(System.Collections.Generic.IEnumerable value = null) { throw null; } - public static Azure.Analytics.Purview.DataMap.SuggestResultValue SuggestResultValue(float? searchScore = default(float?), string searchText = null, string objectType = null, long? createTime = default(long?), long? updateTime = default(long?), string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, string endorsement = null, string owner = null, System.Collections.Generic.IEnumerable classification = null, System.Collections.Generic.IEnumerable label = null, System.Collections.Generic.IEnumerable term = null, System.Collections.Generic.IEnumerable contact = null, System.Collections.Generic.IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, System.Collections.Generic.IEnumerable termTemplate = null, string longDescription = null) { throw null; } + public static Azure.Analytics.Purview.DataMap.SuggestResultValue SuggestResultValue(float? searchScore = default(float?), string searchText = null, string objectType = null, long? createTime = default(long?), long? updateTime = default(long?), string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, System.Collections.Generic.IEnumerable endorsement = null, string owner = null, System.Collections.Generic.IEnumerable classification = null, System.Collections.Generic.IEnumerable label = null, System.Collections.Generic.IEnumerable term = null, System.Collections.Generic.IEnumerable contact = null, System.Collections.Generic.IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, System.Collections.Generic.IEnumerable termTemplate = null, string longDescription = null) { throw null; } public static Azure.Analytics.Purview.DataMap.TermSearchResultValue TermSearchResultValue(string name = null, string glossaryName = null, string guid = null) { throw null; } } public partial class AtlasAttributeDef : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel @@ -1658,7 +1658,7 @@ internal SearchResultValue() { } public System.Collections.Generic.IReadOnlyList Contact { get { throw null; } } public long? CreateTime { get { throw null; } } public string Description { get { throw null; } } - public string Endorsement { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Endorsement { get { throw null; } } public string EntityType { get { throw null; } } public string Glossary { get { throw null; } } public string GlossaryType { get { throw null; } } @@ -1762,7 +1762,7 @@ internal SuggestResultValue() { } public System.Collections.Generic.IReadOnlyList Contact { get { throw null; } } public long? CreateTime { get { throw null; } } public string Description { get { throw null; } } - public string Endorsement { get { throw null; } } + public System.Collections.Generic.IReadOnlyList Endorsement { get { throw null; } } public string EntityType { get { throw null; } } public string Glossary { get { throw null; } } public string GlossaryType { get { throw null; } } diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AnalyticsPurviewDataMapModelFactory.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AnalyticsPurviewDataMapModelFactory.cs index f9ad7b88c68a..708722933986 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AnalyticsPurviewDataMapModelFactory.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/AnalyticsPurviewDataMapModelFactory.cs @@ -309,8 +309,9 @@ public static SearchFacetItemValue SearchFacetItemValue(int? count = null, strin /// The term template names used by the term. /// The definition of the term. /// A new instance for mocking. - public static SearchResultValue SearchResultValue(float? searchScore = null, SearchHighlights searchHighlights = null, string objectType = null, long? createTime = null, long? updateTime = null, string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, string endorsement = null, string owner = null, IEnumerable classification = null, IEnumerable label = null, IEnumerable term = null, IEnumerable contact = null, IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, IEnumerable termTemplate = null, string longDescription = null) + public static SearchResultValue SearchResultValue(float? searchScore = null, SearchHighlights searchHighlights = null, string objectType = null, long? createTime = null, long? updateTime = null, string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, IEnumerable endorsement = null, string owner = null, IEnumerable classification = null, IEnumerable label = null, IEnumerable term = null, IEnumerable contact = null, IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, IEnumerable termTemplate = null, string longDescription = null) { + endorsement ??= new List(); classification ??= new List(); label ??= new List(); term ??= new List(); @@ -329,7 +330,7 @@ public static SearchResultValue SearchResultValue(float? searchScore = null, Sea qualifiedName, entityType, description, - endorsement, + endorsement?.ToList(), owner, classification?.ToList(), label?.ToList(), @@ -437,8 +438,9 @@ public static SuggestResult SuggestResult(IEnumerable value /// The term template names used by the term. /// The definition of the term. /// A new instance for mocking. - public static SuggestResultValue SuggestResultValue(float? searchScore = null, string searchText = null, string objectType = null, long? createTime = null, long? updateTime = null, string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, string endorsement = null, string owner = null, IEnumerable classification = null, IEnumerable label = null, IEnumerable term = null, IEnumerable contact = null, IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, IEnumerable termTemplate = null, string longDescription = null) + public static SuggestResultValue SuggestResultValue(float? searchScore = null, string searchText = null, string objectType = null, long? createTime = null, long? updateTime = null, string id = null, string name = null, string qualifiedName = null, string entityType = null, string description = null, IEnumerable endorsement = null, string owner = null, IEnumerable classification = null, IEnumerable label = null, IEnumerable term = null, IEnumerable contact = null, IEnumerable assetType = null, string glossaryType = null, string glossary = null, string termStatus = null, IEnumerable termTemplate = null, string longDescription = null) { + endorsement ??= new List(); classification ??= new List(); label ??= new List(); term ??= new List(); @@ -457,7 +459,7 @@ public static SuggestResultValue SuggestResultValue(float? searchScore = null, s qualifiedName, entityType, description, - endorsement, + endorsement?.ToList(), owner, classification?.ToList(), label?.ToList(), diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml index a822031feec6..f6423680612a 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/Docs/Discovery.xml @@ -15,26 +15,26 @@ QueryConfig body = new QueryConfig Limit = 10, Orderby = {BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5717", + ["$id"] = "5719", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5719", + ["$id"] = "5721", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5711", + ["$id"] = "5713", ["and"] = new object[] { new Dictionary { - ["$id"] = "5712", + ["$id"] = "5714", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "5713", + ["$id"] = "5715", ["entityType"] = "azure_blob_path" } } @@ -94,17 +94,17 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5796", + ["$id"] = "5798", ["and"] = new object[] { new Dictionary { - ["$id"] = "5797", + ["$id"] = "5799", ["entityType"] = "azure_blob_path" }, new Dictionary { - ["$id"] = "5798", + ["$id"] = "5800", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" @@ -125,36 +125,36 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5849", + ["$id"] = "5851", ["and"] = new object[] { new Dictionary { - ["$id"] = "5850", + ["$id"] = "5852", ["entityType"] = "azure_blob_path" }, new Dictionary { - ["$id"] = "5851", + ["$id"] = "5853", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" }, new Dictionary { - ["$id"] = "5852", + ["$id"] = "5854", ["or"] = new object[] { new Dictionary { - ["$id"] = "5853", + ["$id"] = "5855", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { - ["$id"] = "5854", + ["$id"] = "5856", ["attributeName"] = "qualifiedName", ["operator"] = "prefix", ["attributeValue"] = "https://" @@ -177,142 +177,142 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5907", + ["$id"] = "5909", ["or"] = new object[] { new Dictionary { - ["$id"] = "5908", + ["$id"] = "5910", ["assetType"] = "SQL Server" }, new Dictionary { - ["$id"] = "5909", + ["$id"] = "5911", ["assetType"] = "Azure SQL Server" }, new Dictionary { - ["$id"] = "5910", + ["$id"] = "5912", ["assetType"] = "Azure SQL Database" }, new Dictionary { - ["$id"] = "5911", + ["$id"] = "5913", ["assetType"] = "Azure SQL Data Warehouse" }, new Dictionary { - ["$id"] = "5912", + ["$id"] = "5914", ["assetType"] = "Azure SQL Managed Instance" }, new Dictionary { - ["$id"] = "5913", + ["$id"] = "5915", ["assetType"] = "Azure Storage Account" }, new Dictionary { - ["$id"] = "5914", + ["$id"] = "5916", ["assetType"] = "Azure Blob Storage" }, new Dictionary { - ["$id"] = "5915", + ["$id"] = "5917", ["assetType"] = "Azure Files" }, new Dictionary { - ["$id"] = "5916", + ["$id"] = "5918", ["assetType"] = "Azure Table Storage" }, new Dictionary { - ["$id"] = "5917", + ["$id"] = "5919", ["assetType"] = "Azure Data Lake Storage Gen1" }, new Dictionary { - ["$id"] = "5918", + ["$id"] = "5920", ["assetType"] = "Azure Data Lake Storage Gen2" }, new Dictionary { - ["$id"] = "5919", + ["$id"] = "5921", ["assetType"] = "Azure Cosmos DB" }, new Dictionary { - ["$id"] = "5920", + ["$id"] = "5922", ["assetType"] = "Azure Data Factory" }, new Dictionary { - ["$id"] = "5921", + ["$id"] = "5923", ["assetType"] = "Azure Cognitive Search" }, new Dictionary { - ["$id"] = "5922", + ["$id"] = "5924", ["assetType"] = "Power BI" }, new Dictionary { - ["$id"] = "5923", + ["$id"] = "5925", ["assetType"] = "Azure Data Explorer" }, new Dictionary { - ["$id"] = "5924", + ["$id"] = "5926", ["assetType"] = "Amazon S3" }, new Dictionary { - ["$id"] = "5925", + ["$id"] = "5927", ["assetType"] = "Azure Data Share" }, new Dictionary { - ["$id"] = "5926", + ["$id"] = "5928", ["assetType"] = "Teradata" }, new Dictionary { - ["$id"] = "5927", + ["$id"] = "5929", ["assetType"] = "SAP S4HANA" }, new Dictionary { - ["$id"] = "5928", + ["$id"] = "5930", ["assetType"] = "SAP ECC" }, new Dictionary { - ["$id"] = "5929", + ["$id"] = "5931", ["assetType"] = "SQL Server Integration Services" }, new Dictionary { - ["$id"] = "5930", + ["$id"] = "5932", ["assetType"] = "hive" }, new Dictionary { - ["$id"] = "5931", + ["$id"] = "5933", ["assetType"] = "Azure Database for MySQL" }, new Dictionary { - ["$id"] = "5932", + ["$id"] = "5934", ["assetType"] = "Azure Database for MariaDB" }, new Dictionary { - ["$id"] = "5933", + ["$id"] = "5935", ["assetType"] = "Azure Database for PostgreSQL" }, new Dictionary { - ["$id"] = "5934", + ["$id"] = "5936", ["assetType"] = "Azure Synapse Analytics" } } @@ -331,26 +331,26 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5976", + ["$id"] = "5978", ["or"] = new object[] { new Dictionary { - ["$id"] = "5977", + ["$id"] = "5979", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { - ["$id"] = "5978", + ["$id"] = "5980", ["attributeName"] = "createTime", ["operator"] = "ge", ["attributeValue"] = 1545580800000L }, new Dictionary { - ["$id"] = "5979", + ["$id"] = "5981", ["attributeName"] = "modifiedTime", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -371,33 +371,33 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6041", + ["$id"] = "6043", ["or"] = new object[] { new Dictionary { - ["$id"] = "6042", + ["$id"] = "6044", ["attributeName"] = ".", ["operator"] = "eq|ne|contains|prefix", ["attributeValue"] = "string value" }, new Dictionary { - ["$id"] = "6043", + ["$id"] = "6045", ["attributeName"] = ".", ["operator"] = "eq|ne|gt|ge|lt|le", ["attributeValue"] = 123 }, new Dictionary { - ["$id"] = "6044", + ["$id"] = "6046", ["attributeName"] = ".", ["operator"] = "eq|ne", ["attributeValue"] = true }, new Dictionary { - ["$id"] = "6045", + ["$id"] = "6047", ["attributeName"] = ".", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -418,7 +418,7 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6068", + ["$id"] = "6070", ["classification"] = "MICROSOFT.PERSONAL.EMAIL", ["includeSubClassifications"] = true }), @@ -436,7 +436,7 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6118", + ["$id"] = "6120", ["collectionId"] = "collectionName" }), }; @@ -453,7 +453,7 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6167", + ["$id"] = "6169", ["objectType"] = "Tables" }), Facets = {new SearchFacetItem @@ -487,12 +487,12 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6297", + ["$id"] = "6299", ["and"] = new object[] { new Dictionary { - ["$id"] = "6298", + ["$id"] = "6300", ["fileExtension"] = "txt" } } @@ -512,27 +512,27 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6341", + ["$id"] = "6343", ["and"] = new object[] { new Dictionary { - ["$id"] = "6342", + ["$id"] = "6344", ["objectType"] = "Glossary terms" }, new Dictionary { - ["$id"] = "6343", + ["$id"] = "6345", ["or"] = new object[] { new Dictionary { - ["$id"] = "6344", + ["$id"] = "6346", ["glossaryType"] = "AtlasGlossary" }, new Dictionary { - ["$id"] = "6345", + ["$id"] = "6347", ["glossaryType"] = "AtlasGlossaryTerm" } } @@ -570,12 +570,12 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6413", + ["$id"] = "6415", ["and"] = new object[] { new Dictionary { - ["$id"] = "6414", + ["$id"] = "6416", ["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9" } } @@ -594,10 +594,10 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6442", + ["$id"] = "6444", ["not"] = new Dictionary { - ["$id"] = "6443", + ["$id"] = "6445", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } }), @@ -615,47 +615,47 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6485", + ["$id"] = "6487", ["or"] = new object[] { new Dictionary { - ["$id"] = "6486", + ["$id"] = "6488", ["objectType"] = "Dashboards" }, new Dictionary { - ["$id"] = "6487", + ["$id"] = "6489", ["objectType"] = "Data pipelines" }, new Dictionary { - ["$id"] = "6488", + ["$id"] = "6490", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6489", + ["$id"] = "6491", ["objectType"] = "Folders" }, new Dictionary { - ["$id"] = "6490", + ["$id"] = "6492", ["objectType"] = "Glossary terms" }, new Dictionary { - ["$id"] = "6491", + ["$id"] = "6493", ["objectType"] = "Reports" }, new Dictionary { - ["$id"] = "6492", + ["$id"] = "6494", ["objectType"] = "Stored procedures" }, new Dictionary { - ["$id"] = "6493", + ["$id"] = "6495", ["objectType"] = "Tables" } } @@ -676,26 +676,26 @@ QueryConfig body = new QueryConfig ContinuationToken = "", Orderby = {BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6538", + ["$id"] = "6540", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6540", + ["$id"] = "6542", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6531", + ["$id"] = "6533", ["and"] = new object[] { new Dictionary { - ["$id"] = "6532", + ["$id"] = "6534", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6533", + ["$id"] = "6535", ["entityType"] = "azure_blob_path" } } @@ -756,26 +756,26 @@ QueryConfig body = new QueryConfig Limit = 2, Orderby = {BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6624", + ["$id"] = "6626", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6626", + ["$id"] = "6628", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6618", + ["$id"] = "6620", ["and"] = new object[] { new Dictionary { - ["$id"] = "6619", + ["$id"] = "6621", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6620", + ["$id"] = "6622", ["entityType"] = "azure_blob_path" } } @@ -837,26 +837,26 @@ QueryConfig body = new QueryConfig ContinuationToken = "", Orderby = {BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6711", + ["$id"] = "6713", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6713", + ["$id"] = "6715", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6704", + ["$id"] = "6706", ["and"] = new object[] { new Dictionary { - ["$id"] = "6705", + ["$id"] = "6707", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6706", + ["$id"] = "6708", ["entityType"] = "azure_blob_path" } } @@ -916,22 +916,22 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6790", + ["$id"] = "6792", ["or"] = new object[] { new Dictionary { - ["$id"] = "6791", + ["$id"] = "6793", ["createTime"] = new Dictionary { - ["$id"] = "6792", + ["$id"] = "6794", ["operator"] = "lt", ["timeThreshold"] = 1545580800000L } }, new Dictionary { - ["$id"] = "6793", + ["$id"] = "6795", ["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" } } @@ -951,32 +951,32 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6826", + ["$id"] = "6828", ["and"] = new object[] { new Dictionary { - ["$id"] = "6827", + ["$id"] = "6829", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6828", + ["$id"] = "6830", ["not"] = new Dictionary { - ["$id"] = "6829", + ["$id"] = "6831", ["or"] = new object[] { new Dictionary { - ["$id"] = "6830", + ["$id"] = "6832", ["attributeName"] = "size", ["operator"] = "eq", ["attributeValue"] = 0 }, new Dictionary { - ["$id"] = "6831", + ["$id"] = "6833", ["attributeName"] = "fileSize", ["operator"] = "eq", ["attributeValue"] = 0 @@ -986,10 +986,10 @@ QueryConfig body = new QueryConfig }, new Dictionary { - ["$id"] = "6832", + ["$id"] = "6834", ["not"] = new Dictionary { - ["$id"] = "6833", + ["$id"] = "6835", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } } @@ -1022,23 +1022,23 @@ QueryConfig body = new QueryConfig Limit = 3, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6887", + ["$id"] = "6889", ["or"] = new object[] { new Dictionary { - ["$id"] = "6888", + ["$id"] = "6890", ["term"] = "ExampleTerm" }, new Dictionary { - ["$id"] = "6889", + ["$id"] = "6891", ["term"] = "ExampleTerm", ["glossary"] = "GlossaryName" }, new Dictionary { - ["$id"] = "6890", + ["$id"] = "6892", ["termGuid"] = "" } } @@ -1057,12 +1057,12 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6923", + ["$id"] = "6925", ["and"] = new object[] { new Dictionary { - ["$id"] = "6924", + ["$id"] = "6926", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -1086,26 +1086,26 @@ QueryConfig body = new QueryConfig Limit = 10, Orderby = {BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5717", + ["$id"] = "5719", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5719", + ["$id"] = "5721", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5711", + ["$id"] = "5713", ["and"] = new object[] { new Dictionary { - ["$id"] = "5712", + ["$id"] = "5714", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "5713", + ["$id"] = "5715", ["entityType"] = "azure_blob_path" } } @@ -1165,17 +1165,17 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5796", + ["$id"] = "5798", ["and"] = new object[] { new Dictionary { - ["$id"] = "5797", + ["$id"] = "5799", ["entityType"] = "azure_blob_path" }, new Dictionary { - ["$id"] = "5798", + ["$id"] = "5800", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" @@ -1196,36 +1196,36 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5849", + ["$id"] = "5851", ["and"] = new object[] { new Dictionary { - ["$id"] = "5850", + ["$id"] = "5852", ["entityType"] = "azure_blob_path" }, new Dictionary { - ["$id"] = "5851", + ["$id"] = "5853", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" }, new Dictionary { - ["$id"] = "5852", + ["$id"] = "5854", ["or"] = new object[] { new Dictionary { - ["$id"] = "5853", + ["$id"] = "5855", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { - ["$id"] = "5854", + ["$id"] = "5856", ["attributeName"] = "qualifiedName", ["operator"] = "prefix", ["attributeValue"] = "https://" @@ -1248,142 +1248,142 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5907", + ["$id"] = "5909", ["or"] = new object[] { new Dictionary { - ["$id"] = "5908", + ["$id"] = "5910", ["assetType"] = "SQL Server" }, new Dictionary { - ["$id"] = "5909", + ["$id"] = "5911", ["assetType"] = "Azure SQL Server" }, new Dictionary { - ["$id"] = "5910", + ["$id"] = "5912", ["assetType"] = "Azure SQL Database" }, new Dictionary { - ["$id"] = "5911", + ["$id"] = "5913", ["assetType"] = "Azure SQL Data Warehouse" }, new Dictionary { - ["$id"] = "5912", + ["$id"] = "5914", ["assetType"] = "Azure SQL Managed Instance" }, new Dictionary { - ["$id"] = "5913", + ["$id"] = "5915", ["assetType"] = "Azure Storage Account" }, new Dictionary { - ["$id"] = "5914", + ["$id"] = "5916", ["assetType"] = "Azure Blob Storage" }, new Dictionary { - ["$id"] = "5915", + ["$id"] = "5917", ["assetType"] = "Azure Files" }, new Dictionary { - ["$id"] = "5916", + ["$id"] = "5918", ["assetType"] = "Azure Table Storage" }, new Dictionary { - ["$id"] = "5917", + ["$id"] = "5919", ["assetType"] = "Azure Data Lake Storage Gen1" }, new Dictionary { - ["$id"] = "5918", + ["$id"] = "5920", ["assetType"] = "Azure Data Lake Storage Gen2" }, new Dictionary { - ["$id"] = "5919", + ["$id"] = "5921", ["assetType"] = "Azure Cosmos DB" }, new Dictionary { - ["$id"] = "5920", + ["$id"] = "5922", ["assetType"] = "Azure Data Factory" }, new Dictionary { - ["$id"] = "5921", + ["$id"] = "5923", ["assetType"] = "Azure Cognitive Search" }, new Dictionary { - ["$id"] = "5922", + ["$id"] = "5924", ["assetType"] = "Power BI" }, new Dictionary { - ["$id"] = "5923", + ["$id"] = "5925", ["assetType"] = "Azure Data Explorer" }, new Dictionary { - ["$id"] = "5924", + ["$id"] = "5926", ["assetType"] = "Amazon S3" }, new Dictionary { - ["$id"] = "5925", + ["$id"] = "5927", ["assetType"] = "Azure Data Share" }, new Dictionary { - ["$id"] = "5926", + ["$id"] = "5928", ["assetType"] = "Teradata" }, new Dictionary { - ["$id"] = "5927", + ["$id"] = "5929", ["assetType"] = "SAP S4HANA" }, new Dictionary { - ["$id"] = "5928", + ["$id"] = "5930", ["assetType"] = "SAP ECC" }, new Dictionary { - ["$id"] = "5929", + ["$id"] = "5931", ["assetType"] = "SQL Server Integration Services" }, new Dictionary { - ["$id"] = "5930", + ["$id"] = "5932", ["assetType"] = "hive" }, new Dictionary { - ["$id"] = "5931", + ["$id"] = "5933", ["assetType"] = "Azure Database for MySQL" }, new Dictionary { - ["$id"] = "5932", + ["$id"] = "5934", ["assetType"] = "Azure Database for MariaDB" }, new Dictionary { - ["$id"] = "5933", + ["$id"] = "5935", ["assetType"] = "Azure Database for PostgreSQL" }, new Dictionary { - ["$id"] = "5934", + ["$id"] = "5936", ["assetType"] = "Azure Synapse Analytics" } } @@ -1402,26 +1402,26 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5976", + ["$id"] = "5978", ["or"] = new object[] { new Dictionary { - ["$id"] = "5977", + ["$id"] = "5979", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { - ["$id"] = "5978", + ["$id"] = "5980", ["attributeName"] = "createTime", ["operator"] = "ge", ["attributeValue"] = 1545580800000L }, new Dictionary { - ["$id"] = "5979", + ["$id"] = "5981", ["attributeName"] = "modifiedTime", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -1442,33 +1442,33 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6041", + ["$id"] = "6043", ["or"] = new object[] { new Dictionary { - ["$id"] = "6042", + ["$id"] = "6044", ["attributeName"] = ".", ["operator"] = "eq|ne|contains|prefix", ["attributeValue"] = "string value" }, new Dictionary { - ["$id"] = "6043", + ["$id"] = "6045", ["attributeName"] = ".", ["operator"] = "eq|ne|gt|ge|lt|le", ["attributeValue"] = 123 }, new Dictionary { - ["$id"] = "6044", + ["$id"] = "6046", ["attributeName"] = ".", ["operator"] = "eq|ne", ["attributeValue"] = true }, new Dictionary { - ["$id"] = "6045", + ["$id"] = "6047", ["attributeName"] = ".", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -1489,7 +1489,7 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6068", + ["$id"] = "6070", ["classification"] = "MICROSOFT.PERSONAL.EMAIL", ["includeSubClassifications"] = true }), @@ -1507,7 +1507,7 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6118", + ["$id"] = "6120", ["collectionId"] = "collectionName" }), }; @@ -1524,7 +1524,7 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6167", + ["$id"] = "6169", ["objectType"] = "Tables" }), Facets = {new SearchFacetItem @@ -1558,12 +1558,12 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6297", + ["$id"] = "6299", ["and"] = new object[] { new Dictionary { - ["$id"] = "6298", + ["$id"] = "6300", ["fileExtension"] = "txt" } } @@ -1583,27 +1583,27 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6341", + ["$id"] = "6343", ["and"] = new object[] { new Dictionary { - ["$id"] = "6342", + ["$id"] = "6344", ["objectType"] = "Glossary terms" }, new Dictionary { - ["$id"] = "6343", + ["$id"] = "6345", ["or"] = new object[] { new Dictionary { - ["$id"] = "6344", + ["$id"] = "6346", ["glossaryType"] = "AtlasGlossary" }, new Dictionary { - ["$id"] = "6345", + ["$id"] = "6347", ["glossaryType"] = "AtlasGlossaryTerm" } } @@ -1641,12 +1641,12 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6413", + ["$id"] = "6415", ["and"] = new object[] { new Dictionary { - ["$id"] = "6414", + ["$id"] = "6416", ["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9" } } @@ -1665,10 +1665,10 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6442", + ["$id"] = "6444", ["not"] = new Dictionary { - ["$id"] = "6443", + ["$id"] = "6445", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } }), @@ -1686,47 +1686,47 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6485", + ["$id"] = "6487", ["or"] = new object[] { new Dictionary { - ["$id"] = "6486", + ["$id"] = "6488", ["objectType"] = "Dashboards" }, new Dictionary { - ["$id"] = "6487", + ["$id"] = "6489", ["objectType"] = "Data pipelines" }, new Dictionary { - ["$id"] = "6488", + ["$id"] = "6490", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6489", + ["$id"] = "6491", ["objectType"] = "Folders" }, new Dictionary { - ["$id"] = "6490", + ["$id"] = "6492", ["objectType"] = "Glossary terms" }, new Dictionary { - ["$id"] = "6491", + ["$id"] = "6493", ["objectType"] = "Reports" }, new Dictionary { - ["$id"] = "6492", + ["$id"] = "6494", ["objectType"] = "Stored procedures" }, new Dictionary { - ["$id"] = "6493", + ["$id"] = "6495", ["objectType"] = "Tables" } } @@ -1747,26 +1747,26 @@ QueryConfig body = new QueryConfig ContinuationToken = "", Orderby = {BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6538", + ["$id"] = "6540", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6540", + ["$id"] = "6542", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6531", + ["$id"] = "6533", ["and"] = new object[] { new Dictionary { - ["$id"] = "6532", + ["$id"] = "6534", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6533", + ["$id"] = "6535", ["entityType"] = "azure_blob_path" } } @@ -1827,26 +1827,26 @@ QueryConfig body = new QueryConfig Limit = 2, Orderby = {BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6624", + ["$id"] = "6626", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6626", + ["$id"] = "6628", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6618", + ["$id"] = "6620", ["and"] = new object[] { new Dictionary { - ["$id"] = "6619", + ["$id"] = "6621", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6620", + ["$id"] = "6622", ["entityType"] = "azure_blob_path" } } @@ -1908,26 +1908,26 @@ QueryConfig body = new QueryConfig ContinuationToken = "", Orderby = {BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6711", + ["$id"] = "6713", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6713", + ["$id"] = "6715", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6704", + ["$id"] = "6706", ["and"] = new object[] { new Dictionary { - ["$id"] = "6705", + ["$id"] = "6707", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6706", + ["$id"] = "6708", ["entityType"] = "azure_blob_path" } } @@ -1987,22 +1987,22 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6790", + ["$id"] = "6792", ["or"] = new object[] { new Dictionary { - ["$id"] = "6791", + ["$id"] = "6793", ["createTime"] = new Dictionary { - ["$id"] = "6792", + ["$id"] = "6794", ["operator"] = "lt", ["timeThreshold"] = 1545580800000L } }, new Dictionary { - ["$id"] = "6793", + ["$id"] = "6795", ["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" } } @@ -2022,32 +2022,32 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6826", + ["$id"] = "6828", ["and"] = new object[] { new Dictionary { - ["$id"] = "6827", + ["$id"] = "6829", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6828", + ["$id"] = "6830", ["not"] = new Dictionary { - ["$id"] = "6829", + ["$id"] = "6831", ["or"] = new object[] { new Dictionary { - ["$id"] = "6830", + ["$id"] = "6832", ["attributeName"] = "size", ["operator"] = "eq", ["attributeValue"] = 0 }, new Dictionary { - ["$id"] = "6831", + ["$id"] = "6833", ["attributeName"] = "fileSize", ["operator"] = "eq", ["attributeValue"] = 0 @@ -2057,10 +2057,10 @@ QueryConfig body = new QueryConfig }, new Dictionary { - ["$id"] = "6832", + ["$id"] = "6834", ["not"] = new Dictionary { - ["$id"] = "6833", + ["$id"] = "6835", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } } @@ -2093,23 +2093,23 @@ QueryConfig body = new QueryConfig Limit = 3, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6887", + ["$id"] = "6889", ["or"] = new object[] { new Dictionary { - ["$id"] = "6888", + ["$id"] = "6890", ["term"] = "ExampleTerm" }, new Dictionary { - ["$id"] = "6889", + ["$id"] = "6891", ["term"] = "ExampleTerm", ["glossary"] = "GlossaryName" }, new Dictionary { - ["$id"] = "6890", + ["$id"] = "6892", ["termGuid"] = "" } } @@ -2128,12 +2128,12 @@ QueryConfig body = new QueryConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6923", + ["$id"] = "6925", ["and"] = new object[] { new Dictionary { - ["$id"] = "6924", + ["$id"] = "6926", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -2156,17 +2156,17 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "5711", + ["$id"] = "5713", ["and"] = new object[] { new Dictionary { - ["$id"] = "5712", + ["$id"] = "5714", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "5713", + ["$id"] = "5715", ["entityType"] = "azure_blob_path" } } @@ -2176,12 +2176,12 @@ using RequestContent content = RequestContent.Create(new { new Dictionary { - ["$id"] = "5717", + ["$id"] = "5719", ["name"] = "ASC" }, new Dictionary { - ["$id"] = "5719", + ["$id"] = "5721", ["updateTime"] = "DESC" } }, @@ -2250,17 +2250,17 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "5796", + ["$id"] = "5798", ["and"] = new object[] { new Dictionary { - ["$id"] = "5797", + ["$id"] = "5799", ["entityType"] = "azure_blob_path" }, new Dictionary { - ["$id"] = "5798", + ["$id"] = "5800", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" @@ -2284,36 +2284,36 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "5849", + ["$id"] = "5851", ["and"] = new object[] { new Dictionary { - ["$id"] = "5850", + ["$id"] = "5852", ["entityType"] = "azure_blob_path" }, new Dictionary { - ["$id"] = "5851", + ["$id"] = "5853", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" }, new Dictionary { - ["$id"] = "5852", + ["$id"] = "5854", ["or"] = new object[] { new Dictionary { - ["$id"] = "5853", + ["$id"] = "5855", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { - ["$id"] = "5854", + ["$id"] = "5856", ["attributeName"] = "qualifiedName", ["operator"] = "prefix", ["attributeValue"] = "https://" @@ -2339,142 +2339,142 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "5907", + ["$id"] = "5909", ["or"] = new object[] { new Dictionary { - ["$id"] = "5908", + ["$id"] = "5910", ["assetType"] = "SQL Server" }, new Dictionary { - ["$id"] = "5909", + ["$id"] = "5911", ["assetType"] = "Azure SQL Server" }, new Dictionary { - ["$id"] = "5910", + ["$id"] = "5912", ["assetType"] = "Azure SQL Database" }, new Dictionary { - ["$id"] = "5911", + ["$id"] = "5913", ["assetType"] = "Azure SQL Data Warehouse" }, new Dictionary { - ["$id"] = "5912", + ["$id"] = "5914", ["assetType"] = "Azure SQL Managed Instance" }, new Dictionary { - ["$id"] = "5913", + ["$id"] = "5915", ["assetType"] = "Azure Storage Account" }, new Dictionary { - ["$id"] = "5914", + ["$id"] = "5916", ["assetType"] = "Azure Blob Storage" }, new Dictionary { - ["$id"] = "5915", + ["$id"] = "5917", ["assetType"] = "Azure Files" }, new Dictionary { - ["$id"] = "5916", + ["$id"] = "5918", ["assetType"] = "Azure Table Storage" }, new Dictionary { - ["$id"] = "5917", + ["$id"] = "5919", ["assetType"] = "Azure Data Lake Storage Gen1" }, new Dictionary { - ["$id"] = "5918", + ["$id"] = "5920", ["assetType"] = "Azure Data Lake Storage Gen2" }, new Dictionary { - ["$id"] = "5919", + ["$id"] = "5921", ["assetType"] = "Azure Cosmos DB" }, new Dictionary { - ["$id"] = "5920", + ["$id"] = "5922", ["assetType"] = "Azure Data Factory" }, new Dictionary { - ["$id"] = "5921", + ["$id"] = "5923", ["assetType"] = "Azure Cognitive Search" }, new Dictionary { - ["$id"] = "5922", + ["$id"] = "5924", ["assetType"] = "Power BI" }, new Dictionary { - ["$id"] = "5923", + ["$id"] = "5925", ["assetType"] = "Azure Data Explorer" }, new Dictionary { - ["$id"] = "5924", + ["$id"] = "5926", ["assetType"] = "Amazon S3" }, new Dictionary { - ["$id"] = "5925", + ["$id"] = "5927", ["assetType"] = "Azure Data Share" }, new Dictionary { - ["$id"] = "5926", + ["$id"] = "5928", ["assetType"] = "Teradata" }, new Dictionary { - ["$id"] = "5927", + ["$id"] = "5929", ["assetType"] = "SAP S4HANA" }, new Dictionary { - ["$id"] = "5928", + ["$id"] = "5930", ["assetType"] = "SAP ECC" }, new Dictionary { - ["$id"] = "5929", + ["$id"] = "5931", ["assetType"] = "SQL Server Integration Services" }, new Dictionary { - ["$id"] = "5930", + ["$id"] = "5932", ["assetType"] = "hive" }, new Dictionary { - ["$id"] = "5931", + ["$id"] = "5933", ["assetType"] = "Azure Database for MySQL" }, new Dictionary { - ["$id"] = "5932", + ["$id"] = "5934", ["assetType"] = "Azure Database for MariaDB" }, new Dictionary { - ["$id"] = "5933", + ["$id"] = "5935", ["assetType"] = "Azure Database for PostgreSQL" }, new Dictionary { - ["$id"] = "5934", + ["$id"] = "5936", ["assetType"] = "Azure Synapse Analytics" } } @@ -2496,26 +2496,26 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "5976", + ["$id"] = "5978", ["or"] = new object[] { new Dictionary { - ["$id"] = "5977", + ["$id"] = "5979", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { - ["$id"] = "5978", + ["$id"] = "5980", ["attributeName"] = "createTime", ["operator"] = "ge", ["attributeValue"] = 1545580800000L }, new Dictionary { - ["$id"] = "5979", + ["$id"] = "5981", ["attributeName"] = "modifiedTime", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -2539,33 +2539,33 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6041", + ["$id"] = "6043", ["or"] = new object[] { new Dictionary { - ["$id"] = "6042", + ["$id"] = "6044", ["attributeName"] = ".", ["operator"] = "eq|ne|contains|prefix", ["attributeValue"] = "string value" }, new Dictionary { - ["$id"] = "6043", + ["$id"] = "6045", ["attributeName"] = ".", ["operator"] = "eq|ne|gt|ge|lt|le", ["attributeValue"] = 123 }, new Dictionary { - ["$id"] = "6044", + ["$id"] = "6046", ["attributeName"] = ".", ["operator"] = "eq|ne", ["attributeValue"] = true }, new Dictionary { - ["$id"] = "6045", + ["$id"] = "6047", ["attributeName"] = ".", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -2589,7 +2589,7 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6068", + ["$id"] = "6070", ["classification"] = "MICROSOFT.PERSONAL.EMAIL", ["includeSubClassifications"] = true }, @@ -2610,7 +2610,7 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6118", + ["$id"] = "6120", ["collectionId"] = "collectionName" }, }); @@ -2629,7 +2629,7 @@ using RequestContent content = RequestContent.Create(new { filter = new Dictionary { - ["$id"] = "6167", + ["$id"] = "6169", ["objectType"] = "Tables" }, limit = 10, @@ -2673,12 +2673,12 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6297", + ["$id"] = "6299", ["and"] = new object[] { new Dictionary { - ["$id"] = "6298", + ["$id"] = "6300", ["fileExtension"] = "txt" } } @@ -2701,27 +2701,27 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6341", + ["$id"] = "6343", ["and"] = new object[] { new Dictionary { - ["$id"] = "6342", + ["$id"] = "6344", ["objectType"] = "Glossary terms" }, new Dictionary { - ["$id"] = "6343", + ["$id"] = "6345", ["or"] = new object[] { new Dictionary { - ["$id"] = "6344", + ["$id"] = "6346", ["glossaryType"] = "AtlasGlossary" }, new Dictionary { - ["$id"] = "6345", + ["$id"] = "6347", ["glossaryType"] = "AtlasGlossaryTerm" } } @@ -2766,12 +2766,12 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6413", + ["$id"] = "6415", ["and"] = new object[] { new Dictionary { - ["$id"] = "6414", + ["$id"] = "6416", ["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9" } } @@ -2793,10 +2793,10 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6442", + ["$id"] = "6444", ["not"] = new Dictionary { - ["$id"] = "6443", + ["$id"] = "6445", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } }, @@ -2817,47 +2817,47 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6485", + ["$id"] = "6487", ["or"] = new object[] { new Dictionary { - ["$id"] = "6486", + ["$id"] = "6488", ["objectType"] = "Dashboards" }, new Dictionary { - ["$id"] = "6487", + ["$id"] = "6489", ["objectType"] = "Data pipelines" }, new Dictionary { - ["$id"] = "6488", + ["$id"] = "6490", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6489", + ["$id"] = "6491", ["objectType"] = "Folders" }, new Dictionary { - ["$id"] = "6490", + ["$id"] = "6492", ["objectType"] = "Glossary terms" }, new Dictionary { - ["$id"] = "6491", + ["$id"] = "6493", ["objectType"] = "Reports" }, new Dictionary { - ["$id"] = "6492", + ["$id"] = "6494", ["objectType"] = "Stored procedures" }, new Dictionary { - ["$id"] = "6493", + ["$id"] = "6495", ["objectType"] = "Tables" } } @@ -2879,17 +2879,17 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6531", + ["$id"] = "6533", ["and"] = new object[] { new Dictionary { - ["$id"] = "6532", + ["$id"] = "6534", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6533", + ["$id"] = "6535", ["entityType"] = "azure_blob_path" } } @@ -2900,12 +2900,12 @@ using RequestContent content = RequestContent.Create(new { new Dictionary { - ["$id"] = "6538", + ["$id"] = "6540", ["name"] = "ASC" }, new Dictionary { - ["$id"] = "6540", + ["$id"] = "6542", ["updateTime"] = "DESC" } }, @@ -2974,17 +2974,17 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6618", + ["$id"] = "6620", ["and"] = new object[] { new Dictionary { - ["$id"] = "6619", + ["$id"] = "6621", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6620", + ["$id"] = "6622", ["entityType"] = "azure_blob_path" } } @@ -2994,12 +2994,12 @@ using RequestContent content = RequestContent.Create(new { new Dictionary { - ["$id"] = "6624", + ["$id"] = "6626", ["name"] = "ASC" }, new Dictionary { - ["$id"] = "6626", + ["$id"] = "6628", ["updateTime"] = "DESC" } }, @@ -3068,17 +3068,17 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6704", + ["$id"] = "6706", ["and"] = new object[] { new Dictionary { - ["$id"] = "6705", + ["$id"] = "6707", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6706", + ["$id"] = "6708", ["entityType"] = "azure_blob_path" } } @@ -3089,12 +3089,12 @@ using RequestContent content = RequestContent.Create(new { new Dictionary { - ["$id"] = "6711", + ["$id"] = "6713", ["name"] = "ASC" }, new Dictionary { - ["$id"] = "6713", + ["$id"] = "6715", ["updateTime"] = "DESC" } }, @@ -3163,22 +3163,22 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6790", + ["$id"] = "6792", ["or"] = new object[] { new Dictionary { - ["$id"] = "6791", + ["$id"] = "6793", ["createTime"] = new Dictionary { - ["$id"] = "6792", + ["$id"] = "6794", ["operator"] = "lt", ["timeThreshold"] = 1545580800000L } }, new Dictionary { - ["$id"] = "6793", + ["$id"] = "6795", ["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" } } @@ -3200,32 +3200,32 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6826", + ["$id"] = "6828", ["and"] = new object[] { new Dictionary { - ["$id"] = "6827", + ["$id"] = "6829", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6828", + ["$id"] = "6830", ["not"] = new Dictionary { - ["$id"] = "6829", + ["$id"] = "6831", ["or"] = new object[] { new Dictionary { - ["$id"] = "6830", + ["$id"] = "6832", ["attributeName"] = "size", ["operator"] = "eq", ["attributeValue"] = 0 }, new Dictionary { - ["$id"] = "6831", + ["$id"] = "6833", ["attributeName"] = "fileSize", ["operator"] = "eq", ["attributeValue"] = 0 @@ -3235,10 +3235,10 @@ using RequestContent content = RequestContent.Create(new }, new Dictionary { - ["$id"] = "6832", + ["$id"] = "6834", ["not"] = new Dictionary { - ["$id"] = "6833", + ["$id"] = "6835", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } } @@ -3278,23 +3278,23 @@ using RequestContent content = RequestContent.Create(new limit = 3, filter = new Dictionary { - ["$id"] = "6887", + ["$id"] = "6889", ["or"] = new object[] { new Dictionary { - ["$id"] = "6888", + ["$id"] = "6890", ["term"] = "ExampleTerm" }, new Dictionary { - ["$id"] = "6889", + ["$id"] = "6891", ["term"] = "ExampleTerm", ["glossary"] = "GlossaryName" }, new Dictionary { - ["$id"] = "6890", + ["$id"] = "6892", ["termGuid"] = "" } } @@ -3316,12 +3316,12 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6923", + ["$id"] = "6925", ["and"] = new object[] { new Dictionary { - ["$id"] = "6924", + ["$id"] = "6926", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -3347,17 +3347,17 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "5711", + ["$id"] = "5713", ["and"] = new object[] { new Dictionary { - ["$id"] = "5712", + ["$id"] = "5714", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "5713", + ["$id"] = "5715", ["entityType"] = "azure_blob_path" } } @@ -3367,12 +3367,12 @@ using RequestContent content = RequestContent.Create(new { new Dictionary { - ["$id"] = "5717", + ["$id"] = "5719", ["name"] = "ASC" }, new Dictionary { - ["$id"] = "5719", + ["$id"] = "5721", ["updateTime"] = "DESC" } }, @@ -3441,17 +3441,17 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "5796", + ["$id"] = "5798", ["and"] = new object[] { new Dictionary { - ["$id"] = "5797", + ["$id"] = "5799", ["entityType"] = "azure_blob_path" }, new Dictionary { - ["$id"] = "5798", + ["$id"] = "5800", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" @@ -3475,36 +3475,36 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "5849", + ["$id"] = "5851", ["and"] = new object[] { new Dictionary { - ["$id"] = "5850", + ["$id"] = "5852", ["entityType"] = "azure_blob_path" }, new Dictionary { - ["$id"] = "5851", + ["$id"] = "5853", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" }, new Dictionary { - ["$id"] = "5852", + ["$id"] = "5854", ["or"] = new object[] { new Dictionary { - ["$id"] = "5853", + ["$id"] = "5855", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { - ["$id"] = "5854", + ["$id"] = "5856", ["attributeName"] = "qualifiedName", ["operator"] = "prefix", ["attributeValue"] = "https://" @@ -3530,142 +3530,142 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "5907", + ["$id"] = "5909", ["or"] = new object[] { new Dictionary { - ["$id"] = "5908", + ["$id"] = "5910", ["assetType"] = "SQL Server" }, new Dictionary { - ["$id"] = "5909", + ["$id"] = "5911", ["assetType"] = "Azure SQL Server" }, new Dictionary { - ["$id"] = "5910", + ["$id"] = "5912", ["assetType"] = "Azure SQL Database" }, new Dictionary { - ["$id"] = "5911", + ["$id"] = "5913", ["assetType"] = "Azure SQL Data Warehouse" }, new Dictionary { - ["$id"] = "5912", + ["$id"] = "5914", ["assetType"] = "Azure SQL Managed Instance" }, new Dictionary { - ["$id"] = "5913", + ["$id"] = "5915", ["assetType"] = "Azure Storage Account" }, new Dictionary { - ["$id"] = "5914", + ["$id"] = "5916", ["assetType"] = "Azure Blob Storage" }, new Dictionary { - ["$id"] = "5915", + ["$id"] = "5917", ["assetType"] = "Azure Files" }, new Dictionary { - ["$id"] = "5916", + ["$id"] = "5918", ["assetType"] = "Azure Table Storage" }, new Dictionary { - ["$id"] = "5917", + ["$id"] = "5919", ["assetType"] = "Azure Data Lake Storage Gen1" }, new Dictionary { - ["$id"] = "5918", + ["$id"] = "5920", ["assetType"] = "Azure Data Lake Storage Gen2" }, new Dictionary { - ["$id"] = "5919", + ["$id"] = "5921", ["assetType"] = "Azure Cosmos DB" }, new Dictionary { - ["$id"] = "5920", + ["$id"] = "5922", ["assetType"] = "Azure Data Factory" }, new Dictionary { - ["$id"] = "5921", + ["$id"] = "5923", ["assetType"] = "Azure Cognitive Search" }, new Dictionary { - ["$id"] = "5922", + ["$id"] = "5924", ["assetType"] = "Power BI" }, new Dictionary { - ["$id"] = "5923", + ["$id"] = "5925", ["assetType"] = "Azure Data Explorer" }, new Dictionary { - ["$id"] = "5924", + ["$id"] = "5926", ["assetType"] = "Amazon S3" }, new Dictionary { - ["$id"] = "5925", + ["$id"] = "5927", ["assetType"] = "Azure Data Share" }, new Dictionary { - ["$id"] = "5926", + ["$id"] = "5928", ["assetType"] = "Teradata" }, new Dictionary { - ["$id"] = "5927", + ["$id"] = "5929", ["assetType"] = "SAP S4HANA" }, new Dictionary { - ["$id"] = "5928", + ["$id"] = "5930", ["assetType"] = "SAP ECC" }, new Dictionary { - ["$id"] = "5929", + ["$id"] = "5931", ["assetType"] = "SQL Server Integration Services" }, new Dictionary { - ["$id"] = "5930", + ["$id"] = "5932", ["assetType"] = "hive" }, new Dictionary { - ["$id"] = "5931", + ["$id"] = "5933", ["assetType"] = "Azure Database for MySQL" }, new Dictionary { - ["$id"] = "5932", + ["$id"] = "5934", ["assetType"] = "Azure Database for MariaDB" }, new Dictionary { - ["$id"] = "5933", + ["$id"] = "5935", ["assetType"] = "Azure Database for PostgreSQL" }, new Dictionary { - ["$id"] = "5934", + ["$id"] = "5936", ["assetType"] = "Azure Synapse Analytics" } } @@ -3687,26 +3687,26 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "5976", + ["$id"] = "5978", ["or"] = new object[] { new Dictionary { - ["$id"] = "5977", + ["$id"] = "5979", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { - ["$id"] = "5978", + ["$id"] = "5980", ["attributeName"] = "createTime", ["operator"] = "ge", ["attributeValue"] = 1545580800000L }, new Dictionary { - ["$id"] = "5979", + ["$id"] = "5981", ["attributeName"] = "modifiedTime", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -3730,33 +3730,33 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6041", + ["$id"] = "6043", ["or"] = new object[] { new Dictionary { - ["$id"] = "6042", + ["$id"] = "6044", ["attributeName"] = ".", ["operator"] = "eq|ne|contains|prefix", ["attributeValue"] = "string value" }, new Dictionary { - ["$id"] = "6043", + ["$id"] = "6045", ["attributeName"] = ".", ["operator"] = "eq|ne|gt|ge|lt|le", ["attributeValue"] = 123 }, new Dictionary { - ["$id"] = "6044", + ["$id"] = "6046", ["attributeName"] = ".", ["operator"] = "eq|ne", ["attributeValue"] = true }, new Dictionary { - ["$id"] = "6045", + ["$id"] = "6047", ["attributeName"] = ".", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -3780,7 +3780,7 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6068", + ["$id"] = "6070", ["classification"] = "MICROSOFT.PERSONAL.EMAIL", ["includeSubClassifications"] = true }, @@ -3801,7 +3801,7 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6118", + ["$id"] = "6120", ["collectionId"] = "collectionName" }, }); @@ -3820,7 +3820,7 @@ using RequestContent content = RequestContent.Create(new { filter = new Dictionary { - ["$id"] = "6167", + ["$id"] = "6169", ["objectType"] = "Tables" }, limit = 10, @@ -3864,12 +3864,12 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6297", + ["$id"] = "6299", ["and"] = new object[] { new Dictionary { - ["$id"] = "6298", + ["$id"] = "6300", ["fileExtension"] = "txt" } } @@ -3892,27 +3892,27 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6341", + ["$id"] = "6343", ["and"] = new object[] { new Dictionary { - ["$id"] = "6342", + ["$id"] = "6344", ["objectType"] = "Glossary terms" }, new Dictionary { - ["$id"] = "6343", + ["$id"] = "6345", ["or"] = new object[] { new Dictionary { - ["$id"] = "6344", + ["$id"] = "6346", ["glossaryType"] = "AtlasGlossary" }, new Dictionary { - ["$id"] = "6345", + ["$id"] = "6347", ["glossaryType"] = "AtlasGlossaryTerm" } } @@ -3957,12 +3957,12 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6413", + ["$id"] = "6415", ["and"] = new object[] { new Dictionary { - ["$id"] = "6414", + ["$id"] = "6416", ["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9" } } @@ -3984,10 +3984,10 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6442", + ["$id"] = "6444", ["not"] = new Dictionary { - ["$id"] = "6443", + ["$id"] = "6445", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } }, @@ -4008,47 +4008,47 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6485", + ["$id"] = "6487", ["or"] = new object[] { new Dictionary { - ["$id"] = "6486", + ["$id"] = "6488", ["objectType"] = "Dashboards" }, new Dictionary { - ["$id"] = "6487", + ["$id"] = "6489", ["objectType"] = "Data pipelines" }, new Dictionary { - ["$id"] = "6488", + ["$id"] = "6490", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6489", + ["$id"] = "6491", ["objectType"] = "Folders" }, new Dictionary { - ["$id"] = "6490", + ["$id"] = "6492", ["objectType"] = "Glossary terms" }, new Dictionary { - ["$id"] = "6491", + ["$id"] = "6493", ["objectType"] = "Reports" }, new Dictionary { - ["$id"] = "6492", + ["$id"] = "6494", ["objectType"] = "Stored procedures" }, new Dictionary { - ["$id"] = "6493", + ["$id"] = "6495", ["objectType"] = "Tables" } } @@ -4070,17 +4070,17 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6531", + ["$id"] = "6533", ["and"] = new object[] { new Dictionary { - ["$id"] = "6532", + ["$id"] = "6534", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6533", + ["$id"] = "6535", ["entityType"] = "azure_blob_path" } } @@ -4091,12 +4091,12 @@ using RequestContent content = RequestContent.Create(new { new Dictionary { - ["$id"] = "6538", + ["$id"] = "6540", ["name"] = "ASC" }, new Dictionary { - ["$id"] = "6540", + ["$id"] = "6542", ["updateTime"] = "DESC" } }, @@ -4165,17 +4165,17 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6618", + ["$id"] = "6620", ["and"] = new object[] { new Dictionary { - ["$id"] = "6619", + ["$id"] = "6621", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6620", + ["$id"] = "6622", ["entityType"] = "azure_blob_path" } } @@ -4185,12 +4185,12 @@ using RequestContent content = RequestContent.Create(new { new Dictionary { - ["$id"] = "6624", + ["$id"] = "6626", ["name"] = "ASC" }, new Dictionary { - ["$id"] = "6626", + ["$id"] = "6628", ["updateTime"] = "DESC" } }, @@ -4259,17 +4259,17 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6704", + ["$id"] = "6706", ["and"] = new object[] { new Dictionary { - ["$id"] = "6705", + ["$id"] = "6707", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6706", + ["$id"] = "6708", ["entityType"] = "azure_blob_path" } } @@ -4280,12 +4280,12 @@ using RequestContent content = RequestContent.Create(new { new Dictionary { - ["$id"] = "6711", + ["$id"] = "6713", ["name"] = "ASC" }, new Dictionary { - ["$id"] = "6713", + ["$id"] = "6715", ["updateTime"] = "DESC" } }, @@ -4354,22 +4354,22 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6790", + ["$id"] = "6792", ["or"] = new object[] { new Dictionary { - ["$id"] = "6791", + ["$id"] = "6793", ["createTime"] = new Dictionary { - ["$id"] = "6792", + ["$id"] = "6794", ["operator"] = "lt", ["timeThreshold"] = 1545580800000L } }, new Dictionary { - ["$id"] = "6793", + ["$id"] = "6795", ["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" } } @@ -4391,32 +4391,32 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6826", + ["$id"] = "6828", ["and"] = new object[] { new Dictionary { - ["$id"] = "6827", + ["$id"] = "6829", ["objectType"] = "Files" }, new Dictionary { - ["$id"] = "6828", + ["$id"] = "6830", ["not"] = new Dictionary { - ["$id"] = "6829", + ["$id"] = "6831", ["or"] = new object[] { new Dictionary { - ["$id"] = "6830", + ["$id"] = "6832", ["attributeName"] = "size", ["operator"] = "eq", ["attributeValue"] = 0 }, new Dictionary { - ["$id"] = "6831", + ["$id"] = "6833", ["attributeName"] = "fileSize", ["operator"] = "eq", ["attributeValue"] = 0 @@ -4426,10 +4426,10 @@ using RequestContent content = RequestContent.Create(new }, new Dictionary { - ["$id"] = "6832", + ["$id"] = "6834", ["not"] = new Dictionary { - ["$id"] = "6833", + ["$id"] = "6835", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } } @@ -4469,23 +4469,23 @@ using RequestContent content = RequestContent.Create(new limit = 3, filter = new Dictionary { - ["$id"] = "6887", + ["$id"] = "6889", ["or"] = new object[] { new Dictionary { - ["$id"] = "6888", + ["$id"] = "6890", ["term"] = "ExampleTerm" }, new Dictionary { - ["$id"] = "6889", + ["$id"] = "6891", ["term"] = "ExampleTerm", ["glossary"] = "GlossaryName" }, new Dictionary { - ["$id"] = "6890", + ["$id"] = "6892", ["termGuid"] = "" } } @@ -4507,12 +4507,12 @@ using RequestContent content = RequestContent.Create(new limit = 10, filter = new Dictionary { - ["$id"] = "6923", + ["$id"] = "6925", ["and"] = new object[] { new Dictionary { - ["$id"] = "6924", + ["$id"] = "6926", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4539,12 +4539,12 @@ SuggestConfig body = new SuggestConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6980", + ["$id"] = "6982", ["and"] = new object[] { new Dictionary { - ["$id"] = "6981", + ["$id"] = "6983", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4568,12 +4568,12 @@ SuggestConfig body = new SuggestConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6980", + ["$id"] = "6982", ["and"] = new object[] { new Dictionary { - ["$id"] = "6981", + ["$id"] = "6983", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4596,12 +4596,12 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6980", + ["$id"] = "6982", ["and"] = new object[] { new Dictionary { - ["$id"] = "6981", + ["$id"] = "6983", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4628,12 +4628,12 @@ using RequestContent content = RequestContent.Create(new keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6980", + ["$id"] = "6982", ["and"] = new object[] { new Dictionary { - ["$id"] = "6981", + ["$id"] = "6983", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4661,12 +4661,12 @@ AutoCompleteConfig body = new AutoCompleteConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "7035", + ["$id"] = "7037", ["and"] = new object[] { new Dictionary { - ["$id"] = "7036", + ["$id"] = "7038", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4690,12 +4690,12 @@ AutoCompleteConfig body = new AutoCompleteConfig Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "7035", + ["$id"] = "7037", ["and"] = new object[] { new Dictionary { - ["$id"] = "7036", + ["$id"] = "7038", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4718,12 +4718,12 @@ using RequestContent content = RequestContent.Create(new keywords = "exa", filter = new Dictionary { - ["$id"] = "7035", + ["$id"] = "7037", ["and"] = new object[] { new Dictionary { - ["$id"] = "7036", + ["$id"] = "7038", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4750,12 +4750,12 @@ using RequestContent content = RequestContent.Create(new keywords = "exa", filter = new Dictionary { - ["$id"] = "7035", + ["$id"] = "7037", ["and"] = new object[] { new Dictionary { - ["$id"] = "7036", + ["$id"] = "7038", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SearchResultValue.Serialization.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SearchResultValue.Serialization.cs index 49679c5478d3..f695e8135373 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SearchResultValue.Serialization.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SearchResultValue.Serialization.cs @@ -84,10 +84,15 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("description"u8); writer.WriteStringValue(Description); } - if (Optional.IsDefined(Endorsement)) + if (Optional.IsCollectionDefined(Endorsement)) { writer.WritePropertyName("endorsement"u8); - writer.WriteStringValue(Endorsement); + writer.WriteStartArray(); + foreach (var item in Endorsement) + { + writer.WriteStringValue(item); + } + writer.WriteEndArray(); } if (Optional.IsDefined(Owner)) { @@ -221,7 +226,7 @@ internal static SearchResultValue DeserializeSearchResultValue(JsonElement eleme string qualifiedName = default; string entityType = default; string description = default; - string endorsement = default; + IReadOnlyList endorsement = default; string owner = default; IReadOnlyList classification = default; IReadOnlyList label = default; @@ -305,7 +310,16 @@ internal static SearchResultValue DeserializeSearchResultValue(JsonElement eleme } if (property.NameEquals("endorsement"u8)) { - endorsement = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + endorsement = array; continue; } if (property.NameEquals("owner"u8)) @@ -434,7 +448,7 @@ internal static SearchResultValue DeserializeSearchResultValue(JsonElement eleme qualifiedName, entityType, description, - endorsement, + endorsement ?? new ChangeTrackingList(), owner, classification ?? new ChangeTrackingList(), label ?? new ChangeTrackingList(), diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SearchResultValue.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SearchResultValue.cs index 2d6733131fe6..300d91f3df01 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SearchResultValue.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SearchResultValue.cs @@ -48,6 +48,7 @@ public partial class SearchResultValue /// Initializes a new instance of . internal SearchResultValue() { + Endorsement = new ChangeTrackingList(); Classification = new ChangeTrackingList(); Label = new ChangeTrackingList(); Term = new ChangeTrackingList(); @@ -94,7 +95,7 @@ internal SearchResultValue() /// The term template names used by the term. /// The definition of the term. /// Keeps track of any properties unknown to the library. - internal SearchResultValue(float? searchScore, SearchHighlights searchHighlights, string objectType, long? createTime, long? updateTime, string id, string name, string qualifiedName, string entityType, string description, string endorsement, string owner, IReadOnlyList classification, IReadOnlyList label, IReadOnlyList term, IReadOnlyList contact, IReadOnlyList assetType, string glossaryType, string glossary, string termStatus, IReadOnlyList termTemplate, string longDescription, IDictionary serializedAdditionalRawData) + internal SearchResultValue(float? searchScore, SearchHighlights searchHighlights, string objectType, long? createTime, long? updateTime, string id, string name, string qualifiedName, string entityType, string description, IReadOnlyList endorsement, string owner, IReadOnlyList classification, IReadOnlyList label, IReadOnlyList term, IReadOnlyList contact, IReadOnlyList assetType, string glossaryType, string glossary, string termStatus, IReadOnlyList termTemplate, string longDescription, IDictionary serializedAdditionalRawData) { SearchScore = searchScore; SearchHighlights = searchHighlights; @@ -153,7 +154,7 @@ internal SearchResultValue(float? searchScore, SearchHighlights searchHighlights /// The description of the asset. public string Description { get; } /// The endorsement of the asset. - public string Endorsement { get; } + public IReadOnlyList Endorsement { get; } /// The owner of the record. public string Owner { get; } /// The classifications of the record. diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SuggestResultValue.Serialization.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SuggestResultValue.Serialization.cs index 342716e0a8e2..e7cc0c9d8183 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SuggestResultValue.Serialization.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SuggestResultValue.Serialization.cs @@ -84,10 +84,15 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit writer.WritePropertyName("description"u8); writer.WriteStringValue(Description); } - if (Optional.IsDefined(Endorsement)) + if (Optional.IsCollectionDefined(Endorsement)) { writer.WritePropertyName("endorsement"u8); - writer.WriteStringValue(Endorsement); + writer.WriteStartArray(); + foreach (var item in Endorsement) + { + writer.WriteStringValue(item); + } + writer.WriteEndArray(); } if (Optional.IsDefined(Owner)) { @@ -221,7 +226,7 @@ internal static SuggestResultValue DeserializeSuggestResultValue(JsonElement ele string qualifiedName = default; string entityType = default; string description = default; - string endorsement = default; + IReadOnlyList endorsement = default; string owner = default; IReadOnlyList classification = default; IReadOnlyList label = default; @@ -301,7 +306,16 @@ internal static SuggestResultValue DeserializeSuggestResultValue(JsonElement ele } if (property.NameEquals("endorsement"u8)) { - endorsement = property.Value.GetString(); + if (property.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + List array = new List(); + foreach (var item in property.Value.EnumerateArray()) + { + array.Add(item.GetString()); + } + endorsement = array; continue; } if (property.NameEquals("owner"u8)) @@ -430,7 +444,7 @@ internal static SuggestResultValue DeserializeSuggestResultValue(JsonElement ele qualifiedName, entityType, description, - endorsement, + endorsement ?? new ChangeTrackingList(), owner, classification ?? new ChangeTrackingList(), label ?? new ChangeTrackingList(), diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SuggestResultValue.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SuggestResultValue.cs index dc2f4ad8dfc9..3ecb7411c775 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SuggestResultValue.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/src/Generated/SuggestResultValue.cs @@ -48,6 +48,7 @@ public partial class SuggestResultValue /// Initializes a new instance of . internal SuggestResultValue() { + Endorsement = new ChangeTrackingList(); Classification = new ChangeTrackingList(); Label = new ChangeTrackingList(); Term = new ChangeTrackingList(); @@ -92,7 +93,7 @@ internal SuggestResultValue() /// The term template names used by the term. /// The definition of the term. /// Keeps track of any properties unknown to the library. - internal SuggestResultValue(float? searchScore, string searchText, string objectType, long? createTime, long? updateTime, string id, string name, string qualifiedName, string entityType, string description, string endorsement, string owner, IReadOnlyList classification, IReadOnlyList label, IReadOnlyList term, IReadOnlyList contact, IReadOnlyList assetType, string glossaryType, string glossary, string termStatus, IReadOnlyList termTemplate, string longDescription, IDictionary serializedAdditionalRawData) + internal SuggestResultValue(float? searchScore, string searchText, string objectType, long? createTime, long? updateTime, string id, string name, string qualifiedName, string entityType, string description, IReadOnlyList endorsement, string owner, IReadOnlyList classification, IReadOnlyList label, IReadOnlyList term, IReadOnlyList contact, IReadOnlyList assetType, string glossaryType, string glossary, string termStatus, IReadOnlyList termTemplate, string longDescription, IDictionary serializedAdditionalRawData) { SearchScore = searchScore; SearchText = searchText; @@ -149,7 +150,7 @@ internal SuggestResultValue(float? searchScore, string searchText, string object /// The description of the asset. public string Description { get; } /// The endorsement of the asset. - public string Endorsement { get; } + public IReadOnlyList Endorsement { get; } /// The owner of the record. public string Owner { get; } /// The classifications of the record. diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs index 8ea1626ef8c4..3753543ca714 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tests/Generated/Samples/Samples_Discovery.cs @@ -30,17 +30,17 @@ public void Example_Discovery_Query_DiscoveryQuery() keywords = "exampledata", filter = new Dictionary { - ["$id"] = "5711", + ["$id"] = "5713", ["and"] = new object[] { new Dictionary { -["$id"] = "5712", +["$id"] = "5714", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "5713", +["$id"] = "5715", ["entityType"] = "azure_blob_path" } } @@ -50,12 +50,12 @@ public void Example_Discovery_Query_DiscoveryQuery() { new Dictionary { -["$id"] = "5717", +["$id"] = "5719", ["name"] = "ASC" }, new Dictionary { -["$id"] = "5719", +["$id"] = "5721", ["updateTime"] = "DESC" } }, @@ -127,17 +127,17 @@ public async Task Example_Discovery_Query_DiscoveryQuery_Async() keywords = "exampledata", filter = new Dictionary { - ["$id"] = "5711", + ["$id"] = "5713", ["and"] = new object[] { new Dictionary { -["$id"] = "5712", +["$id"] = "5714", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "5713", +["$id"] = "5715", ["entityType"] = "azure_blob_path" } } @@ -147,12 +147,12 @@ public async Task Example_Discovery_Query_DiscoveryQuery_Async() { new Dictionary { -["$id"] = "5717", +["$id"] = "5719", ["name"] = "ASC" }, new Dictionary { -["$id"] = "5719", +["$id"] = "5721", ["updateTime"] = "DESC" } }, @@ -225,26 +225,26 @@ public void Example_Discovery_Query_DiscoveryQuery_Convenience() Limit = 10, Orderby = {BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "5717", +["$id"] = "5719", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "5719", +["$id"] = "5721", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5711", + ["$id"] = "5713", ["and"] = new object[] { new Dictionary { -["$id"] = "5712", +["$id"] = "5714", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "5713", +["$id"] = "5715", ["entityType"] = "azure_blob_path" } } @@ -308,26 +308,26 @@ public async Task Example_Discovery_Query_DiscoveryQuery_Convenience_Async() Limit = 10, Orderby = {BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "5717", +["$id"] = "5719", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "5719", +["$id"] = "5721", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5711", + ["$id"] = "5713", ["and"] = new object[] { new Dictionary { -["$id"] = "5712", +["$id"] = "5714", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "5713", +["$id"] = "5715", ["entityType"] = "azure_blob_path" } } @@ -390,17 +390,17 @@ public void Example_Discovery_Query_DiscoveryQueryAnd() limit = 10, filter = new Dictionary { - ["$id"] = "5796", + ["$id"] = "5798", ["and"] = new object[] { new Dictionary { -["$id"] = "5797", +["$id"] = "5799", ["entityType"] = "azure_blob_path" }, new Dictionary { -["$id"] = "5798", +["$id"] = "5800", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" @@ -427,17 +427,17 @@ public async Task Example_Discovery_Query_DiscoveryQueryAnd_Async() limit = 10, filter = new Dictionary { - ["$id"] = "5796", + ["$id"] = "5798", ["and"] = new object[] { new Dictionary { -["$id"] = "5797", +["$id"] = "5799", ["entityType"] = "azure_blob_path" }, new Dictionary { -["$id"] = "5798", +["$id"] = "5800", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" @@ -464,17 +464,17 @@ public void Example_Discovery_Query_DiscoveryQueryAnd_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5796", + ["$id"] = "5798", ["and"] = new object[] { new Dictionary { -["$id"] = "5797", +["$id"] = "5799", ["entityType"] = "azure_blob_path" }, new Dictionary { -["$id"] = "5798", +["$id"] = "5800", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" @@ -498,17 +498,17 @@ public async Task Example_Discovery_Query_DiscoveryQueryAnd_Convenience_Async() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5796", + ["$id"] = "5798", ["and"] = new object[] { new Dictionary { -["$id"] = "5797", +["$id"] = "5799", ["entityType"] = "azure_blob_path" }, new Dictionary { -["$id"] = "5798", +["$id"] = "5800", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" @@ -532,36 +532,36 @@ public void Example_Discovery_Query_DiscoveryQueryAndOrNested() limit = 10, filter = new Dictionary { - ["$id"] = "5849", + ["$id"] = "5851", ["and"] = new object[] { new Dictionary { -["$id"] = "5850", +["$id"] = "5852", ["entityType"] = "azure_blob_path" }, new Dictionary { -["$id"] = "5851", +["$id"] = "5853", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" }, new Dictionary { -["$id"] = "5852", +["$id"] = "5854", ["or"] = new object[] { new Dictionary { -["$id"] = "5853", +["$id"] = "5855", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { -["$id"] = "5854", +["$id"] = "5856", ["attributeName"] = "qualifiedName", ["operator"] = "prefix", ["attributeValue"] = "https://" @@ -590,36 +590,36 @@ public async Task Example_Discovery_Query_DiscoveryQueryAndOrNested_Async() limit = 10, filter = new Dictionary { - ["$id"] = "5849", + ["$id"] = "5851", ["and"] = new object[] { new Dictionary { -["$id"] = "5850", +["$id"] = "5852", ["entityType"] = "azure_blob_path" }, new Dictionary { -["$id"] = "5851", +["$id"] = "5853", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" }, new Dictionary { -["$id"] = "5852", +["$id"] = "5854", ["or"] = new object[] { new Dictionary { -["$id"] = "5853", +["$id"] = "5855", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { -["$id"] = "5854", +["$id"] = "5856", ["attributeName"] = "qualifiedName", ["operator"] = "prefix", ["attributeValue"] = "https://" @@ -648,36 +648,36 @@ public void Example_Discovery_Query_DiscoveryQueryAndOrNested_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5849", + ["$id"] = "5851", ["and"] = new object[] { new Dictionary { -["$id"] = "5850", +["$id"] = "5852", ["entityType"] = "azure_blob_path" }, new Dictionary { -["$id"] = "5851", +["$id"] = "5853", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" }, new Dictionary { -["$id"] = "5852", +["$id"] = "5854", ["or"] = new object[] { new Dictionary { -["$id"] = "5853", +["$id"] = "5855", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { -["$id"] = "5854", +["$id"] = "5856", ["attributeName"] = "qualifiedName", ["operator"] = "prefix", ["attributeValue"] = "https://" @@ -703,36 +703,36 @@ public async Task Example_Discovery_Query_DiscoveryQueryAndOrNested_Convenience_ Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5849", + ["$id"] = "5851", ["and"] = new object[] { new Dictionary { -["$id"] = "5850", +["$id"] = "5852", ["entityType"] = "azure_blob_path" }, new Dictionary { -["$id"] = "5851", +["$id"] = "5853", ["attributeName"] = "qualifiedName", ["operator"] = "contains", ["attributeValue"] = ".csv" }, new Dictionary { -["$id"] = "5852", +["$id"] = "5854", ["or"] = new object[] { new Dictionary { -["$id"] = "5853", +["$id"] = "5855", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { -["$id"] = "5854", +["$id"] = "5856", ["attributeName"] = "qualifiedName", ["operator"] = "prefix", ["attributeValue"] = "https://" @@ -758,142 +758,142 @@ public void Example_Discovery_Query_DiscoveryQueryAssetType() limit = 10, filter = new Dictionary { - ["$id"] = "5907", + ["$id"] = "5909", ["or"] = new object[] { new Dictionary { -["$id"] = "5908", +["$id"] = "5910", ["assetType"] = "SQL Server" }, new Dictionary { -["$id"] = "5909", +["$id"] = "5911", ["assetType"] = "Azure SQL Server" }, new Dictionary { -["$id"] = "5910", +["$id"] = "5912", ["assetType"] = "Azure SQL Database" }, new Dictionary { -["$id"] = "5911", +["$id"] = "5913", ["assetType"] = "Azure SQL Data Warehouse" }, new Dictionary { -["$id"] = "5912", +["$id"] = "5914", ["assetType"] = "Azure SQL Managed Instance" }, new Dictionary { -["$id"] = "5913", +["$id"] = "5915", ["assetType"] = "Azure Storage Account" }, new Dictionary { -["$id"] = "5914", +["$id"] = "5916", ["assetType"] = "Azure Blob Storage" }, new Dictionary { -["$id"] = "5915", +["$id"] = "5917", ["assetType"] = "Azure Files" }, new Dictionary { -["$id"] = "5916", +["$id"] = "5918", ["assetType"] = "Azure Table Storage" }, new Dictionary { -["$id"] = "5917", +["$id"] = "5919", ["assetType"] = "Azure Data Lake Storage Gen1" }, new Dictionary { -["$id"] = "5918", +["$id"] = "5920", ["assetType"] = "Azure Data Lake Storage Gen2" }, new Dictionary { -["$id"] = "5919", +["$id"] = "5921", ["assetType"] = "Azure Cosmos DB" }, new Dictionary { -["$id"] = "5920", +["$id"] = "5922", ["assetType"] = "Azure Data Factory" }, new Dictionary { -["$id"] = "5921", +["$id"] = "5923", ["assetType"] = "Azure Cognitive Search" }, new Dictionary { -["$id"] = "5922", +["$id"] = "5924", ["assetType"] = "Power BI" }, new Dictionary { -["$id"] = "5923", +["$id"] = "5925", ["assetType"] = "Azure Data Explorer" }, new Dictionary { -["$id"] = "5924", +["$id"] = "5926", ["assetType"] = "Amazon S3" }, new Dictionary { -["$id"] = "5925", +["$id"] = "5927", ["assetType"] = "Azure Data Share" }, new Dictionary { -["$id"] = "5926", +["$id"] = "5928", ["assetType"] = "Teradata" }, new Dictionary { -["$id"] = "5927", +["$id"] = "5929", ["assetType"] = "SAP S4HANA" }, new Dictionary { -["$id"] = "5928", +["$id"] = "5930", ["assetType"] = "SAP ECC" }, new Dictionary { -["$id"] = "5929", +["$id"] = "5931", ["assetType"] = "SQL Server Integration Services" }, new Dictionary { -["$id"] = "5930", +["$id"] = "5932", ["assetType"] = "hive" }, new Dictionary { -["$id"] = "5931", +["$id"] = "5933", ["assetType"] = "Azure Database for MySQL" }, new Dictionary { -["$id"] = "5932", +["$id"] = "5934", ["assetType"] = "Azure Database for MariaDB" }, new Dictionary { -["$id"] = "5933", +["$id"] = "5935", ["assetType"] = "Azure Database for PostgreSQL" }, new Dictionary { -["$id"] = "5934", +["$id"] = "5936", ["assetType"] = "Azure Synapse Analytics" } } @@ -918,142 +918,142 @@ public async Task Example_Discovery_Query_DiscoveryQueryAssetType_Async() limit = 10, filter = new Dictionary { - ["$id"] = "5907", + ["$id"] = "5909", ["or"] = new object[] { new Dictionary { -["$id"] = "5908", +["$id"] = "5910", ["assetType"] = "SQL Server" }, new Dictionary { -["$id"] = "5909", +["$id"] = "5911", ["assetType"] = "Azure SQL Server" }, new Dictionary { -["$id"] = "5910", +["$id"] = "5912", ["assetType"] = "Azure SQL Database" }, new Dictionary { -["$id"] = "5911", +["$id"] = "5913", ["assetType"] = "Azure SQL Data Warehouse" }, new Dictionary { -["$id"] = "5912", +["$id"] = "5914", ["assetType"] = "Azure SQL Managed Instance" }, new Dictionary { -["$id"] = "5913", +["$id"] = "5915", ["assetType"] = "Azure Storage Account" }, new Dictionary { -["$id"] = "5914", +["$id"] = "5916", ["assetType"] = "Azure Blob Storage" }, new Dictionary { -["$id"] = "5915", +["$id"] = "5917", ["assetType"] = "Azure Files" }, new Dictionary { -["$id"] = "5916", +["$id"] = "5918", ["assetType"] = "Azure Table Storage" }, new Dictionary { -["$id"] = "5917", +["$id"] = "5919", ["assetType"] = "Azure Data Lake Storage Gen1" }, new Dictionary { -["$id"] = "5918", +["$id"] = "5920", ["assetType"] = "Azure Data Lake Storage Gen2" }, new Dictionary { -["$id"] = "5919", +["$id"] = "5921", ["assetType"] = "Azure Cosmos DB" }, new Dictionary { -["$id"] = "5920", +["$id"] = "5922", ["assetType"] = "Azure Data Factory" }, new Dictionary { -["$id"] = "5921", +["$id"] = "5923", ["assetType"] = "Azure Cognitive Search" }, new Dictionary { -["$id"] = "5922", +["$id"] = "5924", ["assetType"] = "Power BI" }, new Dictionary { -["$id"] = "5923", +["$id"] = "5925", ["assetType"] = "Azure Data Explorer" }, new Dictionary { -["$id"] = "5924", +["$id"] = "5926", ["assetType"] = "Amazon S3" }, new Dictionary { -["$id"] = "5925", +["$id"] = "5927", ["assetType"] = "Azure Data Share" }, new Dictionary { -["$id"] = "5926", +["$id"] = "5928", ["assetType"] = "Teradata" }, new Dictionary { -["$id"] = "5927", +["$id"] = "5929", ["assetType"] = "SAP S4HANA" }, new Dictionary { -["$id"] = "5928", +["$id"] = "5930", ["assetType"] = "SAP ECC" }, new Dictionary { -["$id"] = "5929", +["$id"] = "5931", ["assetType"] = "SQL Server Integration Services" }, new Dictionary { -["$id"] = "5930", +["$id"] = "5932", ["assetType"] = "hive" }, new Dictionary { -["$id"] = "5931", +["$id"] = "5933", ["assetType"] = "Azure Database for MySQL" }, new Dictionary { -["$id"] = "5932", +["$id"] = "5934", ["assetType"] = "Azure Database for MariaDB" }, new Dictionary { -["$id"] = "5933", +["$id"] = "5935", ["assetType"] = "Azure Database for PostgreSQL" }, new Dictionary { -["$id"] = "5934", +["$id"] = "5936", ["assetType"] = "Azure Synapse Analytics" } } @@ -1078,142 +1078,142 @@ public void Example_Discovery_Query_DiscoveryQueryAssetType_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5907", + ["$id"] = "5909", ["or"] = new object[] { new Dictionary { -["$id"] = "5908", +["$id"] = "5910", ["assetType"] = "SQL Server" }, new Dictionary { -["$id"] = "5909", +["$id"] = "5911", ["assetType"] = "Azure SQL Server" }, new Dictionary { -["$id"] = "5910", +["$id"] = "5912", ["assetType"] = "Azure SQL Database" }, new Dictionary { -["$id"] = "5911", +["$id"] = "5913", ["assetType"] = "Azure SQL Data Warehouse" }, new Dictionary { -["$id"] = "5912", +["$id"] = "5914", ["assetType"] = "Azure SQL Managed Instance" }, new Dictionary { -["$id"] = "5913", +["$id"] = "5915", ["assetType"] = "Azure Storage Account" }, new Dictionary { -["$id"] = "5914", +["$id"] = "5916", ["assetType"] = "Azure Blob Storage" }, new Dictionary { -["$id"] = "5915", +["$id"] = "5917", ["assetType"] = "Azure Files" }, new Dictionary { -["$id"] = "5916", +["$id"] = "5918", ["assetType"] = "Azure Table Storage" }, new Dictionary { -["$id"] = "5917", +["$id"] = "5919", ["assetType"] = "Azure Data Lake Storage Gen1" }, new Dictionary { -["$id"] = "5918", +["$id"] = "5920", ["assetType"] = "Azure Data Lake Storage Gen2" }, new Dictionary { -["$id"] = "5919", +["$id"] = "5921", ["assetType"] = "Azure Cosmos DB" }, new Dictionary { -["$id"] = "5920", +["$id"] = "5922", ["assetType"] = "Azure Data Factory" }, new Dictionary { -["$id"] = "5921", +["$id"] = "5923", ["assetType"] = "Azure Cognitive Search" }, new Dictionary { -["$id"] = "5922", +["$id"] = "5924", ["assetType"] = "Power BI" }, new Dictionary { -["$id"] = "5923", +["$id"] = "5925", ["assetType"] = "Azure Data Explorer" }, new Dictionary { -["$id"] = "5924", +["$id"] = "5926", ["assetType"] = "Amazon S3" }, new Dictionary { -["$id"] = "5925", +["$id"] = "5927", ["assetType"] = "Azure Data Share" }, new Dictionary { -["$id"] = "5926", +["$id"] = "5928", ["assetType"] = "Teradata" }, new Dictionary { -["$id"] = "5927", +["$id"] = "5929", ["assetType"] = "SAP S4HANA" }, new Dictionary { -["$id"] = "5928", +["$id"] = "5930", ["assetType"] = "SAP ECC" }, new Dictionary { -["$id"] = "5929", +["$id"] = "5931", ["assetType"] = "SQL Server Integration Services" }, new Dictionary { -["$id"] = "5930", +["$id"] = "5932", ["assetType"] = "hive" }, new Dictionary { -["$id"] = "5931", +["$id"] = "5933", ["assetType"] = "Azure Database for MySQL" }, new Dictionary { -["$id"] = "5932", +["$id"] = "5934", ["assetType"] = "Azure Database for MariaDB" }, new Dictionary { -["$id"] = "5933", +["$id"] = "5935", ["assetType"] = "Azure Database for PostgreSQL" }, new Dictionary { -["$id"] = "5934", +["$id"] = "5936", ["assetType"] = "Azure Synapse Analytics" } } @@ -1235,142 +1235,142 @@ public async Task Example_Discovery_Query_DiscoveryQueryAssetType_Convenience_As Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5907", + ["$id"] = "5909", ["or"] = new object[] { new Dictionary { -["$id"] = "5908", +["$id"] = "5910", ["assetType"] = "SQL Server" }, new Dictionary { -["$id"] = "5909", +["$id"] = "5911", ["assetType"] = "Azure SQL Server" }, new Dictionary { -["$id"] = "5910", +["$id"] = "5912", ["assetType"] = "Azure SQL Database" }, new Dictionary { -["$id"] = "5911", +["$id"] = "5913", ["assetType"] = "Azure SQL Data Warehouse" }, new Dictionary { -["$id"] = "5912", +["$id"] = "5914", ["assetType"] = "Azure SQL Managed Instance" }, new Dictionary { -["$id"] = "5913", +["$id"] = "5915", ["assetType"] = "Azure Storage Account" }, new Dictionary { -["$id"] = "5914", +["$id"] = "5916", ["assetType"] = "Azure Blob Storage" }, new Dictionary { -["$id"] = "5915", +["$id"] = "5917", ["assetType"] = "Azure Files" }, new Dictionary { -["$id"] = "5916", +["$id"] = "5918", ["assetType"] = "Azure Table Storage" }, new Dictionary { -["$id"] = "5917", +["$id"] = "5919", ["assetType"] = "Azure Data Lake Storage Gen1" }, new Dictionary { -["$id"] = "5918", +["$id"] = "5920", ["assetType"] = "Azure Data Lake Storage Gen2" }, new Dictionary { -["$id"] = "5919", +["$id"] = "5921", ["assetType"] = "Azure Cosmos DB" }, new Dictionary { -["$id"] = "5920", +["$id"] = "5922", ["assetType"] = "Azure Data Factory" }, new Dictionary { -["$id"] = "5921", +["$id"] = "5923", ["assetType"] = "Azure Cognitive Search" }, new Dictionary { -["$id"] = "5922", +["$id"] = "5924", ["assetType"] = "Power BI" }, new Dictionary { -["$id"] = "5923", +["$id"] = "5925", ["assetType"] = "Azure Data Explorer" }, new Dictionary { -["$id"] = "5924", +["$id"] = "5926", ["assetType"] = "Amazon S3" }, new Dictionary { -["$id"] = "5925", +["$id"] = "5927", ["assetType"] = "Azure Data Share" }, new Dictionary { -["$id"] = "5926", +["$id"] = "5928", ["assetType"] = "Teradata" }, new Dictionary { -["$id"] = "5927", +["$id"] = "5929", ["assetType"] = "SAP S4HANA" }, new Dictionary { -["$id"] = "5928", +["$id"] = "5930", ["assetType"] = "SAP ECC" }, new Dictionary { -["$id"] = "5929", +["$id"] = "5931", ["assetType"] = "SQL Server Integration Services" }, new Dictionary { -["$id"] = "5930", +["$id"] = "5932", ["assetType"] = "hive" }, new Dictionary { -["$id"] = "5931", +["$id"] = "5933", ["assetType"] = "Azure Database for MySQL" }, new Dictionary { -["$id"] = "5932", +["$id"] = "5934", ["assetType"] = "Azure Database for MariaDB" }, new Dictionary { -["$id"] = "5933", +["$id"] = "5935", ["assetType"] = "Azure Database for PostgreSQL" }, new Dictionary { -["$id"] = "5934", +["$id"] = "5936", ["assetType"] = "Azure Synapse Analytics" } } @@ -1392,26 +1392,26 @@ public void Example_Discovery_Query_DiscoveryQueryAttribute() limit = 10, filter = new Dictionary { - ["$id"] = "5976", + ["$id"] = "5978", ["or"] = new object[] { new Dictionary { -["$id"] = "5977", +["$id"] = "5979", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { -["$id"] = "5978", +["$id"] = "5980", ["attributeName"] = "createTime", ["operator"] = "ge", ["attributeValue"] = 1545580800000L }, new Dictionary { -["$id"] = "5979", +["$id"] = "5981", ["attributeName"] = "modifiedTime", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -1438,26 +1438,26 @@ public async Task Example_Discovery_Query_DiscoveryQueryAttribute_Async() limit = 10, filter = new Dictionary { - ["$id"] = "5976", + ["$id"] = "5978", ["or"] = new object[] { new Dictionary { -["$id"] = "5977", +["$id"] = "5979", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { -["$id"] = "5978", +["$id"] = "5980", ["attributeName"] = "createTime", ["operator"] = "ge", ["attributeValue"] = 1545580800000L }, new Dictionary { -["$id"] = "5979", +["$id"] = "5981", ["attributeName"] = "modifiedTime", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -1484,26 +1484,26 @@ public void Example_Discovery_Query_DiscoveryQueryAttribute_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5976", + ["$id"] = "5978", ["or"] = new object[] { new Dictionary { -["$id"] = "5977", +["$id"] = "5979", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { -["$id"] = "5978", +["$id"] = "5980", ["attributeName"] = "createTime", ["operator"] = "ge", ["attributeValue"] = 1545580800000L }, new Dictionary { -["$id"] = "5979", +["$id"] = "5981", ["attributeName"] = "modifiedTime", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -1527,26 +1527,26 @@ public async Task Example_Discovery_Query_DiscoveryQueryAttribute_Convenience_As Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "5976", + ["$id"] = "5978", ["or"] = new object[] { new Dictionary { -["$id"] = "5977", +["$id"] = "5979", ["attributeName"] = "name", ["operator"] = "eq", ["attributeValue"] = "exampledata.csv" }, new Dictionary { -["$id"] = "5978", +["$id"] = "5980", ["attributeName"] = "createTime", ["operator"] = "ge", ["attributeValue"] = 1545580800000L }, new Dictionary { -["$id"] = "5979", +["$id"] = "5981", ["attributeName"] = "modifiedTime", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -1570,33 +1570,33 @@ public void Example_Discovery_Query_DiscoveryQueryBusinessMetadataAttribute() limit = 10, filter = new Dictionary { - ["$id"] = "6041", + ["$id"] = "6043", ["or"] = new object[] { new Dictionary { -["$id"] = "6042", +["$id"] = "6044", ["attributeName"] = ".", ["operator"] = "eq|ne|contains|prefix", ["attributeValue"] = "string value" }, new Dictionary { -["$id"] = "6043", +["$id"] = "6045", ["attributeName"] = ".", ["operator"] = "eq|ne|gt|ge|lt|le", ["attributeValue"] = 123 }, new Dictionary { -["$id"] = "6044", +["$id"] = "6046", ["attributeName"] = ".", ["operator"] = "eq|ne", ["attributeValue"] = true }, new Dictionary { -["$id"] = "6045", +["$id"] = "6047", ["attributeName"] = ".", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -1623,33 +1623,33 @@ public async Task Example_Discovery_Query_DiscoveryQueryBusinessMetadataAttribut limit = 10, filter = new Dictionary { - ["$id"] = "6041", + ["$id"] = "6043", ["or"] = new object[] { new Dictionary { -["$id"] = "6042", +["$id"] = "6044", ["attributeName"] = ".", ["operator"] = "eq|ne|contains|prefix", ["attributeValue"] = "string value" }, new Dictionary { -["$id"] = "6043", +["$id"] = "6045", ["attributeName"] = ".", ["operator"] = "eq|ne|gt|ge|lt|le", ["attributeValue"] = 123 }, new Dictionary { -["$id"] = "6044", +["$id"] = "6046", ["attributeName"] = ".", ["operator"] = "eq|ne", ["attributeValue"] = true }, new Dictionary { -["$id"] = "6045", +["$id"] = "6047", ["attributeName"] = ".", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -1676,33 +1676,33 @@ public void Example_Discovery_Query_DiscoveryQueryBusinessMetadataAttribute_Conv Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6041", + ["$id"] = "6043", ["or"] = new object[] { new Dictionary { -["$id"] = "6042", +["$id"] = "6044", ["attributeName"] = ".", ["operator"] = "eq|ne|contains|prefix", ["attributeValue"] = "string value" }, new Dictionary { -["$id"] = "6043", +["$id"] = "6045", ["attributeName"] = ".", ["operator"] = "eq|ne|gt|ge|lt|le", ["attributeValue"] = 123 }, new Dictionary { -["$id"] = "6044", +["$id"] = "6046", ["attributeName"] = ".", ["operator"] = "eq|ne", ["attributeValue"] = true }, new Dictionary { -["$id"] = "6045", +["$id"] = "6047", ["attributeName"] = ".", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -1726,33 +1726,33 @@ public async Task Example_Discovery_Query_DiscoveryQueryBusinessMetadataAttribut Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6041", + ["$id"] = "6043", ["or"] = new object[] { new Dictionary { -["$id"] = "6042", +["$id"] = "6044", ["attributeName"] = ".", ["operator"] = "eq|ne|contains|prefix", ["attributeValue"] = "string value" }, new Dictionary { -["$id"] = "6043", +["$id"] = "6045", ["attributeName"] = ".", ["operator"] = "eq|ne|gt|ge|lt|le", ["attributeValue"] = 123 }, new Dictionary { -["$id"] = "6044", +["$id"] = "6046", ["attributeName"] = ".", ["operator"] = "eq|ne", ["attributeValue"] = true }, new Dictionary { -["$id"] = "6045", +["$id"] = "6047", ["attributeName"] = ".", ["operator"] = "timerange", ["attributeValue"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" @@ -1776,7 +1776,7 @@ public void Example_Discovery_Query_DiscoveryQueryClassification() limit = 10, filter = new Dictionary { - ["$id"] = "6068", + ["$id"] = "6070", ["classification"] = "MICROSOFT.PERSONAL.EMAIL", ["includeSubClassifications"] = true }, @@ -1800,7 +1800,7 @@ public async Task Example_Discovery_Query_DiscoveryQueryClassification_Async() limit = 10, filter = new Dictionary { - ["$id"] = "6068", + ["$id"] = "6070", ["classification"] = "MICROSOFT.PERSONAL.EMAIL", ["includeSubClassifications"] = true }, @@ -1824,7 +1824,7 @@ public void Example_Discovery_Query_DiscoveryQueryClassification_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6068", + ["$id"] = "6070", ["classification"] = "MICROSOFT.PERSONAL.EMAIL", ["includeSubClassifications"] = true }), @@ -1845,7 +1845,7 @@ public async Task Example_Discovery_Query_DiscoveryQueryClassification_Convenien Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6068", + ["$id"] = "6070", ["classification"] = "MICROSOFT.PERSONAL.EMAIL", ["includeSubClassifications"] = true }), @@ -1866,7 +1866,7 @@ public void Example_Discovery_Query_DiscoveryQueryCollection() limit = 10, filter = new Dictionary { - ["$id"] = "6118", + ["$id"] = "6120", ["collectionId"] = "collectionName" }, }); @@ -1889,7 +1889,7 @@ public async Task Example_Discovery_Query_DiscoveryQueryCollection_Async() limit = 10, filter = new Dictionary { - ["$id"] = "6118", + ["$id"] = "6120", ["collectionId"] = "collectionName" }, }); @@ -1912,7 +1912,7 @@ public void Example_Discovery_Query_DiscoveryQueryCollection_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6118", + ["$id"] = "6120", ["collectionId"] = "collectionName" }), }; @@ -1932,7 +1932,7 @@ public async Task Example_Discovery_Query_DiscoveryQueryCollection_Convenience_A Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6118", + ["$id"] = "6120", ["collectionId"] = "collectionName" }), }; @@ -1951,7 +1951,7 @@ public void Example_Discovery_Query_DiscoveryQueryFacet() { filter = new Dictionary { - ["$id"] = "6167", + ["$id"] = "6169", ["objectType"] = "Tables" }, limit = 10, @@ -1997,7 +1997,7 @@ public async Task Example_Discovery_Query_DiscoveryQueryFacet_Async() { filter = new Dictionary { - ["$id"] = "6167", + ["$id"] = "6169", ["objectType"] = "Tables" }, limit = 10, @@ -2044,7 +2044,7 @@ public void Example_Discovery_Query_DiscoveryQueryFacet_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6167", + ["$id"] = "6169", ["objectType"] = "Tables" }), Facets = {new SearchFacetItem @@ -2081,7 +2081,7 @@ public async Task Example_Discovery_Query_DiscoveryQueryFacet_Convenience_Async( Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6167", + ["$id"] = "6169", ["objectType"] = "Tables" }), Facets = {new SearchFacetItem @@ -2118,12 +2118,12 @@ public void Example_Discovery_Query_DiscoveryQueryFileExtension() limit = 10, filter = new Dictionary { - ["$id"] = "6297", + ["$id"] = "6299", ["and"] = new object[] { new Dictionary { -["$id"] = "6298", +["$id"] = "6300", ["fileExtension"] = "txt" } } @@ -2148,12 +2148,12 @@ public async Task Example_Discovery_Query_DiscoveryQueryFileExtension_Async() limit = 10, filter = new Dictionary { - ["$id"] = "6297", + ["$id"] = "6299", ["and"] = new object[] { new Dictionary { -["$id"] = "6298", +["$id"] = "6300", ["fileExtension"] = "txt" } } @@ -2178,12 +2178,12 @@ public void Example_Discovery_Query_DiscoveryQueryFileExtension_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6297", + ["$id"] = "6299", ["and"] = new object[] { new Dictionary { -["$id"] = "6298", +["$id"] = "6300", ["fileExtension"] = "txt" } } @@ -2205,12 +2205,12 @@ public async Task Example_Discovery_Query_DiscoveryQueryFileExtension_Convenienc Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6297", + ["$id"] = "6299", ["and"] = new object[] { new Dictionary { -["$id"] = "6298", +["$id"] = "6300", ["fileExtension"] = "txt" } } @@ -2233,27 +2233,27 @@ public void Example_Discovery_Query_DiscoveryQueryGlossaryTerm() limit = 10, filter = new Dictionary { - ["$id"] = "6341", + ["$id"] = "6343", ["and"] = new object[] { new Dictionary { -["$id"] = "6342", +["$id"] = "6344", ["objectType"] = "Glossary terms" }, new Dictionary { -["$id"] = "6343", +["$id"] = "6345", ["or"] = new object[] { new Dictionary { -["$id"] = "6344", +["$id"] = "6346", ["glossaryType"] = "AtlasGlossary" }, new Dictionary { -["$id"] = "6345", +["$id"] = "6347", ["glossaryType"] = "AtlasGlossaryTerm" } } @@ -2302,27 +2302,27 @@ public async Task Example_Discovery_Query_DiscoveryQueryGlossaryTerm_Async() limit = 10, filter = new Dictionary { - ["$id"] = "6341", + ["$id"] = "6343", ["and"] = new object[] { new Dictionary { -["$id"] = "6342", +["$id"] = "6344", ["objectType"] = "Glossary terms" }, new Dictionary { -["$id"] = "6343", +["$id"] = "6345", ["or"] = new object[] { new Dictionary { -["$id"] = "6344", +["$id"] = "6346", ["glossaryType"] = "AtlasGlossary" }, new Dictionary { -["$id"] = "6345", +["$id"] = "6347", ["glossaryType"] = "AtlasGlossaryTerm" } } @@ -2371,27 +2371,27 @@ public void Example_Discovery_Query_DiscoveryQueryGlossaryTerm_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6341", + ["$id"] = "6343", ["and"] = new object[] { new Dictionary { -["$id"] = "6342", +["$id"] = "6344", ["objectType"] = "Glossary terms" }, new Dictionary { -["$id"] = "6343", +["$id"] = "6345", ["or"] = new object[] { new Dictionary { -["$id"] = "6344", +["$id"] = "6346", ["glossaryType"] = "AtlasGlossary" }, new Dictionary { -["$id"] = "6345", +["$id"] = "6347", ["glossaryType"] = "AtlasGlossaryTerm" } } @@ -2433,27 +2433,27 @@ public async Task Example_Discovery_Query_DiscoveryQueryGlossaryTerm_Convenience Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6341", + ["$id"] = "6343", ["and"] = new object[] { new Dictionary { -["$id"] = "6342", +["$id"] = "6344", ["objectType"] = "Glossary terms" }, new Dictionary { -["$id"] = "6343", +["$id"] = "6345", ["or"] = new object[] { new Dictionary { -["$id"] = "6344", +["$id"] = "6346", ["glossaryType"] = "AtlasGlossary" }, new Dictionary { -["$id"] = "6345", +["$id"] = "6347", ["glossaryType"] = "AtlasGlossaryTerm" } } @@ -2494,12 +2494,12 @@ public void Example_Discovery_Query_DiscoveryQueryId() limit = 10, filter = new Dictionary { - ["$id"] = "6413", + ["$id"] = "6415", ["and"] = new object[] { new Dictionary { -["$id"] = "6414", +["$id"] = "6416", ["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9" } } @@ -2524,12 +2524,12 @@ public async Task Example_Discovery_Query_DiscoveryQueryId_Async() limit = 10, filter = new Dictionary { - ["$id"] = "6413", + ["$id"] = "6415", ["and"] = new object[] { new Dictionary { -["$id"] = "6414", +["$id"] = "6416", ["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9" } } @@ -2554,12 +2554,12 @@ public void Example_Discovery_Query_DiscoveryQueryId_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6413", + ["$id"] = "6415", ["and"] = new object[] { new Dictionary { -["$id"] = "6414", +["$id"] = "6416", ["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9" } } @@ -2581,12 +2581,12 @@ public async Task Example_Discovery_Query_DiscoveryQueryId_Convenience_Async() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6413", + ["$id"] = "6415", ["and"] = new object[] { new Dictionary { -["$id"] = "6414", +["$id"] = "6416", ["id"] = "bfecbcc3-1838-45fe-96d6-112de8a170f9" } } @@ -2608,10 +2608,10 @@ public void Example_Discovery_Query_DiscoveryQueryNot() limit = 10, filter = new Dictionary { - ["$id"] = "6442", + ["$id"] = "6444", ["not"] = new Dictionary { - ["$id"] = "6443", + ["$id"] = "6445", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } }, @@ -2635,10 +2635,10 @@ public async Task Example_Discovery_Query_DiscoveryQueryNot_Async() limit = 10, filter = new Dictionary { - ["$id"] = "6442", + ["$id"] = "6444", ["not"] = new Dictionary { - ["$id"] = "6443", + ["$id"] = "6445", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } }, @@ -2662,10 +2662,10 @@ public void Example_Discovery_Query_DiscoveryQueryNot_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6442", + ["$id"] = "6444", ["not"] = new Dictionary { - ["$id"] = "6443", + ["$id"] = "6445", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } }), @@ -2686,10 +2686,10 @@ public async Task Example_Discovery_Query_DiscoveryQueryNot_Convenience_Async() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6442", + ["$id"] = "6444", ["not"] = new Dictionary { - ["$id"] = "6443", + ["$id"] = "6445", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } }), @@ -2710,47 +2710,47 @@ public void Example_Discovery_Query_DiscoveryQueryObjectType() limit = 10, filter = new Dictionary { - ["$id"] = "6485", + ["$id"] = "6487", ["or"] = new object[] { new Dictionary { -["$id"] = "6486", +["$id"] = "6488", ["objectType"] = "Dashboards" }, new Dictionary { -["$id"] = "6487", +["$id"] = "6489", ["objectType"] = "Data pipelines" }, new Dictionary { -["$id"] = "6488", +["$id"] = "6490", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6489", +["$id"] = "6491", ["objectType"] = "Folders" }, new Dictionary { -["$id"] = "6490", +["$id"] = "6492", ["objectType"] = "Glossary terms" }, new Dictionary { -["$id"] = "6491", +["$id"] = "6493", ["objectType"] = "Reports" }, new Dictionary { -["$id"] = "6492", +["$id"] = "6494", ["objectType"] = "Stored procedures" }, new Dictionary { -["$id"] = "6493", +["$id"] = "6495", ["objectType"] = "Tables" } } @@ -2775,47 +2775,47 @@ public async Task Example_Discovery_Query_DiscoveryQueryObjectType_Async() limit = 10, filter = new Dictionary { - ["$id"] = "6485", + ["$id"] = "6487", ["or"] = new object[] { new Dictionary { -["$id"] = "6486", +["$id"] = "6488", ["objectType"] = "Dashboards" }, new Dictionary { -["$id"] = "6487", +["$id"] = "6489", ["objectType"] = "Data pipelines" }, new Dictionary { -["$id"] = "6488", +["$id"] = "6490", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6489", +["$id"] = "6491", ["objectType"] = "Folders" }, new Dictionary { -["$id"] = "6490", +["$id"] = "6492", ["objectType"] = "Glossary terms" }, new Dictionary { -["$id"] = "6491", +["$id"] = "6493", ["objectType"] = "Reports" }, new Dictionary { -["$id"] = "6492", +["$id"] = "6494", ["objectType"] = "Stored procedures" }, new Dictionary { -["$id"] = "6493", +["$id"] = "6495", ["objectType"] = "Tables" } } @@ -2840,47 +2840,47 @@ public void Example_Discovery_Query_DiscoveryQueryObjectType_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6485", + ["$id"] = "6487", ["or"] = new object[] { new Dictionary { -["$id"] = "6486", +["$id"] = "6488", ["objectType"] = "Dashboards" }, new Dictionary { -["$id"] = "6487", +["$id"] = "6489", ["objectType"] = "Data pipelines" }, new Dictionary { -["$id"] = "6488", +["$id"] = "6490", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6489", +["$id"] = "6491", ["objectType"] = "Folders" }, new Dictionary { -["$id"] = "6490", +["$id"] = "6492", ["objectType"] = "Glossary terms" }, new Dictionary { -["$id"] = "6491", +["$id"] = "6493", ["objectType"] = "Reports" }, new Dictionary { -["$id"] = "6492", +["$id"] = "6494", ["objectType"] = "Stored procedures" }, new Dictionary { -["$id"] = "6493", +["$id"] = "6495", ["objectType"] = "Tables" } } @@ -2902,47 +2902,47 @@ public async Task Example_Discovery_Query_DiscoveryQueryObjectType_Convenience_A Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6485", + ["$id"] = "6487", ["or"] = new object[] { new Dictionary { -["$id"] = "6486", +["$id"] = "6488", ["objectType"] = "Dashboards" }, new Dictionary { -["$id"] = "6487", +["$id"] = "6489", ["objectType"] = "Data pipelines" }, new Dictionary { -["$id"] = "6488", +["$id"] = "6490", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6489", +["$id"] = "6491", ["objectType"] = "Folders" }, new Dictionary { -["$id"] = "6490", +["$id"] = "6492", ["objectType"] = "Glossary terms" }, new Dictionary { -["$id"] = "6491", +["$id"] = "6493", ["objectType"] = "Reports" }, new Dictionary { -["$id"] = "6492", +["$id"] = "6494", ["objectType"] = "Stored procedures" }, new Dictionary { -["$id"] = "6493", +["$id"] = "6495", ["objectType"] = "Tables" } } @@ -2964,17 +2964,17 @@ public void Example_Discovery_Query_DiscoveryQueryPaginationContinuationPage() keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6531", + ["$id"] = "6533", ["and"] = new object[] { new Dictionary { -["$id"] = "6532", +["$id"] = "6534", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6533", +["$id"] = "6535", ["entityType"] = "azure_blob_path" } } @@ -2985,12 +2985,12 @@ public void Example_Discovery_Query_DiscoveryQueryPaginationContinuationPage() { new Dictionary { -["$id"] = "6538", +["$id"] = "6540", ["name"] = "ASC" }, new Dictionary { -["$id"] = "6540", +["$id"] = "6542", ["updateTime"] = "DESC" } }, @@ -3062,17 +3062,17 @@ public async Task Example_Discovery_Query_DiscoveryQueryPaginationContinuationPa keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6531", + ["$id"] = "6533", ["and"] = new object[] { new Dictionary { -["$id"] = "6532", +["$id"] = "6534", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6533", +["$id"] = "6535", ["entityType"] = "azure_blob_path" } } @@ -3083,12 +3083,12 @@ public async Task Example_Discovery_Query_DiscoveryQueryPaginationContinuationPa { new Dictionary { -["$id"] = "6538", +["$id"] = "6540", ["name"] = "ASC" }, new Dictionary { -["$id"] = "6540", +["$id"] = "6542", ["updateTime"] = "DESC" } }, @@ -3162,26 +3162,26 @@ public void Example_Discovery_Query_DiscoveryQueryPaginationContinuationPage_Con ContinuationToken = "", Orderby = {BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6538", +["$id"] = "6540", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6540", +["$id"] = "6542", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6531", + ["$id"] = "6533", ["and"] = new object[] { new Dictionary { -["$id"] = "6532", +["$id"] = "6534", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6533", +["$id"] = "6535", ["entityType"] = "azure_blob_path" } } @@ -3246,26 +3246,26 @@ public async Task Example_Discovery_Query_DiscoveryQueryPaginationContinuationPa ContinuationToken = "", Orderby = {BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6538", +["$id"] = "6540", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6540", +["$id"] = "6542", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6531", + ["$id"] = "6533", ["and"] = new object[] { new Dictionary { -["$id"] = "6532", +["$id"] = "6534", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6533", +["$id"] = "6535", ["entityType"] = "azure_blob_path" } } @@ -3328,17 +3328,17 @@ public void Example_Discovery_Query_DiscoveryQueryPaginationFirstPage() keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6618", + ["$id"] = "6620", ["and"] = new object[] { new Dictionary { -["$id"] = "6619", +["$id"] = "6621", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6620", +["$id"] = "6622", ["entityType"] = "azure_blob_path" } } @@ -3348,12 +3348,12 @@ public void Example_Discovery_Query_DiscoveryQueryPaginationFirstPage() { new Dictionary { -["$id"] = "6624", +["$id"] = "6626", ["name"] = "ASC" }, new Dictionary { -["$id"] = "6626", +["$id"] = "6628", ["updateTime"] = "DESC" } }, @@ -3425,17 +3425,17 @@ public async Task Example_Discovery_Query_DiscoveryQueryPaginationFirstPage_Asyn keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6618", + ["$id"] = "6620", ["and"] = new object[] { new Dictionary { -["$id"] = "6619", +["$id"] = "6621", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6620", +["$id"] = "6622", ["entityType"] = "azure_blob_path" } } @@ -3445,12 +3445,12 @@ public async Task Example_Discovery_Query_DiscoveryQueryPaginationFirstPage_Asyn { new Dictionary { -["$id"] = "6624", +["$id"] = "6626", ["name"] = "ASC" }, new Dictionary { -["$id"] = "6626", +["$id"] = "6628", ["updateTime"] = "DESC" } }, @@ -3523,26 +3523,26 @@ public void Example_Discovery_Query_DiscoveryQueryPaginationFirstPage_Convenienc Limit = 2, Orderby = {BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6624", +["$id"] = "6626", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6626", +["$id"] = "6628", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6618", + ["$id"] = "6620", ["and"] = new object[] { new Dictionary { -["$id"] = "6619", +["$id"] = "6621", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6620", +["$id"] = "6622", ["entityType"] = "azure_blob_path" } } @@ -3606,26 +3606,26 @@ public async Task Example_Discovery_Query_DiscoveryQueryPaginationFirstPage_Conv Limit = 2, Orderby = {BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6624", +["$id"] = "6626", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6626", +["$id"] = "6628", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6618", + ["$id"] = "6620", ["and"] = new object[] { new Dictionary { -["$id"] = "6619", +["$id"] = "6621", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6620", +["$id"] = "6622", ["entityType"] = "azure_blob_path" } } @@ -3688,17 +3688,17 @@ public void Example_Discovery_Query_DiscoveryQueryPaginationLastPage() keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6704", + ["$id"] = "6706", ["and"] = new object[] { new Dictionary { -["$id"] = "6705", +["$id"] = "6707", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6706", +["$id"] = "6708", ["entityType"] = "azure_blob_path" } } @@ -3709,12 +3709,12 @@ public void Example_Discovery_Query_DiscoveryQueryPaginationLastPage() { new Dictionary { -["$id"] = "6711", +["$id"] = "6713", ["name"] = "ASC" }, new Dictionary { -["$id"] = "6713", +["$id"] = "6715", ["updateTime"] = "DESC" } }, @@ -3786,17 +3786,17 @@ public async Task Example_Discovery_Query_DiscoveryQueryPaginationLastPage_Async keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6704", + ["$id"] = "6706", ["and"] = new object[] { new Dictionary { -["$id"] = "6705", +["$id"] = "6707", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6706", +["$id"] = "6708", ["entityType"] = "azure_blob_path" } } @@ -3807,12 +3807,12 @@ public async Task Example_Discovery_Query_DiscoveryQueryPaginationLastPage_Async { new Dictionary { -["$id"] = "6711", +["$id"] = "6713", ["name"] = "ASC" }, new Dictionary { -["$id"] = "6713", +["$id"] = "6715", ["updateTime"] = "DESC" } }, @@ -3886,26 +3886,26 @@ public void Example_Discovery_Query_DiscoveryQueryPaginationLastPage_Convenience ContinuationToken = "", Orderby = {BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6711", +["$id"] = "6713", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6713", +["$id"] = "6715", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6704", + ["$id"] = "6706", ["and"] = new object[] { new Dictionary { -["$id"] = "6705", +["$id"] = "6707", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6706", +["$id"] = "6708", ["entityType"] = "azure_blob_path" } } @@ -3970,26 +3970,26 @@ public async Task Example_Discovery_Query_DiscoveryQueryPaginationLastPage_Conve ContinuationToken = "", Orderby = {BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6711", +["$id"] = "6713", ["name"] = "ASC" }), BinaryData.FromObjectAsJson(new Dictionary { -["$id"] = "6713", +["$id"] = "6715", ["updateTime"] = "DESC" })}, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6704", + ["$id"] = "6706", ["and"] = new object[] { new Dictionary { -["$id"] = "6705", +["$id"] = "6707", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6706", +["$id"] = "6708", ["entityType"] = "azure_blob_path" } } @@ -4052,22 +4052,22 @@ public void Example_Discovery_Query_DiscoveryQuerySystemTime() limit = 10, filter = new Dictionary { - ["$id"] = "6790", + ["$id"] = "6792", ["or"] = new object[] { new Dictionary { -["$id"] = "6791", +["$id"] = "6793", ["createTime"] = new Dictionary { -["$id"] = "6792", +["$id"] = "6794", ["operator"] = "lt", ["timeThreshold"] = 1545580800000L } }, new Dictionary { -["$id"] = "6793", +["$id"] = "6795", ["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" } } @@ -4092,22 +4092,22 @@ public async Task Example_Discovery_Query_DiscoveryQuerySystemTime_Async() limit = 10, filter = new Dictionary { - ["$id"] = "6790", + ["$id"] = "6792", ["or"] = new object[] { new Dictionary { -["$id"] = "6791", +["$id"] = "6793", ["createTime"] = new Dictionary { -["$id"] = "6792", +["$id"] = "6794", ["operator"] = "lt", ["timeThreshold"] = 1545580800000L } }, new Dictionary { -["$id"] = "6793", +["$id"] = "6795", ["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" } } @@ -4132,22 +4132,22 @@ public void Example_Discovery_Query_DiscoveryQuerySystemTime_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6790", + ["$id"] = "6792", ["or"] = new object[] { new Dictionary { -["$id"] = "6791", +["$id"] = "6793", ["createTime"] = new Dictionary { -["$id"] = "6792", +["$id"] = "6794", ["operator"] = "lt", ["timeThreshold"] = 1545580800000L } }, new Dictionary { -["$id"] = "6793", +["$id"] = "6795", ["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" } } @@ -4169,22 +4169,22 @@ public async Task Example_Discovery_Query_DiscoveryQuerySystemTime_Convenience_A Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6790", + ["$id"] = "6792", ["or"] = new object[] { new Dictionary { -["$id"] = "6791", +["$id"] = "6793", ["createTime"] = new Dictionary { -["$id"] = "6792", +["$id"] = "6794", ["operator"] = "lt", ["timeThreshold"] = 1545580800000L } }, new Dictionary { -["$id"] = "6793", +["$id"] = "6795", ["updateTime"] = "LAST_24H|LAST_7D|LAST_30D|LAST_365D|MORE_THAN_365D" } } @@ -4206,32 +4206,32 @@ public void Example_Discovery_Query_DiscoveryQueryTaxonomy() keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6826", + ["$id"] = "6828", ["and"] = new object[] { new Dictionary { -["$id"] = "6827", +["$id"] = "6829", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6828", +["$id"] = "6830", ["not"] = new Dictionary { -["$id"] = "6829", +["$id"] = "6831", ["or"] = new object[] { new Dictionary { -["$id"] = "6830", +["$id"] = "6832", ["attributeName"] = "size", ["operator"] = "eq", ["attributeValue"] = 0 }, new Dictionary { -["$id"] = "6831", +["$id"] = "6833", ["attributeName"] = "fileSize", ["operator"] = "eq", ["attributeValue"] = 0 @@ -4241,10 +4241,10 @@ public void Example_Discovery_Query_DiscoveryQueryTaxonomy() }, new Dictionary { -["$id"] = "6832", +["$id"] = "6834", ["not"] = new Dictionary { -["$id"] = "6833", +["$id"] = "6835", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } } @@ -4286,32 +4286,32 @@ public async Task Example_Discovery_Query_DiscoveryQueryTaxonomy_Async() keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6826", + ["$id"] = "6828", ["and"] = new object[] { new Dictionary { -["$id"] = "6827", +["$id"] = "6829", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6828", +["$id"] = "6830", ["not"] = new Dictionary { -["$id"] = "6829", +["$id"] = "6831", ["or"] = new object[] { new Dictionary { -["$id"] = "6830", +["$id"] = "6832", ["attributeName"] = "size", ["operator"] = "eq", ["attributeValue"] = 0 }, new Dictionary { -["$id"] = "6831", +["$id"] = "6833", ["attributeName"] = "fileSize", ["operator"] = "eq", ["attributeValue"] = 0 @@ -4321,10 +4321,10 @@ public async Task Example_Discovery_Query_DiscoveryQueryTaxonomy_Async() }, new Dictionary { -["$id"] = "6832", +["$id"] = "6834", ["not"] = new Dictionary { -["$id"] = "6833", +["$id"] = "6835", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } } @@ -4367,32 +4367,32 @@ public void Example_Discovery_Query_DiscoveryQueryTaxonomy_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6826", + ["$id"] = "6828", ["and"] = new object[] { new Dictionary { -["$id"] = "6827", +["$id"] = "6829", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6828", +["$id"] = "6830", ["not"] = new Dictionary { -["$id"] = "6829", +["$id"] = "6831", ["or"] = new object[] { new Dictionary { -["$id"] = "6830", +["$id"] = "6832", ["attributeName"] = "size", ["operator"] = "eq", ["attributeValue"] = 0 }, new Dictionary { -["$id"] = "6831", +["$id"] = "6833", ["attributeName"] = "fileSize", ["operator"] = "eq", ["attributeValue"] = 0 @@ -4402,10 +4402,10 @@ public void Example_Discovery_Query_DiscoveryQueryTaxonomy_Convenience() }, new Dictionary { -["$id"] = "6832", +["$id"] = "6834", ["not"] = new Dictionary { -["$id"] = "6833", +["$id"] = "6835", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } } @@ -4441,32 +4441,32 @@ public async Task Example_Discovery_Query_DiscoveryQueryTaxonomy_Convenience_Asy Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6826", + ["$id"] = "6828", ["and"] = new object[] { new Dictionary { -["$id"] = "6827", +["$id"] = "6829", ["objectType"] = "Files" }, new Dictionary { -["$id"] = "6828", +["$id"] = "6830", ["not"] = new Dictionary { -["$id"] = "6829", +["$id"] = "6831", ["or"] = new object[] { new Dictionary { -["$id"] = "6830", +["$id"] = "6832", ["attributeName"] = "size", ["operator"] = "eq", ["attributeValue"] = 0 }, new Dictionary { -["$id"] = "6831", +["$id"] = "6833", ["attributeName"] = "fileSize", ["operator"] = "eq", ["attributeValue"] = 0 @@ -4476,10 +4476,10 @@ public async Task Example_Discovery_Query_DiscoveryQueryTaxonomy_Convenience_Asy }, new Dictionary { -["$id"] = "6832", +["$id"] = "6834", ["not"] = new Dictionary { -["$id"] = "6833", +["$id"] = "6835", ["classification"] = "MICROSOFT.SYSTEM.TEMP_FILE" } } @@ -4515,23 +4515,23 @@ public void Example_Discovery_Query_DiscoveryQueryTermAssignment() limit = 3, filter = new Dictionary { - ["$id"] = "6887", + ["$id"] = "6889", ["or"] = new object[] { new Dictionary { -["$id"] = "6888", +["$id"] = "6890", ["term"] = "ExampleTerm" }, new Dictionary { -["$id"] = "6889", +["$id"] = "6891", ["term"] = "ExampleTerm", ["glossary"] = "GlossaryName" }, new Dictionary { -["$id"] = "6890", +["$id"] = "6892", ["termGuid"] = "" } } @@ -4557,23 +4557,23 @@ public async Task Example_Discovery_Query_DiscoveryQueryTermAssignment_Async() limit = 3, filter = new Dictionary { - ["$id"] = "6887", + ["$id"] = "6889", ["or"] = new object[] { new Dictionary { -["$id"] = "6888", +["$id"] = "6890", ["term"] = "ExampleTerm" }, new Dictionary { -["$id"] = "6889", +["$id"] = "6891", ["term"] = "ExampleTerm", ["glossary"] = "GlossaryName" }, new Dictionary { -["$id"] = "6890", +["$id"] = "6892", ["termGuid"] = "" } } @@ -4599,23 +4599,23 @@ public void Example_Discovery_Query_DiscoveryQueryTermAssignment_Convenience() Limit = 3, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6887", + ["$id"] = "6889", ["or"] = new object[] { new Dictionary { -["$id"] = "6888", +["$id"] = "6890", ["term"] = "ExampleTerm" }, new Dictionary { -["$id"] = "6889", +["$id"] = "6891", ["term"] = "ExampleTerm", ["glossary"] = "GlossaryName" }, new Dictionary { -["$id"] = "6890", +["$id"] = "6892", ["termGuid"] = "" } } @@ -4638,23 +4638,23 @@ public async Task Example_Discovery_Query_DiscoveryQueryTermAssignment_Convenien Limit = 3, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6887", + ["$id"] = "6889", ["or"] = new object[] { new Dictionary { -["$id"] = "6888", +["$id"] = "6890", ["term"] = "ExampleTerm" }, new Dictionary { -["$id"] = "6889", +["$id"] = "6891", ["term"] = "ExampleTerm", ["glossary"] = "GlossaryName" }, new Dictionary { -["$id"] = "6890", +["$id"] = "6892", ["termGuid"] = "" } } @@ -4676,12 +4676,12 @@ public void Example_Discovery_Query_DiscoveryQueryType() limit = 10, filter = new Dictionary { - ["$id"] = "6923", + ["$id"] = "6925", ["and"] = new object[] { new Dictionary { -["$id"] = "6924", +["$id"] = "6926", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4707,12 +4707,12 @@ public async Task Example_Discovery_Query_DiscoveryQueryType_Async() limit = 10, filter = new Dictionary { - ["$id"] = "6923", + ["$id"] = "6925", ["and"] = new object[] { new Dictionary { -["$id"] = "6924", +["$id"] = "6926", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4738,12 +4738,12 @@ public void Example_Discovery_Query_DiscoveryQueryType_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6923", + ["$id"] = "6925", ["and"] = new object[] { new Dictionary { -["$id"] = "6924", +["$id"] = "6926", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4766,12 +4766,12 @@ public async Task Example_Discovery_Query_DiscoveryQueryType_Convenience_Async() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6923", + ["$id"] = "6925", ["and"] = new object[] { new Dictionary { -["$id"] = "6924", +["$id"] = "6926", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4794,12 +4794,12 @@ public void Example_Discovery_Suggest_DiscoverySuggest() keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6980", + ["$id"] = "6982", ["and"] = new object[] { new Dictionary { -["$id"] = "6981", +["$id"] = "6983", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4826,12 +4826,12 @@ public async Task Example_Discovery_Suggest_DiscoverySuggest_Async() keywords = "exampledata", filter = new Dictionary { - ["$id"] = "6980", + ["$id"] = "6982", ["and"] = new object[] { new Dictionary { -["$id"] = "6981", +["$id"] = "6983", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4859,12 +4859,12 @@ public void Example_Discovery_Suggest_DiscoverySuggest_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6980", + ["$id"] = "6982", ["and"] = new object[] { new Dictionary { -["$id"] = "6981", +["$id"] = "6983", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4888,12 +4888,12 @@ public async Task Example_Discovery_Suggest_DiscoverySuggest_Convenience_Async() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "6980", + ["$id"] = "6982", ["and"] = new object[] { new Dictionary { -["$id"] = "6981", +["$id"] = "6983", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4916,12 +4916,12 @@ public void Example_Discovery_AutoComplete_DiscoveryAutoComplete() keywords = "exa", filter = new Dictionary { - ["$id"] = "7035", + ["$id"] = "7037", ["and"] = new object[] { new Dictionary { -["$id"] = "7036", +["$id"] = "7038", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4948,12 +4948,12 @@ public async Task Example_Discovery_AutoComplete_DiscoveryAutoComplete_Async() keywords = "exa", filter = new Dictionary { - ["$id"] = "7035", + ["$id"] = "7037", ["and"] = new object[] { new Dictionary { -["$id"] = "7036", +["$id"] = "7038", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -4981,12 +4981,12 @@ public void Example_Discovery_AutoComplete_DiscoveryAutoComplete_Convenience() Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "7035", + ["$id"] = "7037", ["and"] = new object[] { new Dictionary { -["$id"] = "7036", +["$id"] = "7038", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } @@ -5010,12 +5010,12 @@ public async Task Example_Discovery_AutoComplete_DiscoveryAutoComplete_Convenien Limit = 10, Filter = BinaryData.FromObjectAsJson(new Dictionary { - ["$id"] = "7035", + ["$id"] = "7037", ["and"] = new object[] { new Dictionary { -["$id"] = "7036", +["$id"] = "7038", ["entityType"] = "azure_blob_path", ["includeSubTypes"] = false } diff --git a/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml b/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml index 1ca627b40c97..c85f18a53940 100644 --- a/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml +++ b/sdk/purview/Azure.Analytics.Purview.DataMap/tsp-location.yaml @@ -1,4 +1,4 @@ -repo: Azure/azure-rest-api-specs -commit: 462574dbd02088c209bb1da3eef0d93f699e8de2 -additionalDirectories: [] directory: specification/purview/Azure.Analytics.Purview.DataMap +commit: a2bd6a405683c01ba4bf92b47380d20e2306d991 +repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/Configuration.json b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/Configuration.json new file mode 100644 index 000000000000..4a3e558fc260 --- /dev/null +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/Configuration.json @@ -0,0 +1,12 @@ +{ + "output-folder": ".", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "library-name": "Azure.ResourceManager.ServiceNetworking", + "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" + ], + "azure-arm": true +} diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/tsp-location.yaml b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/tsp-location.yaml index 717c8fce85f2..0c7a58e951d8 100644 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/tsp-location.yaml +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/tsp-location.yaml @@ -1,3 +1,4 @@ directory: specification/servicenetworking/ServiceNetworking.Management -commit: 488fe8302cc529352bd6544e882773b5cc391f15 +commit: a2bd6a405683c01ba4bf92b47380d20e2306d991 repo: Azure/azure-rest-api-specs +additionalDirectories: diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/tspCodeModel.json b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/tspCodeModel.json new file mode 100644 index 000000000000..c5f21be382db --- /dev/null +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/tspCodeModel.json @@ -0,0 +1,13757 @@ +{ + "$id": "1", + "name": "Microsoft.ServiceNetworking", + "apiVersions": [ + "2023-11-01", + "2024-05-01-preview", + "2025-01-01", + "2025-03-01-preview" + ], + "enums": [ + { + "$id": "2", + "kind": "enum", + "name": "Origin", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin", + "valueType": { + "$id": "3", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "4", + "kind": "enumvalue", + "name": "user", + "value": "user", + "valueType": { + "$id": "5", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Indicates the operation is initiated by a user.", + "decorators": [] + }, + { + "$id": "6", + "kind": "enumvalue", + "name": "system", + "value": "system", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Indicates the operation is initiated by a system.", + "decorators": [] + }, + { + "$id": "8", + "kind": "enumvalue", + "name": "user,system", + "value": "user,system", + "valueType": { + "$id": "9", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "2" + }, + "doc": "Indicates the operation is initiated by a user or system.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ServiceNetworking", + "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "10", + "kind": "enum", + "name": "ActionType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType", + "valueType": { + "$id": "11", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "12", + "kind": "enumvalue", + "name": "Internal", + "value": "Internal", + "valueType": { + "$id": "13", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "10" + }, + "doc": "Actions are for internal-only APIs.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ServiceNetworking", + "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "14", + "kind": "enum", + "name": "ServiceNetworkingProvisioningState", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.ProvisioningState", + "valueType": { + "$id": "15", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "16", + "kind": "enumvalue", + "name": "Provisioning", + "value": "Provisioning", + "valueType": { + "$id": "17", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "14" + }, + "doc": "Resource in Provisioning State", + "decorators": [] + }, + { + "$id": "18", + "kind": "enumvalue", + "name": "Updating", + "value": "Updating", + "valueType": { + "$id": "19", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "14" + }, + "doc": "Resource in Updating State", + "decorators": [] + }, + { + "$id": "20", + "kind": "enumvalue", + "name": "Deleting", + "value": "Deleting", + "valueType": { + "$id": "21", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "14" + }, + "doc": "Resource in Deleting State", + "decorators": [] + }, + { + "$id": "22", + "kind": "enumvalue", + "name": "Accepted", + "value": "Accepted", + "valueType": { + "$id": "23", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "14" + }, + "doc": "Resource in Accepted State", + "decorators": [] + }, + { + "$id": "24", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$id": "25", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "14" + }, + "doc": "Resource in Succeeded State", + "decorators": [] + }, + { + "$id": "26", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "14" + }, + "doc": "Resource in Failed State", + "decorators": [] + }, + { + "$id": "28", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$id": "29", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "14" + }, + "doc": "Resource in Canceled State", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ServiceNetworking", + "doc": "Resource Provisioning State Enum", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "30", + "kind": "enum", + "name": "createdByType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "32", + "kind": "enumvalue", + "name": "User", + "value": "User", + "valueType": { + "$id": "33", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "30" + }, + "doc": "The entity was created by a user.", + "decorators": [] + }, + { + "$id": "34", + "kind": "enumvalue", + "name": "Application", + "value": "Application", + "valueType": { + "$id": "35", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "30" + }, + "doc": "The entity was created by an application.", + "decorators": [] + }, + { + "$id": "36", + "kind": "enumvalue", + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "valueType": { + "$id": "37", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "30" + }, + "doc": "The entity was created by a managed identity.", + "decorators": [] + }, + { + "$id": "38", + "kind": "enumvalue", + "name": "Key", + "value": "Key", + "valueType": { + "$id": "39", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "30" + }, + "doc": "The entity was created by a key.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ServiceNetworking", + "doc": "The kind of entity that created the resource.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "40", + "kind": "enum", + "name": "ResourceProvisioningState", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState", + "valueType": { + "$id": "41", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "42", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$id": "43", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "40" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "44", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$id": "45", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "40" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "46", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$id": "47", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "40" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ServiceNetworking", + "doc": "The provisioning state of a resource type.", + "isFixed": false, + "isFlags": false, + "usage": "LroPolling", + "decorators": [] + }, + { + "$id": "48", + "kind": "enum", + "name": "ApplicationGatewayForContainersSecurityPolicyType", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.PolicyType", + "valueType": { + "$id": "49", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "50", + "kind": "enumvalue", + "name": "WAF", + "value": "waf", + "valueType": { + "$id": "51", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "48" + }, + "doc": "Policy of Type WAF", + "decorators": [] + }, + { + "$id": "52", + "kind": "enumvalue", + "name": "IpAccessRules", + "value": "ipAccessRules", + "valueType": { + "$id": "53", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "48" + }, + "doc": "Policy of Type IpAccessRules", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ServiceNetworking", + "doc": "Policy Type of the Security Policy", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "54", + "kind": "enum", + "name": "IpAccessRuleAction", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.IpAccessRuleAction", + "valueType": { + "$id": "55", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "56", + "kind": "enumvalue", + "name": "Allow", + "value": "allow", + "valueType": { + "$id": "57", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "54" + }, + "doc": "Allow Source Ip Prefixes", + "decorators": [] + }, + { + "$id": "58", + "kind": "enumvalue", + "name": "Deny", + "value": "deny", + "valueType": { + "$id": "59", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "54" + }, + "doc": "Deny Source Ip Prefixes", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ServiceNetworking", + "doc": "Action of Ip Access Rule", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "60", + "kind": "enum", + "name": "TrafficControllerAssociationType", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationType", + "valueType": { + "$id": "61", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "62", + "kind": "enumvalue", + "name": "subnets", + "value": "subnets", + "valueType": { + "$id": "63", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "60" + }, + "doc": "Association of Type Subnet", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ServiceNetworking", + "doc": "Association Type Enum", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "64", + "kind": "enum", + "name": "Versions", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.Versions", + "valueType": { + "$id": "65", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "66", + "kind": "enumvalue", + "name": "v2023_11_01", + "value": "2023-11-01", + "valueType": { + "$id": "67", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "64" + }, + "doc": "2023-11-01 stable version", + "decorators": [] + }, + { + "$id": "68", + "kind": "enumvalue", + "name": "v2024_05_01_preview", + "value": "2024-05-01-preview", + "valueType": { + "$id": "69", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "64" + }, + "doc": "2024-05-01 preview version", + "decorators": [] + }, + { + "$id": "70", + "kind": "enumvalue", + "name": "v2025_05_01", + "value": "2025-01-01", + "valueType": { + "$id": "71", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "64" + }, + "doc": "2025-01-01 stable version", + "decorators": [] + }, + { + "$id": "72", + "kind": "enumvalue", + "name": "v2025_03_01_preview", + "value": "2025-03-01-preview", + "valueType": { + "$id": "73", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "enumType": { + "$ref": "64" + }, + "doc": "2025-03-01 preview version", + "decorators": [] + } + ], + "namespace": "Azure.ResourceManager.ServiceNetworking", + "doc": "Api versions", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + } + ], + "models": [ + { + "$id": "74", + "kind": "model", + "name": "OperationListResult", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult", + "usage": "Output,Json", + "doc": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.", + "decorators": [], + "properties": [ + { + "$id": "75", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Operation items on this page", + "type": { + "$id": "76", + "kind": "array", + "name": "ArrayOperation", + "valueType": { + "$id": "77", + "kind": "model", + "name": "Operation", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation", + "usage": "Output,Json", + "doc": "Details of a REST API operation, returned from the Resource Provider Operations API", + "decorators": [], + "properties": [ + { + "$id": "78", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"", + "type": { + "$id": "79", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.name", + "serializationOptions": { + "$id": "80", + "json": { + "$id": "81", + "name": "name" + } + } + }, + { + "$id": "82", + "kind": "property", + "name": "isDataAction", + "serializedName": "isDataAction", + "doc": "Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations.", + "type": { + "$id": "83", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.isDataAction", + "serializationOptions": { + "$id": "84", + "json": { + "$id": "85", + "name": "isDataAction" + } + } + }, + { + "$id": "86", + "kind": "property", + "name": "display", + "serializedName": "display", + "doc": "Localized display information for this particular operation.", + "type": { + "$id": "87", + "kind": "model", + "name": "OperationDisplay", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay", + "usage": "Output,Json", + "doc": "Localized display information for and operation.", + "decorators": [], + "properties": [ + { + "$id": "88", + "kind": "property", + "name": "provider", + "serializedName": "provider", + "doc": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".", + "type": { + "$id": "89", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.provider", + "serializationOptions": { + "$id": "90", + "json": { + "$id": "91", + "name": "provider" + } + } + }, + { + "$id": "92", + "kind": "property", + "name": "resource", + "serializedName": "resource", + "doc": "The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".", + "type": { + "$id": "93", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.resource", + "serializationOptions": { + "$id": "94", + "json": { + "$id": "95", + "name": "resource" + } + } + }, + { + "$id": "96", + "kind": "property", + "name": "operation", + "serializedName": "operation", + "doc": "The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".", + "type": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.operation", + "serializationOptions": { + "$id": "98", + "json": { + "$id": "99", + "name": "operation" + } + } + }, + { + "$id": "100", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", + "type": { + "$id": "101", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.description", + "serializationOptions": { + "$id": "102", + "json": { + "$id": "103", + "name": "description" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", + "serializationOptions": { + "$id": "104", + "json": { + "$id": "105", + "name": "display" + } + } + }, + { + "$id": "106", + "kind": "property", + "name": "origin", + "serializedName": "origin", + "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"", + "type": { + "$ref": "2" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin", + "serializationOptions": { + "$id": "107", + "json": { + "$id": "108", + "name": "origin" + } + } + }, + { + "$id": "109", + "kind": "property", + "name": "actionType", + "serializedName": "actionType", + "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.", + "type": { + "$ref": "10" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType", + "serializationOptions": { + "$id": "110", + "json": { + "$id": "111", + "name": "actionType" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", + "serializationOptions": { + "$id": "112", + "json": { + "$id": "113", + "name": "value" + } + } + }, + { + "$id": "114", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "115", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "116", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.nextLink", + "serializationOptions": { + "$id": "117", + "json": { + "$id": "118", + "name": "nextLink" + } + } + } + ] + }, + { + "$ref": "77" + }, + { + "$ref": "87" + }, + { + "$id": "119", + "kind": "model", + "name": "ErrorResponse", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse", + "usage": "Error,Json,Exception", + "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "decorators": [], + "properties": [ + { + "$id": "120", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error object.", + "type": { + "$id": "121", + "kind": "model", + "name": "ErrorDetail", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", + "usage": "Json,Exception,LroPolling", + "doc": "The error detail.", + "decorators": [], + "properties": [ + { + "$id": "122", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "The error code.", + "type": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", + "serializationOptions": { + "$id": "124", + "json": { + "$id": "125", + "name": "code" + } + } + }, + { + "$id": "126", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "The error message.", + "type": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", + "serializationOptions": { + "$id": "128", + "json": { + "$id": "129", + "name": "message" + } + } + }, + { + "$id": "130", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The error target.", + "type": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", + "serializationOptions": { + "$id": "132", + "json": { + "$id": "133", + "name": "target" + } + } + }, + { + "$id": "134", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "The error details.", + "type": { + "$id": "135", + "kind": "array", + "name": "ArrayErrorDetail", + "valueType": { + "$ref": "121" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", + "serializationOptions": { + "$id": "136", + "json": { + "$id": "137", + "name": "details" + } + } + }, + { + "$id": "138", + "kind": "property", + "name": "additionalInfo", + "serializedName": "additionalInfo", + "doc": "The error additional info.", + "type": { + "$id": "139", + "kind": "array", + "name": "ArrayErrorAdditionalInfo", + "valueType": { + "$id": "140", + "kind": "model", + "name": "ErrorAdditionalInfo", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", + "usage": "Json,Exception,LroPolling", + "doc": "The resource management error additional info.", + "decorators": [], + "properties": [ + { + "$id": "141", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The additional info type.", + "type": { + "$id": "142", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", + "serializationOptions": { + "$id": "143", + "json": { + "$id": "144", + "name": "type" + } + } + }, + { + "$id": "145", + "kind": "property", + "name": "info", + "serializedName": "info", + "doc": "The additional info.", + "type": { + "$id": "146", + "kind": "model", + "name": "ErrorAdditionalInfoInfo", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info.anonymous", + "usage": "Json,Exception,LroPolling", + "decorators": [], + "properties": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", + "serializationOptions": { + "$id": "147", + "json": { + "$id": "148", + "name": "info" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", + "serializationOptions": { + "$id": "149", + "json": { + "$id": "150", + "name": "additionalInfo" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", + "serializationOptions": { + "$id": "151", + "json": { + "$id": "152", + "name": "error" + } + } + } + ] + }, + { + "$ref": "121" + }, + { + "$ref": "140" + }, + { + "$ref": "146" + }, + { + "$id": "153", + "kind": "model", + "name": "TrafficController", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficController", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", + "decorators": [], + "baseModel": { + "$id": "154", + "kind": "model", + "name": "TrackedResource", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "decorators": [], + "baseModel": { + "$id": "155", + "kind": "model", + "name": "Resource", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Common fields that are returned in the response for all Azure Resource Manager resources", + "decorators": [], + "properties": [ + { + "$id": "156", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", + "type": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id", + "serializationOptions": { + "$id": "158", + "json": { + "$id": "159", + "name": "id" + } + } + }, + { + "$id": "160", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the resource", + "type": { + "$id": "161", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", + "serializationOptions": { + "$id": "162", + "json": { + "$id": "163", + "name": "name" + } + } + }, + { + "$id": "164", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "type": { + "$id": "165", + "kind": "string", + "name": "armResourceType", + "crossLanguageDefinitionId": "Azure.Core.armResourceType", + "baseType": { + "$id": "166", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type", + "serializationOptions": { + "$id": "167", + "json": { + "$id": "168", + "name": "type" + } + } + }, + { + "$id": "169", + "kind": "property", + "name": "systemData", + "serializedName": "systemData", + "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "type": { + "$id": "170", + "kind": "model", + "name": "SystemData", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Metadata pertaining to creation and last modification of the resource.", + "decorators": [], + "properties": [ + { + "$id": "171", + "kind": "property", + "name": "createdBy", + "serializedName": "createdBy", + "doc": "The identity that created the resource.", + "type": { + "$id": "172", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", + "serializationOptions": { + "$id": "173", + "json": { + "$id": "174", + "name": "createdBy" + } + } + }, + { + "$id": "175", + "kind": "property", + "name": "createdByType", + "serializedName": "createdByType", + "doc": "The type of identity that created the resource.", + "type": { + "$ref": "30" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", + "serializationOptions": { + "$id": "176", + "json": { + "$id": "177", + "name": "createdByType" + } + } + }, + { + "$id": "178", + "kind": "property", + "name": "createdAt", + "serializedName": "createdAt", + "doc": "The timestamp of resource creation (UTC).", + "type": { + "$id": "179", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "180", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdAt", + "serializationOptions": { + "$id": "181", + "json": { + "$id": "182", + "name": "createdAt" + } + } + }, + { + "$id": "183", + "kind": "property", + "name": "lastModifiedBy", + "serializedName": "lastModifiedBy", + "doc": "The identity that last modified the resource.", + "type": { + "$id": "184", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", + "serializationOptions": { + "$id": "185", + "json": { + "$id": "186", + "name": "lastModifiedBy" + } + } + }, + { + "$id": "187", + "kind": "property", + "name": "lastModifiedByType", + "serializedName": "lastModifiedByType", + "doc": "The type of identity that last modified the resource.", + "type": { + "$ref": "30" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", + "serializationOptions": { + "$id": "188", + "json": { + "$id": "189", + "name": "lastModifiedByType" + } + } + }, + { + "$id": "190", + "kind": "property", + "name": "lastModifiedAt", + "serializedName": "lastModifiedAt", + "doc": "The timestamp of resource last modification (UTC)", + "type": { + "$id": "191", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "192", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedAt", + "serializationOptions": { + "$id": "193", + "json": { + "$id": "194", + "name": "lastModifiedAt" + } + } + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", + "serializationOptions": { + "$id": "195", + "json": { + "$id": "196", + "name": "systemData" + } + } + } + ] + }, + "properties": [ + { + "$id": "197", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "198", + "kind": "dict", + "keyType": { + "$id": "199", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "200", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.tags", + "serializationOptions": { + "$id": "201", + "json": { + "$id": "202", + "name": "tags" + } + } + }, + { + "$id": "203", + "kind": "property", + "name": "location", + "serializedName": "location", + "doc": "The geo-location where the resource lives", + "type": { + "$id": "204", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", + "serializationOptions": { + "$id": "205", + "json": { + "$id": "206", + "name": "location" + } + } + } + ] + }, + "properties": [ + { + "$id": "207", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "208", + "kind": "model", + "name": "TrafficControllerProperties", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerProperties", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Traffic Controller Properties.", + "decorators": [], + "properties": [ + { + "$id": "209", + "kind": "property", + "name": "configurationEndpoints", + "serializedName": "configurationEndpoints", + "doc": "Configuration Endpoints.", + "type": { + "$id": "210", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerProperties.configurationEndpoints", + "serializationOptions": { + "$id": "212", + "json": { + "$id": "213", + "name": "configurationEndpoints" + } + } + }, + { + "$id": "214", + "kind": "property", + "name": "frontends", + "serializedName": "frontends", + "doc": "Frontends References List", + "type": { + "$id": "215", + "kind": "array", + "name": "ArrayResourceId", + "valueType": { + "$id": "216", + "kind": "model", + "name": "ResourceId", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.ResourceId", + "usage": "Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Resource ID definition used by parent to reference child resources.", + "decorators": [], + "properties": [ + { + "$id": "217", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Resource ID of child resource.", + "type": { + "$id": "218", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.ResourceId.id", + "serializationOptions": { + "$id": "219", + "json": { + "$id": "220", + "name": "id" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerProperties.frontends", + "serializationOptions": { + "$id": "221", + "json": { + "$id": "222", + "name": "frontends" + } + } + }, + { + "$id": "223", + "kind": "property", + "name": "associations", + "serializedName": "associations", + "doc": "Associations References List", + "type": { + "$id": "224", + "kind": "array", + "name": "ArrayResourceId", + "valueType": { + "$ref": "216" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerProperties.associations", + "serializationOptions": { + "$id": "225", + "json": { + "$id": "226", + "name": "associations" + } + } + }, + { + "$id": "227", + "kind": "property", + "name": "securityPolicies", + "serializedName": "securityPolicies", + "doc": "Security Policies References List", + "type": { + "$id": "228", + "kind": "array", + "name": "ArrayResourceId", + "valueType": { + "$ref": "216" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerProperties.securityPolicies", + "serializationOptions": { + "$id": "229", + "json": { + "$id": "230", + "name": "securityPolicies" + } + } + }, + { + "$id": "231", + "kind": "property", + "name": "securityPolicyConfigurations", + "serializedName": "securityPolicyConfigurations", + "doc": "Security Policy Configuration", + "type": { + "$id": "232", + "kind": "model", + "name": "SecurityPolicyConfigurations", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPolicyConfigurations", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "SecurityPolicyConfigurations Subresource of Traffic Controller.", + "decorators": [], + "properties": [ + { + "$id": "233", + "kind": "property", + "name": "wafSecurityPolicy", + "serializedName": "wafSecurityPolicy", + "doc": "Contains reference to a WAF-type security policy.", + "type": { + "$id": "234", + "kind": "model", + "name": "WafSecurityPolicy", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.WafSecurityPolicy", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Web Application Firewall Security Policy", + "decorators": [], + "properties": [ + { + "$id": "235", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Resource ID of the Waf Security Policy", + "type": { + "$id": "236", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.WafSecurityPolicy.id", + "serializationOptions": { + "$id": "237", + "json": { + "$id": "238", + "name": "id" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPolicyConfigurations.wafSecurityPolicy", + "serializationOptions": { + "$id": "239", + "json": { + "$id": "240", + "name": "wafSecurityPolicy" + } + } + }, + { + "$id": "241", + "kind": "property", + "name": "ipAccessRulesSecurityPolicy", + "serializedName": "ipAccessRulesSecurityPolicy", + "doc": "Contains reference to a IpAccessRules-type security policy.", + "type": { + "$id": "242", + "kind": "model", + "name": "IpAccessRulesSecurityPolicy", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.IpAccessRulesSecurityPolicy", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "IpAccessRules Security Policy", + "decorators": [], + "properties": [ + { + "$id": "243", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Resource ID of the Ip Access Rules Security Policy", + "type": { + "$id": "244", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.IpAccessRulesSecurityPolicy.id", + "serializationOptions": { + "$id": "245", + "json": { + "$id": "246", + "name": "id" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPolicyConfigurations.ipAccessRulesSecurityPolicy", + "serializationOptions": { + "$id": "247", + "json": { + "$id": "248", + "name": "ipAccessRulesSecurityPolicy" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerProperties.securityPolicyConfigurations", + "serializationOptions": { + "$id": "249", + "json": { + "$id": "250", + "name": "securityPolicyConfigurations" + } + } + }, + { + "$id": "251", + "kind": "property", + "name": "TrafficControllerProvisioningState", + "serializedName": "provisioningState", + "doc": "The status of the last operation.", + "type": { + "$ref": "14" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerProperties.provisioningState", + "serializationOptions": { + "$id": "252", + "json": { + "$id": "253", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficController.properties", + "serializationOptions": { + "$id": "254", + "json": { + "$id": "255", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "208" + }, + { + "$ref": "216" + }, + { + "$ref": "232" + }, + { + "$ref": "234" + }, + { + "$ref": "242" + }, + { + "$ref": "154" + }, + { + "$ref": "155" + }, + { + "$ref": "170" + }, + { + "$id": "256", + "kind": "model", + "name": "TrafficControllerUpdate", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the TrafficController.", + "decorators": [], + "properties": [ + { + "$id": "257", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "258", + "kind": "dict", + "keyType": { + "$id": "259", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "260", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "$id": "261", + "json": { + "$id": "262", + "name": "tags" + } + } + }, + { + "$id": "263", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "264", + "kind": "model", + "name": "TrafficControllerUpdateProperties", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the TrafficController.", + "decorators": [], + "properties": [ + { + "$id": "265", + "kind": "property", + "name": "securityPolicyConfigurations", + "serializedName": "securityPolicyConfigurations", + "doc": "Security Policy Configuration", + "type": { + "$ref": "232" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.securityPolicyConfigurations", + "serializationOptions": { + "$id": "266", + "json": { + "$id": "267", + "name": "securityPolicyConfigurations" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "$id": "268", + "json": { + "$id": "269", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "264" + }, + { + "$id": "270", + "kind": "model", + "name": "ArmOperationStatusResourceProvisioningState", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus", + "usage": "LroPolling", + "doc": "Standard Azure Resource Manager operation status response", + "decorators": [], + "properties": [ + { + "$id": "271", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The operation status", + "type": { + "$ref": "40" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", + "serializationOptions": { + "$id": "272", + "json": { + "$id": "273", + "name": "status" + } + } + }, + { + "$id": "274", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operationStatus resource", + "type": { + "$id": "275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", + "serializationOptions": { + "$id": "276", + "json": { + "$id": "277", + "name": "name" + } + } + }, + { + "$id": "278", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "Operation start time", + "type": { + "$id": "279", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "280", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.startTime", + "serializationOptions": { + "$id": "281", + "json": { + "$id": "282", + "name": "startTime" + } + } + }, + { + "$id": "283", + "kind": "property", + "name": "endTime", + "serializedName": "endTime", + "doc": "Operation complete time", + "type": { + "$id": "284", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "285", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.endTime", + "serializationOptions": { + "$id": "286", + "json": { + "$id": "287", + "name": "endTime" + } + } + }, + { + "$id": "288", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "The progress made toward completing the operation", + "type": { + "$id": "289", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", + "serializationOptions": { + "$id": "290", + "json": { + "$id": "291", + "name": "percentComplete" + } + } + }, + { + "$id": "292", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Errors that occurred if the operation ended with Canceled or Failed status", + "type": { + "$ref": "121" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", + "serializationOptions": { + "$id": "293", + "json": { + "$id": "294", + "name": "error" + } + } + } + ] + }, + { + "$id": "295", + "kind": "model", + "name": "TrafficControllerListResult", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a TrafficController list operation.", + "decorators": [], + "properties": [ + { + "$id": "296", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The TrafficController items on this page", + "type": { + "$id": "297", + "kind": "array", + "name": "ArrayTrafficController", + "valueType": { + "$ref": "153" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "298", + "json": { + "$id": "299", + "name": "value" + } + } + }, + { + "$id": "300", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "301", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "302", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "303", + "json": { + "$id": "304", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "305", + "kind": "model", + "name": "ApplicationGatewayForContainersSecurityPolicy", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPolicy", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "SecurityPolicy Subresource of Traffic Controller.", + "decorators": [], + "baseModel": { + "$ref": "154" + }, + "properties": [ + { + "$id": "306", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "307", + "kind": "model", + "name": "SecurityPolicyProperties", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPolicyProperties", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "SecurityPolicy Properties.", + "decorators": [], + "properties": [ + { + "$id": "308", + "kind": "property", + "name": "policyType", + "serializedName": "policyType", + "doc": "Type of the Traffic Controller Security Policy", + "type": { + "$ref": "48" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPolicyProperties.policyType", + "serializationOptions": { + "$id": "309", + "json": { + "$id": "310", + "name": "policyType" + } + } + }, + { + "$id": "311", + "kind": "property", + "name": "wafPolicy", + "serializedName": "wafPolicy", + "doc": "Web Application Firewall Policy of the Traffic Controller Security Policy. Single Security Policy can have only one policy type set.", + "type": { + "$id": "312", + "kind": "model", + "name": "WafPolicy", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.WafPolicy", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Web Application Firewall Policy", + "decorators": [], + "properties": [ + { + "$id": "313", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Resource ID of the WAF", + "type": { + "$id": "314", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.WafPolicy.id", + "serializationOptions": { + "$id": "315", + "json": { + "$id": "316", + "name": "id" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPolicyProperties.wafPolicy", + "serializationOptions": { + "$id": "317", + "json": { + "$id": "318", + "name": "wafPolicy" + } + } + }, + { + "$id": "319", + "kind": "property", + "name": "ipAccessRulesPolicy", + "serializedName": "ipAccessRulesPolicy", + "doc": "Ip Access Policy of the Traffic Controller Security Policy. Single Security Policy can have only one policy type set.", + "type": { + "$id": "320", + "kind": "model", + "name": "IpAccessRulesPolicy", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.IpAccessRulesPolicy", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Ip Access Policy", + "decorators": [], + "properties": [ + { + "$id": "321", + "kind": "property", + "name": "rules", + "serializedName": "rules", + "doc": "Ip Access Policy Rules List", + "type": { + "$id": "322", + "kind": "array", + "name": "ArrayIpAccessRule", + "valueType": { + "$id": "323", + "kind": "model", + "name": "IpAccessRule", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.IpAccessRule", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Ip Access Policy Rules", + "decorators": [], + "properties": [ + { + "$id": "324", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the Ip Access Rule", + "type": { + "$id": "325", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.IpAccessRule.name", + "serializationOptions": { + "$id": "326", + "json": { + "$id": "327", + "name": "name" + } + } + }, + { + "$id": "328", + "kind": "property", + "name": "priority", + "serializedName": "priority", + "doc": "The priority of the rule. The value can be between 1 and 500. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.", + "type": { + "$id": "329", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.IpAccessRule.priority", + "serializationOptions": { + "$id": "330", + "json": { + "$id": "331", + "name": "priority" + } + } + }, + { + "$id": "332", + "kind": "property", + "name": "sourceAddressPrefixes", + "serializedName": "sourceAddressPrefixes", + "doc": "Source Address Prefixed Applied by the Rule. Asterisk '*' can also be used to match all source IPs.", + "type": { + "$id": "333", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "334", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.IpAccessRule.sourceAddressPrefixes", + "serializationOptions": { + "$id": "335", + "json": { + "$id": "336", + "name": "sourceAddressPrefixes" + } + } + }, + { + "$id": "337", + "kind": "property", + "name": "action", + "serializedName": "action", + "doc": "Action of the Rule", + "type": { + "$ref": "54" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.IpAccessRule.action", + "serializationOptions": { + "$id": "338", + "json": { + "$id": "339", + "name": "action" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.IpAccessRulesPolicy.rules", + "serializationOptions": { + "$id": "340", + "json": { + "$id": "341", + "name": "rules" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPolicyProperties.ipAccessRulesPolicy", + "serializationOptions": { + "$id": "342", + "json": { + "$id": "343", + "name": "ipAccessRulesPolicy" + } + } + }, + { + "$id": "344", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning State of Traffic Controller SecurityPolicy Resource", + "type": { + "$ref": "14" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPolicyProperties.provisioningState", + "serializationOptions": { + "$id": "345", + "json": { + "$id": "346", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPolicy.properties", + "serializationOptions": { + "$id": "347", + "json": { + "$id": "348", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "307" + }, + { + "$ref": "312" + }, + { + "$ref": "320" + }, + { + "$ref": "323" + }, + { + "$id": "349", + "kind": "model", + "name": "SecurityPolicyUpdate", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the SecurityPolicy.", + "decorators": [], + "properties": [ + { + "$id": "350", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "351", + "kind": "dict", + "keyType": { + "$id": "352", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "353", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "$id": "354", + "json": { + "$id": "355", + "name": "tags" + } + } + }, + { + "$id": "356", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "357", + "kind": "model", + "name": "SecurityPolicyUpdateProperties", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the SecurityPolicy.", + "decorators": [], + "properties": [ + { + "$id": "358", + "kind": "property", + "name": "wafPolicy", + "serializedName": "wafPolicy", + "doc": "Web Application Firewall Policy of the Traffic Controller Security Policy. Single Security Policy can have only one policy type set.", + "type": { + "$ref": "312" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.wafPolicy", + "serializationOptions": { + "$id": "359", + "json": { + "$id": "360", + "name": "wafPolicy" + } + } + }, + { + "$id": "361", + "kind": "property", + "name": "ipAccessRulesPolicy", + "serializedName": "ipAccessRulesPolicy", + "doc": "Ip Access Policy of the Traffic Controller Security Policy. Single Security Policy can have only one policy type set.", + "type": { + "$ref": "320" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.ipAccessRulesPolicy", + "serializationOptions": { + "$id": "362", + "json": { + "$id": "363", + "name": "ipAccessRulesPolicy" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "$id": "364", + "json": { + "$id": "365", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "357" + }, + { + "$id": "366", + "kind": "model", + "name": "SecurityPolicyListResult", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a SecurityPolicy list operation.", + "decorators": [], + "properties": [ + { + "$id": "367", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The SecurityPolicy items on this page", + "type": { + "$id": "368", + "kind": "array", + "name": "ArraySecurityPolicy", + "valueType": { + "$ref": "305" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "369", + "json": { + "$id": "370", + "name": "value" + } + } + }, + { + "$id": "371", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "372", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "373", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "374", + "json": { + "$id": "375", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "376", + "kind": "model", + "name": "TrafficControllerFrontend", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.Frontend", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Frontend Sub Resource of Traffic Controller.", + "decorators": [], + "baseModel": { + "$ref": "154" + }, + "properties": [ + { + "$id": "377", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "378", + "kind": "model", + "name": "FrontendProperties", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.FrontendProperties", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Frontend Properties.", + "decorators": [], + "properties": [ + { + "$id": "379", + "kind": "property", + "name": "fqdn", + "serializedName": "fqdn", + "doc": "The Fully Qualified Domain Name of the DNS record associated to a Traffic Controller frontend.", + "type": { + "$id": "380", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.FrontendProperties.fqdn", + "serializationOptions": { + "$id": "381", + "json": { + "$id": "382", + "name": "fqdn" + } + } + }, + { + "$id": "383", + "kind": "property", + "name": "securityPolicyConfigurations", + "serializedName": "securityPolicyConfigurations", + "doc": "Frontend Security Policy Configuration", + "type": { + "$ref": "232" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.FrontendProperties.securityPolicyConfigurations", + "serializationOptions": { + "$id": "384", + "json": { + "$id": "385", + "name": "securityPolicyConfigurations" + } + } + }, + { + "$id": "386", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning State of Traffic Controller Frontend Resource", + "type": { + "$ref": "14" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.FrontendProperties.provisioningState", + "serializationOptions": { + "$id": "387", + "json": { + "$id": "388", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.Frontend.properties", + "serializationOptions": { + "$id": "389", + "json": { + "$id": "390", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "378" + }, + { + "$id": "391", + "kind": "model", + "name": "FrontendUpdate", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the Frontend.", + "decorators": [], + "properties": [ + { + "$id": "392", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "393", + "kind": "dict", + "keyType": { + "$id": "394", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "395", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.tags", + "serializationOptions": { + "$id": "396", + "json": { + "$id": "397", + "name": "tags" + } + } + }, + { + "$id": "398", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "399", + "kind": "model", + "name": "FrontendUpdateProperties", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the Frontend.", + "decorators": [], + "properties": [ + { + "$id": "400", + "kind": "property", + "name": "securityPolicyConfigurations", + "serializedName": "securityPolicyConfigurations", + "doc": "Frontend Security Policy Configuration", + "type": { + "$ref": "232" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.securityPolicyConfigurations", + "serializationOptions": { + "$id": "401", + "json": { + "$id": "402", + "name": "securityPolicyConfigurations" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "$id": "403", + "json": { + "$id": "404", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "399" + }, + { + "$id": "405", + "kind": "model", + "name": "FrontendListResult", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a Frontend list operation.", + "decorators": [], + "properties": [ + { + "$id": "406", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Frontend items on this page", + "type": { + "$id": "407", + "kind": "array", + "name": "ArrayFrontend", + "valueType": { + "$ref": "376" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "408", + "json": { + "$id": "409", + "name": "value" + } + } + }, + { + "$id": "410", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "411", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "412", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "413", + "json": { + "$id": "414", + "name": "nextLink" + } + } + } + ] + }, + { + "$id": "415", + "kind": "model", + "name": "TrafficControllerAssociation", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.Association", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Association Subresource of Traffic Controller", + "decorators": [], + "baseModel": { + "$ref": "154" + }, + "properties": [ + { + "$id": "416", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "417", + "kind": "model", + "name": "AssociationProperties", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationProperties", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Association Properties.", + "decorators": [], + "properties": [ + { + "$id": "418", + "kind": "property", + "name": "associationType", + "serializedName": "associationType", + "doc": "Association Type", + "type": { + "$ref": "60" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationProperties.associationType", + "serializationOptions": { + "$id": "419", + "json": { + "$id": "420", + "name": "associationType" + } + } + }, + { + "$id": "421", + "kind": "property", + "name": "subnet", + "serializedName": "subnet", + "doc": "Association Subnet", + "type": { + "$id": "422", + "kind": "model", + "name": "AssociationSubnet", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationSubnet", + "usage": "Input,Output,Json,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "Association Subnet.", + "decorators": [], + "properties": [ + { + "$id": "423", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Association ID.", + "type": { + "$id": "424", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationSubnet.id", + "serializationOptions": { + "$id": "425", + "json": { + "$id": "426", + "name": "id" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationProperties.subnet", + "serializationOptions": { + "$id": "427", + "json": { + "$id": "428", + "name": "subnet" + } + } + }, + { + "$id": "429", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "doc": "Provisioning State of Traffic Controller Association Resource", + "type": { + "$ref": "14" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationProperties.provisioningState", + "serializationOptions": { + "$id": "430", + "json": { + "$id": "431", + "name": "provisioningState" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.Association.properties", + "serializationOptions": { + "$id": "432", + "json": { + "$id": "433", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "417" + }, + { + "$ref": "422" + }, + { + "$id": "434", + "kind": "model", + "name": "TrafficControllerAssociationUpdate", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationUpdate", + "usage": "Input,Json", + "doc": "The type used for update operations of the Association.", + "decorators": [], + "properties": [ + { + "$id": "435", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "436", + "kind": "dict", + "keyType": { + "$id": "437", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "438", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationUpdate.tags", + "serializationOptions": { + "$id": "439", + "json": { + "$id": "440", + "name": "tags" + } + } + }, + { + "$id": "441", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "442", + "kind": "model", + "name": "AssociationUpdateProperties", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationUpdateProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the Association.", + "decorators": [], + "properties": [ + { + "$id": "443", + "kind": "property", + "name": "associationType", + "serializedName": "associationType", + "doc": "Association Type", + "type": { + "$ref": "60" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationUpdateProperties.associationType", + "serializationOptions": { + "$id": "444", + "json": { + "$id": "445", + "name": "associationType" + } + } + }, + { + "$id": "446", + "kind": "property", + "name": "subnet", + "serializedName": "subnet", + "doc": "Association Subnet", + "type": { + "$id": "447", + "kind": "model", + "name": "AssociationSubnetUpdate", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationSubnetUpdate", + "usage": "Input,Json", + "doc": "Association Subnet.", + "decorators": [], + "properties": [ + { + "$id": "448", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Association ID.", + "type": { + "$id": "449", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationSubnetUpdate.id", + "serializationOptions": { + "$id": "450", + "json": { + "$id": "451", + "name": "id" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationUpdateProperties.subnet", + "serializationOptions": { + "$id": "452", + "json": { + "$id": "453", + "name": "subnet" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": true, + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationUpdate.properties", + "serializationOptions": { + "$id": "454", + "json": { + "$id": "455", + "name": "properties" + } + } + } + ] + }, + { + "$ref": "442" + }, + { + "$ref": "447" + }, + { + "$id": "456", + "kind": "model", + "name": "AssociationListResult", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a Association list operation.", + "decorators": [], + "properties": [ + { + "$id": "457", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Association items on this page", + "type": { + "$id": "458", + "kind": "array", + "name": "ArrayAssociation", + "valueType": { + "$ref": "415" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "$id": "459", + "json": { + "$id": "460", + "name": "value" + } + } + }, + { + "$id": "461", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "462", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "463", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "$id": "464", + "json": { + "$id": "465", + "name": "nextLink" + } + } + } + ] + } + ], + "clients": [ + { + "$id": "466", + "name": "ServiceNetworkingClient", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "doc": "Traffic Controller Provider management API.", + "operations": [], + "parameters": [ + { + "$id": "467", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "468", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "469", + "type": { + "$id": "470", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking" + }, + { + "$id": "471", + "name": "AssociationsInterface", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "operations": [ + { + "$id": "472", + "name": "get", + "resourceName": "Association", + "doc": "Get a Association", + "accessibility": "public", + "parameters": [ + { + "$id": "473", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "474", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "475", + "type": { + "$id": "476", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "477", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "478", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "479", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "480", + "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": "481", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "482", + "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": "483", + "name": "associationName", + "nameInRequest": "associationName", + "doc": "Name of Association", + "type": { + "$id": "484", + "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": "485", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "486", + "kind": "constant", + "valueType": { + "$id": "487", + "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": "488", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "415" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationsInterface.get", + "decorators": [], + "examples": [ + { + "$id": "489", + "kind": "http", + "name": "Get Association", + "description": "Get Association", + "filePath": "2025-03-01-preview/AssociationGet.json", + "parameters": [ + { + "$id": "490", + "parameter": { + "$ref": "473" + }, + "value": { + "$id": "491", + "kind": "string", + "type": { + "$ref": "474" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "492", + "parameter": { + "$ref": "477" + }, + "value": { + "$id": "493", + "kind": "string", + "type": { + "$ref": "478" + }, + "value": "subid" + } + }, + { + "$id": "494", + "parameter": { + "$ref": "479" + }, + "value": { + "$id": "495", + "kind": "string", + "type": { + "$ref": "480" + }, + "value": "rg1" + } + }, + { + "$id": "496", + "parameter": { + "$ref": "481" + }, + "value": { + "$id": "497", + "kind": "string", + "type": { + "$ref": "482" + }, + "value": "tc1" + } + }, + { + "$id": "498", + "parameter": { + "$ref": "483" + }, + "value": { + "$id": "499", + "kind": "string", + "type": { + "$ref": "484" + }, + "value": "as1" + } + } + ], + "responses": [ + { + "$id": "500", + "response": { + "$ref": "488" + }, + "statusCode": 200, + "bodyValue": { + "$id": "501", + "kind": "model", + "type": { + "$ref": "415" + }, + "value": { + "$id": "502", + "name": { + "$id": "503", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "as1" + }, + "type": { + "$id": "504", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/associations" + }, + "id": { + "$id": "505", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1" + }, + "location": { + "$id": "506", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "properties": { + "$id": "507", + "kind": "model", + "type": { + "$ref": "417" + }, + "value": { + "$id": "508", + "associationType": { + "$id": "509", + "kind": "string", + "type": { + "$ref": "60" + }, + "value": "subnets" + }, + "subnet": { + "$id": "510", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "$id": "511", + "id": { + "$id": "512", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + } + } + }, + "provisioningState": { + "$id": "513", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "514", + "name": "createOrUpdate", + "resourceName": "Association", + "doc": "Create a Association", + "accessibility": "public", + "parameters": [ + { + "$id": "515", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "516", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "517", + "type": { + "$id": "518", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "519", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "520", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "521", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "522", + "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": "523", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "524", + "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": "525", + "name": "associationName", + "nameInRequest": "associationName", + "doc": "Name of Association", + "type": { + "$id": "526", + "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": "527", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "528", + "kind": "constant", + "valueType": { + "$id": "529", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "530", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "531", + "kind": "constant", + "valueType": { + "$id": "532", + "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 + }, + { + "$id": "533", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "415" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "534", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "415" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "535", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "415" + }, + "headers": [ + { + "$id": "536", + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "537", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "538", + "finalStateVia": 0, + "finalResponse": { + "$id": "539", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "415" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationsInterface.createOrUpdate", + "decorators": [ + { + "$id": "540", + "name": "Azure.Core.@useFinalStateVia", + "arguments": { + "$id": "541", + "finalState": "azure-async-operation" + } + } + ], + "examples": [ + { + "$id": "542", + "kind": "http", + "name": "Put Association", + "description": "Put Association", + "filePath": "2025-03-01-preview/AssociationPut.json", + "parameters": [ + { + "$id": "543", + "parameter": { + "$ref": "515" + }, + "value": { + "$id": "544", + "kind": "string", + "type": { + "$ref": "516" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "545", + "parameter": { + "$ref": "519" + }, + "value": { + "$id": "546", + "kind": "string", + "type": { + "$ref": "520" + }, + "value": "subid" + } + }, + { + "$id": "547", + "parameter": { + "$ref": "521" + }, + "value": { + "$id": "548", + "kind": "string", + "type": { + "$ref": "522" + }, + "value": "rg1" + } + }, + { + "$id": "549", + "parameter": { + "$ref": "523" + }, + "value": { + "$id": "550", + "kind": "string", + "type": { + "$ref": "524" + }, + "value": "tc1" + } + }, + { + "$id": "551", + "parameter": { + "$ref": "525" + }, + "value": { + "$id": "552", + "kind": "string", + "type": { + "$ref": "526" + }, + "value": "as1" + } + }, + { + "$id": "553", + "parameter": { + "$ref": "533" + }, + "value": { + "$id": "554", + "kind": "model", + "type": { + "$ref": "415" + }, + "value": { + "$id": "555", + "location": { + "$id": "556", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "properties": { + "$id": "557", + "kind": "model", + "type": { + "$ref": "417" + }, + "value": { + "$id": "558", + "associationType": { + "$id": "559", + "kind": "string", + "type": { + "$ref": "60" + }, + "value": "subnets" + }, + "subnet": { + "$id": "560", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "$id": "561", + "id": { + "$id": "562", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "563", + "response": { + "$ref": "534" + }, + "statusCode": 200, + "bodyValue": { + "$id": "564", + "kind": "model", + "type": { + "$ref": "415" + }, + "value": { + "$id": "565", + "name": { + "$id": "566", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "associatedvnet-1" + }, + "type": { + "$id": "567", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/associations" + }, + "id": { + "$id": "568", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1" + }, + "location": { + "$id": "569", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "properties": { + "$id": "570", + "kind": "model", + "type": { + "$ref": "417" + }, + "value": { + "$id": "571", + "associationType": { + "$id": "572", + "kind": "string", + "type": { + "$ref": "60" + }, + "value": "subnets" + }, + "subnet": { + "$id": "573", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "$id": "574", + "id": { + "$id": "575", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + } + } + }, + "provisioningState": { + "$id": "576", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Accepted" + } + } + } + } + } + }, + { + "$id": "577", + "response": { + "$ref": "535" + }, + "statusCode": 201, + "bodyValue": { + "$id": "578", + "kind": "model", + "type": { + "$ref": "415" + }, + "value": { + "$id": "579", + "name": { + "$id": "580", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "associatedvnet-1" + }, + "type": { + "$id": "581", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/associations" + }, + "id": { + "$id": "582", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1" + }, + "location": { + "$id": "583", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "properties": { + "$id": "584", + "kind": "model", + "type": { + "$ref": "417" + }, + "value": { + "$id": "585", + "associationType": { + "$id": "586", + "kind": "string", + "type": { + "$ref": "60" + }, + "value": "subnets" + }, + "subnet": { + "$id": "587", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "$id": "588", + "id": { + "$id": "589", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + } + } + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "590", + "name": "update", + "resourceName": "Association", + "doc": "Update a Association", + "accessibility": "public", + "parameters": [ + { + "$id": "591", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "592", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "593", + "type": { + "$id": "594", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "595", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "596", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "597", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "598", + "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": "599", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "600", + "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": "601", + "name": "associationName", + "nameInRequest": "associationName", + "doc": "Name of Association", + "type": { + "$id": "602", + "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": "603", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "604", + "kind": "constant", + "valueType": { + "$id": "605", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "606", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "607", + "kind": "constant", + "valueType": { + "$id": "608", + "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 + }, + { + "$id": "609", + "name": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "434" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "610", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "415" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationsInterface.update", + "decorators": [], + "examples": [ + { + "$id": "611", + "kind": "http", + "name": "Update Association", + "description": "Update Association", + "filePath": "2025-03-01-preview/AssociationPatch.json", + "parameters": [ + { + "$id": "612", + "parameter": { + "$ref": "591" + }, + "value": { + "$id": "613", + "kind": "string", + "type": { + "$ref": "592" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "614", + "parameter": { + "$ref": "595" + }, + "value": { + "$id": "615", + "kind": "string", + "type": { + "$ref": "596" + }, + "value": "subid" + } + }, + { + "$id": "616", + "parameter": { + "$ref": "597" + }, + "value": { + "$id": "617", + "kind": "string", + "type": { + "$ref": "598" + }, + "value": "rg1" + } + }, + { + "$id": "618", + "parameter": { + "$ref": "599" + }, + "value": { + "$id": "619", + "kind": "string", + "type": { + "$ref": "600" + }, + "value": "tc1" + } + }, + { + "$id": "620", + "parameter": { + "$ref": "601" + }, + "value": { + "$id": "621", + "kind": "string", + "type": { + "$ref": "602" + }, + "value": "as1" + } + }, + { + "$id": "622", + "parameter": { + "$ref": "609" + }, + "value": { + "$id": "623", + "kind": "model", + "type": { + "$ref": "434" + }, + "value": { + "$id": "624", + "properties": { + "$id": "625", + "kind": "model", + "type": { + "$ref": "442" + }, + "value": { + "$id": "626", + "associationType": { + "$id": "627", + "kind": "string", + "type": { + "$ref": "60" + }, + "value": "subnets" + }, + "subnet": { + "$id": "628", + "kind": "model", + "type": { + "$ref": "447" + }, + "value": { + "$id": "629", + "id": { + "$id": "630", + "kind": "string", + "type": { + "$ref": "449" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "631", + "response": { + "$ref": "610" + }, + "statusCode": 200, + "bodyValue": { + "$id": "632", + "kind": "model", + "type": { + "$ref": "415" + }, + "value": { + "$id": "633", + "name": { + "$id": "634", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "as1" + }, + "type": { + "$id": "635", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/associations" + }, + "id": { + "$id": "636", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1" + }, + "location": { + "$id": "637", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "properties": { + "$id": "638", + "kind": "model", + "type": { + "$ref": "417" + }, + "value": { + "$id": "639", + "associationType": { + "$id": "640", + "kind": "string", + "type": { + "$ref": "60" + }, + "value": "subnets" + }, + "subnet": { + "$id": "641", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "$id": "642", + "id": { + "$id": "643", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + } + } + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "644", + "name": "delete", + "resourceName": "Association", + "doc": "Delete a Association", + "accessibility": "public", + "parameters": [ + { + "$id": "645", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "646", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "647", + "type": { + "$id": "648", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "649", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "650", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "651", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "652", + "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": "653", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "654", + "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": "655", + "name": "associationName", + "nameInRequest": "associationName", + "doc": "Name of Association", + "type": { + "$id": "656", + "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": "657", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "658", + "kind": "constant", + "valueType": { + "$id": "659", + "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": "660", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "661", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "662", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "663", + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "664", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "665", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations/{associationName}", + "bufferResponse": true, + "longRunning": { + "$id": "666", + "finalStateVia": 1, + "finalResponse": { + "$id": "667", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationsInterface.delete", + "decorators": [], + "examples": [ + { + "$id": "668", + "kind": "http", + "name": "Delete Association", + "description": "Delete Association", + "filePath": "2025-03-01-preview/AssociationDelete.json", + "parameters": [ + { + "$id": "669", + "parameter": { + "$ref": "645" + }, + "value": { + "$id": "670", + "kind": "string", + "type": { + "$ref": "646" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "671", + "parameter": { + "$ref": "649" + }, + "value": { + "$id": "672", + "kind": "string", + "type": { + "$ref": "650" + }, + "value": "subid" + } + }, + { + "$id": "673", + "parameter": { + "$ref": "651" + }, + "value": { + "$id": "674", + "kind": "string", + "type": { + "$ref": "652" + }, + "value": "rg1" + } + }, + { + "$id": "675", + "parameter": { + "$ref": "653" + }, + "value": { + "$id": "676", + "kind": "string", + "type": { + "$ref": "654" + }, + "value": "tc1" + } + }, + { + "$id": "677", + "parameter": { + "$ref": "655" + }, + "value": { + "$id": "678", + "kind": "string", + "type": { + "$ref": "656" + }, + "value": "as1" + } + } + ], + "responses": [ + { + "$id": "679", + "response": { + "$ref": "660" + }, + "statusCode": 202 + }, + { + "$id": "680", + "response": { + "$ref": "665" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "681", + "name": "listByTrafficController", + "resourceName": "Association", + "doc": "List Association resources by TrafficController", + "accessibility": "public", + "parameters": [ + { + "$id": "682", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "683", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "684", + "type": { + "$id": "685", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "686", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "687", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "688", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "689", + "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": "690", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "691", + "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": "692", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "693", + "kind": "constant", + "valueType": { + "$id": "694", + "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": "695", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "456" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/associations", + "bufferResponse": true, + "paging": { + "$id": "696", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "697", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationsInterface.listByTrafficController", + "decorators": [], + "examples": [ + { + "$id": "698", + "kind": "http", + "name": "Get Associations", + "description": "Get Associations", + "filePath": "2025-03-01-preview/AssociationsGet.json", + "parameters": [ + { + "$id": "699", + "parameter": { + "$ref": "682" + }, + "value": { + "$id": "700", + "kind": "string", + "type": { + "$ref": "683" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "701", + "parameter": { + "$ref": "686" + }, + "value": { + "$id": "702", + "kind": "string", + "type": { + "$ref": "687" + }, + "value": "subid" + } + }, + { + "$id": "703", + "parameter": { + "$ref": "688" + }, + "value": { + "$id": "704", + "kind": "string", + "type": { + "$ref": "689" + }, + "value": "rg1" + } + }, + { + "$id": "705", + "parameter": { + "$ref": "690" + }, + "value": { + "$id": "706", + "kind": "string", + "type": { + "$ref": "691" + }, + "value": "tc1" + } + } + ], + "responses": [ + { + "$id": "707", + "response": { + "$ref": "695" + }, + "statusCode": 200, + "bodyValue": { + "$id": "708", + "kind": "model", + "type": { + "$ref": "456" + }, + "value": { + "$id": "709", + "value": { + "$id": "710", + "kind": "array", + "type": { + "$ref": "458" + }, + "value": [ + { + "$id": "711", + "kind": "model", + "type": { + "$ref": "415" + }, + "value": { + "$id": "712", + "name": { + "$id": "713", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "as1" + }, + "type": { + "$id": "714", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/associations" + }, + "id": { + "$id": "715", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/associations/as1" + }, + "location": { + "$id": "716", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "properties": { + "$id": "717", + "kind": "model", + "type": { + "$ref": "417" + }, + "value": { + "$id": "718", + "associationType": { + "$id": "719", + "kind": "string", + "type": { + "$ref": "60" + }, + "value": "subnets" + }, + "subnet": { + "$id": "720", + "kind": "model", + "type": { + "$ref": "422" + }, + "value": { + "$id": "721", + "id": { + "$id": "722", + "kind": "string", + "type": { + "$ref": "424" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet-tc/subnets/tc-subnet" + } + } + }, + "provisioningState": { + "$id": "723", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + } + ], + "parent": "ServiceNetworkingClient", + "parameters": [ + { + "$id": "724", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "725", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "726", + "type": { + "$id": "727", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.AssociationsInterface" + }, + { + "$id": "728", + "name": "FrontendsInterface", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "operations": [ + { + "$id": "729", + "name": "get", + "resourceName": "Frontend", + "doc": "Get a Frontend", + "accessibility": "public", + "parameters": [ + { + "$id": "730", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "731", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "732", + "type": { + "$id": "733", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "734", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "735", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "736", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "737", + "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": "738", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "739", + "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": "740", + "name": "frontendName", + "nameInRequest": "frontendName", + "doc": "Frontends", + "type": { + "$id": "741", + "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": "742", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "743", + "kind": "constant", + "valueType": { + "$id": "744", + "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": "745", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "376" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.FrontendsInterface.get", + "decorators": [], + "examples": [ + { + "$id": "746", + "kind": "http", + "name": "Get Frontend", + "description": "Get Frontend", + "filePath": "2025-03-01-preview/FrontendGet.json", + "parameters": [ + { + "$id": "747", + "parameter": { + "$ref": "730" + }, + "value": { + "$id": "748", + "kind": "string", + "type": { + "$ref": "731" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "749", + "parameter": { + "$ref": "734" + }, + "value": { + "$id": "750", + "kind": "string", + "type": { + "$ref": "735" + }, + "value": "subid" + } + }, + { + "$id": "751", + "parameter": { + "$ref": "736" + }, + "value": { + "$id": "752", + "kind": "string", + "type": { + "$ref": "737" + }, + "value": "rg1" + } + }, + { + "$id": "753", + "parameter": { + "$ref": "738" + }, + "value": { + "$id": "754", + "kind": "string", + "type": { + "$ref": "739" + }, + "value": "tc1" + } + }, + { + "$id": "755", + "parameter": { + "$ref": "740" + }, + "value": { + "$id": "756", + "kind": "string", + "type": { + "$ref": "741" + }, + "value": "fe1" + } + } + ], + "responses": [ + { + "$id": "757", + "response": { + "$ref": "745" + }, + "statusCode": 200, + "bodyValue": { + "$id": "758", + "kind": "model", + "type": { + "$ref": "376" + }, + "value": { + "$id": "759", + "name": { + "$id": "760", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "fe1" + }, + "location": { + "$id": "761", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "type": { + "$id": "762", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/frontends" + }, + "id": { + "$id": "763", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + }, + "properties": { + "$id": "764", + "kind": "model", + "type": { + "$ref": "378" + }, + "value": { + "$id": "765", + "fqdn": { + "$id": "766", + "kind": "string", + "type": { + "$ref": "380" + }, + "value": "test.net" + }, + "securityPolicyConfigurations": { + "$id": "767", + "kind": "model", + "type": { + "$ref": "232" + }, + "value": { + "$id": "768", + "ipAccessRulesSecurityPolicy": { + "$id": "769", + "kind": "model", + "type": { + "$ref": "242" + }, + "value": { + "$id": "770", + "id": { + "$id": "771", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" + } + } + } + } + }, + "provisioningState": { + "$id": "772", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "773", + "name": "createOrUpdate", + "resourceName": "Frontend", + "doc": "Create a Frontend", + "accessibility": "public", + "parameters": [ + { + "$id": "774", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "775", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "776", + "type": { + "$id": "777", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "778", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "779", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "780", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "781", + "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": "782", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "783", + "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": "784", + "name": "frontendName", + "nameInRequest": "frontendName", + "doc": "Frontends", + "type": { + "$id": "785", + "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": "786", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "787", + "kind": "constant", + "valueType": { + "$id": "788", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "789", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "790", + "kind": "constant", + "valueType": { + "$id": "791", + "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 + }, + { + "$id": "792", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "376" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "793", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "376" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "794", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "376" + }, + "headers": [ + { + "$id": "795", + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "796", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "797", + "finalStateVia": 0, + "finalResponse": { + "$id": "798", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "376" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.FrontendsInterface.createOrUpdate", + "decorators": [ + { + "$id": "799", + "name": "Azure.Core.@useFinalStateVia", + "arguments": { + "$id": "800", + "finalState": "azure-async-operation" + } + } + ], + "examples": [ + { + "$id": "801", + "kind": "http", + "name": "Put Frontend", + "description": "Put Frontend", + "filePath": "2025-03-01-preview/FrontendPut.json", + "parameters": [ + { + "$id": "802", + "parameter": { + "$ref": "774" + }, + "value": { + "$id": "803", + "kind": "string", + "type": { + "$ref": "775" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "804", + "parameter": { + "$ref": "778" + }, + "value": { + "$id": "805", + "kind": "string", + "type": { + "$ref": "779" + }, + "value": "subid" + } + }, + { + "$id": "806", + "parameter": { + "$ref": "780" + }, + "value": { + "$id": "807", + "kind": "string", + "type": { + "$ref": "781" + }, + "value": "rg1" + } + }, + { + "$id": "808", + "parameter": { + "$ref": "782" + }, + "value": { + "$id": "809", + "kind": "string", + "type": { + "$ref": "783" + }, + "value": "tc1" + } + }, + { + "$id": "810", + "parameter": { + "$ref": "784" + }, + "value": { + "$id": "811", + "kind": "string", + "type": { + "$ref": "785" + }, + "value": "fe1" + } + }, + { + "$id": "812", + "parameter": { + "$ref": "792" + }, + "value": { + "$id": "813", + "kind": "model", + "type": { + "$ref": "376" + }, + "value": { + "$id": "814", + "location": { + "$id": "815", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "properties": { + "$id": "816", + "kind": "model", + "type": { + "$ref": "378" + }, + "value": { + "$id": "817" + } + } + } + } + } + ], + "responses": [ + { + "$id": "818", + "response": { + "$ref": "793" + }, + "statusCode": 200, + "bodyValue": { + "$id": "819", + "kind": "model", + "type": { + "$ref": "376" + }, + "value": { + "$id": "820", + "name": { + "$id": "821", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "fe1" + }, + "location": { + "$id": "822", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "type": { + "$id": "823", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/frontends" + }, + "id": { + "$id": "824", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + }, + "properties": { + "$id": "825", + "kind": "model", + "type": { + "$ref": "378" + }, + "value": { + "$id": "826", + "fqdn": { + "$id": "827", + "kind": "string", + "type": { + "$ref": "380" + }, + "value": "test.net" + }, + "securityPolicyConfigurations": { + "$id": "828", + "kind": "model", + "type": { + "$ref": "232" + }, + "value": { + "$id": "829", + "ipAccessRulesSecurityPolicy": { + "$id": "830", + "kind": "model", + "type": { + "$ref": "242" + }, + "value": { + "$id": "831", + "id": { + "$id": "832", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" + } + } + } + } + }, + "provisioningState": { + "$id": "833", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "$id": "834", + "response": { + "$ref": "794" + }, + "statusCode": 201, + "bodyValue": { + "$id": "835", + "kind": "model", + "type": { + "$ref": "376" + }, + "value": { + "$id": "836", + "name": { + "$id": "837", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "fe1" + }, + "location": { + "$id": "838", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "type": { + "$id": "839", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/frontends" + }, + "id": { + "$id": "840", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + }, + "properties": { + "$id": "841", + "kind": "model", + "type": { + "$ref": "378" + }, + "value": { + "$id": "842", + "fqdn": { + "$id": "843", + "kind": "string", + "type": { + "$ref": "380" + }, + "value": "test.net" + }, + "securityPolicyConfigurations": { + "$id": "844", + "kind": "model", + "type": { + "$ref": "232" + }, + "value": { + "$id": "845", + "ipAccessRulesSecurityPolicy": { + "$id": "846", + "kind": "model", + "type": { + "$ref": "242" + }, + "value": { + "$id": "847", + "id": { + "$id": "848", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" + } + } + } + } + }, + "provisioningState": { + "$id": "849", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "850", + "name": "update", + "resourceName": "Frontend", + "doc": "Update a Frontend", + "accessibility": "public", + "parameters": [ + { + "$id": "851", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "852", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "853", + "type": { + "$id": "854", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "855", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "856", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "857", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "858", + "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": "859", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "860", + "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": "861", + "name": "frontendName", + "nameInRequest": "frontendName", + "doc": "Frontends", + "type": { + "$id": "862", + "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": "863", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "864", + "kind": "constant", + "valueType": { + "$id": "865", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "866", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "867", + "kind": "constant", + "valueType": { + "$id": "868", + "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 + }, + { + "$id": "869", + "name": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "391" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "870", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "376" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.FrontendsInterface.update", + "decorators": [], + "examples": [ + { + "$id": "871", + "kind": "http", + "name": "Update Frontend", + "description": "Update Frontend", + "filePath": "2025-03-01-preview/FrontendPatch.json", + "parameters": [ + { + "$id": "872", + "parameter": { + "$ref": "851" + }, + "value": { + "$id": "873", + "kind": "string", + "type": { + "$ref": "852" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "874", + "parameter": { + "$ref": "855" + }, + "value": { + "$id": "875", + "kind": "string", + "type": { + "$ref": "856" + }, + "value": "subid" + } + }, + { + "$id": "876", + "parameter": { + "$ref": "857" + }, + "value": { + "$id": "877", + "kind": "string", + "type": { + "$ref": "858" + }, + "value": "rg1" + } + }, + { + "$id": "878", + "parameter": { + "$ref": "859" + }, + "value": { + "$id": "879", + "kind": "string", + "type": { + "$ref": "860" + }, + "value": "tc1" + } + }, + { + "$id": "880", + "parameter": { + "$ref": "861" + }, + "value": { + "$id": "881", + "kind": "string", + "type": { + "$ref": "862" + }, + "value": "fe1" + } + }, + { + "$id": "882", + "parameter": { + "$ref": "869" + }, + "value": { + "$id": "883", + "kind": "model", + "type": { + "$ref": "391" + }, + "value": { + "$id": "884" + } + } + } + ], + "responses": [ + { + "$id": "885", + "response": { + "$ref": "870" + }, + "statusCode": 200, + "bodyValue": { + "$id": "886", + "kind": "model", + "type": { + "$ref": "376" + }, + "value": { + "$id": "887", + "name": { + "$id": "888", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "fe1" + }, + "location": { + "$id": "889", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "type": { + "$id": "890", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/frontends" + }, + "id": { + "$id": "891", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + }, + "properties": { + "$id": "892", + "kind": "model", + "type": { + "$ref": "378" + }, + "value": { + "$id": "893", + "fqdn": { + "$id": "894", + "kind": "string", + "type": { + "$ref": "380" + }, + "value": "test.net" + }, + "securityPolicyConfigurations": { + "$id": "895", + "kind": "model", + "type": { + "$ref": "232" + }, + "value": { + "$id": "896", + "ipAccessRulesSecurityPolicy": { + "$id": "897", + "kind": "model", + "type": { + "$ref": "242" + }, + "value": { + "$id": "898", + "id": { + "$id": "899", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" + } + } + } + } + }, + "provisioningState": { + "$id": "900", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "901", + "name": "delete", + "resourceName": "Frontend", + "doc": "Delete a Frontend", + "accessibility": "public", + "parameters": [ + { + "$id": "902", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "903", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "904", + "type": { + "$id": "905", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "906", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "907", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "908", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "909", + "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": "910", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "911", + "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": "912", + "name": "frontendName", + "nameInRequest": "frontendName", + "doc": "Frontends", + "type": { + "$id": "913", + "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": "914", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "915", + "kind": "constant", + "valueType": { + "$id": "916", + "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": "917", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "918", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "919", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "920", + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "921", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "922", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}", + "bufferResponse": true, + "longRunning": { + "$id": "923", + "finalStateVia": 1, + "finalResponse": { + "$id": "924", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.FrontendsInterface.delete", + "decorators": [], + "examples": [ + { + "$id": "925", + "kind": "http", + "name": "Delete Frontend", + "description": "Delete Frontend", + "filePath": "2025-03-01-preview/FrontendDelete.json", + "parameters": [ + { + "$id": "926", + "parameter": { + "$ref": "902" + }, + "value": { + "$id": "927", + "kind": "string", + "type": { + "$ref": "903" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "928", + "parameter": { + "$ref": "906" + }, + "value": { + "$id": "929", + "kind": "string", + "type": { + "$ref": "907" + }, + "value": "subid" + } + }, + { + "$id": "930", + "parameter": { + "$ref": "908" + }, + "value": { + "$id": "931", + "kind": "string", + "type": { + "$ref": "909" + }, + "value": "rg1" + } + }, + { + "$id": "932", + "parameter": { + "$ref": "910" + }, + "value": { + "$id": "933", + "kind": "string", + "type": { + "$ref": "911" + }, + "value": "tc1" + } + }, + { + "$id": "934", + "parameter": { + "$ref": "912" + }, + "value": { + "$id": "935", + "kind": "string", + "type": { + "$ref": "913" + }, + "value": "fe1" + } + } + ], + "responses": [ + { + "$id": "936", + "response": { + "$ref": "917" + }, + "statusCode": 202 + }, + { + "$id": "937", + "response": { + "$ref": "922" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "938", + "name": "listByTrafficController", + "resourceName": "Frontend", + "doc": "List Frontend resources by TrafficController", + "accessibility": "public", + "parameters": [ + { + "$id": "939", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "940", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "941", + "type": { + "$id": "942", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "943", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "944", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "945", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "946", + "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": "947", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "948", + "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": "949", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "950", + "kind": "constant", + "valueType": { + "$id": "951", + "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": "952", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "405" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends", + "bufferResponse": true, + "paging": { + "$id": "953", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "954", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.FrontendsInterface.listByTrafficController", + "decorators": [], + "examples": [ + { + "$id": "955", + "kind": "http", + "name": "Get Frontends", + "description": "Get Frontends", + "filePath": "2025-03-01-preview/FrontendsGet.json", + "parameters": [ + { + "$id": "956", + "parameter": { + "$ref": "939" + }, + "value": { + "$id": "957", + "kind": "string", + "type": { + "$ref": "940" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "958", + "parameter": { + "$ref": "943" + }, + "value": { + "$id": "959", + "kind": "string", + "type": { + "$ref": "944" + }, + "value": "subid" + } + }, + { + "$id": "960", + "parameter": { + "$ref": "945" + }, + "value": { + "$id": "961", + "kind": "string", + "type": { + "$ref": "946" + }, + "value": "rg1" + } + }, + { + "$id": "962", + "parameter": { + "$ref": "947" + }, + "value": { + "$id": "963", + "kind": "string", + "type": { + "$ref": "948" + }, + "value": "tc1" + } + } + ], + "responses": [ + { + "$id": "964", + "response": { + "$ref": "952" + }, + "statusCode": 200, + "bodyValue": { + "$id": "965", + "kind": "model", + "type": { + "$ref": "405" + }, + "value": { + "$id": "966", + "value": { + "$id": "967", + "kind": "array", + "type": { + "$ref": "407" + }, + "value": [ + { + "$id": "968", + "kind": "model", + "type": { + "$ref": "376" + }, + "value": { + "$id": "969", + "name": { + "$id": "970", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "fe1" + }, + "location": { + "$id": "971", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "type": { + "$id": "972", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/frontends" + }, + "id": { + "$id": "973", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + }, + "properties": { + "$id": "974", + "kind": "model", + "type": { + "$ref": "378" + }, + "value": { + "$id": "975", + "fqdn": { + "$id": "976", + "kind": "string", + "type": { + "$ref": "380" + }, + "value": "test.net" + }, + "securityPolicyConfigurations": { + "$id": "977", + "kind": "model", + "type": { + "$ref": "232" + }, + "value": { + "$id": "978", + "ipAccessRulesSecurityPolicy": { + "$id": "979", + "kind": "model", + "type": { + "$ref": "242" + }, + "value": { + "$id": "980", + "id": { + "$id": "981", + "kind": "string", + "type": { + "$ref": "244" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" + } + } + } + } + }, + "provisioningState": { + "$id": "982", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + } + ], + "parent": "ServiceNetworkingClient", + "parameters": [ + { + "$id": "983", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "984", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "985", + "type": { + "$id": "986", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.FrontendsInterface" + }, + { + "$id": "987", + "name": "SecurityPoliciesInterface", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "operations": [ + { + "$id": "988", + "name": "get", + "resourceName": "SecurityPolicy", + "doc": "Get a SecurityPolicy", + "accessibility": "public", + "parameters": [ + { + "$id": "989", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "990", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "991", + "type": { + "$id": "992", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "993", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "994", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "995", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "996", + "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": "997", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "998", + "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": "999", + "name": "securityPolicyName", + "nameInRequest": "securityPolicyName", + "doc": "SecurityPolicy", + "type": { + "$id": "1000", + "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": "1001", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1002", + "kind": "constant", + "valueType": { + "$id": "1003", + "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": "1004", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "305" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPoliciesInterface.get", + "decorators": [], + "examples": [ + { + "$id": "1005", + "kind": "http", + "name": "Get SecurityPolicy", + "description": "Get SecurityPolicy", + "filePath": "2025-03-01-preview/SecurityPolicyGet.json", + "parameters": [ + { + "$id": "1006", + "parameter": { + "$ref": "989" + }, + "value": { + "$id": "1007", + "kind": "string", + "type": { + "$ref": "990" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1008", + "parameter": { + "$ref": "993" + }, + "value": { + "$id": "1009", + "kind": "string", + "type": { + "$ref": "994" + }, + "value": "subid" + } + }, + { + "$id": "1010", + "parameter": { + "$ref": "995" + }, + "value": { + "$id": "1011", + "kind": "string", + "type": { + "$ref": "996" + }, + "value": "rg1" + } + }, + { + "$id": "1012", + "parameter": { + "$ref": "997" + }, + "value": { + "$id": "1013", + "kind": "string", + "type": { + "$ref": "998" + }, + "value": "tc1" + } + }, + { + "$id": "1014", + "parameter": { + "$ref": "999" + }, + "value": { + "$id": "1015", + "kind": "string", + "type": { + "$ref": "1000" + }, + "value": "sp1" + } + } + ], + "responses": [ + { + "$id": "1016", + "response": { + "$ref": "1004" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1017", + "kind": "model", + "type": { + "$ref": "305" + }, + "value": { + "$id": "1018", + "name": { + "$id": "1019", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "waf-0" + }, + "type": { + "$id": "1020", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies" + }, + "id": { + "$id": "1021", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/waf-0" + }, + "location": { + "$id": "1022", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "eastus" + }, + "properties": { + "$id": "1023", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1024", + "policyType": { + "$id": "1025", + "kind": "string", + "type": { + "$ref": "48" + }, + "value": "waf" + }, + "wafPolicy": { + "$id": "1026", + "kind": "model", + "type": { + "$ref": "312" + }, + "value": { + "$id": "1027", + "id": { + "$id": "1028", + "kind": "string", + "type": { + "$ref": "314" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" + } + } + }, + "provisioningState": { + "$id": "1029", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1030", + "name": "createOrUpdate", + "resourceName": "SecurityPolicy", + "doc": "Create a SecurityPolicy", + "accessibility": "public", + "parameters": [ + { + "$id": "1031", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1032", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1033", + "type": { + "$id": "1034", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1035", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1036", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1037", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1038", + "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": "1039", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "1040", + "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": "1041", + "name": "securityPolicyName", + "nameInRequest": "securityPolicyName", + "doc": "SecurityPolicy", + "type": { + "$id": "1042", + "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": "1043", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1044", + "kind": "constant", + "valueType": { + "$id": "1045", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1046", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1047", + "kind": "constant", + "valueType": { + "$id": "1048", + "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 + }, + { + "$id": "1049", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "305" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1050", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "305" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "1051", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "305" + }, + "headers": [ + { + "$id": "1052", + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "1053", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "1054", + "finalStateVia": 0, + "finalResponse": { + "$id": "1055", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "305" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPoliciesInterface.createOrUpdate", + "decorators": [ + { + "$id": "1056", + "name": "Azure.Core.@useFinalStateVia", + "arguments": { + "$id": "1057", + "finalState": "azure-async-operation" + } + } + ], + "examples": [ + { + "$id": "1058", + "kind": "http", + "name": "Put IpAccessRules SecurityPolicy", + "description": "Put IpAccessRules SecurityPolicy", + "filePath": "2025-03-01-preview/IpAccessRulesSecurityPolicyPut.json", + "parameters": [ + { + "$id": "1059", + "parameter": { + "$ref": "1031" + }, + "value": { + "$id": "1060", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1061", + "parameter": { + "$ref": "1035" + }, + "value": { + "$id": "1062", + "kind": "string", + "type": { + "$ref": "1036" + }, + "value": "subid" + } + }, + { + "$id": "1063", + "parameter": { + "$ref": "1037" + }, + "value": { + "$id": "1064", + "kind": "string", + "type": { + "$ref": "1038" + }, + "value": "rg1" + } + }, + { + "$id": "1065", + "parameter": { + "$ref": "1039" + }, + "value": { + "$id": "1066", + "kind": "string", + "type": { + "$ref": "1040" + }, + "value": "tc1" + } + }, + { + "$id": "1067", + "parameter": { + "$ref": "1041" + }, + "value": { + "$id": "1068", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "sp1" + } + }, + { + "$id": "1069", + "parameter": { + "$ref": "1049" + }, + "value": { + "$id": "1070", + "kind": "model", + "type": { + "$ref": "305" + }, + "value": { + "$id": "1071", + "location": { + "$id": "1072", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "properties": { + "$id": "1073", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1074", + "ipAccessRulesPolicy": { + "$id": "1075", + "kind": "model", + "type": { + "$ref": "320" + }, + "value": { + "$id": "1076", + "rules": { + "$id": "1077", + "kind": "array", + "type": { + "$ref": "322" + }, + "value": [] + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "1078", + "response": { + "$ref": "1050" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1079", + "kind": "model", + "type": { + "$ref": "305" + }, + "value": { + "$id": "1080", + "name": { + "$id": "1081", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "ipAccessRules-0" + }, + "type": { + "$id": "1082", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies" + }, + "id": { + "$id": "1083", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" + }, + "location": { + "$id": "1084", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "eastus" + }, + "properties": { + "$id": "1085", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1086", + "policyType": { + "$id": "1087", + "kind": "string", + "type": { + "$ref": "48" + }, + "value": "ipAccessRules" + }, + "ipAccessRulesPolicy": { + "$id": "1088", + "kind": "model", + "type": { + "$ref": "320" + }, + "value": { + "$id": "1089", + "rules": { + "$id": "1090", + "kind": "array", + "type": { + "$ref": "322" + }, + "value": [] + } + } + }, + "provisioningState": { + "$id": "1091", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "$id": "1092", + "response": { + "$ref": "1051" + }, + "statusCode": 201, + "bodyValue": { + "$id": "1093", + "kind": "model", + "type": { + "$ref": "305" + }, + "value": { + "$id": "1094", + "name": { + "$id": "1095", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "ipAccessRules-0" + }, + "type": { + "$id": "1096", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies" + }, + "id": { + "$id": "1097", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" + }, + "location": { + "$id": "1098", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "eastus" + }, + "properties": { + "$id": "1099", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1100", + "policyType": { + "$id": "1101", + "kind": "string", + "type": { + "$ref": "48" + }, + "value": "ipAccessRules" + }, + "ipAccessRulesPolicy": { + "$id": "1102", + "kind": "model", + "type": { + "$ref": "320" + }, + "value": { + "$id": "1103", + "rules": { + "$id": "1104", + "kind": "array", + "type": { + "$ref": "322" + }, + "value": [] + } + } + }, + "provisioningState": { + "$id": "1105", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + }, + { + "$id": "1106", + "kind": "http", + "name": "Put WAF SecurityPolicy", + "description": "Put WAF SecurityPolicy", + "filePath": "2025-03-01-preview/WafSecurityPolicyPut.json", + "parameters": [ + { + "$id": "1107", + "parameter": { + "$ref": "1031" + }, + "value": { + "$id": "1108", + "kind": "string", + "type": { + "$ref": "1032" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1109", + "parameter": { + "$ref": "1035" + }, + "value": { + "$id": "1110", + "kind": "string", + "type": { + "$ref": "1036" + }, + "value": "subid" + } + }, + { + "$id": "1111", + "parameter": { + "$ref": "1037" + }, + "value": { + "$id": "1112", + "kind": "string", + "type": { + "$ref": "1038" + }, + "value": "rg1" + } + }, + { + "$id": "1113", + "parameter": { + "$ref": "1039" + }, + "value": { + "$id": "1114", + "kind": "string", + "type": { + "$ref": "1040" + }, + "value": "tc1" + } + }, + { + "$id": "1115", + "parameter": { + "$ref": "1041" + }, + "value": { + "$id": "1116", + "kind": "string", + "type": { + "$ref": "1042" + }, + "value": "sp1" + } + }, + { + "$id": "1117", + "parameter": { + "$ref": "1049" + }, + "value": { + "$id": "1118", + "kind": "model", + "type": { + "$ref": "305" + }, + "value": { + "$id": "1119", + "location": { + "$id": "1120", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "properties": { + "$id": "1121", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1122", + "wafPolicy": { + "$id": "1123", + "kind": "model", + "type": { + "$ref": "312" + }, + "value": { + "$id": "1124", + "id": { + "$id": "1125", + "kind": "string", + "type": { + "$ref": "314" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "1126", + "response": { + "$ref": "1050" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1127", + "kind": "model", + "type": { + "$ref": "305" + }, + "value": { + "$id": "1128", + "name": { + "$id": "1129", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "waf-0" + }, + "type": { + "$id": "1130", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies" + }, + "id": { + "$id": "1131", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/waf-0" + }, + "location": { + "$id": "1132", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "eastus" + }, + "properties": { + "$id": "1133", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1134", + "policyType": { + "$id": "1135", + "kind": "string", + "type": { + "$ref": "48" + }, + "value": "waf" + }, + "wafPolicy": { + "$id": "1136", + "kind": "model", + "type": { + "$ref": "312" + }, + "value": { + "$id": "1137", + "id": { + "$id": "1138", + "kind": "string", + "type": { + "$ref": "314" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" + } + } + }, + "provisioningState": { + "$id": "1139", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "$id": "1140", + "response": { + "$ref": "1051" + }, + "statusCode": 201, + "bodyValue": { + "$id": "1141", + "kind": "model", + "type": { + "$ref": "305" + }, + "value": { + "$id": "1142", + "name": { + "$id": "1143", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "waf-0" + }, + "type": { + "$id": "1144", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies" + }, + "id": { + "$id": "1145", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/waf-0" + }, + "location": { + "$id": "1146", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "eastus" + }, + "properties": { + "$id": "1147", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1148", + "policyType": { + "$id": "1149", + "kind": "string", + "type": { + "$ref": "48" + }, + "value": "waf" + }, + "wafPolicy": { + "$id": "1150", + "kind": "model", + "type": { + "$ref": "312" + }, + "value": { + "$id": "1151", + "id": { + "$id": "1152", + "kind": "string", + "type": { + "$ref": "314" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" + } + } + }, + "provisioningState": { + "$id": "1153", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1154", + "name": "update", + "resourceName": "SecurityPolicy", + "doc": "Update a SecurityPolicy", + "accessibility": "public", + "parameters": [ + { + "$id": "1155", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1156", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1157", + "type": { + "$id": "1158", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1159", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1160", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1161", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1162", + "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": "1163", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "1164", + "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": "1165", + "name": "securityPolicyName", + "nameInRequest": "securityPolicyName", + "doc": "SecurityPolicy", + "type": { + "$id": "1166", + "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": "1167", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1168", + "kind": "constant", + "valueType": { + "$id": "1169", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1170", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1171", + "kind": "constant", + "valueType": { + "$id": "1172", + "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 + }, + { + "$id": "1173", + "name": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "349" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1174", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "305" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPoliciesInterface.update", + "decorators": [], + "examples": [ + { + "$id": "1175", + "kind": "http", + "name": "Update IpAccessRules SecurityPolicy", + "description": "Update IpAccessRules SecurityPolicy", + "filePath": "2025-03-01-preview/IpAccessRulesSecurityPolicyPatch.json", + "parameters": [ + { + "$id": "1176", + "parameter": { + "$ref": "1155" + }, + "value": { + "$id": "1177", + "kind": "string", + "type": { + "$ref": "1156" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1178", + "parameter": { + "$ref": "1159" + }, + "value": { + "$id": "1179", + "kind": "string", + "type": { + "$ref": "1160" + }, + "value": "subid" + } + }, + { + "$id": "1180", + "parameter": { + "$ref": "1161" + }, + "value": { + "$id": "1181", + "kind": "string", + "type": { + "$ref": "1162" + }, + "value": "rg1" + } + }, + { + "$id": "1182", + "parameter": { + "$ref": "1163" + }, + "value": { + "$id": "1183", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "tc1" + } + }, + { + "$id": "1184", + "parameter": { + "$ref": "1165" + }, + "value": { + "$id": "1185", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "sp1" + } + }, + { + "$id": "1186", + "parameter": { + "$ref": "1173" + }, + "value": { + "$id": "1187", + "kind": "model", + "type": { + "$ref": "349" + }, + "value": { + "$id": "1188", + "properties": { + "$id": "1189", + "kind": "model", + "type": { + "$ref": "357" + }, + "value": { + "$id": "1190", + "ipAccessRulesPolicy": { + "$id": "1191", + "kind": "model", + "type": { + "$ref": "320" + }, + "value": { + "$id": "1192", + "rules": { + "$id": "1193", + "kind": "array", + "type": { + "$ref": "322" + }, + "value": [] + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "1194", + "response": { + "$ref": "1174" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1195", + "kind": "model", + "type": { + "$ref": "305" + }, + "value": { + "$id": "1196", + "name": { + "$id": "1197", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "ipAccessRules-0" + }, + "type": { + "$id": "1198", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies" + }, + "id": { + "$id": "1199", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/ipAccessRules-0" + }, + "location": { + "$id": "1200", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "eastus" + }, + "properties": { + "$id": "1201", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1202", + "policyType": { + "$id": "1203", + "kind": "string", + "type": { + "$ref": "48" + }, + "value": "ipAccessRules" + }, + "ipAccessRulesPolicy": { + "$id": "1204", + "kind": "model", + "type": { + "$ref": "320" + }, + "value": { + "$id": "1205", + "rules": { + "$id": "1206", + "kind": "array", + "type": { + "$ref": "322" + }, + "value": [] + } + } + }, + "provisioningState": { + "$id": "1207", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + }, + { + "$id": "1208", + "kind": "http", + "name": "Update WAF SecurityPolicy", + "description": "Update WAF SecurityPolicy", + "filePath": "2025-03-01-preview/WafSecurityPolicyPatch.json", + "parameters": [ + { + "$id": "1209", + "parameter": { + "$ref": "1155" + }, + "value": { + "$id": "1210", + "kind": "string", + "type": { + "$ref": "1156" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1211", + "parameter": { + "$ref": "1159" + }, + "value": { + "$id": "1212", + "kind": "string", + "type": { + "$ref": "1160" + }, + "value": "subid" + } + }, + { + "$id": "1213", + "parameter": { + "$ref": "1161" + }, + "value": { + "$id": "1214", + "kind": "string", + "type": { + "$ref": "1162" + }, + "value": "rg1" + } + }, + { + "$id": "1215", + "parameter": { + "$ref": "1163" + }, + "value": { + "$id": "1216", + "kind": "string", + "type": { + "$ref": "1164" + }, + "value": "tc1" + } + }, + { + "$id": "1217", + "parameter": { + "$ref": "1165" + }, + "value": { + "$id": "1218", + "kind": "string", + "type": { + "$ref": "1166" + }, + "value": "sp1" + } + }, + { + "$id": "1219", + "parameter": { + "$ref": "1173" + }, + "value": { + "$id": "1220", + "kind": "model", + "type": { + "$ref": "349" + }, + "value": { + "$id": "1221", + "properties": { + "$id": "1222", + "kind": "model", + "type": { + "$ref": "357" + }, + "value": { + "$id": "1223", + "wafPolicy": { + "$id": "1224", + "kind": "model", + "type": { + "$ref": "312" + }, + "value": { + "$id": "1225", + "id": { + "$id": "1226", + "kind": "string", + "type": { + "$ref": "314" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" + } + } + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "1227", + "response": { + "$ref": "1174" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1228", + "kind": "model", + "type": { + "$ref": "305" + }, + "value": { + "$id": "1229", + "name": { + "$id": "1230", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "waf-0" + }, + "type": { + "$id": "1231", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies" + }, + "id": { + "$id": "1232", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/waf-0" + }, + "location": { + "$id": "1233", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "eastus" + }, + "properties": { + "$id": "1234", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1235", + "policyType": { + "$id": "1236", + "kind": "string", + "type": { + "$ref": "48" + }, + "value": "waf" + }, + "wafPolicy": { + "$id": "1237", + "kind": "model", + "type": { + "$ref": "312" + }, + "value": { + "$id": "1238", + "id": { + "$id": "1239", + "kind": "string", + "type": { + "$ref": "314" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" + } + } + }, + "provisioningState": { + "$id": "1240", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1241", + "name": "delete", + "resourceName": "SecurityPolicy", + "doc": "Delete a SecurityPolicy", + "accessibility": "public", + "parameters": [ + { + "$id": "1242", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1243", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1244", + "type": { + "$id": "1245", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1246", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1247", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1248", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1249", + "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": "1250", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "1251", + "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": "1252", + "name": "securityPolicyName", + "nameInRequest": "securityPolicyName", + "doc": "SecurityPolicy", + "type": { + "$id": "1253", + "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": "1254", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1255", + "kind": "constant", + "valueType": { + "$id": "1256", + "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": "1257", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "1258", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "1259", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1260", + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "1261", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "1262", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies/{securityPolicyName}", + "bufferResponse": true, + "longRunning": { + "$id": "1263", + "finalStateVia": 1, + "finalResponse": { + "$id": "1264", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPoliciesInterface.delete", + "decorators": [], + "examples": [ + { + "$id": "1265", + "kind": "http", + "name": "Delete SecurityPolicy", + "description": "Delete SecurityPolicy", + "filePath": "2025-03-01-preview/SecurityPolicyDelete.json", + "parameters": [ + { + "$id": "1266", + "parameter": { + "$ref": "1242" + }, + "value": { + "$id": "1267", + "kind": "string", + "type": { + "$ref": "1243" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1268", + "parameter": { + "$ref": "1246" + }, + "value": { + "$id": "1269", + "kind": "string", + "type": { + "$ref": "1247" + }, + "value": "subid" + } + }, + { + "$id": "1270", + "parameter": { + "$ref": "1248" + }, + "value": { + "$id": "1271", + "kind": "string", + "type": { + "$ref": "1249" + }, + "value": "rg1" + } + }, + { + "$id": "1272", + "parameter": { + "$ref": "1250" + }, + "value": { + "$id": "1273", + "kind": "string", + "type": { + "$ref": "1251" + }, + "value": "tc1" + } + }, + { + "$id": "1274", + "parameter": { + "$ref": "1252" + }, + "value": { + "$id": "1275", + "kind": "string", + "type": { + "$ref": "1253" + }, + "value": "sp1" + } + } + ], + "responses": [ + { + "$id": "1276", + "response": { + "$ref": "1257" + }, + "statusCode": 202 + }, + { + "$id": "1277", + "response": { + "$ref": "1262" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "1278", + "name": "listByTrafficController", + "resourceName": "SecurityPolicy", + "doc": "List SecurityPolicy resources by TrafficController", + "accessibility": "public", + "parameters": [ + { + "$id": "1279", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1280", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1281", + "type": { + "$id": "1282", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1283", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1284", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1285", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1286", + "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": "1287", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "1288", + "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": "1289", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1290", + "kind": "constant", + "valueType": { + "$id": "1291", + "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": "1292", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "366" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/securityPolicies", + "bufferResponse": true, + "paging": { + "$id": "1293", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "1294", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPoliciesInterface.listByTrafficController", + "decorators": [], + "examples": [ + { + "$id": "1295", + "kind": "http", + "name": "Get SecurityPolicies", + "description": "Get SecurityPolicies", + "filePath": "2025-03-01-preview/SecurityPoliciesGetList.json", + "parameters": [ + { + "$id": "1296", + "parameter": { + "$ref": "1279" + }, + "value": { + "$id": "1297", + "kind": "string", + "type": { + "$ref": "1280" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1298", + "parameter": { + "$ref": "1283" + }, + "value": { + "$id": "1299", + "kind": "string", + "type": { + "$ref": "1284" + }, + "value": "subid" + } + }, + { + "$id": "1300", + "parameter": { + "$ref": "1285" + }, + "value": { + "$id": "1301", + "kind": "string", + "type": { + "$ref": "1286" + }, + "value": "rg1" + } + }, + { + "$id": "1302", + "parameter": { + "$ref": "1287" + }, + "value": { + "$id": "1303", + "kind": "string", + "type": { + "$ref": "1288" + }, + "value": "tc1" + } + } + ], + "responses": [ + { + "$id": "1304", + "response": { + "$ref": "1292" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1305", + "kind": "model", + "type": { + "$ref": "366" + }, + "value": { + "$id": "1306", + "value": { + "$id": "1307", + "kind": "array", + "type": { + "$ref": "368" + }, + "value": [ + { + "$id": "1308", + "kind": "model", + "type": { + "$ref": "305" + }, + "value": { + "$id": "1309", + "name": { + "$id": "1310", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "waf-0" + }, + "type": { + "$id": "1311", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/securityPolicies" + }, + "id": { + "$id": "1312", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/sample-tc/securityPolicies/waf-0" + }, + "location": { + "$id": "1313", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "eastus" + }, + "properties": { + "$id": "1314", + "kind": "model", + "type": { + "$ref": "307" + }, + "value": { + "$id": "1315", + "policyType": { + "$id": "1316", + "kind": "string", + "type": { + "$ref": "48" + }, + "value": "waf" + }, + "wafPolicy": { + "$id": "1317", + "kind": "model", + "type": { + "$ref": "312" + }, + "value": { + "$id": "1318", + "id": { + "$id": "1319", + "kind": "string", + "type": { + "$ref": "314" + }, + "value": "/subscriptions/subid/resourcegroups/rg1/providers/Microsoft.Networking/applicationGatewayWebApplicationFirewallPolicies/wp-0" + } + } + }, + "provisioningState": { + "$id": "1320", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + } + ], + "parent": "ServiceNetworkingClient", + "parameters": [ + { + "$id": "1321", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "1322", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "1323", + "type": { + "$id": "1324", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.SecurityPoliciesInterface" + }, + { + "$id": "1325", + "name": "TrafficControllerInterface", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "operations": [ + { + "$id": "1326", + "name": "get", + "resourceName": "TrafficController", + "doc": "Get a TrafficController", + "accessibility": "public", + "parameters": [ + { + "$id": "1327", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1328", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1329", + "type": { + "$id": "1330", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1331", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1332", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1333", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1334", + "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": "1335", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "1336", + "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": "1337", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1338", + "kind": "constant", + "valueType": { + "$id": "1339", + "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": "1340", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "153" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerInterface.get", + "decorators": [], + "examples": [ + { + "$id": "1341", + "kind": "http", + "name": "Get Traffic Controller", + "description": "Get Traffic Controller", + "filePath": "2025-03-01-preview/TrafficControllerGet.json", + "parameters": [ + { + "$id": "1342", + "parameter": { + "$ref": "1327" + }, + "value": { + "$id": "1343", + "kind": "string", + "type": { + "$ref": "1328" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1344", + "parameter": { + "$ref": "1331" + }, + "value": { + "$id": "1345", + "kind": "string", + "type": { + "$ref": "1332" + }, + "value": "subid" + } + }, + { + "$id": "1346", + "parameter": { + "$ref": "1333" + }, + "value": { + "$id": "1347", + "kind": "string", + "type": { + "$ref": "1334" + }, + "value": "rg1" + } + }, + { + "$id": "1348", + "parameter": { + "$ref": "1335" + }, + "value": { + "$id": "1349", + "kind": "string", + "type": { + "$ref": "1336" + }, + "value": "tc1" + } + } + ], + "responses": [ + { + "$id": "1350", + "response": { + "$ref": "1340" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1351", + "kind": "model", + "type": { + "$ref": "153" + }, + "value": { + "$id": "1352", + "name": { + "$id": "1353", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "tc1" + }, + "id": { + "$id": "1354", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1" + }, + "type": { + "$id": "1355", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers" + }, + "location": { + "$id": "1356", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "tags": { + "$id": "1357", + "kind": "dict", + "type": { + "$ref": "198" + }, + "value": { + "$id": "1358", + "key1": { + "$id": "1359", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "value1" + } + } + }, + "properties": { + "$id": "1360", + "kind": "model", + "type": { + "$ref": "208" + }, + "value": { + "$id": "1361", + "configurationEndpoints": { + "$id": "1362", + "kind": "array", + "type": { + "$ref": "210" + }, + "value": [ + { + "$id": "1363", + "kind": "string", + "type": { + "$ref": "211" + }, + "value": "abc.trafficcontroller.azure.net" + } + ] + }, + "frontends": { + "$id": "1364", + "kind": "array", + "type": { + "$ref": "215" + }, + "value": [ + { + "$id": "1365", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1366", + "id": { + "$id": "1367", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + } + } + ] + }, + "associations": { + "$id": "1368", + "kind": "array", + "type": { + "$ref": "224" + }, + "value": [ + { + "$id": "1369", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1370", + "id": { + "$id": "1371", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + } + } + ] + }, + "provisioningState": { + "$id": "1372", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1373", + "name": "createOrUpdate", + "resourceName": "TrafficController", + "doc": "Create a TrafficController", + "accessibility": "public", + "parameters": [ + { + "$id": "1374", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1375", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1376", + "type": { + "$id": "1377", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1378", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1379", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1380", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1381", + "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": "1382", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "1383", + "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": "1384", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1385", + "kind": "constant", + "valueType": { + "$id": "1386", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1387", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1388", + "kind": "constant", + "valueType": { + "$id": "1389", + "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 + }, + { + "$id": "1390", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "153" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1391", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "153" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "$id": "1392", + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "153" + }, + "headers": [ + { + "$id": "1393", + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "1394", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "longRunning": { + "$id": "1395", + "finalStateVia": 0, + "finalResponse": { + "$id": "1396", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "153" + } + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerInterface.createOrUpdate", + "decorators": [ + { + "$id": "1397", + "name": "Azure.Core.@useFinalStateVia", + "arguments": { + "$id": "1398", + "finalState": "azure-async-operation" + } + } + ], + "examples": [ + { + "$id": "1399", + "kind": "http", + "name": "Put Traffic Controller", + "description": "Put Traffic Controller", + "filePath": "2025-03-01-preview/TrafficControllerPut.json", + "parameters": [ + { + "$id": "1400", + "parameter": { + "$ref": "1374" + }, + "value": { + "$id": "1401", + "kind": "string", + "type": { + "$ref": "1375" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1402", + "parameter": { + "$ref": "1378" + }, + "value": { + "$id": "1403", + "kind": "string", + "type": { + "$ref": "1379" + }, + "value": "subid" + } + }, + { + "$id": "1404", + "parameter": { + "$ref": "1380" + }, + "value": { + "$id": "1405", + "kind": "string", + "type": { + "$ref": "1381" + }, + "value": "rg1" + } + }, + { + "$id": "1406", + "parameter": { + "$ref": "1382" + }, + "value": { + "$id": "1407", + "kind": "string", + "type": { + "$ref": "1383" + }, + "value": "tc1" + } + }, + { + "$id": "1408", + "parameter": { + "$ref": "1390" + }, + "value": { + "$id": "1409", + "kind": "model", + "type": { + "$ref": "153" + }, + "value": { + "$id": "1410", + "location": { + "$id": "1411", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "tags": { + "$id": "1412", + "kind": "dict", + "type": { + "$ref": "198" + }, + "value": { + "$id": "1413", + "key1": { + "$id": "1414", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "value1" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "1415", + "response": { + "$ref": "1391" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1416", + "kind": "model", + "type": { + "$ref": "153" + }, + "value": { + "$id": "1417", + "name": { + "$id": "1418", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "tc1" + }, + "id": { + "$id": "1419", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1" + }, + "type": { + "$id": "1420", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers" + }, + "location": { + "$id": "1421", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "tags": { + "$id": "1422", + "kind": "dict", + "type": { + "$ref": "198" + }, + "value": { + "$id": "1423", + "key1": { + "$id": "1424", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "value1" + } + } + }, + "properties": { + "$id": "1425", + "kind": "model", + "type": { + "$ref": "208" + }, + "value": { + "$id": "1426", + "configurationEndpoints": { + "$id": "1427", + "kind": "array", + "type": { + "$ref": "210" + }, + "value": [ + { + "$id": "1428", + "kind": "string", + "type": { + "$ref": "211" + }, + "value": "abc.trafficcontroller.azure.net" + } + ] + }, + "frontends": { + "$id": "1429", + "kind": "array", + "type": { + "$ref": "215" + }, + "value": [ + { + "$id": "1430", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1431", + "id": { + "$id": "1432", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + } + } + ] + }, + "associations": { + "$id": "1433", + "kind": "array", + "type": { + "$ref": "224" + }, + "value": [ + { + "$id": "1434", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1435", + "id": { + "$id": "1436", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + } + } + ] + }, + "securityPolicies": { + "$id": "1437", + "kind": "array", + "type": { + "$ref": "228" + }, + "value": [ + { + "$id": "1438", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1439", + "id": { + "$id": "1440", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/securityPolicies/sp1" + } + } + } + ] + }, + "securityPolicyConfigurations": { + "$id": "1441", + "kind": "model", + "type": { + "$ref": "232" + }, + "value": { + "$id": "1442", + "wafSecurityPolicy": { + "$id": "1443", + "kind": "model", + "type": { + "$ref": "234" + }, + "value": { + "$id": "1444", + "id": { + "$id": "1445", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/securityPolicies/waf-0" + } + } + } + } + }, + "provisioningState": { + "$id": "1446", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + }, + { + "$id": "1447", + "response": { + "$ref": "1392" + }, + "statusCode": 201, + "bodyValue": { + "$id": "1448", + "kind": "model", + "type": { + "$ref": "153" + }, + "value": { + "$id": "1449", + "name": { + "$id": "1450", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "tc1" + }, + "id": { + "$id": "1451", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1" + }, + "type": { + "$id": "1452", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers" + }, + "location": { + "$id": "1453", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "tags": { + "$id": "1454", + "kind": "dict", + "type": { + "$ref": "198" + }, + "value": { + "$id": "1455", + "key1": { + "$id": "1456", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "value1" + } + } + }, + "properties": { + "$id": "1457", + "kind": "model", + "type": { + "$ref": "208" + }, + "value": { + "$id": "1458", + "configurationEndpoints": { + "$id": "1459", + "kind": "array", + "type": { + "$ref": "210" + }, + "value": [ + { + "$id": "1460", + "kind": "string", + "type": { + "$ref": "211" + }, + "value": "abc.trafficcontroller.azure.net" + } + ] + }, + "frontends": { + "$id": "1461", + "kind": "array", + "type": { + "$ref": "215" + }, + "value": [ + { + "$id": "1462", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1463", + "id": { + "$id": "1464", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + } + } + ] + }, + "associations": { + "$id": "1465", + "kind": "array", + "type": { + "$ref": "224" + }, + "value": [ + { + "$id": "1466", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1467", + "id": { + "$id": "1468", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + } + } + ] + }, + "securityPolicies": { + "$id": "1469", + "kind": "array", + "type": { + "$ref": "228" + }, + "value": [ + { + "$id": "1470", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1471", + "id": { + "$id": "1472", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/securityPolicies/sp1" + } + } + } + ] + }, + "securityPolicyConfigurations": { + "$id": "1473", + "kind": "model", + "type": { + "$ref": "232" + }, + "value": { + "$id": "1474", + "wafSecurityPolicy": { + "$id": "1475", + "kind": "model", + "type": { + "$ref": "234" + }, + "value": { + "$id": "1476", + "id": { + "$id": "1477", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/securityPolicies/waf-0" + } + } + } + } + }, + "provisioningState": { + "$id": "1478", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1479", + "name": "update", + "resourceName": "TrafficController", + "doc": "Update a TrafficController", + "accessibility": "public", + "parameters": [ + { + "$id": "1480", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1481", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1482", + "type": { + "$id": "1483", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1484", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1485", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1486", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1487", + "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": "1488", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "1489", + "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": "1490", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$id": "1491", + "kind": "constant", + "valueType": { + "$id": "1492", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1493", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1494", + "kind": "constant", + "valueType": { + "$id": "1495", + "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 + }, + { + "$id": "1496", + "name": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "256" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "$id": "1497", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "153" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerInterface.update", + "decorators": [], + "examples": [ + { + "$id": "1498", + "kind": "http", + "name": "Patch Traffic Controller", + "description": "Patch Traffic Controller", + "filePath": "2025-03-01-preview/TrafficControllerPatch.json", + "parameters": [ + { + "$id": "1499", + "parameter": { + "$ref": "1480" + }, + "value": { + "$id": "1500", + "kind": "string", + "type": { + "$ref": "1481" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1501", + "parameter": { + "$ref": "1484" + }, + "value": { + "$id": "1502", + "kind": "string", + "type": { + "$ref": "1485" + }, + "value": "subid" + } + }, + { + "$id": "1503", + "parameter": { + "$ref": "1486" + }, + "value": { + "$id": "1504", + "kind": "string", + "type": { + "$ref": "1487" + }, + "value": "rg1" + } + }, + { + "$id": "1505", + "parameter": { + "$ref": "1488" + }, + "value": { + "$id": "1506", + "kind": "string", + "type": { + "$ref": "1489" + }, + "value": "tc1" + } + }, + { + "$id": "1507", + "parameter": { + "$ref": "1496" + }, + "value": { + "$id": "1508", + "kind": "model", + "type": { + "$ref": "256" + }, + "value": { + "$id": "1509", + "tags": { + "$id": "1510", + "kind": "dict", + "type": { + "$ref": "258" + }, + "value": { + "$id": "1511", + "key1": { + "$id": "1512", + "kind": "string", + "type": { + "$ref": "260" + }, + "value": "value1" + } + } + } + } + } + } + ], + "responses": [ + { + "$id": "1513", + "response": { + "$ref": "1497" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1514", + "kind": "model", + "type": { + "$ref": "153" + }, + "value": { + "$id": "1515", + "name": { + "$id": "1516", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "tc1" + }, + "id": { + "$id": "1517", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1" + }, + "type": { + "$id": "1518", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers" + }, + "location": { + "$id": "1519", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "tags": { + "$id": "1520", + "kind": "dict", + "type": { + "$ref": "198" + }, + "value": { + "$id": "1521", + "key1": { + "$id": "1522", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "value1" + } + } + }, + "properties": { + "$id": "1523", + "kind": "model", + "type": { + "$ref": "208" + }, + "value": { + "$id": "1524", + "configurationEndpoints": { + "$id": "1525", + "kind": "array", + "type": { + "$ref": "210" + }, + "value": [ + { + "$id": "1526", + "kind": "string", + "type": { + "$ref": "211" + }, + "value": "abc.trafficcontroller.azure.net" + } + ] + }, + "frontends": { + "$id": "1527", + "kind": "array", + "type": { + "$ref": "215" + }, + "value": [ + { + "$id": "1528", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1529", + "id": { + "$id": "1530", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + } + } + ] + }, + "associations": { + "$id": "1531", + "kind": "array", + "type": { + "$ref": "224" + }, + "value": [ + { + "$id": "1532", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1533", + "id": { + "$id": "1534", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + } + } + ] + }, + "securityPolicies": { + "$id": "1535", + "kind": "array", + "type": { + "$ref": "228" + }, + "value": [ + { + "$id": "1536", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1537", + "id": { + "$id": "1538", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/securityPolicies/sp1" + } + } + } + ] + }, + "securityPolicyConfigurations": { + "$id": "1539", + "kind": "model", + "type": { + "$ref": "232" + }, + "value": { + "$id": "1540", + "wafSecurityPolicy": { + "$id": "1541", + "kind": "model", + "type": { + "$ref": "234" + }, + "value": { + "$id": "1542", + "id": { + "$id": "1543", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/securityPolicies/waf-0" + } + } + } + } + }, + "provisioningState": { + "$id": "1544", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + } + ] + } + ] + }, + { + "$id": "1545", + "name": "delete", + "resourceName": "TrafficController", + "doc": "Delete a TrafficController", + "accessibility": "public", + "parameters": [ + { + "$id": "1546", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1547", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1548", + "type": { + "$id": "1549", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1550", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1551", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1552", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1553", + "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": "1554", + "name": "trafficControllerName", + "nameInRequest": "trafficControllerName", + "doc": "traffic controller name for path", + "type": { + "$id": "1555", + "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": "1556", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1557", + "kind": "constant", + "valueType": { + "$id": "1558", + "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": "1559", + "statusCodes": [ + 202 + ], + "headers": [ + { + "$id": "1560", + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "1561", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "$id": "1562", + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "1563", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "$id": "1564", + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}", + "bufferResponse": true, + "longRunning": { + "$id": "1565", + "finalStateVia": 1, + "finalResponse": { + "$id": "1566", + "statusCodes": [ + 204 + ] + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerInterface.delete", + "decorators": [], + "examples": [ + { + "$id": "1567", + "kind": "http", + "name": "Delete Traffic Controller", + "description": "Delete Traffic Controller", + "filePath": "2025-03-01-preview/TrafficControllerDelete.json", + "parameters": [ + { + "$id": "1568", + "parameter": { + "$ref": "1546" + }, + "value": { + "$id": "1569", + "kind": "string", + "type": { + "$ref": "1547" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1570", + "parameter": { + "$ref": "1550" + }, + "value": { + "$id": "1571", + "kind": "string", + "type": { + "$ref": "1551" + }, + "value": "subid" + } + }, + { + "$id": "1572", + "parameter": { + "$ref": "1552" + }, + "value": { + "$id": "1573", + "kind": "string", + "type": { + "$ref": "1553" + }, + "value": "rg1" + } + }, + { + "$id": "1574", + "parameter": { + "$ref": "1554" + }, + "value": { + "$id": "1575", + "kind": "string", + "type": { + "$ref": "1555" + }, + "value": "tc1" + } + } + ], + "responses": [ + { + "$id": "1576", + "response": { + "$ref": "1559" + }, + "statusCode": 202 + }, + { + "$id": "1577", + "response": { + "$ref": "1564" + }, + "statusCode": 204 + } + ] + } + ] + }, + { + "$id": "1578", + "name": "listByResourceGroup", + "resourceName": "TrafficController", + "doc": "List TrafficController resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "1579", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1580", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1581", + "type": { + "$id": "1582", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1583", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1584", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1585", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "1586", + "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": "1587", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1588", + "kind": "constant", + "valueType": { + "$id": "1589", + "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": "1590", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "295" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers", + "bufferResponse": true, + "paging": { + "$id": "1591", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "1592", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerInterface.listByResourceGroup", + "decorators": [], + "examples": [ + { + "$id": "1593", + "kind": "http", + "name": "Get Traffic Controllers", + "description": "Get Traffic Controllers", + "filePath": "2025-03-01-preview/TrafficControllersGet.json", + "parameters": [ + { + "$id": "1594", + "parameter": { + "$ref": "1579" + }, + "value": { + "$id": "1595", + "kind": "string", + "type": { + "$ref": "1580" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1596", + "parameter": { + "$ref": "1583" + }, + "value": { + "$id": "1597", + "kind": "string", + "type": { + "$ref": "1584" + }, + "value": "subid" + } + }, + { + "$id": "1598", + "parameter": { + "$ref": "1585" + }, + "value": { + "$id": "1599", + "kind": "string", + "type": { + "$ref": "1586" + }, + "value": "rg1" + } + } + ], + "responses": [ + { + "$id": "1600", + "response": { + "$ref": "1590" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1601", + "kind": "model", + "type": { + "$ref": "295" + }, + "value": { + "$id": "1602", + "value": { + "$id": "1603", + "kind": "array", + "type": { + "$ref": "297" + }, + "value": [ + { + "$id": "1604", + "kind": "model", + "type": { + "$ref": "153" + }, + "value": { + "$id": "1605", + "name": { + "$id": "1606", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "tc1" + }, + "id": { + "$id": "1607", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1" + }, + "type": { + "$id": "1608", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers" + }, + "location": { + "$id": "1609", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "tags": { + "$id": "1610", + "kind": "dict", + "type": { + "$ref": "198" + }, + "value": { + "$id": "1611", + "key1": { + "$id": "1612", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "value1" + } + } + }, + "properties": { + "$id": "1613", + "kind": "model", + "type": { + "$ref": "208" + }, + "value": { + "$id": "1614", + "configurationEndpoints": { + "$id": "1615", + "kind": "array", + "type": { + "$ref": "210" + }, + "value": [ + { + "$id": "1616", + "kind": "string", + "type": { + "$ref": "211" + }, + "value": "abc.trafficcontroller.azure.net" + } + ] + }, + "frontends": { + "$id": "1617", + "kind": "array", + "type": { + "$ref": "215" + }, + "value": [ + { + "$id": "1618", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1619", + "id": { + "$id": "1620", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + } + } + ] + }, + "associations": { + "$id": "1621", + "kind": "array", + "type": { + "$ref": "224" + }, + "value": [ + { + "$id": "1622", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1623", + "id": { + "$id": "1624", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + } + } + ] + }, + "securityPolicies": { + "$id": "1625", + "kind": "array", + "type": { + "$ref": "228" + }, + "value": [ + { + "$id": "1626", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1627", + "id": { + "$id": "1628", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/securityPolicies/sp1" + } + } + } + ] + }, + "securityPolicyConfigurations": { + "$id": "1629", + "kind": "model", + "type": { + "$ref": "232" + }, + "value": { + "$id": "1630", + "wafSecurityPolicy": { + "$id": "1631", + "kind": "model", + "type": { + "$ref": "234" + }, + "value": { + "$id": "1632", + "id": { + "$id": "1633", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/securityPolicies/waf-0" + } + } + } + } + }, + "provisioningState": { + "$id": "1634", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + }, + { + "$id": "1635", + "name": "listBySubscription", + "resourceName": "TrafficController", + "doc": "List TrafficController resources by subscription ID", + "accessibility": "public", + "parameters": [ + { + "$id": "1636", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1637", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1638", + "type": { + "$id": "1639", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1640", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "1641", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1642", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1643", + "kind": "constant", + "valueType": { + "$id": "1644", + "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": "1645", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "295" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/providers/Microsoft.ServiceNetworking/trafficControllers", + "bufferResponse": true, + "paging": { + "$id": "1646", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "1647", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerInterface.listBySubscription", + "decorators": [], + "examples": [ + { + "$id": "1648", + "kind": "http", + "name": "Get Traffic Controllers List", + "description": "Get Traffic Controllers List", + "filePath": "2025-03-01-preview/TrafficControllersGetList.json", + "parameters": [ + { + "$id": "1649", + "parameter": { + "$ref": "1636" + }, + "value": { + "$id": "1650", + "kind": "string", + "type": { + "$ref": "1637" + }, + "value": "2025-03-01-preview" + } + }, + { + "$id": "1651", + "parameter": { + "$ref": "1640" + }, + "value": { + "$id": "1652", + "kind": "string", + "type": { + "$ref": "1641" + }, + "value": "subid" + } + } + ], + "responses": [ + { + "$id": "1653", + "response": { + "$ref": "1645" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1654", + "kind": "model", + "type": { + "$ref": "295" + }, + "value": { + "$id": "1655", + "value": { + "$id": "1656", + "kind": "array", + "type": { + "$ref": "297" + }, + "value": [ + { + "$id": "1657", + "kind": "model", + "type": { + "$ref": "153" + }, + "value": { + "$id": "1658", + "name": { + "$id": "1659", + "kind": "string", + "type": { + "$ref": "161" + }, + "value": "tc1" + }, + "id": { + "$id": "1660", + "kind": "string", + "type": { + "$ref": "157" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1" + }, + "type": { + "$id": "1661", + "kind": "string", + "type": { + "$ref": "165" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers" + }, + "location": { + "$id": "1662", + "kind": "string", + "type": { + "$ref": "204" + }, + "value": "NorthCentralUS" + }, + "tags": { + "$id": "1663", + "kind": "dict", + "type": { + "$ref": "198" + }, + "value": { + "$id": "1664", + "key1": { + "$id": "1665", + "kind": "string", + "type": { + "$ref": "200" + }, + "value": "value1" + } + } + }, + "properties": { + "$id": "1666", + "kind": "model", + "type": { + "$ref": "208" + }, + "value": { + "$id": "1667", + "configurationEndpoints": { + "$id": "1668", + "kind": "array", + "type": { + "$ref": "210" + }, + "value": [ + { + "$id": "1669", + "kind": "string", + "type": { + "$ref": "211" + }, + "value": "abc.trafficcontroller.azure.net" + } + ] + }, + "frontends": { + "$id": "1670", + "kind": "array", + "type": { + "$ref": "215" + }, + "value": [ + { + "$id": "1671", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1672", + "id": { + "$id": "1673", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/frontends/fe1" + } + } + } + ] + }, + "associations": { + "$id": "1674", + "kind": "array", + "type": { + "$ref": "224" + }, + "value": [ + { + "$id": "1675", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1676", + "id": { + "$id": "1677", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/association/as1" + } + } + } + ] + }, + "securityPolicies": { + "$id": "1678", + "kind": "array", + "type": { + "$ref": "228" + }, + "value": [ + { + "$id": "1679", + "kind": "model", + "type": { + "$ref": "216" + }, + "value": { + "$id": "1680", + "id": { + "$id": "1681", + "kind": "string", + "type": { + "$ref": "218" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/securityPolicies/sp1" + } + } + } + ] + }, + "securityPolicyConfigurations": { + "$id": "1682", + "kind": "model", + "type": { + "$ref": "232" + }, + "value": { + "$id": "1683", + "wafSecurityPolicy": { + "$id": "1684", + "kind": "model", + "type": { + "$ref": "234" + }, + "value": { + "$id": "1685", + "id": { + "$id": "1686", + "kind": "string", + "type": { + "$ref": "236" + }, + "value": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/tc1/securityPolicies/waf-0" + } + } + } + } + }, + "provisioningState": { + "$id": "1687", + "kind": "string", + "type": { + "$ref": "14" + }, + "value": "Succeeded" + } + } + } + } + } + ] + } + } + } + } + ] + } + ] + } + ], + "parent": "ServiceNetworkingClient", + "parameters": [ + { + "$id": "1688", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "1689", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "1690", + "type": { + "$id": "1691", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.TrafficControllerInterface" + }, + { + "$id": "1692", + "name": "Operations", + "namespace": "Azure.ResourceManager.ServiceNetworking", + "operations": [ + { + "$id": "1693", + "name": "list", + "resourceName": "Operations", + "doc": "List the operations for the provider", + "accessibility": "public", + "parameters": [ + { + "$id": "1694", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1695", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "$id": "1696", + "type": { + "$id": "1697", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2025-03-01-preview" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "1698", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$id": "1699", + "kind": "constant", + "valueType": { + "$id": "1700", + "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": "1701", + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "74" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/providers/Microsoft.ServiceNetworking/operations", + "bufferResponse": true, + "paging": { + "$id": "1702", + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "$id": "1703", + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + }, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "decorators": [], + "examples": [ + { + "$id": "1704", + "kind": "http", + "name": "Get Operations List", + "description": "Get Operations List", + "filePath": "2025-03-01-preview/OperationsList.json", + "parameters": [ + { + "$id": "1705", + "parameter": { + "$ref": "1694" + }, + "value": { + "$id": "1706", + "kind": "string", + "type": { + "$ref": "1695" + }, + "value": "2025-03-01-preview" + } + } + ], + "responses": [ + { + "$id": "1707", + "response": { + "$ref": "1701" + }, + "statusCode": 200, + "bodyValue": { + "$id": "1708", + "kind": "model", + "type": { + "$ref": "74" + }, + "value": { + "$id": "1709", + "value": { + "$id": "1710", + "kind": "array", + "type": { + "$ref": "76" + }, + "value": [ + { + "$id": "1711", + "kind": "model", + "type": { + "$ref": "77" + }, + "value": { + "$id": "1712", + "name": { + "$id": "1713", + "kind": "string", + "type": { + "$ref": "79" + }, + "value": "Microsoft.ServiceNetworking/trafficControllers/read" + }, + "isDataAction": { + "$id": "1714", + "kind": "boolean", + "type": { + "$ref": "83" + }, + "value": false + }, + "display": { + "$id": "1715", + "kind": "model", + "type": { + "$ref": "87" + }, + "value": { + "$id": "1716", + "provider": { + "$id": "1717", + "kind": "string", + "type": { + "$ref": "89" + }, + "value": "Microsoft Service Networking" + }, + "resource": { + "$id": "1718", + "kind": "string", + "type": { + "$ref": "93" + }, + "value": "Traffic Controller" + }, + "operation": { + "$id": "1719", + "kind": "string", + "type": { + "$ref": "97" + }, + "value": "Get Traffic Controller configuration" + }, + "description": { + "$id": "1720", + "kind": "string", + "type": { + "$ref": "101" + }, + "value": "Traffic Controller is a L7 Load Balancing solution for a Multi Cluster setup" + } + } + }, + "origin": { + "$id": "1721", + "kind": "string", + "type": { + "$ref": "2" + }, + "value": "user,system" + } + } + } + ] + } + } + } + } + ] + } + ] + } + ], + "parent": "ServiceNetworkingClient", + "parameters": [ + { + "$id": "1722", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "1723", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "$id": "1724", + "type": { + "$id": "1725", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + } + } + ], + "decorators": [], + "crossLanguageDefinitionId": "Microsoft.ServiceNetworking.Operations" + } + ], + "auth": { + "$id": "1726", + "oAuth2": { + "$id": "1727", + "scopes": [ + "user_impersonation" + ] + } + } +} diff --git a/sdk/storage/ci.yml b/sdk/storage/ci.yml index 2ca0501b60bd..4e749e6b85b1 100644 --- a/sdk/storage/ci.yml +++ b/sdk/storage/ci.yml @@ -12,6 +12,8 @@ trigger: - sdk/storage/Azure.Storage.DataMovement/ - sdk/storage/Azure.Storage.DataMovement.Blobs/ - sdk/storage/Azure.Storage.DataMovement.Files/ + exclude: + - sdk/storage/Azure.ResourceManager.Storage/ - sdk/storage/Azure.Storage.DataMovement.Blobs.Files.Shares/ exclude: - sdk/storage/Azure.ResourceManager.Storage/